FFMS / ffms2

An FFmpeg based source library and Avisynth/VapourSynth plugin for easy frame accurate access
Other
582 stars 105 forks source link

FMSindex.exe crashes with MKV (UT VIDEO) #180

Closed AtakSnajpera closed 9 years ago

AtakSnajpera commented 9 years ago

Screenshot -> http://i.cubeupload.com/vFgSYI.png

Sample -> https://mega.co.nz/#!9E1QGCDI!9tgqRa59p1OIejmRvIBB5angl-0oHd6FYc-6JXRBCJo

General Unique ID : 251663673212891099823893280277094579207 (0xBD54A910FDD03E069989C2A9D671BC07) Complete name : C:\temp\RipBot264temp\job1\video-UTVideo-problem.mkv Format : Matroska Format version : Version 4 / Version 2 File size : 200 MiB Duration : 24s 600ms Overall bit rate : 68.3 Mbps Encoded date : UTC 2014-10-24 13:58:11 Writing application : mkvmerge v7.2.0 ('On Every Street') 32bit built on Sep 13 2014 15:42:11 Writing library : libebml v1.3.0 + libmatroska v1.4.1 DURATION : 00:00:24.600000000 NUMBER_OF_FRAMES : 255 NUMBER_OF_BYTES : 209977816 _STATISTICS_WRITING_APP : mkvmerge v7.2.0 ('On Every Street') 32bit built on Sep 13 2014 15:42:11 _STATISTICS_WRITING_DATE_UTC : 2014-10-24 13:58:11 _STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Video ID : 1 Format : YUV Codec ID : V_MS/VFW/FOURCC / ULH2 Codec ID/Info : Ut Video Lossless Codec Codec ID/Hint : Ut Video Bit rate : 66.9 Mbps Width : 2 048 pixels Height : 1 152 pixels Display aspect ratio : 16:9 Frame rate mode : Variable Color space : YUV Chroma subsampling : 4:2:2 Compression mode : Lossless Default : Yes Forced : No

qyot27 commented 9 years ago

Works here with the C-plugin.

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

>ffmsindex "UT Video-problem.mkv"
Writing index... done... 100%

>echo FFVideoSource("UT Video-problem.mkv")>test.avs

>mpv test.avs
Playing: test.avs
[stream] Video (+) --vid=1 (rawvideo)
VO: [opengl-old] 2048x1152 => 2048x1152 yuv422p
V: 00:00:05 / 00:00:24 (22%)

Exiting... (Quit)
AtakSnajpera commented 9 years ago

Just take a look here -> https://mega.co.nz/#!FZUWmAIZ!4ojSoxEbqqRvkvKsIkd-THMRMhKuvCgb6Q1gYdzK8Cg

Previous version 2.19 does not crash. Only latest crashes at the end. (x86 and x64)

qyot27 commented 9 years ago

And my point is that it's probably already fixed in master since the C-plugin is fine with the sample, so just use a build from HEAD rather than 2.20. It'd be present in a 2.21, whenever that actually happens. And it would probably work fine with 2.20 if you use -m lavf to force the libavformat demuxer rather than Haali.

Because it was probably this commit that fixed it, back in July: https://github.com/FFMS/ffms2/commit/63e1d76aed192a3591a4aa06fb478e9f8c48daf8

dwbuiten commented 9 years ago

I cannot reproduce this with vanilla master either, FWIW.

@AtakSnajpera What version did you test this with?

AtakSnajpera commented 9 years ago

@dwbuiten I used build from this link -> https://github.com/FFMS/ffms2/releases/download/2.20/ffms2-2.20-msvc.7z

AtakSnajpera commented 9 years ago

@qyot27 Ok I confirm. -m lavf works fine.

myrsloik commented 9 years ago

lavf is the default and only demuxer now