Networking Forums

Networking Forums > Computer Networking > Linux Networking > /dev/dsp and /dev/video over network

Reply
Thread Tools Display Modes

/dev/dsp and /dev/video over network

 
 
Fred Phase
Guest
Posts: n/a

 
      07-20-2003, 07:19 AM
I have a Mandrake 9.1 machine used for videocasting. I need to *also*
get video and audio from another building via Lan to be encoded by
Darkice or Helix Producer.

I am sending many streams at once so getting two computers that are as
powerful is an expensive option. Better to have one machine with mucho
CPU and another that just relays audio & video from the other building
to it.

Is there any way to get the /dev/dsp and /dev/video of one machine to
be accessable to the other? Mandrake uses devfs.

Regards,
Fred.
 
Reply With Quote
 
 
 
 
alexd
Guest
Posts: n/a

 
      07-20-2003, 12:10 PM
Fred Phase wrote:

> I have a Mandrake 9.1 machine used for videocasting. I need to *also*
> get video and audio from another building via Lan to be encoded by
> Darkice or Helix Producer.
>
> I am sending many streams at once so getting two computers that are as
> powerful is an expensive option. Better to have one machine with mucho
> CPU and another that just relays audio & video from the other building
> to it.
>
> Is there any way to get the /dev/dsp and /dev/video of one machine to
> be accessable to the other? Mandrake uses devfs.


Not quite, but esd works for me over my network. Ie I run 'esd -public -tcp'
on my X terminal, then all the apps that run on the server send their audio
output to my X terminal's sound card.

alexd

--
(http://alexd.mine.nu/) (AIM:troffasky) ((E-Mail Removed))
13:09:36 up 36 days, 14:55, 2 users, load average: 0.08, 0.07, 0.07

 
Reply With Quote
 
Fred Phase
Guest
Posts: n/a

 
      07-21-2003, 08:37 AM
"Binh Nguyen" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> LTSP project achieves this capability, albeit 'rather primitively' using
> artsd, esd, nasd or rplay.
>
> Binh.


Thanks. But how is /dev/video shared over a network? I need network
transparency for both audio and video.
 
Reply With Quote
 
Vampire at Wicked Empire
Guest
Posts: n/a

 
      07-21-2003, 10:49 AM
Fred Phase wrote:
> I have a Mandrake 9.1 machine used for videocasting. I need to *also*
> get video and audio from another building via Lan to be encoded by
> Darkice or Helix Producer.
>
> I am sending many streams at once so getting two computers that are as
> powerful is an expensive option. Better to have one machine with mucho
> CPU and another that just relays audio & video from the other building
> to it.
>
> Is there any way to get the /dev/dsp and /dev/video of one machine to
> be accessable to the other? Mandrake uses devfs.
>
> Regards,
> Fred.


Maybe ffmpeg may help.

ffmpeg.sf.net


--
My projects:
http://tcron.sourceforge.net
http://fftv.sourceforge.net
http://www.csie.nctu.edu.tw/~cp76/gcb

 
Reply With Quote
 
alexd
Guest
Posts: n/a

 
      07-21-2003, 12:19 PM
Fred Phase wrote:

> "Binh Nguyen" <(E-Mail Removed)> wrote in message
> news:<(E-Mail Removed)>...
>> LTSP project achieves this capability, albeit 'rather primitively' using
>> artsd, esd, nasd or rplay.
>>
>> Binh.

>
> Thanks. But how is /dev/video shared over a network? I need network
> transparency for both audio and video.


I can watch DivXs with xine remotely [ie over X] on a quiet 100mbit network
segment, and there's no jerkiness at all.

alexd

--
(http://alexd.mine.nu/) (AIM:troffasky) ((E-Mail Removed))
13:18:29 up 37 days, 15:04, 2 users, load average: 0.09, 0.11, 0.04

 
Reply With Quote
 
Fred Phase
Guest
Posts: n/a

 
      07-21-2003, 08:18 PM
>
> I can watch DivXs with xine remotely [ie over X] on a quiet 100mbit network
> segment, and there's no jerkiness at all.
>
> alexd


Thanks Alex, but I don't just want to watch video. It has to appear as
a device that Helix Producer can treat as /dev/video.

I would like audio and video devices in the /dev directory to be
available over a network.

Thanks,
Fred
 
Reply With Quote
 
Johann Koenig
Guest
Posts: n/a

 
      07-22-2003, 01:31 AM
On 21 Jul 2003 13:18:40 -0700
(E-Mail Removed) (Fred Phase) wrote:

> >
> > I can watch DivXs with xine remotely [ie over X] on a quiet 100mbit network
> > segment, and there's no jerkiness at all.
> >
> > alexd

>
> Thanks Alex, but I don't just want to watch video. It has to appear as
> a device that Helix Producer can treat as /dev/video.
>
> I would like audio and video devices in the /dev directory to be
> available over a network.


Have you tried nfs exporting/mounting the /dev directory? Just a thought. You might have to do some stuff like "no_root_squash" to get it working. I'm not sure though. It's worth a shot if you haven't looked at it yet.
--
-johann koenig
now playing: Bad Religion - The Hopeless Housewife
Today is Boomtime, the 56th day of Confusion in the YOLD 3169
My public pgp key: http://mental-graffiti.com/pgp/johannkoenig.pgp

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/HJPxFk4duwOzQpURAn7BAJ4r3PdcLoAkBAg/eQ6CrauH1XhDoQCcDgmJ
IiPtj+O/xHvPsRAa4emSNkQ=
=i8+h
-----END PGP SIGNATURE-----

 
Reply With Quote
 
/dev/rob0
Guest
Posts: n/a

 
      07-22-2003, 02:42 AM
[followup-to set]

In article <(E-Mail Removed)>,
Johann Koenig wrote:
>> I would like audio and video devices in the /dev directory to be
>> available over a network.

>
> Have you tried nfs exporting/mounting the /dev directory? Just a


No, that wouldn't work. Well, you COULD do it, but the device nodes
would all point to your local devices. Understand what a device node is:
it's just a pointer for the kernel telling it which major and minor
number to use, which in turn points to a specific hardware driver.

You do get credit for being creative, however.
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
 
Reply With Quote
 
Circuit Breaker
Guest
Posts: n/a

 
      07-22-2003, 03:49 PM
Fred Phase wrote:

[paraphrase]
I wanna stream audio and video across my network like the news stations
do, where you can get "live" video with sound in progams like RealPlayer,
etc., and I want it to be streamed as opposed to opening from a
non-changing file.
[/paraphrase]

I just did a couple of google searches. I know it might not be much help,
but I wanted to do the same thing once. I forget what happened with the
idea on my end, but I nonetheless gave up. I forget why, but I think it
was on my end.

Try this google search:

http://www.google.com/linux?&q=strea...dio+LAN+server

Something else that looks possibly doable is netmeeting. GnoMeeting seems
to be compatible with it, so you could use either linux or windows h.323
clients to view the stream. Just a thought, and keep in mind, I have
never done this so I have not explored these options.

HTH, nonetheless ;-)

CB

 
Reply With Quote
 
Asfand Yar Qazi
Guest
Posts: n/a

 
      07-22-2003, 05:05 PM
/dev/rob0 wrote:
> [followup-to set again]
> In article <(E-Mail Removed) >,
> Fred Phase wrote:
>
>>>>Have you tried nfs exporting/mounting the /dev directory? Just a
>>>
>>>No, that wouldn't work. Well, you COULD do it, but the device nodes
>>>would all point to your local devices. Understand what a device node is:

>>
>>Just out of curiosity, what happens with devfs in this case?

>
>
> Never tried it, but if it works (and I expect it would) all the device
> nodes would be just like standard on-disk device nodes. But devfs would
> only create the nodes needed for the nfsd machine! I don't think it
> would be very useful.


The device exporting you talk of doesn't exist.

However...

Here's something interesting about the /dev/nb* devices from the
Documentation/devices.txt file in the 2.4.21 kernel distro (pasted exactly):

"Network Block Device is somehow similar to loopback
devices: If you read from it, it sends packet accross
network asking server for data. If you write to it, it
sends packet telling server to write. It could be used
to mounting filesystems over the net, swapping over
the net, implementing block device in userland etc."

My mind blanks out here: I know it should be possible to do something
with this, but how?.......... probably involve some custom programming.





--


http://www.it-is-truth.org/

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert DVD, video, flash to iphone video? carmenalice2007@hotmail.com Wireless Internet 0 07-08-2007 07:00 AM
Cisco IP NGN Enables End-to-End Digital Video and IPTV Service Delivery for 'Video 2.0 Networking News Network Routers 0 12-12-2006 04:36 PM
Cisco IP NGN Enables End-to-End Digital Video and IPTV Service Delivery for 'Video 2.0 studiescircle@yahoo.com Windows Networking 1 12-12-2006 03:01 PM
Cisco IP NGN Enables End-to-End Digital Video and IPTV Service Delivery for 'Video 2.0 studiescircle@yahoo.com Home Networking 1 12-12-2006 03:01 PM
Cisco IP NGN Enables End-to-End Digital Video and IPTV Service Delivery for 'Video 2.0 studiescircle@yahoo.com Linux Networking 0 12-12-2006 02:17 PM



1 2 3 4 5 6 7 8 9 10 11