<div>Hi All,</div>
<div> </div>
<div>I am trying to convert a MP4 to MPEG2-TS file.</div>
<div>I am using the following pipe to do so.</div>
<div> </div>
<div>gst-launch filesrc location=/home/ashwini/streams/ishq.mp4 ! decodebin name=dec ! queue ! ffenc_mpeg2video quantizer=4 gop-size=1 ! mpegtsmux name=mux ! filesink location=myfile.ts dec. ! queue ! audioconvert ! ffenc_aac ! mux.</div>
<div> </div>
<div>But I get the error </div>
<div> </div>
<div>ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:dec/GstQTDemux:qtdemux0: GStreamer encountered a general stream error.<br>Additional debug info:<br>qtdemux.c(3051): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstDecodeBin:dec/GstQTDemux:qtdemux0:<br>
streaming stopped, reason not-negotiated</div>
<div> </div>
<div>When I play the MP4 file, i am able to do successfully.</div>
<div> </div>
<div>Can anybody help with what I should be doing?</div>
<div> </div>
<div>-Ashwini<br></div>