GNOME Bugzilla – Bug 675234
Fix DLNA bitrate calculation using presets
Last modified: 2012-05-17 09:50:12 UTC
This fixes: - The abysmal MPEG2 quality introduced with the encodebin switch - A work-around for bug 672439 by cunningly excluding mpeg2enc from the party - Lower the bitrates for MPEG2 video and MP3 With the preset in 7c2029c my core i5 uses 60%-80% CPU while still looking way better than what we had before. Luis's preset from https://github.com/luisbg/rygel/blob/9a95d1d2a16ea1a6cc11dedb17c463adbf344c6a/data/presets/ffenc_mpeg2video.prs of course looks better but uses 160% CPU here so I think that's a no-go. I think we should provide a default with a good trade-off between picture quality and CPU use. Changes in dependency: GStreamer 0.10.36 for gst_preset_set_app_dir
Created attachment 213196 [details] [review] core: Fix DLNA bitrates using presets Also cunningly work around bgo#672439 by not providing a preset for mpeg2enc.
Created attachment 213197 [details] [review] core: Lower MPEG2 bitrates
Created attachment 213198 [details] [review] core: Lower MP3 bitrate
Created attachment 213218 [details] [review] core: AAC_ISO_320 -> AAC_ADTS_320 Since muxing into streamable mp4 seems to be a bit broken, move to ADTS-framed AAC instead. This is required by DLNA anyway.
Attachment 213196 [details] pushed as 2bb5ad3 - core: Fix DLNA bitrates using presets Attachment 213197 [details] pushed as a7d50b5 - core: Lower MPEG2 bitrates Attachment 213198 [details] pushed as a001f25 - core: Lower MP3 bitrate Attachment 213218 [details] pushed as 7aeb69c - core: AAC_ISO_320 -> AAC_ADTS_320