View Full Version : avs2yuv usage
fido.genial
26th January 2010, 23:59
Hi All,
I have avs file which plays an video and i need to store this video to a file in yuv 4:2:0 format. So i am using avs2yuv.exe to store the video in yuv 4:2:0 format but i have problem when i play this video (chroma misplaced-), i tried following command line it is not working
1. avs2yuv yuv_test.avs -o out2.y4m --- this doesn't give output in 4:2:0 format
2. avs2yuv yuv_test.avs -o out2.y4m -raw --- even this doesn't give output in 4:2:0 format
i look at the output files using yuvviewer.exe.
Any suggestions are thankful
thanks
fido
kemuri-_9
27th January 2010, 02:33
Hi All,
I have avs file which plays an video and i need to store this video to a file in yuv 4:2:0 format. So i am using avs2yuv.exe to store the video in yuv 4:2:0 format but i have problem when i play this video (chroma misplaced-), i tried following command line it is not working
1. avs2yuv yuv_test.avs -o out2.y4m --- this doesn't give output in 4:2:0 format
2. avs2yuv yuv_test.avs -o out2.y4m -raw --- even this doesn't give output in 4:2:0 format
i look at the output files using yuvviewer.exe.
Any suggestions are thankful
thanks
fido
avs2yuv outputs
A) y4m format when -raw is not provided
B) raw yuv format when -raw is provided
however it outputs data as I420 instead of YV12.
the only difference in these formats is that the chroma planes are swapped.
fido.genial
27th January 2010, 03:03
Initially even i thought same thing but I am sorry i forgot to mention there is problem in Luma frames tooo.. When i play the video i see the frames moving with 1st frame and 2nd frame partially occupied on the screeen it moves horizonatlly. I tried removing chroma components from the video(blocked chroma component).
thanks
fido
kemuri-_9
27th January 2010, 03:41
where is this magical 'yuvviewer.exe'?
i suspect it is bugged as if avs2yuv REALLY had a problem it would've been fixed long ago.
I can open files generated by avs2yuv just fine in the RawSource avs plugin which supports reading such formats.
this also supports my theory that yuvviewer is wrong in some way.
do note that avs2yuv is only currently compatible with AVS 2.5 and not 2.6, so if you use any new colorspaces in AVS 2.6 it's likely to cause issues.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.