[Bug 783842] [REGRESSION] encodebin: Transcoding of several media streams (to h264 in mp4) fail

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Dec 11 11:48:32 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=783842

--- Comment #13 from Edward Hervey <bilboed at bilboed.com> ---
The remaining transcoding issue is somewhere in mpegaudioparse OR lamemp3enc OR
qtmux OR qtdemux OR the profile itself.

gst-launch-1.0 -v audiotestsrc num-buffers=10 ! "audio/x-raw,
layout=(string)interleaved, rate=(int)8000, format=(string)S16LE,
channels=(int)1" ! lamemp3enc ! mpegaudioparse ! qtmux ! filesink
location=test.mp4
...
the raw audio caps arrive in lamemp3enc
...
/GstPipeline:pipeline0/GstLameMP3Enc:lamemp3enc0.GstPad:sink: caps =
audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)8000,
channels=(int)1
...
lamemp3enc says it will output mpegaudioversion=2
...
/GstPipeline:pipeline0/GstLameMP3Enc:lamemp3enc0.GstPad:src: caps = audio/mpeg,
mpegversion=(int)1, mpegaudioversion=(int)2, layer=(int)3, channels=(int)1,
rate=(int)8000
...
But mpegaudioparse says it's mpegaudioversion=3
...
/GstPipeline:pipeline0/GstMpegAudioParse:mpegaudioparse0.GstPad:src: caps =
audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)3, layer=(int)3,
rate=(int)8000, channels=(int)1, parsed=(boolean)true

But wait ... it gets better !

gst-launch-1.0 -v filesrc location=test.mp4 ! qtdemux ! mpegaudioparse !
fakesink
...
qtdemux says it's mpegaudioversion=1
...
/GstPipeline:pipeline0/GstMpegAudioParse:mpegaudioparse0.GstPad:sink: caps =
audio/mpeg, layer=(int)3, mpegversion=(int)1, rate=(int)8000, channels=(int)1
...
which mpegaudioparse then says it's mpegaudioversion=3 :D
...
/GstPipeline:pipeline0/GstMpegAudioParse:mpegaudioparse0.GstPad:src: caps =
audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)3, layer=(int)3,
rate=(int)8000, channels=(int)1, parsed=(boolean)true

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list