[MPlayer-dev-eng] Re: [MPlayer-dev-eng] help request for a dvb-input patch

Bertrand Baudet bertrand_baudet at yahoo.com
Tue Sep 17 19:17:43 CEST 2002


On Saturday 14 September 2002 09:42 am, nsabbi at libero.it wrote:
> >Check this link:
> >
> >http://www.linuxtv.org/mailinglists/linux-dvb/2002/02-2002/msg00014.html
> >
> >Have you tried this? If yes, why didn't it work for you?
> >If no, you won a STFW.
>
> I liked dvbstream so much that I decided to use 99% of its code for my
> patch. Why? Because I need a mechanism to change channel when I'm
> watching TV, to use OSD, to record etc.,  all things that can't be
> easily made using a pipe like
> dvbstream -ps -o 1 2 | mplayer -cache 2048 -
>
> Something that I like is already implemented in mplayer: the TV/TVI
> system, so I'd like to have something of that kind for watching
> DVB-tv.

Ok, I understand whtat you want to do now.


> P.S. what is a STFW? I guess it isn't something nice.
>
>
> I understood the hard way that I don't have to touch the voices in
> streaming_ctrl and that streaming isn't the best way to go, in this
> case.
>
> Yet,  I finally have it working, but with jerky video and using
> horrible  coding practices :) :
> - it uses mpegtools functions to decode from ts -> ps
> - which in turn uses a callback mechanism to tell that it's ready to
> go
> - so I have to use a buffer to interface the callback function and
> dvb_streaming_read.
>
> Please, don't flame me! :)

No I won't, it's just that you were not using the variable the cleanest way.


> When it's clean I will attach it, if someone wants it.

Sure, send the patch, I will have a look on the streaming stuff and
give you feed back if needed.


Bertrand



More information about the MPlayer-dev-eng mailing list