digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: A good script for captures? (http://www.digitalfaq.com/archives/avisynth/12652-avisynth-good-script.html)

Boulder 10-25-2004 08:01 AM

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.

incredible 10-25-2004 08:03 AM

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
http://www.digitalfaq.com/archives/error.gif

But we should NOT focus on the DirectshowSource() way but the Avisource() way as that one uses vfw .. like Vdub.

Boulder 10-25-2004 08:10 AM

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 :wink:

Then again, PicVideo's codec should handle the video correctly.

incredible 10-25-2004 08:15 AM

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 8O

Boulder 10-25-2004 08:34 AM

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?

incredible 10-25-2004 08:50 AM

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 ... :wink:

the viking 10-25-2004 10:06 AM

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

incredible 10-25-2004 10:13 AM

The pics cant be displayed :(
The ones before did have that problem.

the viking 10-25-2004 10:23 AM

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

Boulder 10-25-2004 10:28 AM

Still a no-go.

incredible 10-25-2004 10:41 AM

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 :wink: eben if your machine works as server accessable from the internet.

the viking 10-25-2004 11:01 AM

EDIT :No Inc. ,I don't share the whole disc on the internet,but is sure looks like it :lol: .I have to reinstall Front Page,it shuts down and
do strange things today.It used to work fine. 8O

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

THIS IS THE LINK:

http://www.freewebs.com/dvd-guides
Thanks
----------------------
viking

the viking 10-25-2004 02:40 PM

Now both links are "back in business" :D

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 :puke: :wink:
-------------------------
viking


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.