Playing Video with a Beamer and stream sound?! Possible?

Old forum that is now archived. Please use one of the other forums.
JamieWolf

Playing Video with a Beamer and stream sound?! Possible?

Postby JamieWolf » 25 Feb 2004 04:23

Hi Folks,

I've been looking for a way to stream Videos on a LAN for over a year now until I found this site today :)

But I got a few questions before I'll try VideoLAN.

1. Is it possible to show a video via a Beamer and just stream the sound in realtime?!

I already tried to do this with a Winamp stream, which works, but the sound is not syncron with the Pictures :(

2. Can one Server stream various Movies??

Thanks for Answers in Advance!!

zorglub
Cone that earned his stripes
Cone that earned his stripes
Posts: 482
Joined: 21 Nov 2003 02:53
Location: Paris - France
Contact:

Postby zorglub » 25 Feb 2004 09:38

Is it possible to show a video via a Beamer and just stream the sound in realtime?!
Yes
I already tried to do this with a Winamp stream, which works, but the sound is not syncron with the Pictures
I would suggest something like that :

On the server (machine with the beamer that streams the audio), start 2 VLC. One will be the streamer, it will stream the sound in multicast for everyone and the picture in unicast to itself (you will have to use the es module of stream output, have a look at the VideoLAN Howto and the VLC User Guide). The other VLC will be the one that decodes and displays the video.

By doing this, there will be the same buffering between audio and video (except the latency of the LAN, but it is often very low, and you can play with the input buffer of the video decoder if needed).
2. Can one Server stream various Movies??
If you use VLS, yes, but you will not be able to stream video and audio separately.

If you use VLC, at the moment, you need to start one new VLC for each stream. But that will probably get possible in a little time.
Zorglub
Clément Stenac

raily

Postby raily » 10 Mar 2004 14:20

hello,
i searched this board for "multicast" and this was exactly the topic i need information about.

i tried to run vlc (vlc-0.7.1) in command line (win xp) with the following parameter:

"vlc -vvv a_file.avi --sout '#es{access=udp,mux=avi,url_audio=239.255.0.1,url_video=192.168.0.1}'"

but after vlc has started no file is played...

"vlc -vvv a_file. avi" works, but whenever i try to us es module, nothing happens.

is ther a way to do the same (streaming sound multicast, video unicast) from within the gui of vlc?

zorglub
Cone that earned his stripes
Cone that earned his stripes
Posts: 482
Joined: 21 Nov 2003 02:53
Location: Paris - France
Contact:

Postby zorglub » 10 Mar 2004 14:41

I suppose you mean that you launched another VLC as client, and you got nothing here.

Could you use "--extraintf logger" on the command line and paste the log file that will be created (vlc-log.txt).

The es feature is not available from the gui atm
Zorglub
Clément Stenac

raily

Postby raily » 10 Mar 2004 14:52

no, i mean streaming vlc.

this is the log, when i start vlc from command line with:
"vlc --extraintf logger -vvv a.avi --sout '#es{access=udp,mux=avi,url_audio=239.255.0.1,url_video=192.168.0.1}'"


-- logger module started --
main debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT FPU
main debug: looking for memcpy module
main debug: probing 4 candidates
main debug: using memcpy module "memcpymmxext"
main debug: creating group Normal with id 1 at position 0
main debug: waiting for thread completion
main debug: thread 1668 (playlist) created at priority 0 (src/playlist/playlist.c:109)
main debug: looking for interface module
main debug: probing 1 candidate
logger: VLC media player - version 0.7.1 Bond - (c) 1996-2003 VideoLAN
logger:
Warnung: Falls Sie die Oberfläche nicht mehr benutzen können, öffnen Sie die DOS-Eingabe, gehen in den Ordner von VLC und führen Sie "vlc -I win32" aus.

logger: Using the logger interface module...
logger warning: no log filename provided, using `vlc-log.txt'
logger debug: opening logfile `vlc-log.txt'
main debug: using interface module "logger"
main debug: interface initialized
main debug: thread 2716 (interface) created at priority 0 (src/interface/interface.c:161)
main debug: looking for interface module
main debug: probing 1 candidate
main debug: using interface module "hotkeys"
main debug: interface initialized
main debug: thread 2740 (interface) created at priority 0 (src/interface/interface.c:161)
main debug: adding playlist item `a.avi' ( a.avi )
main debug: creating new input thread
main: playlist item `a.avi'
main debug: waiting for thread completion
main debug: access `', demux `', name `a.avi'
main debug: thread 2772 (input) created at priority 1 (src/input/input.c:254)
main debug: using sout chain=`std{mux="",access="",url="'#es{access=udp,mux=avi,url_audio=239.255.0.1,url_video=192.168.0.1}'"}'
main debug: stream=`std'
main debug: looking for sout stream module
main debug: probing 1 candidate
stream_out_standard debug: creating `(null)/(null)://'#es{access=udp,mux=avi,url_audio=239.255.0.1,url_video=192.168.0.1}''
stream_out_standard debug: extention is 1}'
stream_out_standard debug: extention -> mux=(null)
stream_out_standard error: no access _and_ no muxer (fatal error)
main warning: no sout stream module matching "std,none" could be loaded
main debug: destroying chain... (name=std)
main debug: destroying chain done
main error: stream chained failed for `std{mux="",access="",url="'#es{access=udp,mux=avi,url_audio=239.255.0.1,url_video=192.168.0.1}'"}'
main error: cannot start stream output instance, aborting
main debug: pes: 0 packets
main debug: data: 0 packets
main debug: buffers: 0 packets
main debug: cmd=state old=10 new=1
main debug: playing at normal rate
main debug: looking for interface module
main debug: probing 4 candidates
main debug: using interface module "wxwindows"
main debug: interface initialized
main debug: thread 2800 (manager) created at priority 0 (src/interface/interface.c:145)
wxwindows debug: accelerator table loaded
main debug: thread 2772 joined (src/input/input.c:289)

raily

Postby raily » 10 Mar 2004 17:26

now it works.

the thing i did, was leaving out the " ' " in command line.

instead of:
"vlc --extraintf logger -vvv a.avi --sout '#es{access=udp,mux=avi,url_audio=239.255.0.1,url_video=192.168.0.1}'"
i used:
"vlc --extraintf logger -vvv a.avi --sout #es{access=udp,mux=avi,url_audio=239.255.0.1,url_video=192.168.0.1}"

and now it recognizes, that i want to use the es-module


Return to “VideoLAN”

Who is online

Users browsing this forum: No registered users and 19 guests