How to write application run .avi files?

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

How to write application run .avi files?

ananthula.madhu
Hi,
         I am able to run the .avi file with following pipeline
            gst-launch -v filesrc location=movie.avi ! avidemux name=demuxer demuxer. ! queue ! ffdec_h264 ! ffmpegcolorspace ! autovideosink demuxer. ! queue ! flump3dec ! alsasink

But for the above pipeline i written application .
but how to link (with gst_element_link_many ()) avidemux with video decoder and audio decoder i am not getting.
 
i tried with some combinations it was giving "internal data flow error"
 
So any one plaeses help..
 
Thanks & Regards
Mohan Reddy
 

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to write application run .avi files?

Sudarshan Bisht

            In application u can not directly link demuxer with decoder because demuxer has dynamic pads which are created  on the basis of the availability of the stream present in container format .  
         so u need to link the dynamic src pad of the demuxer with decoder's sink pad in a callback . 


 

On Wed, Jan 6, 2010 at 7:54 PM, <[hidden email]> wrote:
Hi,
         I am able to run the .avi file with following pipeline
            gst-launch -v filesrc location=movie.avi ! avidemux name=demuxer demuxer. ! queue ! ffdec_h264 ! ffmpegcolorspace ! autovideosink demuxer. ! queue ! flump3dec ! alsasink

But for the above pipeline i written application .
but how to link (with gst_element_link_many ()) avidemux with video decoder and audio decoder i am not getting.
 
i tried with some combinations it was giving "internal data flow error"
 
So any one plaeses help..
 
Thanks & Regards
Mohan Reddy
 

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Regards,

Sudarshan Bisht

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to write application run .avi files?

Thiago Sousa Santos-2


On Wed, Jan 6, 2010 at 12:42 PM, sudarshan bisht <[hidden email]> wrote:

            In application u can not directly link demuxer with decoder because demuxer has dynamic pads which are created  on the basis of the availability of the stream present in container format .  
         so u need to link the dynamic src pad of the demuxer with decoder's sink pad in a callback . 



If your intention is just to playback, you should use playbin2
 
 

On Wed, Jan 6, 2010 at 7:54 PM, <[hidden email]> wrote:
Hi,
         I am able to run the .avi file with following pipeline
            gst-launch -v filesrc location=movie.avi ! avidemux name=demuxer demuxer. ! queue ! ffdec_h264 ! ffmpegcolorspace ! autovideosink demuxer. ! queue ! flump3dec ! alsasink

But for the above pipeline i written application .
but how to link (with gst_element_link_many ()) avidemux with video decoder and audio decoder i am not getting.
 
i tried with some combinations it was giving "internal data flow error"
 
So any one plaeses help..
 
Thanks & Regards
Mohan Reddy
 

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Regards,

Sudarshan Bisht

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Thiago Sousa Santos

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel