-
Notifications
You must be signed in to change notification settings - Fork 963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to pass the input parameter mpegts_service_id #58
Comments
Thanks, that helped, But now, I am getting these errors: My Streaming Parameters are:
The ffmpeg equivalent which I am tryong to emulate thru 3_transcoding is: |
It seems that you're passing a packet for a wrong index |
oh, thats because it is reading all the streams from the dvb, rather than the selected program's. I have passed these demuxer options: Is the below errors also related to the right program not being read? Some more logs fyi: |
Negative PTS and DTS you maybe have to calculate them =/ (do you want to copy the audio as it is? if so mark |
nope, cannot copy. have to transcode from mpeg2 to h264 and from ac3 to aac. But if just transcoding, do I still need to have the filters etc set, as is the case in the init_filter etc in https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/transcoding.c#L448 Will check the negative pts, will be back with more questions I am sure :-) Thank you for your prompt responses. |
The negative pts error went away once the changes to write the output to a udp stream were done. However I now get the PES packet size mismatch. What do I check for this? Current logs: |
@leandromoreira A few issues:
|
@vandanachadha sometimes you really need to tests things out to make them work I documented my walk to create the chapter 3 and even look at ffmpeg command line source code. |
I need to read the input from a tuner card specific program id. In ffmpeg, the input option passed is:
-mpegts_service_id
How would I set this in the 3_transcoding.c sample?
The text was updated successfully, but these errors were encountered: