GNOME Bugzilla – Bug 613002
[flvmux] always put duration in metadata tag
Last modified: 2010-03-16 14:12:19 UTC
Some Flash players (for instance JW Player: http://www.longtailvideo.com/players/jw-flv-player/) always expect a duration tag, otherwise they don't start playback. Sample pipeline that produced a file unplayable with JW Player: gst-launch videotestsrc num-buffers=500 ! x264enc ! flvmux name=mux audiotestsrc num-buffers=500 ! lame ! mux. mux. ! filesink location=out.flv
Created attachment 156239 [details] [review] Cleanup unused structure field.
Created attachment 156240 [details] [review] Always put duration tag in metadata
commit ef20ad3f5dce8511d4c248f523cc6525575d9e93 Author: Jan Urbański <wulczer@wulczer.org> Date: Tue Mar 16 01:29:36 2010 +0100 flvmux: Always put a duration tag in the metadata Some Flash players (for instance JW Player) always expect a duration tag, otherwise they don't start playback. If duration can be queried from the sink pads or is provided as a tag, use it. Otherwise try to determine it from the last seen timestamp of the sink pads after EOS and rewrite it in the header before writing the index. commit db2147076dc4845c735e20144ca0e99b339090f3 Author: Jan Urbański <wulczer@wulczer.org> Date: Tue Mar 16 00:35:46 2010 +0100 flvmux: Remove the send_codec_data field from GstFlvPad That field is not used anymore after the changes in 9fdecbc1c11f4e5af6578bba32a9b32771029d33.