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. |
![]() |
#1 | Link |
Registered User
Join Date: Aug 2008
Posts: 62
|
Problems loading a huge mkv file
I've been trying to load a 10GB .mkv file containing over 3 hours of H.264 video at 50FPS. First I tried to open it with FFMpegSource2 with the following script:
Code:
LoadCPlugin("C:\Program Files\AviSynth 2.5\plugins\ffms2.dll") FFVideoSource("TS_Cam.mkv").Spline64Resize(848,480) I also tried importing the video with just plainly DirectShowSource, but it gives out this error: ![]() Which it pretty much does so with every .mkv file I try to load in AviSynth for some reason. Any suggestions on what to do to fix this issue? Also I forgot to mention that I don't have that much of a fast PC (the reason why I re-encode the video), and I have literally no HDD space left for anything else to do, haha XD (except the 2GB for the re-encoded video) Specs: CPU 2.26GHz Celeron D, 1.25GB RAM, NVidia 5500FX AGP 4x 256MB VRAM Please refrain from suggesting to get a new PC as it isn't helpful to my case. Thanks in advance ^^ |
![]() |
![]() |
![]() |
#2 | Link |
Registered User
Join Date: Jul 2010
Location: Germany
Posts: 359
|
1. Is ffms2 a C plugin? Try commenting out the first line.
2. Try DSS2 instead of FFVideoSource (install the k-Lite codec pack and copy avss.dll to Avisynth's plugins directory). 3. See if MPlayer can open the video; you could use mencoder if that's the case. |
![]() |
![]() |
![]() |
#3 | Link |
Registered User
Join Date: Aug 2008
Posts: 62
|
1. Yes it is. When I comment or remove the C, AviSynth isn't able to read the function. ^^
2. Thanks, this fixed it. I took the dll out of Haali Media Splitter since I had it already installed, and I don't want a codec pack to override CoreAVC ^^ I hope this one works as good as the one in K-Lite? The picture seems to be flipped horizontally, anything I can do to fix it? (besides the AviSynth filter for that purpose) Also, is there any reason why I get that Access violation error with the normal DSS? 3. No need to try this one out as the previous step fixed the problem. But thanks for suggesting =) |
![]() |
![]() |
![]() |
#4 | Link | ||
Registered User
Join Date: Aug 2005
Posts: 16,267
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#5 | Link |
Registered User
Join Date: Jul 2010
Location: Germany
Posts: 359
|
I only had vertical flipping with DSS2 when loading files that contained video in RGB colorspace; just mirror it and go through the file to see if there's no other problems.
k-Lite includes the Haali Media Splitter, but to be absolutely sure you could check if Haali has a new version out. |
![]() |
![]() |
![]() |
#6 | Link |
Registered User
Join Date: Aug 2008
Posts: 62
|
@setarip_old: It occurs only with mkv files and it happens with any video file, regardless of size and contained streams. I just checked with a ~250MB mkv file and on that HDD I had over 2GB of free space, so I'm not sure if that would be the issue ^^;
I also tried to restrict AviSynth's memory usage to 512MB RAM in case Haali caused a memory leak but it didn't fix the problem. @ creaothceann: That's certainly odd, the colour space of the current video file is YUV. I tried loading the script and the video directly into MPC and seemingly the script doesn't load (comes out with a long error log) but the video itself plays well and not flipped. By mirroring you mean to flip the image? |
![]() |
![]() |
![]() |
#8 | Link |
Registered User
Join Date: Aug 2008
Posts: 62
|
Seems now MeGUI shows up an error when I try to encode:
Code:
MeGUI encountered a fatal error and might not be able to proceed. Reason: The file D:\TS_Cam.avs cannot be opened. Error message to your reference: Can't open D:\TS_Cam.mkv: 800410217 (D:\TS_cam.avs, line 2 ) Code:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\avss.dll") DSS2("TS_Cam.mkv").FlipVertical().Spline64Resize(848,480) It's weird though how the preview opens up but when it is to encode the video it doesn't work... Last edited by andy_blah; 2nd June 2013 at 23:05. |
![]() |
![]() |
![]() |
#9 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
For this kind of big file it can be a good idea to drag&drop the file on ffms2's ffmsindex.exe. It will index the file and show the progress in percent so you can see whether it is still working or whether it has crashed/stalled.
|
![]() |
![]() |
![]() |
#11 | Link |
Registered User
Join Date: Jul 2010
Location: Germany
Posts: 359
|
I'd just install k-Lite, by replacing your current configuration there's a chance that the bug will vanish (the "turn it off, turn it on again" solution).
The codec pack has functions to detect broken filters. You can also continue to use CoreAVC, but I'd do a speed test to see if the LAV filters aren't faster. |
![]() |
![]() |
![]() |
#12 | Link |
Registered User
Join Date: Aug 2008
Posts: 62
|
I'd love to test it out do, only if encoding with DSS2 would work...
I'm not very keen on installing a codec pack, as it only adds clutter and I rarely play videos in MPC or any other DirectShow-based player. Is there any other way to find/fix broken filters? |
![]() |
![]() |
![]() |
#13 | Link | |
Registered User
Join Date: Jul 2010
Location: Germany
Posts: 359
|
Quote:
Not to my knowledge, no. |
|
![]() |
![]() |
![]() |
#18 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,654
|
UT Video (Fast decoding YV12 & YUY2 & RGB codec)
http://forum.doom9.org/showthread.ph...hlight=utvideo DOS batch file. Code:
setlocal REM Where to Find ffmpeg set FFMPEG="C:\BIN\ffmpeg.exe" REM Where to get input file, No terminating Backslash, "." = current directory set INDIR="." REM Where to place output file, No terminating Backslash. set OUTDIR="D:\AVS\AVI" FOR %%A IN (*.wmv *.mpg *.avi *.flv *.mov *.mp4 *.m4v *.RAM *.RM *.mkv *.TS) DO ( %FFMPEG% -i "%INDIR%\%%A" -vcodec utvideo -acodec pcm_s16le "%OUTDIR%\%%~nxA.AVI" ) Pause
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
![]() |
![]() |
![]() |
#20 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,654
|
I hardly ever use Lagarith or HuffYUV (any more), IMHO UT Video is better.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|