[vlc-commits] chromecast: lower vorbis encoding quality

Thomas Guillem git at videolan.org
Thu Feb 22 15:48:13 CET 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Feb 22 15:47:45 2018 +0100| [f4b9db3795a115e49e42a798376163635b646de8] | committer: Thomas Guillem

chromecast: lower vorbis encoding quality

cf. comment

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f4b9db3795a115e49e42a798376163635b646de8
---

 modules/stream_out/chromecast/cast.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index 98bdf1dec7..5bdb39ca59 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -1066,8 +1066,11 @@ bool sout_stream_sys_t::UpdateOutput( sout_stream_t *p_stream )
             vlc_fourcc_to_char( i_codec_audio, s_fourcc );
             s_fourcc[4] = '\0';
             ssout << s_fourcc << ',';
+
+            /* XXX: higher vorbis qualities can cause glitches on some CC
+             * devices (Chromecast 1 & 2) */
             if( i_codec_audio == VLC_CODEC_VORBIS )
-                ssout << "aenc=vorbis{quality=6},";
+                ssout << "aenc=vorbis{quality=4},";
             new_transcoding_state |= TRANSCODING_AUDIO;
         }
         if ( i_codec_video == 0 && p_original_video )



More information about the vlc-commits mailing list