Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indexing mkv containing fraps or mpeg2 crashes at 99% #166

Closed
gorkha opened this issue Jul 16, 2014 · 4 comments
Closed

Indexing mkv containing fraps or mpeg2 crashes at 99% #166

gorkha opened this issue Jul 16, 2014 · 4 comments

Comments

@gorkha
Copy link

gorkha commented Jul 16, 2014

"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

@tgoyne
Copy link
Member

tgoyne commented Jul 16, 2014

Please upload a sample.

@gorkha
Copy link
Author

gorkha commented Jul 16, 2014

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

@tophf
Copy link
Contributor

tophf commented Jul 16, 2014

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.

@qyot27
Copy link
Contributor

qyot27 commented Jul 16, 2014

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:\>

@tgoyne tgoyne closed this as completed in 63e1d76 Jul 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants