Log in

View Full Version : MakeYUVs: creating fake .yuv files from .avs?


bond
25th March 2004, 11:50
hi i recently wanted to try out a bunch of reference encoders (h.264 and ogg theora for example) and realised that they all need .yuv files as input

of course i know there are ways on how to create .yuv files, but as these ways arent really usable for testing bigger files (lots of needed hd space) i wondered if there is any easy way on how to create a .yuv file, which is basically an avisynth script inside?

thanks a lot :)

Mug Funky
25th March 2004, 19:38
*collapses on the floor*

wow, gold medal for anybody who can do that!

it's concievable to write files and delete then when they're used, but there's always the matter of the encoder making requests for files that aren't there anymore. unless you could fundamentally fool the encoder, like run in inside a win32 emulator where avisynth acts like the "hard disk" and whenever a request is made it provides something the encoder believes to be a file...

i'm glad i'm not a programmer :(

Wilbert
25th March 2004, 21:29
Problem solved by piping the yuv from ffmpeg:

http://forum.doom9.org/showthread.php?s=&postid=464420#post464420

bill_baroud
25th March 2004, 23:35
well, not that much as i didn't state after.

when using larger resolution (640x480 and 832x480), it's like the the input and output can't synchronize and theora encoder throw an error after some time like "bad yuv framing"

But well, it's an encoder problem.