Closed gorkha closed 10 years ago
Please upload a sample.
I do not know how to upload to the issue tracker, but you can get a sample directly from my server http://gorkha.dk/dl/Doomsday%202014-07-16%2006-59-59-29.mkv
I did this: "C:\Program Files (x86)\MeGUI\tools\ffms\ffmsindex.exe" -f "F:\Fraps\Movies\Doomsday 2014-07-16 06-59-59-29.mkv" "F:\Fraps\Movies\Doomsday 2014-07-16 06-59-59-29.mkv.ffindex"
and it crashed at 93% this time
ffmsindex crashes at 93% here as well, both x64 and x86. FFVideoSource fails with a system exception. L-SMASH-Works' LWLibavVideoSource opens the file successfully.
It indexes and opens successfully here, although the duration can't be read - complains about not having enough frames (15 must not be enough, I guess).
Remember, FFMS2 has two Matroska demuxers. It defaults to Haali, which is where these issues are. The lavf demuxer doesn't have this problem (which is probably why the AVI works).
F:\>ffmsindex -t -1 -m lavf "Doomsday 2014-07-16 06-59-59-29.mkv"
Writing index... done... 100%
F:\>echo FFmpegSource2("Doomsday 2014-07-16 06-59-59-29.mkv",atrack=-1)>test.avs
F:\>mpv test.avs
Playing: test.avs
[ffmpeg/demuxer] avisynth: Stream #0: not enough frames to estimate rate; consider increas
ing probesize
[stream] Video (+) --vid=1 (rawvideo)
[stream] Audio (+) --aid=1 (pcm_s16le)
AO: [dsound] 44100Hz stereo 2ch s16
AV: 00:00:00 / 00:00:00 (0%) A-V: 0.000
VO: [opengl-old] 1920x1080 => 1920x1080 bgr24
^C: 00:00:00 / 00:00:00 (0%) A-V: 0.000
And when I don't try to force the lavf demuxer:
F:\>ffmsindex -t -1 "Doomsday 2014-07-16 06-59-59-29.mkv"
Indexing, please wait... 93%
F:\>
"C:\Program Files (x86)\MeGUI\tools\ffms\ffmsindex.exe" -f "H:\fraps movies\io4jjexa.lv2\Painkiller 2007-08-05 23-08-01-75.mkv" "H:\fraps movies\io4jjexa.lv2\Painkiller 2007-08-05 23-08-01-75.mkv.ffindex" <-- crash at 99%
Particularly this is what megui onclick encoder is doing every time and everything in mkvs seems to crash.
Seems to be ok if ffms indexes the original fraps avi version used: 2.20