closed captions - Extracting a eia_608 stream from a mpeg2 transport stream with FFMPEG -
i'm trying convert mpeg2 transport stream mp4 stream. video , audio fine, can't seem figure out how tell ffmpeg extract eia_608 stream video , place in stream mp4 or mov. i've tried straight copy shown below.
ffmpeg -f mpegts -i tsfile3.ts -codec:v copy -fflags genpts -bsf:a aac_adtstoasc -codec:a copy -codec:s copy -f mov tsfile3a.mp4
has done this? if so, syntax? thanks.
finally figured out. aware appears work mpegvideo , not h264. syntax follows:
ffmpeg -i closedcaption_rollup.ts -f lavfi -i "movie=closedcaption_rollup.ts[out+subcc]" -map 0:0 -map 0:1 -map 1:1 -c:s mov_text test_out.mp4
this using ffmpeg fate test clip. caveats are:
- appears work mpegvideo. can't work h264
- doesn't output eia_608 type in file, converts mov_text.
Comments
Post a Comment