Incorrect timestamps in produced MKV files
Posted: Sun Apr 28, 2013 12:44 pm
While trying to seek makemkv created files using ffmpeg, at different points ffmpeg fails. Ffmpeg seeks using dts decoder timestamps and it appears that files created with makemkv have incorrect timstamps.
The commandline used is
Incrementing the -ss value by 600 (600,1200,1800 etc) throughout the video. The extraction will at some point produce a failure.
Re-encoding the video with ffmpeg with a codec copy will also produce failure at some point as well
ffmpeg -i file:"input.mkv" -threads 0 -c copy "output.mkv"
Using ffmpeg builds from http://ffmpeg.zeranoe.com/builds/
Running the files through mkvmerge appears to fix the issue (I believe it is rewriting the indexes).
Is there a possibility that this can be fixed?
Thanks.
-ebr
The commandline used is
Code: Select all
ffmpeg -ss 600 -i file:"input.mkv" -threads 0 -vframes 1 -filter:v select='eq(pict_type,I)' -vf "scale=iw*sar:ih, scale=600:-1" -f image2 -y "testimage.jpg"
Re-encoding the video with ffmpeg with a codec copy will also produce failure at some point as well
ffmpeg -i file:"input.mkv" -threads 0 -c copy "output.mkv"
Using ffmpeg builds from http://ffmpeg.zeranoe.com/builds/
Running the files through mkvmerge appears to fix the issue (I believe it is rewriting the indexes).
Is there a possibility that this can be fixed?
Thanks.
-ebr