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 > Video Encoding > MPEG-2 Encoding

Reply
 
Thread Tools Display Modes
Old 5th May 2003, 08:11   #1  |  Link
TCD02
Registered User
 
Join Date: Apr 2003
Location: Germany
Posts: 30
CCE 2.67.00.10b reads YV12 (AVS wo ColorrspaceConversion)??

Hi,
i installed CCE 2.67.00.10b an recognised, that an AVS Script wo any Color COnversion was read (Source is YV12).
Loading the same AVS in CCE 2.66.10.07 and starting Previw (TimeCode) brings up the failure "Could not find the appropriate Video Codec for 'YV12'".

Is it possible, that the 2.67 Version just uses a DirectShow Filter or another decoder to decode the Video (like TMPEG does sometimes, when using DivX.dll as a decoder, if the AVS doesn't convert to RGB24)???

Greets,
TCD

Last edited by TCD02; 6th May 2003 at 01:12.
TCD02 is offline   Reply With Quote
Old 5th May 2003, 08:33   #2  |  Link
RB
Retired
 
Join Date: Nov 2002
Posts: 1,349
Doesn't work for me. Check your registry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32. Is there a value for VIDC.YV12 and if so, what is it?
RB is offline   Reply With Quote
Old 5th May 2003, 23:17   #3  |  Link
TCD02
Registered User
 
Join Date: Apr 2003
Location: Germany
Posts: 30
I tested it completly with 2.66 and 2.67 an got very strange experiences

Hi,
in my registry ther isn't even an String with Vidc.YV12, i got all other necessary ones, but this ist missing (kind of strange).

I used 3 different AVS Scripts (not AVI Direct, beacause it will screw up the picture).

The exact CCE Version were CCE 2.66.10.07 and CCE 2.67.00.10b
The AviSynth Version was 2.51b


Audio is not killed.
No Colorspace Conversion.
Encoded only Video or encoded Video & Audio (Elementary Stream).


avisource("D:\DVD\Burn\Feuer.avi")
AddBorders(0,104,0,104)
Trim(10000,-1500)


It worked fine in CCE 2.67 in CCE 2.66 Error (...find Codec 'YV12').
Question: Since there is no VidC.YV12 what the hell makes the Colorspace Conversion, CCE 2.67 itself????



Audio is Killed.
No Colorspace Conversion.


avisource("D:\DVD\Burn\Feuer.avi", false)
AddBorders(0,104,0,104)
Trim(10000,-1500)


It worked fine in CCE 2.67.
In CCe 2.66 it didn't work due to no Colorspace Conversion, i think:Error (...find Codec 'YV12').
But again, what makes the Conversion in 2.67???



Audio is killed.
ColorConversion made with "ConverttoYUY2".


avisource("D:\DVD\Burn\Sam1.avi", false)
AddBorders(0,94,0,94)
Trim(10000,-1500)
ConvertToYuY2


This is the only Script that worked in both Versions, CCE 2.66 and CCE 2.67!!!


This is really strange.
If anyone can explain this or report anything else, pleas do so.

Greets,
TCD
TCD02 is offline   Reply With Quote
Old 5th May 2003, 23:53   #4  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,256
hmm.. has CCE ever had problems with AVI input? I think you should try with a dvd2avi project file frameserved via mpeg2dec3.dll and avisynth 2.51
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 6th May 2003, 00:55   #5  |  Link
TCD02
Registered User
 
Join Date: Apr 2003
Location: Germany
Posts: 30
Hi,
this is what i do with MPEG2 Source (eg.DVDs, etc)..

I will do a test with an MPEG2Source, AviSynth 2.51, MPEGDecoder_YV12 and CCE 2.67..

Is my guess right, that if this would work, the CCE 2.67 would decode the YV12 itself??

Greets,
TCD
TCD02 is offline   Reply With Quote
Old 6th May 2003, 01:12   #6  |  Link
TCD02
Registered User
 
Join Date: Apr 2003
Location: Germany
Posts: 30
Get green Screen in AvySynth Editor 0.4 preview

Hi,
while using the upper config, i get a green screen in AviSynth Editor 0.4.
AVS Script:

LoadPlugin("C:\Program Files\_Media\Video\Coding\AviSynth\AviSynth 2.51\PluginLoad\MPEGDecoder_YV12\mpegdecoder.dll")
mpegsource("D:\Afrika\vts_01.d2v")
SeparateFields()
LanczosResize(448,152,2,36,716,216).Weave()
AddBorders(16,136,16,136)


As soon as i include "ConvertToYUY2" i get a picture.
This is just experimental.
I can use MPEG2DEC3.dll, but i just wanted to give a try to the MPEGDECODER_YV12.dll (for further use).

the Mediaplayer plays it, bcause hei uses a directShow Filter, i guess.

Du you know why?

Last edited by TCD02; 6th May 2003 at 01:27.
TCD02 is offline   Reply With Quote
Old 6th May 2003, 08:00   #7  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,256
WMP will use whatever YV12 decoder it can find.. it looks like one is installed on your system. Can you try mpeg2dec3.dll? I suppose it doesn't change things but it's better to have tried it just in case.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 6th May 2003, 08:06   #8  |  Link
TCD02
Registered User
 
Join Date: Apr 2003
Location: Germany
Posts: 30
Oh,
i already did.
With MPEG2DEC3.DLL i meanwhile get a green Picture in AvySynth Editor without using a Color Conversion.

But i remember it working with the MPEG3DEC3.dll!?!

I'll reboot for sure.
TCD02 is offline   Reply With Quote
Old 6th May 2003, 21:42   #9  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,256
hmm... I tried it myself using an avs originally used for the codec comparison.. it's encoding now.

@update: it encoded ok, but the output was more blue than anything else :/
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 7th May 2003, 09:48   #10  |  Link
TCD02
Registered User
 
Join Date: Apr 2003
Location: Germany
Posts: 30
Oh..

Oh, well, i'm sorry 4 the pm.

Seemes i forgot who you are (Mod), when i wrote the PM...
TCD02 is offline   Reply With Quote
Old 7th May 2003, 09:56   #11  |  Link
RB
Retired
 
Join Date: Nov 2002
Posts: 1,349
I'm pretty sure both of you have some codec installed that does a (crappy) YV12 decoding and somehow CCE picks that one up. I really don't think CCE 2.67.00.10 now has YV12 decoding capabilities as was posted in the Doom9 news today, otherwise I'm sure they'd put a "Try decoding in YV12 format" option on the Misc. options tab also.

I do not have any DivX/XviD/other codecs installed (honestly) and when I load an AVS into CCE that decodes from DVD VOBs and does not have a ConvertToYUY2() at the end, I get the "Couldn't find appropriate video codec for 'YV12'" error message 100% of the time.
RB is offline   Reply With Quote
Old 7th May 2003, 10:10   #12  |  Link
TCD02
Registered User
 
Join Date: Apr 2003
Location: Germany
Posts: 30
Quote:
I really don't think CCE 2.67.00.10 now has YV12 decoding capabilities as was posted in the Doom9 news today, otherwise I'm sure they'd put a "Try decoding in YV12 format" option on the Misc. options tab also.
Or/And they'd put a hint in the changelog

I just wrote exactly the same in the german forum.
I think this is the most logical explanation.

http://forum.doom9.de/showthread.php?s=&postid=2745

If it picks up a decoder ist true, why or how dfferent behaves Version 2.67 from former Versions??

I heard about TMPEG picking up a decoder, but CCE never did bevor!!

Gretts,
TCD

P.S: Before i read your post, i thought about CCE 2.67.00.10 beeing still in beta state could be another reason, especially because i've never seen any post/statement/... why this release has been published in beta...

Last edited by TCD02; 7th May 2003 at 23:06.
TCD02 is offline   Reply With Quote
Old 7th May 2003, 13:49   #13  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,256
@RB: Well.. I have both DivX5 and XviD installed.. and you have to have either of 'em since otherwise you can't even stay in YV12 mode for DivX/XviD encoding. But due to the recent codec comparison the pc might contains some unwanted software.. I'll try an older CCE version tonight and perform the test again on my other computer when I go home over the week-end (that one is free of crappy installations and contains only a minimum set of programs)

But divx/xvid cannot be the reason why encoding works now because I've always had either of them installed and using previous CCE versions I got the same error as you mentioned.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 7th May 2003, 13:58   #14  |  Link
RB
Retired
 
Join Date: Nov 2002
Posts: 1,349
@Doom9: thanks, looking forward to results.
RB is offline   Reply With Quote
Old 7th May 2003, 15:59   #15  |  Link
DDogg
Retired, but still around
 
DDogg's Avatar
 
Join Date: Oct 2001
Location: Lone Star
Posts: 3,058
Xvid would not work as a handler when I did the vidc.YV12 = xvid.dll trick sometime ago. This was reported. Further, there was a considerable and obvious speed difference from CCE when Divx was used (vidc.yv12=divx.dll) and the ConvertToYUY2 statement. The convert was much faster, so a quick timing of a script with and without the ConvertToYUY2 statement should indicate whether it would make any sense to use an internal YV12 handler even if it was supported without the specific registry statement.

Last edited by DDogg; 7th May 2003 at 16:01.
DDogg is offline   Reply With Quote
Old 7th May 2003, 23:06   #16  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,256
Alright.. I installed v 2.67.00.09b besides 10b and guess what.. when I try to set my source range in 09b(it opens a preview window) I get the well-known "couldn't find appropriate video codec for YV12" error, when I do the same in 10b I get a normal preview and all the colors are in order. So Cinemacraft did indeed change something between those two versions.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 7th May 2003, 23:12   #17  |  Link
TCD02
Registered User
 
Join Date: Apr 2003
Location: Germany
Posts: 30
Quote:
Originally posted by Doom9
Alright.. I installed v 2.67.00.09b besides 10b and guess what.. when I try to set my source range in 09b(it opens a preview window) I get the well-known "couldn't find appropriate video codec for YV12" error, when I do the same in 10b I get a normal preview and all the colors are in order. So Cinemacraft did indeed change something between those two versions.

@edit:
I always had both installed, but i think, that this doesn't implicitly lead up to the conclusion that they icluded a YV12 Decode ...could be though.
It indeed leads to the conlcusion that sthg. was changed or just not finalized...eg. because of the beta state, he really grabs an external decoder

If i had a lot time (i 'll have graduate exams next week) i would adjust a few of my VirtualMachines, to test the different Settings and installments.

What do you think about asking Cinemacraft, about a "possible detected YV12 Decode"???


Greets,
TCD

Last edited by TCD02; 8th May 2003 at 01:03.
TCD02 is offline   Reply With Quote
Old 8th May 2003, 08:04   #18  |  Link
RB
Retired
 
Join Date: Nov 2002
Posts: 1,349
Well, I really have no idea why it's working for you guys At least I now know for sure that it must be some external codec because yesterday I sent email to support@cinemacraft.com and got the following reply:
Quote:
From: Sanae Kojima <kojima@cinemacraft.com>
Subject: Re: YV12 input support for CCE SP
Message-Id: <20030508062519.5C48.KOJIMA@cinemacraft.com>

Hello,

Thank you for your interests in our product.

> are there any plans to add support for decoding YV12 to CCE SP,
> without the need for an external codec?

We are sorry that we have no plan for now.

Best regards,

Sanae Kojima <kojima@cinemacraft.com>
So, at least, is it any faster than with a ConvertToYUY2() in the script? Are both of you decoding from an AVI source or from a DVD2AVI project file?

Well, I can see in the change log that they did modify something related to finding a decompressor for the input video (using the ICLocate VfW function after ICOpen fails). I'll try to put together a small test program that will open your AVS file using the same functions so we can find out what decompresser is really called ... but I'll only do this if decoding is really faster now with your "mysterious" YV12 decoding
RB is offline   Reply With Quote
Old 8th May 2003, 13:36   #19  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,256
well.. internal or not internal doesn't really matter.. since DVDs are in YV12 format and we do have a noticeable speed advantage in divx/xvid encoding staying in YV12 using either codec to decode the same should apply to other encoding chains where no colorspace conversions is required.

and of course, since I told tcd02 to use a dvd2avi project I did of course use the same Yet, since we have positively established that CCE does not internally decode YV12 it's reasonable to assume that one of my installed filters does it, which means you have to install divx or xvid anyway. So far I have no performed any performance testing and since I'm constantly busy using the computer I don't know when I can leave the PC unattended for such a test.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 8th May 2003, 13:56   #20  |  Link
RB
Retired
 
Join Date: Nov 2002
Posts: 1,349
Thanks. It should be enough to encode a short clip (use Trim in the AVISynth script) like two minutes or so at CBR in CCE to see whether encoding is any faster.
RB is offline   Reply With Quote
Reply

Thread Tools
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 03:37.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.