Page 1 of 1

Incorrect timestamps in produced MKV files

Posted: Sun Apr 28, 2013 12:44 pm
by ebr11
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

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"
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

Re: Incorrect timestamps in produced MKV files

Posted: Tue Apr 30, 2013 7:25 am
by mike admin
Do you see this for MKV files created with 1.8.1 ? If you have an MKV file created with version prior to 1.8.1 , please try remuxing the MKV file with 1.8.1 (open MKV file from makeMKV, save) and see if that makes the problem go away.

Re: Incorrect timestamps in produced MKV files

Posted: Tue May 07, 2013 12:46 pm
by ebr11
Yes, this still appears to be a problem with version 1.8.1. Thanks.