DS-7616NI-I2 Stream Debug File / RTSP Stream

jwp

n3wb
Joined
Oct 1, 2018
Messages
22
Reaction score
2
Location
10312
Hi,

I recently purchased a DS-7616NI-I2/16P, which is a fantastic NVR.

I am having an issue viewing an RTSP stream from a Wyze v3 with the RTSP firmware. The Wyze v2 RTSP firmware cams worked flawlessly, but the v3 doesn't. The v3 works in other software like Synology Surveillance station, iSpy, Agent, and VLC. The Hik NVR gives a HCNet dll error and won't show any image. The stream shows Online in Camera management, but no image is displayed and it eventually times out when trying to view the stream.

Long story short, I am trying to troubleshoot. I was able to export a debug of the stream on the channel to a USB drive, but the file appears to be unreadable. It's a file with no extension, and it's a 13MB file. Any advice on what I can use to view this file? I have tried Word, Excel, and via a web browser, but it displays garbage text. It appears to be a bin file, but still has no extension.

Any help would be appreciated, thanks.
 

iTuneDVR

Pulling my weight
Joined
Aug 23, 2014
Messages
860
Reaction score
156
Location
Россия
Hi!
Show this file 1st
Show full error name (screenshot, photo)
Don't know what is v2 & v3..
More details if you really need help.
 

jwp

n3wb
Joined
Oct 1, 2018
Messages
22
Reaction score
2
Location
10312
Hi!
Show this file 1st
Show full error name (screenshot, photo)
Don't know what is v2 & v3..
More details if you really need help.
Hello, thanks for the reply.

I am a little reluctant to attach the file, as I don't know if it contains user/password information. The name of the file is ipcm_rtp_7_20211226045023_main. I have attached an image of what it looks like when opened in notepad.

The error from iVMS-4200 when trying to start live view on the RTSP stream.
NET_DVR_RTSP_TEARDOWNRECVTIMEOUT 443 TEARDOWN interaction error. Sending RTSP TEARDOWN is timeout. Sending RTSP TEARDOWN error.

Wyze is a maker of wifi cams, and they offer RTSP firmware.
 

iTuneDVR

Pulling my weight
Joined
Aug 23, 2014
Messages
860
Reaction score
156
Location
Россия
I am a little reluctant to attach the file, as I don't know if it contains user/password information. The name of the file is ipcm_rtp_7_20211226045023_main. I have attached an image of what it looks like when opened in notepad.
I think it's no promblem, to change you secured password and set not securen(123456) and make debug again ;)

At your DS-7616NI-I2/16P that the Custom RTSP string you use to connect this Wize CAM for 1st & 2nd stream?
You can use ffmpeg to get stream from your Wise CAM & save data to file & log to log file to analise it.
If you use VLC, so make screanshot from live stream pressind Ctrl-I from codec tab
 

jwp

n3wb
Joined
Oct 1, 2018
Messages
22
Reaction score
2
Location
10312
I think it's no promblem, to change you secured password and set not securen(123456) and make debug again ;)

At your DS-7616NI-I2/16P that the Custom RTSP string you use to connect this Wize CAM for 1st & 2nd stream?
You can use ffmpeg to get stream from your Wise CAM & save data to file & log to log file to analise it.
If you use VLC, so make screanshot from live stream pressind Ctrl-I from codec tab
Thanks for the tip, I have pasted a debug of the VLC stream. It plays fine from VLC. Maybe the issue is the audio stream on Hikvision NVRs? Do you see anything unusual in the stream? I have also attached the codec log from VLC.

main debug: processing request item: rtsp:/192.168.1.93/live, node: Playlist, skip: 0
main debug: resyncing on rtsp:/192.168.1.93/live
main debug: rtsp:/192.168.1.93/live is at 0
main debug: starting playback of new item
main debug: resyncing on rtsp:/192.168.1.93/live
main debug: rtsp:/192.168.1.93/live is at 0
main debug: creating new input thread
main debug: Creating an input for 'rtsp:/192.168.1.93/live'
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path: C:\Users\!\AppData\Local\Temp
main debug: `rtsp:/!@192.168.1.93:/live' gives access `rtsp' demux any' path !@192.168.1.93:/live'
main debug: creating demux: access='rtsp' demux='any' location='!@192.168.1.93:/live' file='\\!:!@192.168.1.93:\live'
main debug: looking for access_demux module matching "rtsp": 15 candidates
live555 debug: version 2016.11.28
main debug: looking for meta fetcher module matching "any": 1 candidates
main warning: Password in a URI is DEPRECATED
lua debug: Trying Lua scripts in C:\Users\!\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher
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\!\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
main debug: no art finder modules matched
main debug: looking for meta fetcher module matching "any": 1 candidates
qt debug: IM: Setting an input
lua debug: Trying Lua scripts in C:\Users\!\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher
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\!\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
main debug: no art finder modules matched
live555 debug: RTP subsession 'video/H264'
main debug: selecting program id=0
live555 debug: RTP subsession 'audio/PCMA'
live555 debug: setup start: 0.000000 stop:0.000000
live555 debug: We have a timeout of 10 seconds
live555 debug: play start: 0.000000 stop:0.000000
main debug: using access_demux module "live555"
main debug: looking for packetizer module matching "any": 25 candidates
h264 debug: found NAL_SPS (sps_id=0)
h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
main debug: using packetizer module "h264"
main debug: looking for video decoder module matching "any": 19 candidates
avcodec debug: using ffmpeg Lavc58.6.103
avcodec debug: CPU flags: 0x000fd3db
avcodec debug: allowing 6 thread(s) for decoding
avcodec debug: codec (h264) started
avcodec debug: using frame thread mode with 6 threads
main debug: using video decoder module "avcodec"
main debug: looking for audio decoder module matching "any": 23 candidates
g711 debug: samplerate:16000Hz channels:1
main debug: using audio decoder module "g711"
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\!\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader modules matched
main debug: `rtsp:/!:!@192.168.1.93:/live' successfully opened
live555 warning: no data received in 10s. Switching to TCP
main debug: killing decoder fourcc `h264'
main debug: removing module "avcodec"
main debug: removing module "h264"
main debug: killing decoder fourcc `alaw'
main debug: removing module "g711"
main debug: Program doesn't contain anymore ES
main warning: Password in a URI is DEPRECATED
live555 debug: RTP subsession 'video/H264'
main debug: looking for packetizer module matching "any": 25 candidates
h264 debug: found NAL_SPS (sps_id=0)
h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
main debug: using packetizer module "h264"
main debug: looking for video decoder module matching "any": 19 candidates
avcodec debug: using ffmpeg Lavc58.6.103
avcodec debug: CPU flags: 0x000fd3db
avcodec debug: allowing 6 thread(s) for decoding
avcodec debug: codec (h264) started
avcodec debug: using frame thread mode with 6 threads
main debug: using video decoder module "avcodec"
live555 debug: RTP subsession 'audio/PCMA'
main debug: looking for audio decoder module matching "any": 23 candidates
g711 debug: samplerate:16000Hz channels:1
main debug: using audio decoder module "g711"
live555 debug: setup start: 0.000000 stop:0.000000
live555 debug: We have a timeout of 10 seconds
live555 debug: play start: 0.000000 stop:0.000000
live555 debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
main debug: Buffering 0%
main debug: Buffering 1%
live555 debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
main debug: reusing audio output
main debug: looking for aout stream module matching "any": 2 candidates
main debug: Buffering 3%
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 's16l' 16000 Hz Mono frame=1 samples/2 bytes
main debug: looking for audio filter module matching "scaletempo": 16 candidates
scaletempo debug: format: 16000 rate, 1 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 480.000 stride_in, 480 stride_out, 384 standing, 96 overlap, 224 search, 800 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: conversion: 's16l'->'f32l' 16000 Hz->16000 Hz Mono->Mono
main debug: looking for audio converter module matching "any": 8 candidates
audio_format debug: s16l->f32l, bits per sample: 16->32
main debug: using audio converter module "audio_format"
main debug: conversion pipeline complete
main debug: conversion: 'f32l'->'f32l' 16000 Hz->16000 Hz Mono->Stereo
main debug: looking for audio converter module matching "any": 8 candidates
main debug: using audio converter module "trivial"
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 7%
main debug: Buffering 30%
main debug: Buffering 34%
main debug: Buffering 38%
main debug: Buffering 40%
main debug: Buffering 45%
main debug: Buffering 46%
main debug: Buffering 50%
main debug: Buffering 55%
main debug: Buffering 60%
main debug: Buffering 62%
main debug: Buffering 65%
main debug: Buffering 70%
main debug: Buffering 75%
main debug: Buffering 78%
main debug: Buffering 80%
main debug: Buffering 85%
main debug: Buffering 86%
main debug: Buffering 90%
main debug: Buffering 95%
main debug: Buffering 100%
main debug: Stream buffering done (1025 ms in 900 ms)
main error: buffer deadlock prevented
main debug: Decoder wait done in 0 ms
main debug: inserting 23290 zeroes
mmdevice debug: state changed: 1
main warning: playback too early (-80858): down-sampling
main debug: restarting module due to input format change
main debug: removing module "avcodec"
main debug: looking for video decoder module matching "any": 19 candidates
avcodec debug: using ffmpeg Lavc58.6.103
avcodec debug: CPU flags: 0x000fd3db
avcodec debug: allowing 6 thread(s) for decoding
avcodec debug: codec (h264) started
avcodec debug: using frame thread mode with 6 threads
main debug: using video decoder module "avcodec"
avcodec debug: available hardware decoder output format 119 (cuda)
avcodec debug: available hardware decoder output format 53 (dxva2_vld)
avcodec debug: available hardware decoder output format 118 (d3d11va_vld)
avcodec debug: available hardware decoder output format 174 (d3d11)
avcodec debug: available software decoder output format 0 (yuv420p)
avcodec debug: trying format d3d11va_vld
main debug: looking for text renderer module matching "any": 3 candidates
freetype debug: Using DWrite backend
freetype debug: DWrite_GetFamily(): family name: Arial
freetype debug: DWrite_ParseFamily(): using font at index 0 with weight 400 for bold: 0, italic: 0
freetype debug: DWrite_ParseFamily(): using font at index 1 with weight 700 for bold: 1, italic: 0
freetype debug: DWrite_ParseFamily(): using font at index 2 with weight 400 for bold: 0, italic: 1
freetype debug: DWrite_ParseFamily(): using font at index 3 with weight 700 for bold: 1, italic: 1
main debug: using text renderer module "freetype"
main debug: looking for video converter module matching "any": 24 candidates
swscale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
main debug: using video converter module "swscale"
main debug: looking for video converter module matching "any": 24 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video converter module "yuvp"
main debug: Deinterlacing available
main debug: deinterlace -1, mode auto, is_needed 0
main debug: looking for vout window module matching "qt,any": 3 candidates
qt debug: requesting video window...
main debug: resized to 600x277
main debug: resized to 1920x1080
main debug: resized to 1920x1080
main debug: using vout window module "qt"
main debug: looking for inhibit module matching "any": 1 candidates
main debug: using inhibit module "inhibit"
main debug: Opening vout display wrapper
main debug: looking for vout display module matching "any": 12 candidates
direct3d11 debug: creating Vout EventThread
direct3d11 debug: Win32VoutCreateWindow
main debug: VoutDisplayEvent 'resize' 1920x1080
direct3d11 debug: inclinometer not found. (hr=0x80070490)
direct3d11 debug: created video sub-window
direct3d11 debug: Vout EventThread running
qt debug: Logical video size: 1920x1080
main debug: resized to 1920x1080
main debug: VoutDisplayEvent 'resize' 1920x1080
direct3d11 debug: Created the D3D11 device type 1 level b100.
direct3d11 debug: NVIDIA WDDM driver 30.0.14.9729
direct3d11 debug: supports colorspace RGB Rec.709 gamma:22 range:FULL
direct3d11 debug: supports colorspace RGB Rec.709 gamma:22 range:STUDIO
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:22 range:STUDIO
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:22 range:FULL
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:2084 range:FULL
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:2084 range:STUDIO
direct3d11 debug: Output max luminance: 343.7, colorspace RGB Rec.709 gamma:22 range:FULL, bits per pixel 8
direct3d11 debug: using colorspace RGB Rec.709 gamma:22 range:FULL
direct3d11 debug: Using pixel format VA_NV12 for chroma DX11
main debug: VoutDisplayEvent 'resize' 1942x1136
direct3d11 debug: using GPU render fence
direct3d11 debug: Direct3D11 resources created
direct3d11 debug: Direct3D11 device adapter successfully initialized
direct3d11 debug: Direct3D11 Open Succeeded
main debug: using vout display module "direct3d11"
direct3d11 debug: D3D11 pool succeed with 40 surfaces (1920x1152) context 0x0000021786151d60
main debug: original format sz 1920x1088, of (0,0), vsz 1920x1080, 4cc DX11, sar 1:1, msk r0x0 g0x0 b0x0
main debug: removing module "freetype"
main debug: looking for text renderer module matching "any": 3 candidates
main debug: VoutDisplayEvent 'resize' 1920x1080
direct3d11 debug: Detected size change 1920x1080
freetype debug: Using DWrite backend
freetype debug: DWrite_GetFamily(): family name: Arial
freetype debug: DWrite_ParseFamily(): using font at index 0 with weight 400 for bold: 0, italic: 0
freetype debug: DWrite_ParseFamily(): using font at index 1 with weight 700 for bold: 1, italic: 0
freetype debug: DWrite_ParseFamily(): using font at index 2 with weight 400 for bold: 0, italic: 1
freetype debug: DWrite_ParseFamily(): using font at index 3 with weight 700 for bold: 1, italic: 1
main debug: using text renderer module "freetype"
main debug: looking for hw decoder module matching "d3d11va": 2 candidates
d3d11va debug: NVIDIA WDDM driver 30.0.14.9729
d3d11va debug: Reusing Direct3D11 device
d3d11va debug: CreateDevice succeed
d3d11va debug: - 'MPEG-2 & MPEG-1 variable-length decoder' is supported
d3d11va debug: - 'MPEG-2 variable-length decoder' is supported
d3d11va debug: - 'MPEG-1 variable-length decoder, no D pictures' is supported
d3d11va debug: - 'VC-1 variable-length decoder' is supported
d3d11va debug: - 'VC-1 variable-length decoder' is supported
d3d11va debug: - 'Unknown decoder 0x32fcfe3f-0xde46-0x4a49-0x861bac71110649d5' is supported
d3d11va debug: - 'H.264 stereo high profile, mbs flag set' is supported
d3d11va debug: - 'H.264 stereo high profile' is supported
d3d11va debug: - 'H.264 variable-length decoder, no film grain technology' is supported
d3d11va debug: - 'HEVC Main profile' is supported
d3d11va debug: - 'HEVC Main 10 profile' is supported
d3d11va debug: - 'Unknown decoder 0x20bb8b0a-0x97aa-0x4571-0x8e9964e60606c1a6' is supported
d3d11va debug: - 'Unknown decoder 0x15df9b21-0x06c4-0x47f1-0x841ea67c97d7f312' is supported
d3d11va debug: - 'MPEG-4 Part 2 variable-length decoder, Simple Profile' is supported
d3d11va debug: - 'MPEG-4 Part 2 variable-length decoder, Simple&Advanced Profile, no GMC' is supported
d3d11va debug: - 'MPEG-4 Part 2 nVidia bitstream decoder' is supported
d3d11va debug: - 'Unknown decoder 0x33fcfe41-0xde46-0x4a49-0x861bac71110649d5' is supported
d3d11va debug: - 'VP9 profile 0' is supported
d3d11va debug: - 'VP9 profile 2' is supported
d3d11va debug: - 'Unknown decoder 0xdda19dc7-0x93b5-0x49f5-0xa9b32bda28a2ce6e' is supported
d3d11va debug: - 'Unknown decoder 0x6affd11e-0x1d96-0x42b1-0xa21593a31f09a53d' is supported
d3d11va debug: - 'Unknown decoder 0x914c84a3-0x4078-0x4fa9-0x984ce2f262cb5c9c' is supported
d3d11va debug: - 'Unknown decoder 0x8a1a1031-0x29bc-0x46d0-0xa007e9b092ca6767' is supported
d3d11va debug: Trying to use 'H.264 variable-length decoder, no film grain technology' as input
d3d11va debug: NV12 output is supported for decoder H.264 variable-length decoder, no film grain technology.
d3d11va debug: Using output format NV12 for decoder H.264 variable-length decoder, no film grain technology
d3d11va debug: va_pool_SetupDecoder id 27 1920x1088 count: 24
d3d11va warning: not enough decoding slices in the texture (6/24)
d3d11va debug: ID3D11VideoDecoderOutputView succeed with 24 surfaces (1920x1088)
d3d11va debug: we got 3 decoder configurations
d3d11va debug: configuration[0] ConfigBitstreamRaw 1
d3d11va debug: configuration[1] ConfigBitstreamRaw 2
d3d11va debug: configuration[2] ConfigBitstreamRaw 2
d3d11va debug: DxCreateDecoderSurfaces succeed
main debug: using hw decoder module "d3d11va"
avcodec info: Using D3D11VA (NVIDIA GeForce GTX 1660 SUPER, vendor 10de(NVIDIA), device 21c4, revision a1) for hardware decoding
qt debug: Logical video size: 1920x1080
main debug: resized to 1920x1080
main debug: VoutDisplayEvent 'resize' 1920x1080
main warning: playback too late (81815): up-sampling
main debug: resampling stopped (drift: 70881 us)
main warning: playback too late (76381): up-sampling
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main warning: playback way too early (-277542): playing silence
main debug: inserting 13322 zeroes
main warning: playback way too early (-162955): playing silence
main debug: inserting 7821 zeroes
main warning: playback too early (-78136): down-sampling
main warning: playback way too late (231381): flushing buffers
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: inserting 68443 zeroes
mmdevice debug: state changed: 1
main warning: playback way too late (181545): flushing buffers
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: inserting 64767 zeroes
mmdevice debug: state changed: 1
main warning: playback too late (61676): up-sampling
main warning: picture is too late to be displayed (missing 260 ms)
main warning: picture is too late to be displayed (missing 210 ms)
main warning: picture is too late to be displayed (missing 331 ms)
main warning: picture is too late to be displayed (missing 281 ms)
main warning: picture is too late to be displayed (missing 275 ms)
main warning: picture is too late to be displayed (missing 225 ms)
main warning: picture is too late to be displayed (missing 175 ms)
main warning: picture is too late to be displayed (missing 124 ms)
main warning: picture is too late to be displayed (missing 75 ms)
main warning: picture is too late to be displayed (missing 25 ms)
main warning: playback way too early (-487145): playing silence
main debug: inserting 23382 zeroes
main warning: playback way too late (285937): flushing buffers
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: inserting 67795 zeroes
mmdevice debug: state changed: 1
main warning: playback way too late (217960): flushing buffers
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: inserting 64249 zeroes
mmdevice debug: state changed: 1
main warning: playback too late (70244): up-sampling
main warning: picture is too late to be displayed (missing 224 ms)
main warning: picture is too late to be displayed (missing 173 ms)
main warning: picture is too late to be displayed (missing 124 ms)
main warning: picture is too late to be displayed (missing 336 ms)
main warning: picture is too late to be displayed (missing 286 ms)
main warning: picture is too late to be displayed (missing 235 ms)
main warning: picture is too late to be displayed (missing 223 ms)
main warning: picture is too late to be displayed (missing 174 ms)
main warning: picture is too late to be displayed (missing 124 ms)
main warning: picture is too late to be displayed (missing 73 ms)
main debug: picture might be displayed late (missing 24 ms)
main warning: playback way too early (-453320): playing silence
main debug: inserting 21759 zeroes
main warning: playback way too late (376055): flushing buffers
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: inserting 68855 zeroes
mmdevice debug: state changed: 1
main warning: playback too late (153062): up-sampling
main warning: playback way too late (180461): flushing buffers
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: inserting 60927 zeroes
mmdevice debug: state changed: 1
main warning: picture is too late to be displayed (missing 488 ms)
main warning: picture is too late to be displayed (missing 438 ms)
main warning: picture is too late to be displayed (missing 388 ms)
main warning: picture is too late to be displayed (missing 338 ms)
main warning: picture is too late to be displayed (missing 288 ms)
main warning: picture is too late to be displayed (missing 246 ms)
main warning: picture is too late to be displayed (missing 196 ms)
main warning: picture is too late to be displayed (missing 145 ms)
main warning: picture is too late to be displayed (missing 95 ms)
main warning: picture is too late to be displayed (missing 46 ms)
main warning: playback way too early (-524340): playing silence
main debug: inserting 25168 zeroes
main warning: playback way too late (231115): flushing buffers
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: inserting 68254 zeroes
mmdevice debug: state changed: 1
main warning: playback way too late (222374): flushing buffers
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: inserting 67147 zeroes
mmdevice debug: state changed: 1
main warning: playback too late (91517): up-sampling
main warning: picture is too late to be displayed (missing 183 ms)
main warning: picture is too late to be displayed (missing 335 ms)
main warning: picture is too late to be displayed (missing 285 ms)
main warning: picture is too late to be displayed (missing 309 ms)
main warning: picture is too late to be displayed (missing 258 ms)
main warning: picture is too late to be displayed (missing 210 ms)
main warning: picture is too late to be displayed (missing 159 ms)
main warning: picture is too late to be displayed (missing 157 ms)
main warning: picture is too late to be displayed (missing 107 ms)
main warning: picture is too late to be displayed (missing 57 ms)
main debug: picture might be displayed late (missing 8 ms)
main warning: playback way too early (-565157): playing silence
main debug: inserting 27127 zeroes
main warning: playback way too early (-154027): playing silence
main debug: inserting 7393 zeroes
main warning: playback way too late (312785): flushing buffers
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: inserting 74305 zeroes
mmdevice debug: state changed: 1
main warning: playback way too late (303043): flushing buffers
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: inserting 72993 zeroes
mmdevice debug: state changed: 1
main warning: playback too late (61455): up-sampling
main warning: timing screwed (drift: 149066 us): stopping resampling
main warning: playback too late (149900): up-sampling
main warning: playback way too late (198395): flushing buffers
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: inserting 63336 zeroes
mmdevice debug: state changed: 1
main warning: picture is too late to be displayed (missing 267 ms)
main warning: picture is too late to be displayed (missing 217 ms)
main warning: picture is too late to be displayed (missing 167 ms)
main warning: picture is too late to be displayed (missing 117 ms)
main warning: picture is too late to be displayed (missing 67 ms)
main warning: picture is too late to be displayed (missing 309 ms)
main warning: picture is too late to be displayed (missing 259 ms)
main warning: picture is too late to be displayed (missing 209 ms)
main warning: picture is too late to be displayed (missing 159 ms)
main warning: picture is too late to be displayed (missing 154 ms)
main warning: picture is too late to be displayed (missing 104 ms)
main warning: picture is too late to be displayed (missing 54 ms)
main debug: picture might be displayed late (missing 4 ms)
main warning: picture is too late to be displayed (missing 44 ms)
main warning: playback too late (67999): up-sampling
main debug: incoming request - stopping current input
main debug: killing decoder fourcc `h264'
main debug: removing module "avcodec"
main debug: saving a free vout
main debug: reusing provided vout
main debug: removing module "h264"
main debug: killing decoder fourcc `alaw'
main debug: removing module "g711"
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: removing module "samplerate"
main debug: removing module "audio_format"
main debug: removing module "scaletempo"
main debug: removing module "trivial"
main debug: removing module "float_mixer"
main debug: keeping audio output
main debug: removing module "live555"
main debug: Program doesn't contain anymore ES
main debug: dead input
main debug: nothing to play
main debug: destroying useless vout
main debug: removing module "direct3d11"
direct3d11 debug: Direct3D11 resources destroyed
qt debug: IM: Deleting the input
direct3d11 debug: Direct3D11 device adapter closed
direct3d11 error: SetThumbNailClip failed: 0x800706f4
direct3d11 debug: Win32 Vout EventThread terminating
direct3d11 debug: Win32VoutCloseWindow
direct3d11 debug: WinProc WM_DESTROY
main debug: removing module "inhibit"
qt debug: releasing video...
 

Attachments

iTuneDVR

Pulling my weight
Joined
Aug 23, 2014
Messages
860
Reaction score
156
Location
Россия
Screenshot from vlc is normal.
Try get video from your ipc via ffmpeg without decoding
ffmpeg -rtsp_transport udp -i "admin:password@rtsp:/x.x.x.x:554/..." -c:v copy -c:a copy video_udp.mp4
ffmpeg -rtsp_transport tcp -i "admin:password@rtsp:/x.x.x.x:554/..." -c:v copy -c:a copy video_tcp.mp4

rtsp:/192.168.1.93/live is your rtsp string for primary? What is for secondary stream?

Show NVR setting for this ipc (RTSP or ONVIF)
 

jwp

n3wb
Joined
Oct 1, 2018
Messages
22
Reaction score
2
Location
10312
Screenshot from vlc is normal.
Try get video from your ipc via ffmpeg without decoding
ffmpeg -rtsp_transport udp -i "admin:password@rtsp:/x.x.x.x:554/..." -c:v copy -c:a copy video_udp.mp4
ffmpeg -rtsp_transport tcp -i "admin:password@rtsp:/x.x.x.x:554/..." -c:v copy -c:a copy video_tcp.mp4

rtsp:/192.168.1.93/live is your rtsp string for primary? What is for secondary stream?

Show NVR setting for this ipc (RTSP or ONVIF)
So with ffmpeg, the first one with the -acodec copy didn't work, but the second with -acodec aac worked. Do you think it's an issue with the audio stream? Maybe Hikvision NVRs are having an issue with it?

I also attached screenshots of the way I have it configured in the NVR. Custom protocol, IP camera setup, and it showing online.

See below from ffmpeg. No udp stream works, it alone appears to listen on tcp.

First
c:\Temp>ffmpeg -rtsp_transport tcp -i "rtsp:/!:!@192.168.1.93:554/live" -acodec copy -vcodec copy video_tcp.mp4
ffmpeg version 2021-12-27-git-617452ce2c-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11.2.0 (Rev2, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 57. 13.100 / 57. 13.100
libavcodec 59. 15.101 / 59. 15.101
libavformat 59. 10.100 / 59. 10.100
libavdevice 59. 1.100 / 59. 1.100
libavfilter 8. 21.100 / 8. 21.100
libswscale 6. 1.102 / 6. 1.102
libswresample 4. 0.100 / 4. 0.100
libpostproc 56. 0.100 / 56. 0.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from 'rtsp:/!:!@192.168.1.93:554/live':
Metadata:
title : Session streamed by the WYZE Media Server
comment : live
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p(tv, bt709, progressive), 1920x1080, 20 fps, 20 tbr, 90k tbn
Stream #0:1: Audio: pcm_alaw, 16000 Hz, mono, s16, 128 kb/s
[mp4 @ 000001e4b6ed6240] Could not find tag for codec pcm_alaw in stream #1, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:1 --
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Last message repeated 1 times

Second
c:\Temp>ffmpeg -rtsp_transport tcp -i "rtsp:/!:!@192.168.1.93:554/live" -acodec aac -vcodec copy video_tcp.mp4
ffmpeg version 2021-12-27-git-617452ce2c-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11.2.0 (Rev2, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 57. 13.100 / 57. 13.100
libavcodec 59. 15.101 / 59. 15.101
libavformat 59. 10.100 / 59. 10.100
libavdevice 59. 1.100 / 59. 1.100
libavfilter 8. 21.100 / 8. 21.100
libswscale 6. 1.102 / 6. 1.102
libswresample 4. 0.100 / 4. 0.100
libpostproc 56. 0.100 / 56. 0.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from 'rtsp:/!:!@192.168.1.93:554/live':
Metadata:
title : Session streamed by the WYZE Media Server
comment : live
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p(tv, bt709, progressive), 1920x1080, 20 fps, 20 tbr, 90k tbn
Stream #0:1: Audio: pcm_alaw, 16000 Hz, mono, s16, 128 kb/s
File 'video_tcp.mp4' already exists. Overwrite? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (pcm_alaw (native) -> aac (native))
Press [q] to stop, [?] for help
Output #0, mp4, to 'video_tcp.mp4':
Metadata:
title : Session streamed by the WYZE Media Server
comment : live
encoder : Lavf59.10.100
Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, q=2-31, 20 fps, 20 tbr, 90k tbn
Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 69 kb/s
Metadata:
encoder : Lavc59.15.101 aac
frame= 362 fps= 25 q=-1.0 Lsize= 2085kB time=00:00:19.98 bitrate= 854.6kbits/s speed=1.39x
video:1910kB audio:164kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.539675%
[aac @ 0000018107710ac0] Qavg: 55717.320
Exiting normally, received signal 2.
 

Attachments

Flintstone61

Known around here
Joined
Feb 4, 2020
Messages
6,689
Reaction score
11,083
Location
Minnesota USA
i have a personal resentment against Hik recorders and trying to get RSTP camera's to stream.
I will be televising my sledgehammer death of my NightOwl 8 channel ( Hik oem) Coscto piece of shit motherfucking cock sucking whore fuck garbage of which the General public should not be subjected to as a product to install at your home.
 

jwp

n3wb
Joined
Oct 1, 2018
Messages
22
Reaction score
2
Location
10312
i have a personal resentment against Hik recorders and trying to get RSTP camera's to stream.
I will be televising my sledgehammer death of my NightOwl 8 channel ( Hik oem) Coscto piece of shit motherfucking cock sucking whore fuck garbage of which the General public should not be subjected to as a product to install at your home.
Wonderful, at least I'm not alone in this. I've tried to reach out to Hik support, but no response. The shitty part is, I bought this 16 channel NVR with the intention of using some of my redundant Wyze v3 RTSP cams, go figure.

As a workaround, I'm using this docker container as a bridge, though not ideal, it works. I'd really like to get the official RTSP firmware to work, and not have to use a workaround.

GitHub - mrlt8/docker-wyze-bridge: RTMP/RTSP/HLS bridge for Wyze cams in a docker container

By the way, your choice of words is fantastic.
 

jwp

n3wb
Joined
Oct 1, 2018
Messages
22
Reaction score
2
Location
10312
Share your NVR & IPC
Sure thing, see attached.

Both main and sub are configured the same. I included a screenshot of the IPC setup in Camera Management. Did you want to see something else?

The odd part is, the camera shows "online", but won't show an image in live view. This is the puzzling part. If I can somehow view that stream or debug it, maybe I can find the root cause. Does Hik offer a debug view if I SSH into it? I was able to SSH in, but limited documentation exists on SSH commands. I know my way around CLI, so if I had a document to follow, I could.
 

Attachments

Top