[vlc] Re: VLC new DVB input
Jean-Paul Saman
jpsaman at wxs.nl
Thu Aug 14 21:45:51 CEST 2003
Benjamin PRACHT wrote:
> On Thu, Aug 14, 2003, Jean-Paul Saman wrote :
>
>>The correct syntax of this bit "dvb:12597000:0:3:27500000" is:
>> dvb:12597000,0,3,27500000
>
>
> raaah, I think we really should decide a syntax style for all the
> inputs, and try to stick to it (eg : v4l and pvr inputs are using
> input:device:frequency=... whke dvb is using dvb:...,...,... ;-)
>
Actually both syntaxes seem to work ;-) As the parser does not
discriminate between them.
>
>>Try first to view it locally before trying to stream it. Could you try
>>that and send the error log ?
>>
>
>
> Well, going to be quite hard, since the cards are on a server, with no
> XServer and on which I ca,nnot user fb (perhaps I'll install libaa and
> compile the aa plugin :-(. Howerver, I've tried to dump the stream to a
> file. I get a 2 MB mpeg file ;-)
>
Bummer ;-)
I am testing the new DVB input on my own devellopment machine and have
it running for over 4 hrs in a row without crashes. I think the
crash/segmentation fault is solved now. The bad news is I didnot commit
it yet to the CVS and on monday I'll be back at the office.
Can you wait that long ? Or should I try to remember what changes I made?
I just remembered that a diff against the archive got send on this list
by me. Try this patch to modules/access/dvb/access.c and build the thing
from fresh please. It has bitten me already a lot of times ;-( if I did
not do that.
Index: modules/access/dvb/access.c
===================================================================
RCS file: /var/cvs/videolan/vlc/modules/access/dvb/access.c,v
retrieving revision 1.6
diff -u -r1.6 access.c
--- modules/access/dvb/access.c 12 Aug 2003 15:35:26 -0000 1.6
+++ modules/access/dvb/access.c 14 Aug 2003 15:10:08 -0000
@@ -486,7 +486,7 @@
unsigned int u_video_type = 1; /* default video type */
unsigned int u_audio_type = 2; /* default audio type */
- // Get adapter and device number to use for this dvb card
+ /* Get adapter and device number to use for this dvb card */
u_adapter = config_GetInt( p_input, "adapter" );
u_device = config_GetInt( p_input, "device" );
@@ -501,7 +501,7 @@
{
input_UnselectES( p_input , p_es );
}
- if ( p_es->i_demux_fd )
+ if ( p_es->i_demux_fd > 0)
{
ioctl_UnsetDMXFilter(p_input, p_es->i_demux_fd );
p_es->i_demux_fd = 0;
>
>>For some reason there are more DMXFilter set (and file descriptors
>>allocated) then are available for the stream. >
>
This should be fixed now but ... see above. Try the patch and report if
it works for you too!
>
> Well, as I said, it's working with VLS ;-). I've tried with another
> channel on astra. Same kind of issues, except it ended with a kernel
> panic...
I guess you are using the exact same drivers ;-)
Greetings,
Jean-Paul Saman.
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc
mailing list