Putting h264 file inside a container

iltaren iltaren at gmail.com
Sun Aug 3 14:50:00 PDT 2014


Hello,
   Sorry probably i am asking really stupid question. But i am new to
gstreamer, I try to put h264 file inside matroska container without re
encoding.

my commands was this
raspivid -vf -t 10000 -qp 21 -w 1296 -h 972 -fps 20 -n -ih -o test.h264
gst-launch-1.0 -v filesrc location=test.h264 ! h264parse ! matroskamux !
filesink location=test.mkv
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps =
video/x-h264, width=(int)1296, height=(int)972, parsed=(boolean)true,
stream-format=(string)avc, alignment=(string)au,
codec_data=(buffer)01640028ffe1000f27640028ac2b402883dfdc03c489a801000528ee05f2c0
ERROR: from element /GstPipeline:pipeline0/GstH264Parse:h264parse0:
GStreamer encountered a general stream error.
Additional debug info:
gstbaseparse.c(3038): gst_base_parse_loop ():
/GstPipeline:pipeline0/GstH264Parse:h264parse0:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

i didnt understand what is wrong with putting inside container without re
enconding. (I tried without -ih flag for raspivid too) . With another
program copying stream to container work without problem.

 Thanks for help from now.

Best Regards,
Taylan Karaoğlu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140804/4c4151f9/attachment.html>


More information about the gstreamer-devel mailing list