how to convert .mp4 to .ts use gst-launch-1.x
naseeb_panghal
naseeb at wowvision.in
Wed Jun 28 09:21:32 UTC 2017
I used the pipeline provided but it gives below error.
Pipeline:
gst-launch-1.0 filesrc location=why.mp4 ! qtdemux name=d ! queue !
h264parse ! mpegtsmux name=mux ! filesink location=1.ts d. ! queue !
aacparse ! mux.
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.384016374
knorr wrote
> Hello,
>
> In this pipeline
>
> *gst-launch-1.0 filesrc location=why.mp4 ! qtdemux name=dec ! queue !
> avdec_h264 ! queue ! x264enc ! mpegtsmux name=mux ! filesink location=1.ts
> dec. ! queue ! audioconvert ! avenc_aac ! mux.*
>
> you are not actually decoding the audio before you try to re-encode it.
> audioconvert only converts between raw audio formats.
>
> Any particular reason why you want to re-encode audio and video? You
> should
> be able to make the transport stream without transcoding.
>
> Something like
>
> gst-launch-1.0 filesrc location=why.mp4 ! qtdemux name=d ! queue !
> h264parse ! mpegtsmux name=mux ! filesink location=1.ts d. ! queue !
> aacparse ! mux.
>
> The start time at 3600 is a fixed offset used in mpegtsmux to give some
> slack.
>
> Best Regards
> Jesper
>
> On Mon, Mar 23, 2015 at 2:13 AM, gang <
> jiazaihaibian@
> > wrote:
>
>> os platform:CentOS 7.0
>>
>> so,who can help me ?
>>
>>
>>
>> --
>> View this message in context:
>> http://gstreamer-devel.966125.n4.nabble.com/how-to-convert-mp4-to-ts-use-gst-launch-1-x-tp4671263p4671265.html
>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>> _______________________________________________
>> gstreamer-devel mailing list
>>
> gstreamer-devel at .freedesktop
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at .freedesktop
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/how-to-convert-mp4-to-ts-use-gst-launch-1-x-tp4671263p4683573.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list