A transmissão de vídeo falha no protocolo rtp

0

Streaming de vídeo entre o Unix Server (ffmpeg) e o cliente Windows (vlc) concluído sem erros.

Lado do servidor:

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

Lado do cliente:

vlc player: mídia - > Abrir fluxo de rede: http://192.168.1.114:27018/test.swf

No entanto, o streaming de vídeo tem aproximadamente 10 s. demora. Por esse motivo, tentei usar o rtp em vez de http, mas sem resultado. Especificamente, no lado do servidor eu corro:

ffmpeg -f v4l2 -r 25 -i /dev/video0 rtp://192.168.1.114:27018/feed1.ffm Depois que o fluxo começou, no lado do cliente eu digitei: rtp://@:27018 mas ele não responde.

O que eu sinto falta? Existe alguma outra maneira que eu poderia evitar o atraso?

EDITAR:

mensagens do jogador vlc (Verbosidade: 2 Debug) (nova porta usada: 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
ffmpeg -f v4l2 -r 25 -i /dev/video0 http://192.168.1.114:27018/feed1.ffm
_musicbrainz.luac main debug: using access_demux module "rtp" lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art_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_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_lastfm.luac main debug: no art finder modules matched main debug: art not found for rtp://:27020 qt4 debug: IM: Setting an input
    
por dempap 04.03.2014 / 16:18

0 respostas