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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Sep 17 17:59:44 UTC 2017


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

--- Comment #1 from Nicola <lists at svrinformatica.it> ---
ffplay shows warning such as this

[flv @ 0x7f59b4000b40] Negative cts, previous timestamps might be wrong.
[flv @ 0x7f59b4000b40] Invalid timestamps stream=0, pts=-4719, dts=0, size=5006
[flv @ 0x7f59b4000b40] Invalid timestamps stream=0, pts=-4799, dts=0, size=897
[flv @ 0x7f59b4000b40] Invalid timestamps stream=0, pts=-4759, dts=0, size=779
[flv @ 0x7f59b4000b40] Invalid timestamps stream=0, pts=-4599, dts=0, size=3594

but it plays the file just fine, flvdemux generate timestamps such this one:

gstflvdemux.c:1638:gst_flv_demux_parse_tag_video:<flvdemux0> dts 0 pts
4294962577 cts -4719

and then skips audio:

Signalling no-more-pads because no audio stream was found after 6 seconds of
video

but video cannot the decoded as well:

gstpad.c:5478:pre_eventfunc_check:<avdec_h264-0:sink> caps video/x-h264,
stream-format=(string)avc, pixel-aspect-ratio=(fraction)1/1, width=(int)540,
height=(int)304, framerate=(fraction)25/1, codec_data=(buffer)0d not accepted

probably because alignment is missing,

please note that pixel aspect ratio is wrong too, it should be 1216/1215 as
reported by ffmpeg and not 1/1

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