Hi, Alex Song wrote: > Hello, > > I tried the following > > mkvextract tracks a.mkv 1:a.mkvtool.264 > > and > > ffmpeg -i a.mkv -f h264 -vcodec copy a.ffmpeg.264 > > The first several bytes of a.mkvtool.264 is start code of h264 and > "file a.mkvtool.264" shows it's JVT NAL sequence. But first several > bytes of a.ffmpeg.264 is "00 00 9f 1e 65 88 80" and "file > a.ffmpeg.264" shows it's just data. > > Did I do something wrong with the options of ffmpeg or mkv is not > supported well in ffmpeg? >
I suspect you need a bitstream filter to recreate annex b bitstream, see -vbsf h264_mp4toannexb -- Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA Smartjog USA Inc. http://www.smartjog.com Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
