GNOME Bugzilla – Bug 620186
qtdemux: Export max bitrate for AMR-NB/-WB streams
Last modified: 2011-06-15 22:43:38 UTC
Created attachment 162409 [details] [review] qtdemux: Export max bitrate for AMR-NB/-WB streams Attaching a patch that exports the maximum bitrate for AMR-NB and AMR-WB streams encapsulated in 3GP. Doesn't do anything for AMR-WB+ streams, since the metadata in the header does not provide enough information.
Created attachment 166658 [details] [review] qtdemux: Export max bitrate for AMR-NB/-WB streams This parses the 'damr' atom if present, and exports the maximum bitrate of the stream using the mode set field to determine the highest bitrate frame type that might be present.
Comment on attachment 162409 [details] [review] qtdemux: Export max bitrate for AMR-NB/-WB streams Posting updated patch based on feedback from Tim and Thiago. The code was wrong at one point. There is no 'dawb' atom. 'damr' is used for both AMR-NB and -WB.
Rebased to current git and removed stream->bitrate bits as that field appears to come from another patch on bug #619548. Will (finally) push following release ...
commit 6e2774af55d65c14c628fd1bdc25807808b62b01 Author: Arun Raghavan <arun.raghavan@collabora.co.uk> Date: Mon May 31 23:59:59 2010 +0530 qtdemux: Export max bitrate for AMR-NB/-WB streams This parses the 'damr' atom if present, and exports the maximum bitrate of the stream using the mode set field to determine the highest bitrate frame type that might be present. https://bugzilla.gnome.org/show_bug.cgi?id=620186