Convert MP4 to MPEG2-TS
ak.ashwini at gmail.com
Mon Mar 28 23:03:17 PDT 2011
I am trying to convert a MP4 to MPEG2-TS file.
I am using the following pipe to do so.
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.
But I get the error
ERROR: from element
encountered a general stream error.
Additional debug info:
qtdemux.c(3051): gst_qtdemux_loop ():
streaming stopped, reason not-negotiated
When I play the MP4 file, i am able to do successfully.
Can anybody help with what I should be doing?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel