[gst-devel] streaming mpeg2 from a pc to a set top box

Stefan Kost ensonic at hora-obscura.de
Tue Aug 14 21:27:57 CEST 2007


Mario Latronico wrote:
> Hello,
> i would like to set up a streaming solution between a pc and a set top box.
> The first is a normal x86 PC running Linux , and the second is a Mips
> based set top box (STB) also running Linux (it is the Dreambox 7025,
> which has a basic GStreamer setup installed).
> The set top box hasn't any codec installed except for mpeg2 which is
> used by DVB standard, so i need to convert a video stream from my pc
> to MPEG2-TS that can be read by the STB.
> | followed the RTP readme instructions, but i don't know how to set a
> correct pipeline on the server side
> I tried the following gst-launch command line on the Set top box (the client):
> root at dm7025:~# gst-launch-0.10 -v udpsrc port=5554 ! rtpmp2tdepay !
> flutsdemux ! dvbvideosink
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> and in the server:
> mario at mario-laptop:~$ /home/mario/apps/gstreamer/bin/gst-launch-0.10
> videotestsrc ! ffenc_mpeg2video ! rtpmp2tpay ! udpsink
> host= port=5554
> WARNING: erroneous pipeline: could not link ffenc_mpeg2video0 to rtpmp2tpay0

I never did that myself but it looks like you need somthing like
... ffenc_mpeg2video ! ffmux_mpegts ! rtpmp2tpay ...


> What i'm doing wrong ?
> I know i need to set caps string on the client side , but i need to
> set before a correct string on the server side.
> Is there a better solution ? I tried also with RTSP and VLC but
> without any results.
> Thank you for your attention and support !!!
> Mario
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

More information about the gstreamer-devel mailing list