pipeline for audio and video in gstreamer

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

pipeline for audio and video in gstreamer

arasu
Hi All,

            I am new to gstreamer and this forum.My target board is dm365 Leopard.We are streaming video and audio from the rtsp server in the following rtsp url   rtsp://192.168.1.126:8554/mpeg4.From my target board i tried this pipeline to play video stream
gst-launch -v  rtspsrc location=rtsp://192.168.1.126:8554/mpeg4 latency=0 ! rtpmp4vdepay ! ffdec_mpeg4 !  ffmpegcolorspace ! fbdevsink

its working.

now i need pipeline for displaying video and audio from  rtsp://192.168.1.126:8554/mpeg4.
my audio output is alsasink.


Dvsdk version 2_10_01_18

kernel version is 2.6.18

gstreamer version is 0.10.23


can anyone help me

thanks and regards,

Arasu
Reply | Threaded
Open this post in threaded view
|

Re: pipeline for audio and video in gstreamer

Miguel Telleria de Esteban
Hi Arasu,

On Mon, 31 May 2010 23:03:25 -0700 (PDT) arasu wrote:

> [...]
>  rtsp://192.168.1.126:8554/mpeg4.From my
> target board i tried this pipeline to play video stream
> gst-launch -v  rtspsrc location=rtsp://192.168.1.126:8554/mpeg4
> latency=0 ! rtpmp4vdepay ! ffdec_mpeg4 !  ffmpegcolorspace ! fbdevsink
>
> its working.
>
> now i need pipeline for displaying video and audio from
> rtsp://192.168.1.126:8554/mpeg4.
> my audio output is alsasink.
You should create two subchains (with queue elements), one for
video with the same chain that you used and another one for audio using
faad for advanced audio coding.  

To create a fork you give a name attribute and you can reuse the
element with the name + ".".  A queue element is recommended in all
fork branches.

All this gives us:

gst-launch -v \
rtspsrc location=rtsp://192.168.1.126:8554/mpeg4 latency=0 name=demux \
demux. ! queue ! rtpmp4vdepay ! ffdec_mpeg4 ! ffmpegcolorspace ! fbdevsink \
demux. ! queue ! rtpmp4adepay ! faad ! audioconvert ! alsasink

I am not able to test this but I just hope it helps.

Regards,

        Miguel


--

      (O-O)
---oOO-(_)-OOo-----------------------------------------------------
 Miguel TELLERIA DE ESTEBAN               http://www.mtelleria.com
 Email: miguel at mtelleria.com           Tel GSM:  +34 650 801098
                                          Tel Fix:  +34 942 280174

 Miembro de http://www.linuca.org    Membre du http://www.bxlug.be
 ¿Usuario captivo o libre?    http://www.obtengalinux.org/windows/
 Free or  captive user?        http://www.getgnulinux.org/windows/
-------------------------------------------------------------------


------------------------------------------------------------------------------


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

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: pipeline for audio and video in gstreamer

arasu
 
  Thank you  Miguel,

 that pipeline is working for audio and video .






thanks and regards

Arasu