Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to extract('demux') from 'mp4' video to get the encoded data(or elementary stream) using ffmpeg?

Tags:

ffmpeg

How to demux from mp4 video to get the video(h264 format) elementary stream using ffmpeg command line ?

Thanks

like image 942
Alan Avatar asked Oct 22 '25 04:10

Alan


1 Answers

ffmpeg -i input.mp4 -vcodec copy -bsf h264_mp4toannexb -an -f h264 output.h264

like image 190
aergistal Avatar answered Oct 24 '25 12:10

aergistal