GNOME Bugzilla – Bug 309050
[PATCH] flv encoding
Last modified: 2005-06-30 16:08:20 UTC
patch to enable flv (flash video) video encoding and muxing in gst-ffmpeg.
Created attachment 48350 [details] [review] the described patch to enable flv encoding and muxing
Please provide the patch in diff -u format.
As i've told you yesterday in irc ther is a problem with encoding (or decoding?). gst-launch-0.8 videotestsrc ! ffenc_flv ! ffmux_flv ! filesink creates a video with 1000fps. It plays fine with mplayer but gst-launch-0.8 filesrc ! ffdemux_flv ! ffdec_flv ! xvimagesink failes to negotiate 1000fps.
the 1000fps issue seems not related to this patch, or even flv encoding with gst-ffmpeg (with this patch), macromedia's flash player detects the framerate correctly. i would've patched the decoder too, but could not find the bug (yet). flv streams have no framerate property in the header, it seems there can be a metadata tag (AMF - 'action message format'). maybe it's defined by a duration value on the flv_h263 picture header... whatever of those, ffmpeg (the executable) detects 1000fps framerate on it's own 25fps movies, i suspect a bug in ffmpeg's flvdec (or h263dec). will attach a new (-u) patch.
Created attachment 48423 [details] [review] enable flv muxer
committed, thanks! I've filed the decoder bugs in #309149 and #309150
thank you. the open source flash community will love gst ;)