avi to mp4 Conversion
Sebastian Dröge
sebastian at centricular.com
Mon Jan 25 09:56:23 PST 2016
On Mo, 2016-01-25 at 10:49 +0000, Raushan Kumar Choudhary wrote:
>
> I am trying to convert mp4 from avi using following pipeline:
>
> ./gst-launch-1.0 filesrc location=test.avi ! decodebin ! x264enc !
> qtmux ! filesink location=result.mov
>
> There is no audio in the mp4 file so can anyone tell how i can get
> audio and video both after conversion.
You're only passing the video stream to the QT muxer and drop the audio
stream. Try something like
filesrc ! decodebin name=dbin
dbin. ! queue ! x264enc ! mux.
dbin. ! queue max-size-time=4000000000 ! lamemp3enc ! mux.
qtmux name=mux ! filesink
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160125/8256959e/attachment.sig>
More information about the gstreamer-devel
mailing list