webm to mp4 fiel conversation

Thiago Santos ts.santos at sisa.samsung.com
Tue May 27 03:51:10 PDT 2014


On 05/27/2014 07:36 AM, Sudhir wrote:
> Hello metind,
>
> gst-launch filesrc location=<webm_file> ! decodebin name=src! videoconvert !
> deinterlace  ! videoscale ! x264enc   ! h264parse ! mp4mux name=mux !
> filesink location=test.mp4  \
> src.! audioresample ! audioconvert ! voaacenc ! mux.
You will also need to add queue elements after each output branch of 
decodebin, otherwise you will get a deadlock.
If you don't have voaacenc you can use faac.

Regards,

>
> Use this pipeline for wenm to mp4 conversion. Provided you have x264 and
> voaacenc installed.
>
> gst-launch <camera_src> ! videoconvert ! deinterlace ! queue leaky=1 !
> videoscale ! x264enc   ! h264parse ! mp4mux name=mux ! filesink
> location=test.mp4  \
> <alsa_src>! queue leaky=1 ! audioresample ! audioconvert ! voaacenc ! mux.
>
> Above pipeline for videocam and alsa audio mixing.
>
> ~sudhir
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/webm-to-mp4-fiel-conversation-tp4667181p4667190.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


-- 
Thiago Sousa Santos
Senior Multimedia Engineer, Open Source Group
Samsung Research America - Silicon Valley



More information about the gstreamer-devel mailing list