Re: [Nbd] Error reading initial password when exporting /dev/video0
- To: Hans de Bruin <bruinjm@...64...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] Error reading initial password when exporting /dev/video0
- From: Wouter Verhelst <wouter@...3...>
- Date: Tue, 6 Sep 2005 20:37:54 +0200
- Message-id: <20050906183754.GE29677@...39...>
- In-reply-to: <431DD6F8.3000101@...64...>
- References: <431C8DE5.8040206@...64...> <20050905181914.GB21720@...39...> <431C96B2.9080700@...64...> <20050906102051.GF4703@...39...> <431DD6F8.3000101@...64...>
On Tue, Sep 06, 2005 at 07:50:48PM +0200, Hans de Bruin wrote:
> Wouter Verhelst wrote:
> > On Mon, Sep 05, 2005 at 09:04:18PM +0200, Hans de Bruin wrote:
> >
> >>Wouter Verhelst wrote:
> >>
> >>>On Mon, Sep 05, 2005 at 08:26:45PM +0200, Hans de Bruin wrote:
> >>>
> >>>>I am trying to export /dev/video0, which won't work. The server starts,
> >>>>but the client complains about reading an initialpassword. I can export
> >>>>a normal file. Both client and server where run as root.
> >>>
> >>>How large is /dev/video0?
> >>
> >>Beyond verry big. Its an endless mpg stream from an tv encoder card
> >
> > Ah, I see.
> >
> > NBD does not support that; it assumes a file or block device with fixed
> > size. Patches to fix that are welcome.
>
> So /dev/video is probably an character device like the audio devices.
Yes, that's very likely.
'ls -l /dev/video*' will tell you. If it's a chardev, the permission
bits will start with c rather than b (as is the case for block devices).
> Patching will be difficult. In c I never passed the hello world grade
*g*
> and after some googleling it looks like the behavior of chardevs is
> probably to different to fit in nbd. I will have to find a workaround.
Have you looked at vlc? It supports live streaming of whatever you're
playing over the network. I use it to stream DVD's from my laptop (with
12" screen) to my brother's desktop (with 17" screen, but without
DVD-ROM). Works like a charm.
Don't know whether it also supports /dev/video* devices; but if it does,
that's what you want ;-)
--
The amount of time between slipping on the peel and landing on the
pavement is precisely one bananosecond
Reply to: