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

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


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

--- Comment #18 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
(In reply to Nicola from comment #13)
> thanks Nicolas,
> 
> after applying your patchest we now have the same behaviour as with
> avdemux_flv, a pipeline like this one:
> 
> filesrc location=/tmp/test.flv ! flvdemux ! video/x-h264,alignment=au !
> avdec_h264 ! fakesink
> 

Wow, ok, thanks for spotting, so h264parse needs help too :-(

> works,
> 
> the capsfilter is needed since flvdemux does not add alignment=au to the
> caps and h264parse will broke the stream (as noted by you too)
> 
> regarding ffplay I can confirm that it plays the rtmp streams correctly, I
> tested with not repeating video too and it has no issues.
> 
> anyway flvdemux seems unable to detect audio, please try this:
> 
> filesrc ! avdemux_flv name=d d.audio_0 ! fakesink
> 
> it 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
> 
> while this pipeline:
> 
> filesrc ! avdemux_flv name=d d.audio ! fakesink

I guess you mean flvdemux here.

> 
> will not detects audio

Ok.

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