Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
31st August 2011, 07:15 | #1 | Link |
Mr. Woof
Join Date: Jan 2002
Location: USA
Posts: 784
|
ffmpegsource2 Blank initial frame
I'm getting an error when trying to open an MKV VC-1 BluRay stream (2048 x 1080, 29.97) using ffmpegsource2 (v2.16) in avsp: "Insanity detected: decoder returned an empty frame". I've tried changing several parameters including seekmode with no joy. Apparently, ffdshow x64 will not play this stream back via libavcodec but WMVideo decoder DMO in Windows 7 will. This is the first problem I've had opening such streams via FFMS2 and can't figure out what in this stream is causing it to fail. I've even tried re-muxing the video stream to MKV again with no luck. Any ideas?
|
31st August 2011, 19:26 | #2 | Link |
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
Try ffvidesource("derp.mkv", threads=1). The error message means exactly what it says though; for some reason libavcodec decided to output a frame without any data in it. Before 2.16 the behavior with such frames was just to crash.
|
31st August 2011, 20:27 | #3 | Link |
Mr. Woof
Join Date: Jan 2002
Location: USA
Posts: 784
|
No change. FWIW, this is a stream extracted from my "Life" box set (Attenborough). Every one has opened without a hitch and was progressive; the last, "Plants", is proving problematic and also interlaced. I've tried extracting the stream several times with eac3to provided with MeGUI (svn 2028).
|
31st August 2011, 22:48 | #5 | Link |
Mr. Woof
Join Date: Jan 2002
Location: USA
Posts: 784
|
Thanks for your help. First 5 seconds here: http://www.mediafire.com/?zp29i622rha0i3i
|
31st August 2011, 23:36 | #6 | Link | ||
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
Quote:
Quote:
|
||
1st September 2011, 02:08 | #9 | Link |
Mr. Woof
Join Date: Jan 2002
Location: USA
Posts: 784
|
Oddly, DirectShowSource() and dss2() will open the 5 second sample but not the complete video file (10.9GB). dss() gives me a "can't open" error code 80004005 and DirectShowSource() a timeout waiting for graph to start.
|
1st September 2011, 07:11 | #14 | Link |
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
I find it really odd that it works with the sample but not with the full file. DirectShow graph debugging can be really annoying, but I guess that's what you'll have to start doing. Grab GraphStudio or something and start poking at it; also try with other smaller parts of the file and see what happens.
Last edited by TheFluff; 1st September 2011 at 07:14. |
1st September 2011, 22:31 | #16 | Link |
Mr. Woof
Join Date: Jan 2002
Location: USA
Posts: 784
|
I might consider doing that in the future, but I'd like to figure this out first. I've never had the need to mess with GraphEdit and so am unsure about how I can construct a graph to have avisynth pick it up for processing. When I render this file, it connects to WMVideo Decoder DMO. If I change VC-1 decoder to wmv9 in ffdshow x64 I can have it renderable in directshow filters with other players, but how can I force that behavior elsewhere? Even when I set the merit to high in ffdshow I can't render the file in the editor.
|
2nd September 2011, 05:10 | #18 | Link |
Mr. Woof
Join Date: Jan 2002
Location: USA
Posts: 784
|
1.5 minute clip here: http://www.mediafire.com/?8adtciod2oy8odb
EDIT: That sample doesn't exhibit the problem I am experiencing. However, I tried splitting larger chunks from the problematic file and found that even dividing it in half produced 2 perfectly fine files. I just combined them back into a whole file and while ffmpegvideosource() still complains, dss2() will render the file now. Really bizarre Last edited by chipzoller; 3rd September 2011 at 00:26. Reason: update |
Thread Tools | Search this Thread |
Display Modes | |
|
|