[gst-devel] pipeline for audio and video in gstreamer
Miguel Telleria de Esteban
miguel at mtelleria.com
Tue Jun 1 13:17:57 CEST 2010
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/
-------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100601/4bfcd399/attachment.pgp>
More information about the gstreamer-devel
mailing list