[gst-devel] DVB Filter

Martin Eikermann eikermann at gmx.net
Sat Jul 3 09:05:03 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Sebastian Hartte wrote:

| Hi folks, i have a question about gstreamer. I've been into DVB-S
| on Windows for a while and was looking into available software on
| Linux. I have to admit that there wasn't anything useful out there
| (except for VDR maybe but i want to watch tv like i do on Windows).
|  So my guess is that there is simply no unified and easy solution
| for programmers to access the kernel DVB interface. I do know how
| they do that on Windows (DirectShow!) and since GStreamer is the
| closest system libary there is to DirectShow i've been wondering if
|  there are any plans to write some sort of DVB input/demux/tuning
| filter. If i understood GStreamer correctly, that should be
| possibly, shouldn't it?
|

Hi,

I have written a dvbsrc[0] plugin, which works for me (DVB-S). Cable
and Terrestrial should be easy to do, there is already some code in
place, but I never got to test it. In addition to dvbsrc you need a
Transport Stream to Programm Stream muxer. This is a seperate plugin I
wrote (ts2ps[2]). You can get them from
eikermann.afraid.org/dvbsrc.tar.bz2 and ts-tools.tar.bz2 The latter
contains in addition to the ts2ps element a generic tsparser element.
This might come handy if somebody plans to write a EPG/PMT/Teletext or
whatever parser. ts2ps is just subclassing the generic parser, an
epg-parser can be written in the same way. After installation see the
gst-inspect output what parameters dvbsrc/ts2ps takes (only  VB-S
specific parameters yet). Don't forget to tell ts2ps the audio and
video pid it should remux.

In the case u are watching ASTRA, 3Sat is the default channel so you
can test your setup with the following:

gst-launch-0.8 dvbsrc ! ts2ps ! mpegdemux name=demux adjust=false
~ demux. { queue ! mpeg2dec ! xvimagesink } demux.
~ { queue ! mad ! osssink }

Note the adjust=false. This is important, because the mpegdemuxer
can't handle wrong mux-rate information that comes over DVB.

Greets
~  Martin

[0] eikermann.afraid.org/dvbsrc.tar.bz2
[1] eikermann.afraid.org/ts-tools.tar.bz2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFA5tj4wcUpXfN9od8RAs+IAJ4pqqdVkiZOaB3VG3GQMM3VLSWpbwCfdPO7
H1OnZQhiZA9yojKDPhMnAo0=
=Gsxj
-----END PGP SIGNATURE-----





More information about the gstreamer-devel mailing list