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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th April 2013, 15:48   #1  |  Link
stephen22
Registered User
 
Join Date: Jan 2007
Posts: 55
YV12 to RGB

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
stephen22 is offline   Reply With Quote
Old 25th April 2013, 16:00   #2  |  Link
paradoxical
Guest
 
Posts: n/a
ConvertToRGB24(interlaced=true) at the end of the script.
  Reply With Quote
Old 25th April 2013, 16:15   #3  |  Link
davidhorman
I'm the Doctor
 
Join Date: Jan 2004
Posts: 1,414
Quote:
and have been completely unsuccessful.
Unsuccessful meaning it didn't work at all, or didn't work as you expected?
davidhorman is offline   Reply With Quote
Old 25th April 2013, 17:43   #4  |  Link
stephen22
Registered User
 
Join Date: Jan 2007
Posts: 55
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.
stephen22 is offline   Reply With Quote
Old 25th April 2013, 18:38   #5  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,380
Quote:
Originally Posted by stephen22 View Post
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.
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote
Old 25th April 2013, 18:57   #6  |  Link
Overdrive80
Anime addict
 
Overdrive80's Avatar
 
Join Date: Feb 2009
Location: Spain
Posts: 621
Quote:
Originally Posted by stephen22 View Post

converttorgb (main, interlace=true)

#(or converttorgb24 etc)
info(main) #or return main
As Gavino says or:

Code:
main=(...)
converttorgb(main, interlace=true)
last.info()
__________________
Intel i7-6700K + Noctua NH-D15 + Z170A XPower G. Titanium + Kingston HyperX Savage DDR4 2x8GB + Nvidia GTX750 2GB DDR5 + SSD Vertex 4 256 GB + Antec EDG750 80 Plus Gold Mod + Corsair 780T Graphite
Overdrive80 is offline   Reply With Quote
Old 26th April 2013, 20:44   #7  |  Link
stephen22
Registered User
 
Join Date: Jan 2007
Posts: 55
Unbelievable.

Told you it was something simple.

Thanks a lot guys
stephen22 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:44.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.