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. |
25th September 2003, 09:40 | #1 | Link |
Pig on the wing
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... |
25th September 2003, 17:21 | #2 | Link |
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 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 |
25th September 2003, 18:59 | #3 | Link |
Pig on the wing
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... |
|
|