Video image corruption on Dahua Starlight vari-focal cam.

dodamn

n3wb
Joined
Jun 24, 2017
Messages
26
Reaction score
0
The attached screenshot is captured from VLC player.
I see live view(rtsp stream) from VLC player. As you see, video is corrupted.
Also, recorded video by FFMpeg is corrupted samely.
But video is clear from Dahua web viewer.
I don't know why this happens. How can I fix it?

Camera: IPC-HDW5231R-Z (FW. 2.460.0000.7.R, Build Date: 2017-03-06)
Video encode mode: H.265
Smart codec: On
Resolution: 1080P
FPS: 10
Bit: vbr
Quality: 4
Max bitrate: 2048
 

Attachments

dodamn

n3wb
Joined
Jun 24, 2017
Messages
26
Reaction score
0
The attached screenshot is captured from VLC player.
I see live view(rtsp stream) from VLC player. As you see, video is corrupted.
Also, recorded video by FFMpeg is corrupted samely.
But video is clear from Dahua web viewer.
I don't know why this happens. How can I fix it?

Camera: IPC-HDW5231R-Z (FW. 2.460.0000.7.R, Build Date: 2017-03-06)
Video encode mode: H.265
Smart codec: On
Resolution: 1080P
FPS: 10
Bit: vbr
Quality: 4
Max bitrate: 2048
For Ffmpeg, it seems that "-rtsp_transport tcp" option is solution.
distortion in video (ffmpeg, vlc and iSPY)

But I cannot find a solution for VLC.
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,908
Reaction score
21,295
The attached screenshot is captured from VLC player.
I see live view(rtsp stream) from VLC player. As you see, video is corrupted.
Also, recorded video by FFMpeg is corrupted samely.
But video is clear from Dahua web viewer.
I don't know why this happens. How can I fix it?

Camera: IPC-HDW5231R-Z (FW. 2.460.0000.7.R, Build Date: 2017-03-06)
Video encode mode: H.265
Smart codec: On
Resolution: 1080P
FPS: 10
Bit: vbr
Quality: 4
Max bitrate: 2048
Disable smart codec.... it's proprietary...
 

dodamn

n3wb
Joined
Jun 24, 2017
Messages
26
Reaction score
0
Disable smart codec.... it's proprietary...
Thank you.

When I turn off smart codec, VLC still shows distorted frame for the first short seconds. In comparison to totally distorted video with smart codec, this is better. So I do not use smart codec.
But.. even though smart codec is on, ffmpeg with "-rtsp_transport tcp" works well for me. I don't know why.
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,908
Reaction score
21,295
Thank you.

When I turn off smart codec, VLC still shows distorted frame for the first short seconds. In comparison to totally distorted video with smart codec, this is better. So I do not use smart codec.
But.. even though smart codec is on, ffmpeg with "-rtsp_transport tcp" works well for me. I don't know why.
This is likely because its waiting for an iframe...lower your iframe interval to match your fps and see if it helps.
 
Top