Нет изображения при перекодировании карты захвата в поток RTP с VLC - PullRequest
0 голосов
/ 08 января 2020

Я транскодирую карту захвата 4k в транспортный поток, используя VL C player. Я могу нормально отображать карту в сеансе VL C и передавать команды для транскодирования и потоковой передачи без ошибок в сеансе VL C, однако при попытке воспроизвести поток на другом компьютере с помощью клиента VL C сеанс У меня нет изображения, только звук.

Возможно, это мои глаза, но я не вижу никаких ошибок остановки шоу. Может кто-нибудь еще?

Переданные команды:

vlc dshow:// :dshow-vdev="Video (00 Pro Capture HDMI 4K+)" :dshow-adev="Audio (00 Pro Capture HDMI 4K+)" :dshow-vb=8192 :dshow-aspect-ratio=16\:9 :dshow-tune=film :dshow-preset=veryslow :dshow-vcodec=h264 :dshow-fps=60 :dshow-crf=0 :dshow-acodec=mp4a :dshow-stereo-mode=5 :dshow-force-surround-sound=0 :dshow-ab=96 :dshow-samplerate=44100 :no-dshow-config :live-caching=100 :sout=#transcode{vcodec=h264,width=3840,height=2160,fps=60,vb=8192,acodec=mp4a,ab=128,channels=2,samplerate=44100,scodec=none}:rtp{dst=224.0.0.1,port=5004,mux=ts}

Сервер VL C Журнал (с сокращенными устаревшими ошибками кэширования):

-- logger module started --
main error: stale plugins cache: modified C:\Program Files\VideoLAN\VLC\plugins\access\libaccess_concat_plugin.dll
main error: stale plugins cache: modified C:\Program Files\VideoLAN\VLC\plugins\access\libaccess_imem_plugin.dll

main error: stale plugins cache: modified C:\Program Files\VideoLAN\VLC\plugins\visualization\libprojectm_plugin.dll
main error: stale plugins cache: modified C:\Program Files\VideoLAN\VLC\plugins\visualization\libvisual_plugin.dll
main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
dshow warning: ConnectFilters: No crossBar routes found (incompatible pin types)
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2

x264: profile High, level 6.0

x264: final ratefactor: 19.67

main warning: decoder/packetizer fifo full (data not consumed quickly enough), resetting fifo!
avcodec warning: cannot encode one frame
avcodec warning: cannot encode one frame
main warning: no more input streams for this mux
-- logger module stopped --

Клиент VL C Журнал (с сокращенными устаревшими ошибками кэша):

 -- logger module started --
main debug: VLC media player - 3.0.8 Vetinari
main debug: Copyright © 1996-2019 the VideoLAN team
main debug: revision 3.0.8-0-gf350b6b5a7
main debug: configured with ../extras/package/win32/../../../configure  '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=i686-w64-mingw32' '--with-breakpad=https://win.crashes.videolan.org' 'host_alias=i686-w64-mingw32' 'PKG_CONFIG_LIBDIR=/home/jenkins/workspace/vlc-release/windows/vlc-release-win32-x86/contrib/i686-w64-mingw32/lib/pkgconfig'
main debug: using multimedia timers as clock source
main debug:  min period: 1 ms, max period: 1000000 ms
main debug: searching plug-in modules
main debug: loading plugins cache file G:\VLC\plugins\plugins.dat
main debug: recursively browsing `G:\VLC\plugins'
main warning: cannot load module `G:\VLC\plugins\access\libaccess_bd_plugin.dll' (The specified procedure could not be found. (error 127))
main error: stale plugins cache: modified G:\VLC\plugins\access\libaccess_concat_plugin.dll
main error: stale plugins cache: modified G:\VLC\plugins\access\libaccess_imem_plugin.dll

main error: stale plugins cache: modified G:\VLC\plugins\visualization\libprojectm_plugin.dll
main error: stale plugins cache: modified G:\VLC\plugins\visualization\libvisual_plugin.dll
main debug: plug-ins loaded: 494 modules
main debug: opening config file (C:\Users\Oleg Salenko\AppData\Roaming\vlc\vlcrc)
main debug: looking for logger module matching "any": 2 candidates
file debug: opening logfile `G:\VLC\Log.txt'
main debug: using logger module "file"
main debug: translation test: code is "en_GB"
main debug: looking for keystore module matching "memory": 3 candidates
main debug: using keystore module "memory"
main debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU 
main debug: Creating an input for 'Media Library'
main debug: Input is a meta file: disabling unneeded options
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path: C:\Users\OLEGSA~1\AppData\Local\Temp
main debug: `file/directory:///C:/Users/Oleg%20Salenko/AppData/Roaming/vlc/ml.xspf' gives access `file' demux `directory' path `/C:/Users/Oleg%20Salenko/AppData/Roaming/vlc/ml.xspf'
main debug: creating demux: access='file' demux='directory' location='/C:/Users/Oleg%20Salenko/AppData/Roaming/vlc/ml.xspf' file='C:\Users\Oleg Salenko\AppData\Roaming\vlc\ml.xspf'
main debug: looking for access_demux module matching "file": 15 candidates
main debug: no access_demux modules matched
main debug: creating access: file:///C:/Users/Oleg%20Salenko/AppData/Roaming/vlc/ml.xspf
main debug:  (path: C:\Users\Oleg Salenko\AppData\Roaming\vlc\ml.xspf)
main debug: looking for access module matching "file": 26 candidates
main debug: using access module "filesystem"
main debug: looking for stream_filter module matching "prefetch,cache_read": 24 candidates
cache_read debug: Using stream method for AStream*
cache_read debug: starting pre-buffering
cache_read debug: received first data after 0 ms
cache_read debug: pre-buffering done 304 bytes in 0s - 296875 KiB/s
main debug: using stream_filter module "cache_read"
main debug: looking for stream_filter module matching "any": 24 candidates
playlist debug: using XSPF playlist reader
main debug: using stream_filter module "playlist"
main debug: stream filter added to 03bbffd0
main debug: looking for stream_filter module matching "any": 24 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed for file:///C:/Users/Oleg%20Salenko/AppData/Roaming/vlc/ml.xspf
main debug: looking for stream_filter module matching "record": 24 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='file' demux='directory' location='/C:/Users/Oleg%20Salenko/AppData/Roaming/vlc/ml.xspf' file='C:\Users\Oleg Salenko\AppData\Roaming\vlc\ml.xspf'
main debug: looking for demux module matching "directory": 55 candidates
main debug: using demux module "directory"
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Oleg Salenko\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in G:\VLC\lua\meta\reader
lua debug: Trying Lua playlist script G:\VLC\lua\meta\reader\filename.luac
main debug: no meta reader modules matched
main debug: `file/directory:///C:/Users/Oleg%20Salenko/AppData/Roaming/vlc/ml.xspf' successfully opened
main debug: looking for xml reader module matching "any": 1 candidates
main debug: using xml reader module "xml"
main debug: EOF reached
main debug: removing module "directory"
main debug: removing module "record"
main debug: removing module "playlist"
main debug: removing module "cache_read"
main debug: removing module "filesystem"
main debug: creating audio output
main debug: looking for audio output module matching "any": 6 candidates
mmdevice debug: using default device
mmdevice debug: display name changed: VLC media player
mmdevice debug: version 2 session control unavailable
mmdevice debug: volume from -96.000000 dB to +0.000000 dB with 1.500000 dB increments
main debug: using audio output module "mmdevice"
main debug: keeping audio output
main debug: looking for interface module matching "hotkeys,none": 16 candidates
main debug: using interface module "hotkeys"
main debug: looking for interface module matching "globalhotkeys,none": 16 candidates
main debug: using interface module "win32"
main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
main debug: looking for interface module matching "any": 16 candidates
main debug: looking for extension module matching "any": 1 candidates
lua debug: Opening Lua Extension module
lua debug: Trying Lua scripts in C:\Users\Oleg Salenko\AppData\Roaming\vlc\lua\extensions
lua debug: Trying Lua scripts in G:\VLC\lua\extensions
lua debug: Trying Lua playlist script G:\VLC\lua\extensions\VLSub.luac
lua debug: Scanning Lua script G:\VLC\lua\extensions\VLSub.luac
lua debug: Script G:\VLC\lua\extensions\VLSub.luac has the following capability flags: 0x5
main debug: using extension module "lua"
main debug: using interface module "qt"
main: playlist is empty
main debug: nothing to play
main debug: processing request item: rtp://224.0.0.1:5004, node: Playlist, skip: 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index 0
main debug: starting playback of new item
main debug: resyncing on rtp://224.0.0.1:5004
main debug: rtp://224.0.0.1:5004 is at 0
main debug: creating new input thread
main debug: Creating an input for 'rtp://224.0.0.1:5004'
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path: C:\Users\OLEGSA~1\AppData\Local\Temp
main debug: `rtp://@224.0.0.1:5004' gives access `rtp' demux `any' path `@224.0.0.1:5004'
main debug: creating demux: access='rtp' demux='any' location='@224.0.0.1:5004' file='\\@224.0.0.1:5004'
main debug: looking for access_demux module matching "rtp": 15 candidates
main debug: net: opening 224.0.0.1 datagram port 5004
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in C:\Users\Oleg Salenko\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in G:\VLC\lua\meta\fetcher
lua debug: Trying Lua playlist script G:\VLC\lua\meta\fetcher\tvrage.luac
lua debug: skipping script (unmatched scope) G:\VLC\lua\meta\fetcher\tvrage.luac
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Oleg Salenko\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in G:\VLC\lua\meta\art
lua debug: Trying Lua playlist script G:\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: skipping script (unmatched scope) G:\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script G:\VLC\lua\meta\art\01_googleimage.luac
lua debug: skipping script (unmatched scope) G:\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script G:\VLC\lua\meta\art\02_frenchtv.luac
main debug: using access_demux module "rtp"
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: skipping script (unmatched scope) G:\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script G:\VLC\lua\meta\art\03_lastfm.luac
lua debug: Trying Lua scripts in C:\Users\Oleg Salenko\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in G:\VLC\lua\meta\reader
lua debug: Trying Lua playlist script G:\VLC\lua\meta\reader\filename.luac
lua debug: skipping script (unmatched scope) G:\VLC\lua\meta\art\03_lastfm.luac
main debug: no art finder modules matched
rtp debug: detected MPEG2 TS
rtp debug: added payload type 33 (f = 90000 Hz)
main debug: no meta reader modules matched
rtp debug: added RTP source (248f94de)
main debug: `rtp://@224.0.0.1:5004' successfully opened
main debug: creating demux: access='' demux='ts' location='' file='(null)'
main debug: looking for demux module matching "ts": 55 candidates
ts debug: Standard set to Auto
main debug: using demux module "ts"
ts debug: DEMUX_SET_GROUP -1 00000000
ts debug: pid[200] unknown
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in C:\Users\Oleg Salenko\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in G:\VLC\lua\meta\fetcher
qt debug: IM: Setting an input
lua debug: Trying Lua playlist script G:\VLC\lua\meta\fetcher\tvrage.luac
main debug: using meta fetcher module "lua"
main debug: removing module "lua"
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Oleg Salenko\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in G:\VLC\lua\meta\art
lua debug: Trying Lua playlist script G:\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script G:\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script G:\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script G:\VLC\lua\meta\art\03_lastfm.luac
main debug: no art finder modules matched
ts debug: first packet for pid=0 cc=0xd
ts debug: PATCallBack called
ts debug: new PAT ts_id=43610 version=5 current_next=1
ts debug:   * number=1 pid=32
ts debug: temporary receiving program 1
ts debug: first packet for pid=32 cc=0xd
ts debug: PMTCallBack called for program 1
ts debug: new PMT program number=1 version=31 pid_pcr=200
ts debug:   * pid=200 type=0xf ISO/IEC 13818-7 Audio with ADTS transport
ts debug:     - ES descriptor tag 0xa
ts debug:      - SL/FMC descriptor not found/matched
ts debug:       found language: 
ts debug:    => pid 200 has now es fcc=mp4a
main debug: selecting program id=1
main debug: looking for packetizer module matching "any": 25 candidates
mpeg4audio debug: running MPEG4 audio packetizer
mpeg4audio debug: ADTS Mode
main debug: using packetizer module "mpeg4audio"
main debug: looking for audio decoder module matching "any": 23 candidates
main debug: using audio decoder module "faad"
ts debug: Default program is 1
ts debug:   * pid=17 listening for SDT
ts debug: enabling pid 200 from program 1
ts debug: enabling pcr pid 200 from program 1
ts debug: first packet for pid=17 cc=0xd
ts debug: SDTCallBack called
ts debug:   * pid=18 listening for EIT
ts debug:   * pid=20 listening for TDT
ts debug: new SDT ts_id=43610 version=1 current_next=1 network_id=65458
ts debug:   * service id=1 eit schedule=0 present=0 running=4 free_ca=0
ts debug:     - type=10 provider=(null) name=(null)
main debug: EsOutProgramMeta: number=1
ts debug: first packet for pid=200 cc=0x8
main debug: Buffering 0%
mpeg4audio: AAC channels: 2 samplerate: 44100
main debug: restarting module due to input format change
main debug: removing module "faad"
main debug: looking for audio decoder module matching "any": 23 candidates
main debug: using audio decoder module "faad"
faad warning: decoded zero sample
main debug: Buffering 7%
main debug: reusing audio output
main debug: looking for aout stream module matching "any": 2 candidates
wasapi debug: modified format
wasapi debug: buffer size    : 96000 frames
wasapi debug: maximum latency: 000 ns
wasapi debug: default period : 10000000 ns
wasapi debug: minimum period : 3000000 ns
main debug: using aout stream module "wasapi"
main debug: output 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: looking for audio volume module matching "any": 2 candidates
main debug: using audio volume module "float_mixer"
main debug: input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: looking for audio filter module matching "scaletempo": 16 candidates
scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
main debug: conversion pipeline complete
main debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
main debug: conversion pipeline complete
main debug: looking for audio resampler module matching "any": 3 candidates
main debug: using audio resampler module "samplerate"
main debug: Buffering 15%
main debug: Buffering 22%
main debug: Buffering 29%
main debug: Buffering 36%
main debug: Buffering 43%
main debug: Buffering 50%
main debug: Buffering 58%
main debug: Buffering 64%
main debug: Buffering 71%
main debug: Buffering 79%
main debug: Buffering 85%
main debug: Buffering 93%
main debug: Stream buffering done (1003 ms in 960 ms)
main debug: Decoder wait done in 0 ms
main debug: inserting 19462 zeroes
mmdevice debug: state changed: 1
main warning: playback too late (63118): up-sampling
main debug: resampling stopped (drift: 19873 us)
main warning: playback too late (60426): up-sampling
main debug: exiting
main debug: exiting
main debug: no exit handler
main debug: removing all interfaces
main debug: removing module "qt"
main debug: deactivating the playlist
main debug: incoming request - stopping current input
main debug: killing decoder fourcc `mp4a'
main debug: removing module "faad"
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: removing module "samplerate"
main debug: removing module "scaletempo"
main debug: removing module "float_mixer"
main debug: keeping audio output
main debug: removing module "mpeg4audio"
main debug: removing module "rtp"
rtp debug: removing RTP source (248f94de)
ts debug: Can't read TS packet at 226352
main debug: removing module "ts"
main debug: Program doesn't contain anymore ES
main debug: dead input
main debug: nothing to play
main debug: removing module "mmdevice"
qt debug: requesting exit...
qt debug: waiting for UI thread...
qt debug: IM: Deleting the input
qt debug: QApp exec() finished
qt debug: Video is not needed anymore
qt debug: Killing extension dialog provider
qt debug: ExtensionsDialogProvider is quitting...
main debug: removing module "lua"
main debug: removing module "win32"
main debug: removing module "hotkeys"
main debug: destroying
main debug: saving media library to file C:\Users\Oleg Salenko\AppData\Roaming\vlc\ml.xspf.tmp3684
main debug: looking for playlist export module matching "export-xspf": 4 candidates
main debug: using playlist export module "export"
main debug: removing module "export"
main debug: deleting item `Media Library'
main debug: deleting item `rtp://224.0.0.1:5004'
main debug: deleting item `Playlist'
main debug: removing module "memory"
-- logger module stopped --
...