GNOME Bugzilla – Bug 708732
avvidenc: Don't fail configuring codec if framerate is unknown
Last modified: 2013-10-04 11:04:24 UTC
Created attachment 255671 [details] Vieo stream sample Pipeline stops with negotiation problem. Debug show message: gst_video_encoder_setcaps:<avenc_flv0> rejected caps video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)0/1 I try to convert with this: gst-launch-1.0 filesrc location=h264.ts ! decodebin ! videoconvert ! avenc_flv ! flvmux ! filesink location=test.flv Attached sample works fine in 0.10. Perhaps the problem is from an unknown frame rate?
commit 9becd72b604c6b7ff5568121d19943ea2ea6c481 Author: Sebastian Dröge <slomo@circular-chaos.org> Date: Tue Oct 1 22:38:32 2013 +0200 avenc: Choose 25 fps if we don't have any in the caps Some encoders require a non-zero framerate to be configured properly and just choosing something will make them not fail completely at least. https://bugzilla.gnome.org/show_bug.cgi?id=708732