GNOME Bugzilla – Bug 633842
matroskamux and smokeenc
Last modified: 2010-12-07 23:57:30 UTC
matroskamux doesn't work with smokeenc, please look at the following pipeline: gst-launch-0.10 -e -v v4l2src ! smokeenc ! matroskamux ! filesink location=/tmp/a.mkv Impostazione della pipeline a PAUSED ... /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)640, height=(int)480, framerate=(fraction)30/1 La pipeline è viva e non necessita il PREROLL ... Impostazione della pipeline a PLAYING ... New clock: GstSystemClock /GstPipeline:pipeline0/GstSmokeEnc:smokeenc0.GstPad:src: caps = video/x-smoke, width=(int)640, height=(int)480, framerate=(fraction)30/1 /GstPipeline:pipeline0/GstSmokeEnc:smokeenc0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)640, height=(int)480, framerate=(fraction)30/1 /GstPipeline:pipeline0/GstMatroskaMux:matroskamux0.GstPad:src: caps = video/x-matroska ERRORE: dall'elemento /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Errore interno nel flusso di dati. Informazioni di debug aggiuntive: gstbasesrc.c(2550): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming task paused, reason not-negotiated (-4) /GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = video/x-matroska Execution ended after 598032422 ns. Impostazione della pipeline a PAUSED ... Impostazione della pipeline a READY ... /GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = NULL /GstPipeline:pipeline0/GstMatroskaMux:matroskamux0.GstPad:src: caps = NULL /GstPipeline:pipeline0/GstSmokeEnc:smokeenc0.GstPad:src: caps = NULL /GstPipeline:pipeline0/GstSmokeEnc:smokeenc0.GstPad:sink: caps = NULL /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = NULL Impostazione della pipeline a NULL ... Esecuzione di free sulla pipeline... if I change smokeenc to jpegenc or ffenc_mpeg4 it works as expected
There is no mentioning of smoke so far in the matroska codec specs (http://www.matroska.org/technical/specs/codecid/index.html), nor does matroskademux support it for that matter. So that would imply we have to invent our own (ids etc) :(, or do you have any specs or other players that already support so to point out ?
I have no example of player that already support it. smokeenc seems something gstreamer specific and oggmux seems the only container to support it would be nice to extend matroskamux/demux to support smoke
Smoke isn't a real codec. It's a JPEG hack that Wim wrote for Cortado testing before theora was completely ported to Java (assuming I remember the details correctly). There's no reason to add new smoke functionality anywhere, and very little reason for keeping existing smoke code.