View Full Version : How to convert many file *.yuv to one *.avi file ?
Presario24
26th August 2006, 13:19
How to convert many file *.yuv to one *.avi file ? ? Please I need Help. I need convert sequences from site http://www.cipr.rpi.edu/resource/sequences/sif.html to avi.
bond
26th August 2006, 13:58
you want to place the raw yuv stream in .avi or compress it? if you want to compress it, what codec do you want to use?
Presario24
26th August 2006, 14:13
I want use to mainconcept and x264. in mainconcept to compressed i need avi file...in x264 the same :/ Maybe you now how to split many file yuv to one file yuv ? I must testing x264 codec and calculate psnr for this file to my work in school :/
Sharktooth
26th August 2006, 14:18
x264 supports yuv as input...
...
Infile can be raw YUV 4:2:0 (in which case resolution is required),
or YUV4MPEG 4:2:0 (*.y4m),
or AVI or Avisynth if compiled with AVIS support (yes).
...
however you can mux yuv into uncompressed avi.
virtualdub should be able to do it.
Presario24
26th August 2006, 14:41
In virtual dub mod 1.5.10.2 i can't find any options to mux many file yuv to one avi :((( Yes h.264 support yuv but one yuv not many yuv for one file video
Manao
26th August 2006, 15:02
Avisynth script, with rawsource, then vdub to convert that to raw avi.
Presario24
26th August 2006, 19:44
can you write tp me this avisynth script ? to convert yuv ? I need step by step instructions..because i don't know avisynth :(
Manao
26th August 2006, 20:01
You download rawsource.dll ( it's an avisynth plugin ), and put in in your avisynth's plugin directory.
You create an avisynth script containing : file_1 = rawsource("path_to_my_file_1.yuv", file_1_width, file_1_height, "I420")
file_2 = rawsource("path_to_my_file_2.yuv", file_2_width, file_2_height, "I420")
...
file_n = rawsource("path_to_my_file_n.yuv", file_n_width, file_n_height, "I420")
return file_1 + file_2 + ... + file_nThat will only work if all the yuv files have the same resolution.
Furthermore, you may actually have yuv file that are in the YUY2 colorspace (that's 4:2:2 interleaved ) instead of I420/YV12( that's 4:2:0 planar ), so you may have to replace "I420" by "YUYV" if the pictures you get are complete garbage. If the chroma seems completely wrong, replace "I420" by "YV12" ( or "YUYV" by "UYVY" ).
Presario24
26th August 2006, 20:56
OK IT's working !!!! script in avisynth writed in avsedit and onload in VirtualdubMod 1.5.10.2 THANkK YOU FOR ALL HELP I VERY GRATEFUL
mediator
29th August 2006, 08:35
... You download rawsource.dll ...
Where? The WarpEnterprises Link is dead for quite some time now, and I couldn't find a single mirror :(
GodofaGap
29th August 2006, 08:48
It seems the whole Avisynth site has exceeded it's monthly bandwidth.
I can send it to you, if you pm me your email adress.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.