비디오 스트리밍이 rtp 프로토콜을 통해 실패함

비디오 스트리밍이 rtp 프로토콜을 통해 실패함

Unix 서버(ffmpeg)와 Windows 클라이언트(vlc) 간의 비디오 스트리밍이 오류 없이 완료되었습니다.

서버 측:

ffmpeg -f v4l2 -r 25 -i /dev/video0 http://192.168.1.114:27018/feed1.ffm

고객 입장에서:

VLC 플레이어: 미디어 -> 개방형 네트워크 스트림:http://192.168.1.114:27018/test.swf

그러나 비디오 스트리밍에는 약 10초가 소요됩니다. 지연. 이런 이유로 http 대신 rtp를 사용해 보았으나 결과가 없었습니다. 특히 서버 측에서는 다음을 실행합니다.

ffmpeg -f v4l2 -r 25 -i /dev/video0 rtp://192.168.1.114:27018/feed1.ffm 스트림이 시작된 후 클라이언트 측에서 다음을 입력했지만 rtp://@:27018응답하지 않습니다.

내가 무엇을 놓치고 있나요? 지연을 피할 수 있는 다른 방법이 있나요?

편집하다:

VLC 플레이어의 메시지(자세한 내용: 2 디버그)(사용된 새 포트: 27020):

main debug: adding item `rtp://:27020' ( rtp://@:27020 )
qt4 debug: Adding a new MRL to recent ones: rtp://@:27020
main debug: processing request item: rtp://:27020, node: null, skip: 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index 0
main debug: starting playback of the new playlist item
main debug: resyncing on rtp://:27020
main debug: rtp://:27020 is at 0
main debug: creating new input thread
main debug: Creating an input for 'rtp://:27020'
main debug: meta ok for (null), need to fetch art
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in C:\Users\Demetres\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Demetres\AppData\Local\Temp'
main debug: `rtp://@:27020' gives access `rtp' demux `' path `@:27020'
main debug: using meta fetcher module "lua"
main debug: creating demux: access='rtp' demux='' location='@:27020' file='\\@:27020'
main debug: removing module "lua"
main debug: searching art for rtp://:27020
main debug: looking for access_demux module matching "rtp": 12 candidates
main debug: looking for art finder module matching "any": 2 candidates
main debug: net: opening any datagram port 27020
lua debug: Trying Lua scripts in C:\Users\Demetres\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
main debug: using access_demux module "rtp"
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Demetres\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
main debug: no meta reader modules matched
main debug: `rtp://@:27020' successfully opened
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
main debug: no art finder modules matched
main debug: art not found for rtp://:27020
qt4 debug: IM: Setting an input

관련 정보