Hallo
Ik probeer een video met VLC vanaf een linux (Debian Sarge 3.1) machine naar een Windows XP machine te streamen via HTTP op poort 8080.
En wil de stream starten onder linux vanuit de console en dit is me tot nu toe nog niet gelukt. Echter heb ik op een andere testmachine Gnome geinstalleert toen een video geopend en laten streamen en deze kon ik perfect afspelen op de Windows machine. Ik moet dus eigenlijk weten welk commando de GUI geeft aan de console.
Zelf heb ik al geprobeerd:
Maar dit werkt niet. Als ik in de GUI (op de linux machine) het filmpje blabla.avi openen en de Stream Output aanzet en HTTP op poort 8080 kan ik hem op de Windows machine dus gewoon bekijken.
Iemand dus enig idee welk commando ik nodig heb op de console om gewoon een avi filmpje te streamen via HTTP op poort 8080.
Dit kreeg ik als output
Ik probeer een video met VLC vanaf een linux (Debian Sarge 3.1) machine naar een Windows XP machine te streamen via HTTP op poort 8080.
En wil de stream starten onder linux vanuit de console en dit is me tot nu toe nog niet gelukt. Echter heb ik op een andere testmachine Gnome geinstalleert toen een video geopend en laten streamen en deze kon ik perfect afspelen op de Windows machine. Ik moet dus eigenlijk weten welk commando de GUI geeft aan de console.
Zelf heb ik al geprobeerd:
code:
1
| vlc -vvv blabla.avi --sout '#standard{access=http,mux=ogg,dst=:8080}' |
Maar dit werkt niet. Als ik in de GUI (op de linux machine) het filmpje blabla.avi openen en de Stream Output aanzet en HTTP op poort 8080 kan ik hem op de Windows machine dus gewoon bekijken.
Iemand dus enig idee welk commando ik nodig heb op de console om gewoon een avi filmpje te streamen via HTTP op poort 8080.
Dit kreeg ik als output
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
| [rick@rickes:/hd2/torrent/rick]$ vlc -vvv Las.Vegas.S04E08.HDTV.XviD-LOL.avi --sout '#standard{access=http,mux=ogg,dst=:9131}'
VLC media player 0.8.5 Janus
[00000001] main vlc debug: opening config file /home/rick/.vlc/vlcrc
[00000001] main vlc warning: config file /home/rick/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /home/rick/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 175 modules
[00000001] main vlc debug: opening config file /home/rick/.vlc/vlcrc
[00000001] main vlc warning: config file /home/rick/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main vlc debug: looking for memcpy module: 3 candidates
[00000001] main vlc debug: using memcpy module "memcpymmxext"
[00000223] main playlist debug: waiting for thread completion
[00000223] main playlist debug: thread 1085074352 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000224] main private debug: waiting for thread completion
[00000224] main private debug: thread 1093462960 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000225] main interface debug: looking for interface module: 1 candidate
[00000225] main interface debug: using interface module "hotkeys"
[00000225] main interface debug: thread 1101876144 (interface) created at priority 0 (interface/interface.c:231)
[00000223] main playlist debug: adding playlist item `Las.Vegas.S04E08.HDTV.XviD-LOL.avi' ( Las.Vegas.S04E08.HDTV.XviD-LOL.avi )
[00000227] main interface debug: looking for interface module: 1 candidate
Remote control interface initialized. Type `help' for help.
[00000227] main interface debug: using interface module "rc"
[00000227] main interface debug: thread 1110318000 (manager) created at priority 0 (interface/interface.c:216)
[00000223] main playlist debug: creating new input thread
[00000229] main input debug: waiting for thread completion
[00000229] main input debug: thread 1118706608 (input) created at priority 0 (input/input.c:261)
[00000229] main input debug: creating statistics handler
[00000231] main stream output debug: stream=`standard'
[00000232] main private debug: looking for sout stream module: 1 candidate
[00000232] main private debug: set sout option: sout-standard-access to http
[00000232] main private debug: set sout option: sout-standard-mux to ogg
[00000232] main private debug: set sout option: sout-standard-dst to :9131
[00000232] stream_out_standard private debug: creating `http/ogg://:9131'
[00000232] stream_out_standard private debug: using `http/ogg://:9131'
[00000234] main private debug: looking for sout access module: 1 candidate
[00000234] main private: creating httpd
[00000234] main private debug: net: listening to port 9131
[00000237] main http server debug: thread 1127123888 (httpd host thread) created at priority 0 (network/httpd.c:1076)
[00000234] main private debug: using sout access module "access_output_http"
[00000232] stream_out_standard private debug: access opened
[00000238] main private debug: looking for sout mux module: 0 candidates
[00000238] main private error: no sout mux module matched "ogg"
[00000232] stream_out_standard private error: no suitable sout mux module for `http/ogg://:9131'
status change: ( new input: Las.Vegas.S04E08.HDTV.XviD-LOL.avi )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000237] main http server debug: thread 1127123888 joined (network/httpd.c:1132)
[00000237] main http server debug: HTTP host removed
[00000236] main http server debug: no host left, stopping httpd
[00000234] access_output_http private debug: Close
[00000234] main private debug: removing module "access_output_http"
[00000232] main private warning: no sout stream module matching "standard" could be loaded
[00000232] main private debug: destroying chain... (name=standard)
[00000232] main private debug: destroying chain done
[00000231] main stream output error: stream chain failed for `standard{access=http,mux=ogg,dst=:9131}'
[00000229] main input error: cannot start stream output instance, aborting
[00000229] main input debug: thread 1118706608 joined (input/input.c:399)
status change: ( stop state: 0 )
[00000223] main playlist: nothing to play |
[ Voor 72% gewijzigd door Rickes op 05-01-2007 02:20 ]