네트워크를 통한 VLC 스트리밍

네트워크를 통한 VLC 스트리밍

수행원이것, 네트워크를 통해 비디오를 스트리밍하려고 합니다.

설정은 다음과 같습니다:

me@kaffeesatz:~$ vlc screen:// --screen-left=67 --screen-top=53 --screen-width=800 --screen-height=600 --screen-fps=60 --sout '#transcode{vcodec=theovb=800,scale=1,width=800,height=600,acodec=none}:http{mux=ogg,dst=localhost:8181/graph}'

하지만 다른 컴퓨터의 vlc에서 the.ip.address:8181/graph를 열려고 하면 다음과 같은 오류 메시지가 나타납니다.

Your input can't be opened:
VLC is unable to open the MRL 'http://the.ip.address:8181/graph'. Check the log for details.

내가 여기서 뭘 잘못하고 있는 걸까?

그동안 스트리밍 중인 컴퓨터에서 스트림을 열 수 있는지 확인했습니다. 그러나 다른 컴퓨터에서 스트림을 열 수는 없습니다.

로그 출력은 다음과 같습니다.

main debug: processing request item http://192.168.178.23:8181/graph.ogg node Playlist skip 0
main debug: resyncing on http://192.168.178.23:8181/graph.ogg
main debug: http://192.168.178.23:8181/graph.ogg is at 1
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'http://192.168.178.23:8181/graph.ogg'
main debug: thread (input) created at priority 1 (../.././src/input/input.c:220)
qt4 debug: IM: Setting an input
main debug: thread started
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path 'C:\Users\lowerkey\AppData\Local\Temp'
main debug: `http://192.168.178.23:8181/graph.ogg' gives access `http' demux `' path `192.168.178.23:8181/graph.ogg'
main debug: creating demux: access='http' demux='' path='192.168.178.23:8181/graph.ogg'
main debug: looking for access_demux module: 0 candidates
main debug: no access_demux module matched "http"
main debug: TIMER module_need() : 5.667 ms - Total 5.667 ms / 1 intvls (Avg 5.667 ms)
main debug: creating access 'http' path='192.168.178.23:8181/graph.ogg'
main debug: looking for access module: 2 candidates
access_http debug: http: server='192.168.178.23' port=8181 file='/graph.ogg'
main debug: net: connecting to 192.168.178.23 port 8181
main warning: connection timed out
access_http error: cannot connect to 192.168.178.23:8181
main debug: net: connecting to 192.168.178.23 port 8181
main warning: connection timed out
access_mms error: cannot connect to 192.168.178.23:8181
main debug: no access module matching "http" could be loaded
main debug: TIMER module_need() : 10181.896 ms - Total 10181.896 ms / 1 intvls (Avg 10181.896 ms)
main debug: waitpipe: object killed
main error: open of `http://192.168.178.23:8181/graph.ogg' failed: (null)
main debug: thread ended
main debug: dead input
main debug: thread times: real 0m10.257812s, kernel 0m0.000000s, user 0m0.000000s
main debug: changing item without a request (current 1/2)
main debug: nothing to play
qt4 debug: IM: Deleting the input
main debug: TIMER input launching for 'http://192.168.178.23:8181/graph.ogg' : 10360.760 ms - Total 10360.760 ms / 1 intvls (Avg 10360.760 ms)

답변1

서버에서 VLC를 설정할 때 대상에 localhost를 지정하지 말고 포트 번호만 지정하세요.
vlc screen:// --screen-left=67 --screen-top=53 --screen-width=800 --screen-height=600 --screen-fps=60 --sout '#transcode{vcodec=theovb=800,scale=1,width=800,height=600,acodec=none}:http{mux=ogg,dst=:8181/graph}'

관련 정보