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. |
30th May 2009, 18:11 | #1 | Link |
Registered User
Join Date: Mar 2002
Posts: 81
|
h.264 Baseline Profile vs High Profile
I am playing my videos on a networked media tank. To be compliant to the specs of the unit, standard definition needs to be encoded at level 3.0 with the baseline profile. I am aware of the difference in the max bitrate(which my encodes never come close to at CQ 18) and inability to use some of the x.264 encoding settings such as cabac, bframes etc. with baseline vs high. My question is if I am using the same constant quality factor of 18, same number of reference frames, and same max bitrate with both profiles, will I see a quality loss using baseline instead of high or will I keep the same quality but just end up with a larger file size with the baseline profile?
Last edited by delanejenkins; 30th May 2009 at 18:46. |
30th May 2009, 21:05 | #3 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,255
|
Baseline profile means that you cannot use CABAC
And CABAC gives you ~10-30% (or even more) of extra compression at the same quantizer, compared to CAVLC: http://akuvian.org/src/x264/entropy.png
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 30th May 2009 at 21:23. |
30th May 2009, 22:16 | #5 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,932
|
Quote:
|
|
31st May 2009, 00:37 | #6 | Link |
Registered User
Join Date: Mar 2002
Posts: 81
|
I have an HDX 1000. All networked media tanks use the same syabas processor and have the same specs which is baseline level 3.0 for standard definition and up to level 4.1 high profile for high definition. Nmt's will play almost anything you throw at them but will sometimes have some stuttering if the videos are not dxva compliant and close to the spec profiles. I am not too worried if the baseline profile makes my files larger than that of high profile. I just want to make sure I'm not losing quality.
Last edited by delanejenkins; 31st May 2009 at 00:50. |
31st May 2009, 00:41 | #7 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,255
|
If the decoder chip can do High profile for HD content, it should be able to do High for SD content easily...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
31st May 2009, 01:18 | #8 | Link |
Registered User
Join Date: Mar 2002
Posts: 81
|
Lord mulder I was thinking the same thing. I definitely do run into more problems with standard definition than high definition encodes tho. Do you think it's the use of more reference frames with standard definition that is the problem and not the profile or settings
Last edited by delanejenkins; 31st May 2009 at 01:32. |
31st May 2009, 01:39 | #9 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,255
|
The number of reference frames is limited by the Level! More specifically by the maximum decoded picture buffer size (MaxDPB) defined by the individual Level.
And if the decoder chip can do Level 4.1 for HD content, then I see no reason why it suddenly should be limited to Level 3.0 for SD material. Since the MaxDPB size remains the same for HD and SD, but SD material has a lower resolution (less data per frame), you can actually have more ref frames for SD at the same Level.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 31st May 2009 at 01:50. |
31st May 2009, 01:56 | #10 | Link |
Registered User
Join Date: Mar 2002
Posts: 81
|
I do see how the reference frames are limited by the levels according to the h.264 wiki. I have been using 8 reference frames for standard definition as compared to 4 reference frames for high def. This is why I question whether more reference frames can be causing the issues with standard def
|
31st May 2009, 02:06 | #11 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,255
|
Quote:
So if your device can do Level 4.1, then it has a maximum buffer size of 12.288 * 1024 bytes. Depending on the resolution, you can calculate how many ref frames can be used. That means for 720x576 or 720x480 you could use up 16 ref frames. For 720p you can still use 8 ref frames. And so on...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 31st May 2009 at 02:15. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|