Conversion to MP4 from AVI

Raushan Kumar Choudhary raushankumar at tataelxsi.co.in
Tue Feb 2 13:08:06 CET 2016


 
$ ./gst-launch-1.0 filesrc location=test.avi ! decodebin name=dbin dbin. ! queue ! x264enc ! mux. dbin. ! queue max-size-time=4000000000 ! audioconvert ! mux. qtmux name=mux ! filesink location=result.mp4
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

Here it gets stuck ....can you tell what is the issue

Thanks,
Raushan

________________________________________
From: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> on behalf of Sebastian Dröge <sebastian at centricular.com>
Sent: Tuesday, January 26, 2016 2:20 PM
To: Discussion of the development of and with GStreamer
Subject: Re: Conversion to MP4 from AVI

On Mo, 2016-01-25 at 21:38 +0000, Raushan Kumar Choudhary wrote:
> i am using below pipeline to convert mp4 from avi file but it is
> getting stuck somewhere and not completing .
> Can anyone please help ...
>
> sudo ./gst-launch-1.0 filesrc location=test.avi ! decodebin name=dbin
> dbin. ! queue ! x264enc ! mux. dbin. ! queue max-size-time=4000000000
> ! audioconvert ! mux. qtmux name=mux ! filesink location=result.mp4

Where/how does it get stuck? And do you really want to put raw audio
into the container?

Note that for generating MP4 you have to use mp4mux, which also does
not support raw audio. qtmux is creating a MOV container.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com


More information about the gstreamer-devel mailing list