[Bug 787795] flvdemux: unable to handle file that works fine in ffmpeg

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Sep 24 13:58:25 UTC 2017


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

--- Comment #22 from Nicola <lists at svrinformatica.it> ---
(In reply to Nicolas Dufresne (stormer) from comment #21)
> And do we still have a bug with detected PAR ? I have not looked at the yet
> but you said it should be "it should be 1216/1215"

flvdemux outputs these video caps:

video/x-h264, alignment=(string)au, stream-format=(string)avc,
pixel-aspect-ratio=(fraction)1/1, width=(int)540, height=(int)304,
framerate=(fraction)25/1,
codec_data=(buffer)014d001effe10024674d401e965604413f7ffe0980097e9100000300010000030032e8c00ac00158af7be0a001000568ef060cc8

using avdec_h264 after flvdemux we have:

caps = video/x-raw, format=(string)I420, width=(int)540, height=(int)304,
interlace-mode=(string)progressive, multiview-mode=(string)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono,
pixel-aspect-ratio=(fraction)1216/1215, chroma-site=(string)mpeg2,
colorimetry=(string)bt601, framerate=(fraction)25/1

and the PAR is now ok, 

something similar happens with the audio caps, flvdemux detect them as


caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true,
stream-format=(string)raw, rate=(int)22050, channels=(int)2,
codec_data=(buffer)1390

while avdemux_flv detects

caps = audio/mpeg, rate=(int)44100, channels=(int)2,
channel-mask=(bitmask)0x0000000000000003, mpegversion=(int)4,
stream-format=(string)raw, base-profile=(string)lc, level=(string)1,
profile=(string)lc, codec_data=(buffer)1390

but using something like this:

flvdemux name=d d.audio ! queue ! aacparse ! avdec_aac ! ...

we these caps:

avdec_aac0.GstPad:src: caps = audio/x-raw, format=(string)F32LE,
layout=(string)interleaved, rate=(int)44100, channels=(int)2,
channel-mask=(bitmask)0x0000000000000003

and the audio seems fine,

you can test both video and audio with the latest file I uploaded using the
pipeline in comment 17

-- 
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