Incorrect timestamps in produced MKV files

MKV playback, recompression, remuxing, codec packs, players, howtos, etc.
Post Reply
ebr11
Posts: 2
Joined: Sun Apr 28, 2013 12:41 pm

Incorrect timestamps in produced MKV files

Post by ebr11 » 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

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

mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Incorrect timestamps in produced MKV files

Post by mike admin » Tue Apr 30, 2013 7:25 am

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.

ebr11
Posts: 2
Joined: Sun Apr 28, 2013 12:41 pm

Re: Incorrect timestamps in produced MKV files

Post by ebr11 » Tue May 07, 2013 12:46 pm

Yes, this still appears to be a problem with version 1.8.1. Thanks.

Post Reply