Quantcast Avisynth: a Good Script for Captures? - Page 3 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #41  
10-25-2004, 08:01 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Now that is weird..why would the codec do a colorspace conversion? Based on that, it looks like the only sensible option is to use PicVideo v3, at least it should work with interlaced YV12 so maybe it won't even screw up anything.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #42  
10-25-2004, 08:03 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Sorry, maybe I didn't catch something well meanwhile the last Postings.

- why that Directshowsource way?
- why again working using the orig. Pinnacle mjpeg decoders?

If you want to handle your mjpeg streams most comfortably then this should be done using picvideos mjpeg codec as it comes as Dshow compount (for direct previewing the avi in for instance MediaplayerClassic) ... and as a vfw compount (for being handled by Avisource() in Avisynth, Vdub & CCE).

So you ONLY need your Capturecard driver. If its installed and you can capture, do install the picvideo codec.

When using

Avisource(xxxxx.avi)
info()

and the info results in something else than "YUY2" then we should find out whats going on, as THATs the way normally to go, if it wont work then you got something else messed up in your system.

Also the Pinnacle Dshow decoder isnt that fast and I did switch very fast to picVideo when I explored that one from pegasys.

The main goal from mjpeg IS that you can end up with YUY2 colorspaces and that should be kept with picvideo. As you see the Dshow way does mess up the colorspace as the "ColorspaceConverter" does mess up the Dshow Chain of your system.

Yust my 2 cents.


EDIT: The PicVideo Chain looks totally normal


But we should NOT focus on the DirectshowSource() way but the Avisource() way as that one uses vfw .. like Vdub.
Reply With Quote
  #43  
10-25-2004, 08:10 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
I was just wondering whether PicVideo's codec might do some odd internal colorspace conversion since I'm not sure which is the original colorspace. With interlaced material, you'll have to be extra careful with the colorspace conversions - but you already know that

Then again, PicVideo's codec should handle the video correctly.
Reply With Quote
  #44  
10-25-2004, 08:15 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
It seems he maybe got a diff. Version of picvideo than I got?!
I always did get with my DC30 caps via picvideo Decoder "YUY2" based streams No matter if Avisource or directshowsource.

According to YV12 interlaced YEP! Thats a mess and thats what I meant by saying "goal". Also a RGB32 output would mean a Chromaupsampling, even out of the YUV space into RGB ... uuuahhhh
Reply With Quote
  #45  
10-25-2004, 08:34 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
That's the new version, which has YV12 support. So I guess that it uses YV12 as the default colorspace. However, if one wishes for YUY2 output, he can use the parameter pixel_type in AVISource. I suppose that would be the safest to use with PicVideo decoding the Pinnacle compressed streams?
Reply With Quote
  #46  
10-25-2004, 08:50 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
AFAIK! "pixel_type=XXX" forces Avisynth to open the source in the via pixel_type determined colorspace. IMHO that means NOT that avisynth forces the CODEC to provide the source in the desired via pixel_type determined colorspace.

The Colorspace output sould be come in in a direct "flow", means the vfw interface/codec should deliver the colorspace in the SOURCE condition if nothing else has been setted diff. IN the codecs Setup.

I even dont have to setup in PicVideo "Force output to YUY2" if I want make Avisource() able to provide a clean YUY2 stream.
He "could" try it but the bad side would be that Vdub will deny the stream as Vdub wants RGB32 under all circumstances.
BUT that "would" be temporarely no Problem IF he opens that stream VIA Avisynth in Vdub as then the internal M$ YUY2 codec would be used IF no other col.Space conversion is done in the script.

Hmmmm ....


@ Viking

Do post screenshots of ALL possible Setup-Widows in YOUR picvideo Codec!
Means, do load a stream into Vdub and choose under compression "Picvideo ... bla bla" ... then enter its configuration and choose decoding options ... thats what I want to see ...
Reply With Quote
  #47  
10-25-2004, 10:06 AM
the viking the viking is offline
Free Member
 
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
Yes,Its the latest PICVideo codec I got.v3.

I posted screenshots as you said HERE

Take a look at all of them,there is also a list of codecs installed

Thanks
---------------
viking
Reply With Quote
  #48  
10-25-2004, 10:13 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
The pics cant be displayed
The ones before did have that problem.
Reply With Quote
  #49  
10-25-2004, 10:23 AM
the viking the viking is offline
Free Member
 
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
Hmmm,thats strange,the link works well here.
try this one:

http://freewebs.com/dvd-guides

I found this on the PICVideo homepages:

"The PICVideo M-JPEG Codec is both a Microsoft Video for Windows Codec and a Microsoft DirectShow Transform Filter Codec."

Means that the codec only works well with "Direct Show Source"?
Or ?
----------------------
viking
Reply With Quote
  #50  
10-25-2004, 10:28 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Still a no-go.
Reply With Quote
  #51  
10-25-2004, 10:41 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
From your Page source ...
Code:
src="file:///C:/Documents%20and%20Settings/Eier/Mine%20dokumenter/My%20eBooks/A.jpg"
Dont use "blanks" in paths/names when providing files/images on the internet. AND you should insert the correct path to your Webspace .. NOT to your Harddisk ... as I never would beleive that you share your system C:/ Drive with the www eben if your machine works as server accessable from the internet.
Reply With Quote
  #52  
10-25-2004, 11:01 AM
the viking the viking is offline
Free Member
 
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
EDIT :No Inc. ,I don't share the whole disc on the internet,but is sure looks like it .I have to reinstall Front Page,it shuts down and
do strange things today.It used to work fine.

EDIT 2:Now I loaded up all the settings for PICVideo and some other
things here.It finally works

THIS IS THE LINK:

http://www.freewebs.com/dvd-guides
Thanks
----------------------
viking
Reply With Quote
  #53  
10-25-2004, 02:40 PM
the viking the viking is offline
Free Member
 
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
Now both links are "back in business"

Both showing the same screenshots!

So now you can hit one
HERE

and another one
HERE

the first one is fastest.

thats all....

I don't like mondays
-------------------------
viking
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Is this a good Avisynth script for compression? Quality? Luciano Cabrera Avisynth Scripting 3 03-31-2004 04:53 PM
KVCD: Use Version 2 script with TV captures? nicksteel Video Encoding and Conversion 5 10-29-2003 04:16 AM
Avisynth: Good script for standard vcd? raphaelf Avisynth Scripting 3 09-14-2003 10:01 PM
Avisynth: Pretty Good Script? Steel Avisynth Scripting 13 08-24-2003 04:08 PM
Avisynth: AVS Script for vhs captures? el_mero_zooter Avisynth Scripting 6 07-02-2002 10:31 AM




 
All times are GMT -5. The time now is 05:26 PM  —  vBulletin © Jelsoft Enterprises Ltd