After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 591038 - Colorspace error during negotiation in ffenc_mjpeg
Colorspace error during negotiation in ffenc_mjpeg
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Linux
: Normal normal
: 0.10.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-08-07 08:06 UTC by Luca Ognibene
Modified: 2009-08-08 20:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luca Ognibene 2009-08-07 08:06:23 UTC
Using latest git this gives error:
[192.168.5.123] luogni:~/aylook/4$ gst-launch-0.10 videotestsrc ! ffenc_mjpeg ! fakesink -v
Impostazione della pipeline a PAUSED ...
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)YUY2, width=(int)320, height=(int)240, framerate=(fraction)30/1
La pipeline è in PREROLLING ...
0:00:00.201165077 30559  0x97490d8 ERROR                 ffmpeg :0:: colorspace not supported in jpeg
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "event   ******* E (type: 102, GstEventNewsegment, update=(boolean)false, rate=(double)1, applied-rate=(double)1, format=(GstFormat)GST_FORMAT_TIME, start=(gint64)0, stop=(gint64)-1, position=(gint64)0;) 0x974d450"
ERRORE: dall'elemento /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Errore interno nel flusso di dati.
Informazioni di debug aggiuntive:
gstbasesrc.c(2378): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming task paused, reason not-negotiated (-4)
ERRORE: la pipeline non vuole fare il preroll.
Impostazione della pipeline a NULL ...
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = NULL
Freeing pipeline ...


This works fine:
gst-launch-0.10 videotestsrc ! video/x-raw-yuv,format=\(fourcc\)I420 ! ffenc_mjpeg ! fakesink -v


Autonegotiation was working fine with git from a month ago..
Comment 1 Sebastian Dröge (slomo) 2009-08-08 20:45:46 UTC
commit d181dbd7a0e2fa1613c4312a7e9a6320c6a3933c
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Sat Aug 8 22:43:06 2009 +0200

    ffmpegenc: If an encoder lists the supported pixfmts use them to create the 
    
    ...instead of creating standard caps with all pixfmts.
    
    Fixes bug #591038.