Discussion:
[FFmpeg-user] How to extract raw h264 stream from mkv without encoding
belcampo
2009-06-01 13:01:31 UTC
Permalink
I have a mkv and a ts file from the same source. The mkv is damaged at
31% and the ts at 90%. I want to put the ES parts of those 2 files
together and mux again to an 100% perfect file.

How can I extract the raw h264 without encoding ?
-vcodec copy -f h264 result.h264 from the mkv gives a lot of
NULL @ 0x8903bc0]error, non monotone timestamps 14346000 >= 14342400
and the resulting file is rubbish.

PS. from the ts file it's not a problem.
Doug Baggett
2009-06-01 13:08:56 UTC
Permalink
I've never been able to do it with ffmpeg. The best I can achieve is using
the perian plugin for OSX(Mac), opening it in Quicktime and then saving the
resulting file with direct copy for audio and video.
Post by belcampo
I have a mkv and a ts file from the same source. The mkv is damaged at
31% and the ts at 90%. I want to put the ES parts of those 2 files together
and mux again to an 100% perfect file.
How can I extract the raw h264 without encoding ?
-vcodec copy -f h264 result.h264 from the mkv gives a lot of
and the resulting file is rubbish.
PS. from the ts file it's not a problem.
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Loading...