Problem with storing x264 stream into a mkv file

Marcin Kolny marcin.kolny at gmail.com
Wed Jun 18 04:08:02 PDT 2014


Hello, I've got    problem with storing x264 udp stream into a mkv file. My
pipeline:

gst-launch-1.0 udpsrc caps=application/x-rtp ! rtph264depay ! video/x-h264,
alignment=nal ! h264parse ! capsfilter caps="video/x\
-h264, alignment=au, stream-format=avc" !  matroskamux ! fakesink dump=true

and I've got an    error:
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data
flow error.
Additional debug info:
gstbasesrc.c(2812): gst_base_src_loop ():
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-negotiated (-4)

What's interesting, pipeline shown below works fine:
gst-launch-1.0 udpsrc caps=application/x-rtp ! rtph264depay ! video/x-h264,
alignment=nal ! h264parse ! video/x-h264, alignment=\
au ! avdec_h264 ! x264enc ! matroskamux ! fakesink dump=true

Could somebody help me with this error?    I'm sure that my caps before
matroskamux are the same in both pipelines.

Thanks!

Best regards,
Marcin Kolny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140618/174270b9/attachment.html>


More information about the gstreamer-devel mailing list