<div dir="ltr"><div><div><div><div>Hello,<br></div> 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. <br><br></div>my commands was this<br>
raspivid -vf -t 10000 -qp 21 -w 1296 -h 972 -fps 20 -n -ih -o test.h264<br>gst-launch-1.0 -v filesrc location=test.h264 ! h264parse ! matroskamux ! filesink location=test.mkv<br>Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>
/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<br>
ERROR: from element /GstPipeline:pipeline0/GstH264Parse:h264parse0: GStreamer encountered a general stream error.<br>Additional debug info:<br>gstbaseparse.c(3038): gst_base_parse_loop (): /GstPipeline:pipeline0/GstH264Parse:h264parse0:<br>
streaming stopped, reason not-negotiated<br>ERROR: pipeline doesn't want to preroll.<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br><br></div>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.<br>
<br> Thanks for help from now. <br><br></div>Best Regards,<br>Taylan Karaoğlu<br></div>