View Full Version : YV12 to RGB
stephen22
25th April 2013, 15:48
I would be so grateful if someone could tell me how to do this conversion, so I can get jpegs from Imagewriter. I have a DVSD PAL video from a commercial 8mm film scanner which "info" assures me is YV12.
I have tried all combinations of interlace=true, assumefield/framebased, matrix = x y and z etc and have been completely unsuccessful.
Avisynth v 2.58
Stephen
paradoxical
25th April 2013, 16:00
ConvertToRGB24(interlaced=true) at the end of the script.
wonkey_monkey
25th April 2013, 16:15
and have been completely unsuccessful.
Unsuccessful meaning it didn't work at all, or didn't work as you expected?
stephen22
25th April 2013, 17:43
Thanks for replies.
I have a simple script
main=(...)
converttorgb (main, interlace=true)
#(or converttorgb24 etc)
info(main) #or return main
in VirtualDub
info tells me it's still YV12
If I put in Imagewriter (jpegs) at the end, I get error "DevIL requires RGB input"
Probably something extremely simple, but baffles me.
Gavino
25th April 2013, 18:38
main=(...)
converttorgb (main, interlace=true)
#(or converttorgb24 etc)
info(main) #or return main
Should be:
main = converttorgb (main, interlaced=true)
Otherwise, the result of the conversion is not used and is thrown away.
Overdrive80
25th April 2013, 18:57
converttorgb (main, interlace=true)
#(or converttorgb24 etc)
info(main) #or return main
As Gavino says or:
main=(...)
converttorgb(main, interlace=true)
last.info()
stephen22
26th April 2013, 20:44
Unbelievable.
Told you it was something simple.
Thanks a lot guys
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.