[PATCH] chromecast: transcode audio to MP3 320 kbps instead of 96 kbps

ValdikSS iam at valdikss.org.ru
Sat Aug 10 09:37:22 CEST 2019


On 09.08.2019 10:07, Thomas Guillem wrote:
> Yes, in the GetAcodecOption() method, you have access to the i_quality enum.
> 
> You shoud enable 320kbps only for CONVERSION_QUALITY_HIGH, and maybe 160 for MEDIUM.

Francois, Thomas, note this is 320 kbit/s, not kbyte/s.
Chromecast is used only on LAN, it doesn't work over the Internet. Every wireless network is capable of streaming such relatively low bitrate, and I honestly see no point using lower bitrates since they have almost no effect on CPU load.
Are you sure lower bitrates are needed? I, as a user, expect audio to be the best quality possible.
Also note that currently VLC transcodes MP3 to MP3 again, due to a bug #22650: https://trac.videolan.org/vlc/ticket/22650

> 
> On Fri, Aug 9, 2019, at 08:56, Francois Cartegnie wrote:
>> Le 08/08/2019 à 21:33, ValdikSS via vlc-devel a écrit :
>>> Chromecast transcoding code uses either Vorbis or MP3 for audio.
>>> For Vorbis, quality=4 is used, but for MP3 no bitrate or quality
>>> setting is set, which leads to default 96 kbps poor quality audio.
>>>
>>> This patch explicitly sets 320 kbps bitrate for MP3, for much
>>> better audio quality.
>>
>> Way too high for devices & wireless.
>>
>> -- 
>> Francois Cartegnie
>> VideoLAN - VLC Developer
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190810/9cf0c21b/attachment.sig>


More information about the vlc-devel mailing list