[libav-devel] libavcodec/ac3enc.c dynamic range codes

2018-03-02 Thread Townson, Andrew E
I can assume based on the below excerpts from ac3enc.c that the AC3 encoder 
defaults to None for the Dynamic Range Compression profile specified on page 10 
in Dolby's Metadata Guide:

659 /* assumptions:
 *   no dynamic range codes
 *   bit allocation parameters do not change between blocks
 *   no delta bit allocation
 *   no skipped data
 *   no auxiliary data
 *   no E-AC-3 metadata
 */

1402   /* dynamic range codes */
1403   put_bits(>pb, 1, 0);

If this is not the case could someone explain the above code?

Is there a way to apply specific DRC profiles per the Metadata guide?





E-MAIL CONFIDENTIALITY NOTICE: 
The contents of this e-mail message and any attachments are intended solely for 
the addressee(s) and may contain confidential and/or legally privileged 
information. If you are not the intended recipient of this message or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message and any attachments. If you are 
not the intended recipient, you are notified that any use, dissemination, 
distribution, copying, or storage of this message or any attachment is strictly 
prohibited.
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH] lavc/qsvenc: provide detail error message if parameters invalid

2018-03-02 Thread Maxym Dmytrychenko
The same :)

> 2 марта 2018 г., в 5:11, Luca Barbato  написал(а):
> 
>> On 02/03/2018 04:26, Zhong Li wrote:
>> Currently always shows "Selected ratecontrol mode is not supported by
>> the QSV runtime. Choose a different mode", but sometimes it is not
>> accurate.
>> Signed-off-by: Zhong Li 
>> ---
>>  libavcodec/qsvenc.c | 31 +--
>>  1 file changed, 25 insertions(+), 6 deletions(-)
> 
> 
> Looks good, thank you :)
> 
> ___
> libav-devel mailing list
> libav-devel@libav.org
> https://lists.libav.org/mailman/listinfo/libav-devel
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH] lavc/qsvenc: provide detail error message if parameters invalid

2018-03-02 Thread Luca Barbato

On 02/03/2018 04:26, Zhong Li wrote:

Currently always shows "Selected ratecontrol mode is not supported by
the QSV runtime. Choose a different mode", but sometimes it is not
accurate.

Signed-off-by: Zhong Li 
---
  libavcodec/qsvenc.c | 31 +--
  1 file changed, 25 insertions(+), 6 deletions(-)



Looks good, thank you :)

___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel