<div dir="ltr">Hi, I'm tying to create single mxf file with 4 audio tracks using mxfmux element in 1.7.9 gstreamer version. I'm able to create it from videotestsrc. <div><br></div><div>
<p class="">./gst-launch-1.0 videotestsrc num-buffers=1200 ! video/x-raw,framerate=25/1,width=1280,height=720,format=I420 ! cmptoj2kenc ! mxfmux name=mux ! filesink location=/Users/milos/data/out.mxf audiotestsrc num-buffers=1200 wave=sine ! audioconvert ! audio/x-raw,rate=48000,channels=2 ! mux. audiotestsrc num-buffers=1200 wave=square ! audio/x-raw,rate=48000,channels=2 ! mux.</p><p class="">1. But when I try to create it from multifilesrc it faild. I think that the problem is that buffers are missing dts, pts, clock or something like that. Am I right ? I also tried to mux them into mj2 file but the result was same. </p><p class="">
</p><p class=""><span class="">./gst-launch-1.0 --gst-debug=3,mxfmux:5 multifilesrc location=/Users/milos/data/mxf/test/New_%05d.j2k ! mxfmux name=mux ! filesink location=/Users/milos/data/out.mxf</span></p><p class=""><span class="">The error message:</span></p><p class=""><span class="">basesrc gstbasesrc.c:2948:void gst_base_src_loop(GstPad *):<multifilesrc0> error: Internal data flow error.</span></p><p class="">basesrc gstbasesrc.c:2948:void gst_base_src_loop(GstPad *):<multifilesrc0> error: streaming task paused, reason error (-5)</p><p class="">2. I also tried to decode encode the j2k, pipeline runs but after few frames it fails</p><p class="">
</p><p class=""><span class="">/gst-launch-1.0 --gst-debug=3,mxfmux:5 multifilesrc location=/Users/milos/data/mxf/test/New_%05d.j2k ! cmptoj2kdec colorspace=yuv ! cmptoj2kenc ! mxfmux name=mux ! filesink location=/Users/milos/data/out.mxf</span></p><p class=""><span class="">The error message: </span></p><p class="">mxfmux mxfmux.c:457:gst_mxf_mux_create_metadata:<mux> Creating MXF metadata</p>
<p class=""><span class="">mxfmux mxfmux.c:815:gst_mxf_mux_create_metadata:<mux> Invalid edit rate</span></p><p class="">So my question is how to create, mxf from j2k files ? I thing that the problem is with time and framerate but I don't know how to solve it. thx</p><p class=""><br></p><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><i>Miloš Selečéni</i></div></div>
</div></div>