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:

  1. appears work mpegvideo. can't work h264
  2. doesn't output eia_608 type in file, converts mov_text.

Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -