GNOME Bugzilla – Bug 681202
avenc_mpeg2video: not-negotiated because of unsupported framerate
Last modified: 2013-03-22 11:22:45 UTC
Trying to encode a mpeg ps file with mpeg2 and mp3 audio. Getting this on the console: python transmageddon.py 0:00:10.036989430 25757 0x7f3d9887b6d0 ERROR libav :0:: MPEG1/2 does not support 10000000/333667 fps we got an error, life is shit Internal GStreamer error: negotiation problem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. gstvideoencoder.c(1262): gst_video_encoder_chain (): /GstPipeline:pipeline0/GstEncodeBin:encodebin0/avenc_mpeg2video:avenc_mpeg2video0: encoder not initialized we got an error, life is shit GStreamer encountered a general stream error.
avenc_* not mpeg2enc, so -> gst-libav
$ gst-inspect-1.0 avenc_mpeg2video ... Pad Templates: SINK template: 'sink' Availability: Always Capabilities: video/x-raw framerate: { 24000/1001, 24/1, 25/1, 30000/1001, 30/1, 50/1, 60000/1001, 60/1, 15/1, 5/1, 10/1, 12/1, 15/1 } format: { I420, Y42B } Do you still have the file you tested with? I wonder which element created that framerate, I think it should've snapped to 30000/1001 instead really. In any case, transcoding should work fine now, if you add a videorate element before the encoder as well.
Ok, not sure which file I used to test with here. So closing for now. As for adding a videorate element, this is encodebin so if another videorate element is needed then encodebin needs to add it.