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 > Capturing Video
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th September 2003, 09:40   #1  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,733
Morgan MJPEG captures truly in YV12?

I've been suspecting that the latest Morgan MJPEG beta codec doesn't capture in YV12 after all. I did a test in VDubMod, capturing a 60 second sample clip in both YUY2 and YV12 formats. However, when I checked the resulting video file sizes, they were almost identical. Shouldn't YV12 yield smaller files or is there something wrong with my setup?

Also when I opened the clips with AVISource, the colorspace was YV12 in both cases. Therefore I'm suspecting that the codec captures in YUY2 and simply converts to YV12, making YV12 captures pretty much useless.

I'll post this to the Morgan Multimedia board too, not that I expect them to answer but anyway.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 25th September 2003, 17:21   #2  |  Link
sprit
Registered User
 
Join Date: Mar 2002
Location: Karlstad
Posts: 33
Which subsampling are you using in Morgan?

Using VD in fast recompress I tried compressing avisynth 2.52's version() in YUY2 and YV12 with Morgan 3.11 (force q=90):

Code:
Colorspace    Subsampling    Size [bytes]
YUY2          4:2:2          3 930 112
YUY2          4:1:1          3 774 464
YV12          4:2:2          3 903 488
YV12          4:1:1          3 774 464
My guesses from this:

1. When using 4:1:1 the YUY2 is subsampled to 4:1:1 on compression, i.e. converted to YV12, thus the same size.
2. When using 4:2:2 the YV12 is supsampled(upsampled?) to 4:2:2 on compression. As this results in (practically) a somewhat smoothed version of the YUY2 clip, the sizes differs a small amount (using YV12+4:2:2 actually compresses more data in the MJPEG than the codec is fed).


As to why both clips are is YV12, my understanding of windows, avi, avisynth, ... is that avisynth asks for YV12 first and as Morgan knows that colorspace, that's what the clips are delivered as.
I tried getting my clips "native" colorspace, but neither VD's info dialog nor GSpot nor ffdshow shows the prefered input colorspace (i.e. codec output cs).
__________________
Win2k | Radeon 9800SE AIW | Sonic Fury
MSI KT3Ultra2 | XP-M 2400+ | 1Gbyte
sprit is offline   Reply With Quote
Old 25th September 2003, 18:59   #3  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,733
An interesting point, I'll have to experiment with this myself. I don't remember which subsampling I used, but most likely it was 4:1:1.

Funny thing is that I tried MarcFD's VBLE codec (lossless YV12 codec) and multiplying the datarate with compression rate gave me ~20000kB/s instead of ~16000kB/s as VDubMod told it would require as uncompressed YV12 data. The value I got is the amount that YUY2 data would require
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Reply


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 04:52.


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