On 10/09/16 18:59, Juan O Batista wrote:
Thank you. My purpose is obtain a .mpeg file with close caption because some
channel use mpeg extension.
I used mpeg2video but in the video result i can see the close caption
ffmpeg -i input.mov -i cap.srt -codec:v mpeg2video -b:v 10M -c:a mp2 -b:a 192k
-ar 48000 -r 29.97 -timecode 00:01:00:00 -qscale:v 2 -codec:a mp2 -b:a 192k
output.mpeg
thank you
What you need to do is to put the video, audio and subtitles into a fitting
container format. You can find an overview of different container formats here:
https://en.wikipedia.org/wiki/Comparison_of_video_container_formats
As you can see does .mpeg not support subtitles. To see which formats ffmpeg
supports enter "ffmpeg -formats". To pick a specific one do you use the -f
option. Otherwise will ffmpeg guess the format from the file extension, which
may not what you want. An example:
ffmpeg ... -f mpegts -y output.mpeg
This will use the MPEG transport stream format and name the file "output.mpeg".
Sven
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".