FFVideosource crashing
- Daramue
- BUTTERCUP!
- Joined: Mon Aug 03, 2009 11:27 am
FFVideosource crashing
When running VirtualDub and trying to export an AVI, it will always end up crashing with an error message something like this: "FFVideosource Insanity error: decoder returned an empty frame." See: http://code.google.com/p/ffmpegsource/i ... tail?id=74
So, are there any other frame-accurate libraries I can use to import .mkv video files into virtual dub?
So, are there any other frame-accurate libraries I can use to import .mkv video files into virtual dub?
I created/designed my own anime blog. Maybe check it out sometime? - >http://www.daramue.com
- mirkosp
- The Absolute Mudman
- Joined: Mon Apr 24, 2006 6:24 am
- Status: (」・ワ・)」(⊃・ワ・)⊃
- Location: Gallarate (VA), Italy
- Contact:
Re: FFVideosource crashing
Call it like
Since you are doing linear decoding when transcoding in vdub, there won't be the speed drop from the random seeking, and this should fix the insanity error.
Code: Select all
ffvideosource("file.mkv", seekmode=0)
- Daramue
- BUTTERCUP!
- Joined: Mon Aug 03, 2009 11:27 am
Re: FFVideosource crashing
Tried that, still crashes while transcoding with the "insanity" error.mirkosp wrote:Call it likeSince you are doing linear decoding when transcoding in vdub, there won't be the speed drop from the random seeking, and this should fix the insanity error.Code: Select all
ffvideosource("file.mkv", seekmode=0)
I created/designed my own anime blog. Maybe check it out sometime? - >http://www.daramue.com
- mirkosp
- The Absolute Mudman
- Joined: Mon Apr 24, 2006 6:24 am
- Status: (」・ワ・)」(⊃・ワ・)⊃
- Location: Gallarate (VA), Italy
- Contact:
Re: FFVideosource crashing
Very weird, first time that I see seekmode 0 failing to solve an insanity error. Out of curiosity, what kinda mkv are you dealing with? Remuxed BDs can be tricky, and you should most definitely be using neuron2's tools with those.
-
- Joined: Tue Dec 25, 2007 8:26 am
- Status: better than you
- Contact:
Re: FFVideosource crashing
Try remuxing it, or confirm it's MKV. Insanity error tends to only come up in poorly muxed MP4, so I wonder if someone just renamed an MP4 or something to MKV. It's generally a container issue and not video stream itself.
- irriadin
- BUBBLES!
- Joined: Tue Jun 07, 2005 11:59 pm
- Status: I fight for my friends
- Location: Los Angeles, California
Re: FFVideosource crashing
I've been trying to help Daramue fix this. Tried renaming all the files to mp4 and it still came up with the insanity error. I rendered the episode that was giving him trouble all by itself and it worked fine. That makes me think I did something wrong in writing the combining script. What did I do wrong here?
obviously, I changed the path here to hide certain details.
Code: Select all
loadplugin("\VirtualDub\plugins\ffms2.dll")
video1 = ffvideosource("filename.mkv", seekmode=0)
video2 = ffvideosource("filename.mkv", seekmode=0)
video3 = ffvideosource("filename.mkv", seekmode=0)
video4 = ffvideosource("filename.mkv", seekmode=0)
video5 = ffvideosource("filename.mkv", seekmode=0)
video6 = ffvideosource("filename.mkv", seekmode=0)
video7 = ffvideosource("filename.mkv", seekmode=0)
video8 = ffvideosource("filename.mkv", seekmode=0)
video9 = ffvideosource("filename.mkv", seekmode=0)
video10 = ffvideosource("filename.mkv", seekmode=0)
video11 = ffvideosource("filename.mkv", seekmode=0)
video12 = ffvideosource("filename.mkv", seekmode=0)
video13 = ffvideosource("filename.mkv", seekmode=0)
video14 = ffvideosource("filename.mkv", seekmode=0)
video15 = ffvideosource("filename.mkv", seekmode=0)
video16 = ffvideosource("filename.mkv", seekmode=0)
video17 = ffvideosource("filename.mkv", seekmode=0)
video18 = ffvideosource("filename.mkv", seekmode=0)
video19 = ffvideosource("filename.mkv", seekmode=0)
video20 = ffvideosource("filename.mkv", seekmode=0)
video21 = ffvideosource("filename.mkv", seekmode=0)
video22 = ffvideosource("filename.mkv", seekmode=0)
video23 = ffvideosource("filename.mkv", seekmode=0)
video24 = ffvideosource("filename.mkv", seekmode=0)
video25 = ffvideosource("filename.mkv", seekmode=0)
video26 = ffvideosource("filename.mkv", seekmode=0)
video27 = ffvideosource("filename.mkv", seekmode=0)
combined = video1+video2+video3+video4+video5+video6+video7+video8+video9+video10+video11+video12+video13+video14+video15+video16+video17+video18+video19+video20+video21+video22+video23+video24+video25+video26+video27
return combined
-
- Joined: Tue Dec 25, 2007 8:26 am
- Status: better than you
- Contact:
Re: FFVideosource crashing
Insanity error is caused by it being mp4 in the first place. I said to remux it. Also ffms2 isn't a vdub plugin but no need to explain that. On the side, avs doesn't like splicing more than a certain number of clips.
- mirkosp
- The Absolute Mudman
- Joined: Mon Apr 24, 2006 6:24 am
- Status: (」・ワ・)」(⊃・ワ・)⊃
- Location: Gallarate (VA), Italy
- Contact:
Re: FFVideosource crashing
But yatta generated scritps can handle o9k presets just fine...Mister Hatt wrote:On the side, avs doesn't like splicing more than a certain number of clips.
-
- Joined: Tue Dec 25, 2007 8:26 am
- Status: better than you
- Contact:
Re: FFVideosource crashing
As someone who once did a bit over 10,000 trims, it doesn't. It is a way higher number than 27 clips though, but it might dislike it due to VFR or non-aligned splicing or some other stupidness.
- irriadin
- BUBBLES!
- Joined: Tue Jun 07, 2005 11:59 pm
- Status: I fight for my friends
- Location: Los Angeles, California
Re: FFVideosource crashing
remuxed the h264 files into an .mp4 container, still getting insanity errors :/