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. |
1st August 2021, 23:48 | #1 | Link |
Registered User
Join Date: Mar 2004
Location: Long Island, NY
Posts: 73
|
Avs2yuv maxed out my hard drive
So I wanted to give x265 another try and since I don't remember how I got it working last time I had to google quite a bit and finally landed on Avs2yuv to feed my Avisynth script into the x265 cli.
However, it started writing a massive file and aborted when my hard drive was full after 150 GB was written. Isn't it supposed to work like frameserving so it's just a small intermediary file? This is the command I used: avs2yuv64 "D:\Avisynth scripts\eye.avs" -o out.y4m |
2nd August 2021, 00:24 | #2 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,419
|
You specified a real file for it to output to, so it's going to output to it. The yuv4mpeg container only holds uncompressed video, so it's going to write the full-sized uncompressed frames if you tell it to output to a real .y4m file. But it's uncompressed video wrapped in basic metadata to tell receiving applications what the framerate, resolution, pixel format, etc. are. Those applications can take either the actual .y4m files or they can accept y4m data over a pipe, just like avs2yuv can write to a real file, or write to a pipe.
Piping doesn't write any file to the hard drive, it connects program A's standard output (stdout) with program B's standard input (stdin). Code:
avs2yuv input.avs -o - | x265 --y4m <x265 options> - Although, honestly, it would be easier to: A) Use a patched x265 build that supports AviSynth input directly. B) Use FFmpeg (assuming it has AviSynth enabled; virtually all the common Windows builds do) and just tell it to use the libx265 encoder. |
2nd August 2021, 04:12 | #3 | Link |
Registered User
Join Date: Mar 2004
Location: Long Island, NY
Posts: 73
|
I see. I totally misunderstood what piping meant.
So I downloaded the modified file linked here instead and it seems to be working, thanks. Also, is there anything in my settings that stands out as nonsensical? It's encoding video game footage. |
3rd August 2021, 00:22 | #5 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
cockpit, use this one:- https://github.com/AviSynth/AviSynthPlus/releases
__________________
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 | |
|
|