+ Reply to Thread
Results 1 to 5 of 5
-
What version of the converter frontends and x264? Maybe try an older version.
Same error with all video sources? Try different sources.
Does anything else crash/stop on your computer? -
I also have the same error. Whenever I leave resolution at full HD, x264 "performs an illegal operation" or has maloc error. At lower resolutions encodes OK.
The Avisynth script I use is very complex. But it plays OK in VirtualDub and MPlayer at FHD. Just fails to encode.
I encode successfully FHD movies. I have Asus P5K Deluxe mobo and C2D CPU, 2Gb RAM. This video I shot with HD camera. It is a pity I have to downsample it to 1280x720 to encode.
I thought maybe difficulty of loading sound. I disabled it, but no luck. Also I tryed to use older version of x264 like from 30 november 2009. Also, no luck.
I use AviSynth script way to be able to encode both HD x264 and SD DVD video. SD version of script loads nicely and encodes in CCE.
I use no front end. Here is my bat file:
x264 --preset slow --tune film --bitrate 12000 --pass 1 --stats "Vencanie.stats" -o "Vencanie.mkv" "P:\HD\Xacti\Kazas 20.11.2009\01 no audio.avs" --threads 0
x264 --preset slow --tune film --bitrate 12000 --pass 2 --stats "Vencanie.stats" -o "Vencanie.mkv" "P:\HD\Xacti\Kazas 20.11.2009\01 no audio.avs" --threads 0
Edit:
PROBLEM SOLVED. Computer does not have enough RAM! maloc stands for memory allocation
I split script in 2 pieces and it encodes OK!Cann't tell it's possible don't tell anything. -
Originally Posted by kurbads
The lower the value of n, the more memory will be freed up, but it is a performance trade-off; if you set it too low, it will run more slowly. Try something like SetMemoryMax(128).
You could also save memory in your script by not repeating source filters, eg
Code:video = Dissolve(video, Trim(DirectShowSource("SANY1772.MP4",audio=false , fps=29.97, pixel_type="YV12"),0,45297),30) video = Dissolve(video, Trim(DirectShowSource("SANY1772.MP4",audio=false , fps=29.97, pixel_type="YV12"),46095,46231),30) video = Dissolve(video, Trim(DirectShowSource("SANY1772.MP4",audio=false , fps=29.97, pixel_type="YV12"),47000,53206),30) video = Dissolve(video, Trim(DirectShowSource("SANY1772.MP4",audio=false , fps=29.97, pixel_type="YV12"),54563,54730),30) video = Dissolve(video, Trim(DirectShowSource("SANY1772.MP4",audio=false , fps=29.97, pixel_type="YV12"),54925,55284),30)
Code:v1772 = DirectShowSource("SANY1772.MP4",audio=false , fps=29.97, pixel_type="YV12") video = Dissolve(video, Trim(v1772,0,45297),30) video = Dissolve(video, Trim(v1772,46095,46231),30) ...etc...
-
When optimized whole script converts OK, no memory limitation needed.
It just doesn't play well the reused parts in Media Player Classic, but displays frames normaly in VirtualDubMod.
I will have to reenoccode everything again anyway because latest versions of x264 are damaged. The last good one I know is v1251.
Later versions encode well only if you set max distance between keyframes --keyint = 2.
By the way maybe somene can solve this why latest versions of x264 encode video with large moving blocks in the direction of motion vectors? The video plays without blocks in VLC, but it stops fequently at the places where it shows blocks in MPC.
Edit: I am sorry, I cann't repeat the error, I tryed to figure out which is the last "good" version. I turned out they all are, up to the last.Cann't tell it's possible don't tell anything.
Similar Threads
-
Error with x264
By werdes in forum Video ConversionReplies: 0Last Post: 30th Jan 2011, 13:10 -
StaxRip / x264 Error
By elmuz in forum Video ConversionReplies: 0Last Post: 18th Nov 2010, 09:49 -
BD Rebiulder x264 encoder error
By wulf109 in forum Blu-ray RippingReplies: 14Last Post: 19th Oct 2009, 16:25 -
x264.exe error
By streetak in forum Blu-ray RippingReplies: 1Last Post: 1st Feb 2009, 12:17 -
x264 Error when encodingin Xvid4PSP
By torbenmp in forum Video ConversionReplies: 2Last Post: 1st Oct 2007, 14:25