View Full Version : Possible to check if a clip was encoded with EHQ
iwod
29th August 2004, 15:53
Is this possible?
Dark-Cracker
29th August 2004, 18:19
it's not possible to detect if EHQ was used in a rmvb file.
PS : u have give me an idear ^^
++
Sirber
30th August 2004, 02:16
We could store that in the clip infos...
iwod
30th August 2004, 15:44
Originally posted by Dark-Cracker
it's not possible to detect if EHQ was used in a rmvb file.
PS : u have give me an idear ^^
++
Well since i give you an idea would you be nice to PM me about your Idea? :cool:
damrod
30th August 2004, 21:16
in the keyword tag sirber?
karl_lillevold
31st August 2004, 00:05
RealPlayer 10 and higher will show EHQ encoded clips as 'RV10', otherwise 'RV9' ... This has been the case for quite a while, except the very first versions of Producer with EHQ.
I should let D-C know how to ID such clips, so he can add it to his shell extension.
iwod
31st August 2004, 06:00
Originally posted by karl_lillevold
RealPlayer 10 and higher will show EHQ encoded clips as 'RV10', otherwise 'RV9' ... This has been the case for quite a while, except the very first versions of Producer with EHQ.
I should let D-C know how to ID such clips, so he can add it to his shell extension.
Why did i never thought of that....... :D
ON Real Extension it shows the clip as RealVideo 9 /10. That should mean EHQ right?
May be time for Dark Cracker to update his extension. :D
damrod
31st August 2004, 19:07
the 4cc is the same for rv9 and rv9ehq/rv10??
Sirber
31st August 2004, 19:44
yes, RV40
damrod
31st August 2004, 20:55
so where's the info??
i wonder in encoder store in rmvb file the audience name???
when you open it in realplayer i think it gives you this info...
Sirber
31st August 2004, 21:27
EHQ is stream compatible with RV9, so there should be not much difference.
karl_lillevold
31st August 2004, 23:28
RV9 and RV10 both have the same 4cc code 'rv40', since it is the same underlying bitstream format. However, to make it possible to identify the codec flavor used in encoding, we added some bits deep within the RM header.
karl_lillevold
1st September 2004, 00:07
D-C will have an update to his shell extension that can correctly identify RV9 or RV10 as well as the encoding complexity used.
damrod
1st September 2004, 00:30
Originally posted by karl_lillevold
RV9 and RV10 both have the same 4cc code 'rv40', since it is the same underlying bitstream format. However, to make it possible to identify the codec flavor used in encoding, we added some bits deep within the RM header.
it's based on the codec name tag in the xml job file ?
Sirber
1st September 2004, 00:50
yep.
damrod
6th September 2004, 20:44
ok so it's just a trick !! :p
you can encode in rv9 with
ehq=95, he-aac audio and it will play in realplayer with the rv9 tag :)
love it ;-)
karl_lillevold
6th September 2004, 21:12
Originally posted by damrod
ok so it's just a trick !! :p
you can encode in rv9 with
ehq=95, he-aac audio and it will play in realplayer with the rv9 tag :)
No, that won't work. The encoder sets the RV10 tag based on the EHQ complexity... If you choose the rv9 codec tag + EHQ=95, you will get the RV10 tag. If however, you choose the rv codec tag, and encoding complexity 'high' in the Producer audience, you will get RV9, but you will get RV9 quality as well. The EHQ number is hooked up directly to the codec. The encoder complexity goes through a mapping, which I have posted before.
Please see this detailed post on How to Set Encoder Complexity (http://forum.doom9.org/showthread.php?s=&postid=425131&highlight=producer+encoding+complexity#post425131).
damrod
7th September 2004, 00:40
<quote>
encoderComplexity takes a number, here is the mapping:
100: RV 10 max
85 : RV 10 high
75 : RV 10 medium
65 : RV 10 Low = RV 9 High
57 : RV 9 Medium
50 : RV 9 Low
</quote>
i use number and codec tag = rv9... and it encodes
does that means that the cmdlien producer change the codec tag if ehq value > 65 ??
karl_lillevold
7th September 2004, 01:17
Yes, you are right. rv9 with EHQ > 65 will give a bitstream with label RV10.
1. rv9 and rv10 is the same codec. Producer performs the mapping I pointed to, copied below, depending on codec tag and encodingComplexity (high, medium, low) in the audience, to codec complexity, which is the EHQ number.
2. So if you choose to use EHQ number directly, you are kind of by-passing this mechanism, which is fine, and you will end up with a bitstream labeled RV9 or RV10 depending on the EHQ number. You can verify this in RealPlayer, or a binary editor, if you know where to look.
tag cplxity tag cplxity EHQ
rv10 high => 85
rv10 medium => 75
rv9 high rv10 low => 65
rv9 medium => 57
rv9 low => 50
For instance, choose EHQ number 85, bitstream label will be RV10, no matter which codec tag you chose in the audience. Choose tag rv9 and high encodingComplexity, and you will get RV9, EHQ 65. Choose tag rv10 with low and you will actually get bitstream label RV9 :)
Summary:
1. Producer's encodingComplexity along with codec tag in audience => EHQ number => bitstream label RV9 or RV10
2. Choose EHQ number directly => bitstream label RV9 or RV10.
The bitstream label corresponds to the actual quality of the encoder used.
damrod
7th September 2004, 21:21
great...it simplify my code ;)
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.