Gstreamer pipeline to convert from avi to mp4 format !!

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Gstreamer pipeline to convert from avi to mp4 format !!

Kumar, Pawan

Hi All,

     I am looking for a Gstreamer pipeline to convert from avi to mp4 format. Here mp4 should contain the same the elementary Audio and Video streams as stored in avi.
           
    test_h264_aac.avi : (Video.h264, Audio.aac) -----------> output_h264_aac.mp4 : (Video.h264, Audio.aac)

    So I do not want to decode the elementary streams and again encode it back before mux-ing with the MP4

   I tried with the below pipeline.

    gst-launch-0.10 filesrc location=test_h264_aac.avi ! avidemux  name=demux { qtmux name=mux ! filesink location=output.mp4 } { demux. ! queue ! audiopass ! mux. } { demux. ! queue ! videopass ! mux. }

     Here audiopass, and videopass  are gstreamer plugins, which pass through the audio and video elementary streams as it. These elements are used only for caps negotiation of  the audio and video src pads of AVI demuxer with the audio and video sink pads of the MP4 muxer.

      This pipeline does not write out any Data.

     Can somebody please suggest me a pipeline to do the conversion mentioned above ?
 
 
Thanks,
/Pawan
 

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer pipeline to convert from avi to mp4 format !!

Aurelien Grimaud (elzz)
Hi,

Could you post the output of your gst-launch ? What does "does not write out any data" means ? Stuck in preroll ?, not negotiated ?
Did you try to GST_DEBUG it ?
Should give hints on what happens ...

Aurelien

Kumar, Pawan a écrit :

Hi All,

     I am looking for a Gstreamer pipeline to convert from avi to mp4 format. Here mp4 should contain the same the elementary Audio and Video streams as stored in avi.
           
    test_h264_aac.avi : (Video.h264, Audio.aac) -----------> output_h264_aac.mp4 : (Video.h264, Audio.aac)

    So I do not want to decode the elementary streams and again encode it back before mux-ing with the MP4

   I tried with the below pipeline.

    gst-launch-0.10 filesrc location=test_h264_aac.avi ! avidemux  name=demux { qtmux name=mux ! filesink location=output.mp4 } { demux. ! queue ! audiopass ! mux. } { demux. ! queue ! videopass ! mux. }

     Here audiopass, and videopass  are gstreamer plugins, which pass through the audio and video elementary streams as it. These elements are used only for caps negotiation of  the audio and video src pads of AVI demuxer with the audio and video sink pads of the MP4 muxer.

      This pipeline does not write out any Data.

     Can somebody please suggest me a pipeline to do the conversion mentioned above ?
 
 
Thanks,
/Pawan
 

------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf

_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel