Gadinan miniIpCam 1080p, BI problems

frank10

Getting the hang of it
Joined
Sep 13, 2015
Messages
178
Reaction score
11
I bought this cam:
1080 P Rete 2.0MP mini IP Board Camera ONVIF 2.8 12mm Varifocale manuale Obiettivo Zoom P2P Plug and giocare con IR CUT in Caratteristiche principali: 1. 1/2.7 " sensori di Immagini CMOS 2. codifica video H.264, supporto dual streda Telecamere di sorveglianza su AliExpress.com | Gruppo Alibaba

I installed its CMS prog and it sees the cam with correct stream.

In BI instead, if I make it find the cam, it finds it, generic Onvif, no param, then it gives RTSP 451 err
I tried Onvif device manager and instead it reach the stream and starts decoding with this line:

rtsp://192.168.1.123:554/user=admin_password=tlJwpbo6_channel=1_stream=0.sdp?real_stream
password=tlJwpbo6 ?? the pass was blank.... anyway it works.

Gadinan_OnvifConfig_BI.png

I put this on BI and yes it starts displaying the stream BUT after bit seconds, it drops the connection
Gadinan_DecodingErr.png

, it's never stable, idem the OnvifDeviceManager.

What should I do to have a stable stream like its CMS?
 
Last edited:

frank10

Getting the hang of it
Joined
Sep 13, 2015
Messages
178
Reaction score
11
I put that rtsp line in VLC and it's good, stable stream. The same into the browser.

In Potplayer instead, it has similar problems to BI...
 
Last edited:

frank10

Getting the hang of it
Joined
Sep 13, 2015
Messages
178
Reaction score
11
I put the rtsp line in the wrong BI field, anyway now I put in the correct path field:
"/user=admin_password=_channel=1_stream=0.sdp?real_stream"
and it has the same problem.

I tried also to see the secondary stream, changing stream=1:
"/user=admin_password=_channel=1_stream=1.sdp?real_stream"
That works well! But obviously an orrible low res, low Mb...
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
I put the rtsp line in the wrong BI field, anyway now I put in the correct path field:
"/user=admin_password=_channel=1_stream=0.sdp?real_stream"
and it has the same problem.

I tried also to see the secondary stream, changing stream=1:
"/user=admin_password=_channel=1_stream=1.sdp?real_stream"
That works well! But obviously an orrible low res, low Mb...
try disabling hardware acceleration..
 

frank10

Getting the hang of it
Joined
Sep 13, 2015
Messages
178
Reaction score
11
I made a simple VLC raw recording and then analyzed the mp4 with Mediainfo:

Code:
Generale
Count                                    : 284
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : Generale
Stream identifier                        : 0
Inform                                   : MPEG-4 (Base Media): 8,26MiB, 9s 203ms
Count of video streams                   : 1
Video_Format_List                        : AVC
Video_Format_WithHint_List               : AVC
Codecs Video                             : AVC
Video_Language_List                      : Inglese
Complete name                            : E:\VIDEO_TS.mp4
Folder name                              : E:
File name                                : VIDEO_TS
File extension                           : mp4
Format                                   : MPEG-4
Format                                   : MPEG-4
Format/Extensions usually used           : mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v
Commercial name                          : MPEG-4
Format profile                           : Base Media
Internet media type                      : video/mp4
Codec ID                                 : isom
Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
Codec                                    : MPEG-4
Codec                                    : MPEG-4
Codec/Extensions usually used            : mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v
File size                                : 8656597
File size                                : 8,26MiB
File size                                : 8MiB
File size                                : 8,3MiB
File size                                : 8,26MiB
File size                                : 8,256MiB
Duration                                 : 9203
Duration                                 : 9s 203ms
Duration                                 : 9s 203ms
Duration                                 : 9s 203ms
Duration                                 : 00:00:09.203
Overall bit rate                         : 7525022
Overall bit rate                         : 7.525 Kbps
Stream size                              : 2303
Stream size                              : 2,25 KiB (0%)
Stream size                              : 2 KiB
Stream size                              : 2,2 KiB
Stream size                              : 2,25 KiB
Stream size                              : 2,249 KiB
Stream size                              : 2,25 KiB (0%)
Proportion of this stream                : 0.00027
HeaderSize                               : 2295
DataSize                                 : 8654302
FooterSize                               : 0
IsStreamable                             : Yes
Encoded date                             : UTC 2017-02-18 17:34:28
Tagged date                              : UTC 2017-02-18 17:34:28
File creation date                       : UTC 2017-02-18 17:30:34.179
File creation date (local)               : 2017-02-18 18:30:34.179
File last modification date              : UTC 2017-02-18 17:34:28.267
File last modification date (local)      : 2017-02-18 18:34:28.267
Writing application                      : vlc 2.2.1 stream output

Video
Count                                    : 263
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
Inform                                   : Inglese, 7.523 Kbps, 1920*1088 (16:9), a 25,209 fps, AVC (Main@L4.2) (CABAC / 1 Ref Frames)
ID                                       : 1
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.html
Commercial name                          : AVC
Format profile                           : Main@L4.2
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Si
Format settings, ReFrames                : 1
Format settings, ReFrames                : 1 frame
Format settings, GOP                     : M=1, N=50
Internet media type                      : video/H264
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
Codec                                    : AVC
Codec                                    : AVC
Codec/Family                             : AVC
Codec/Info                               : Advanced Video Codec
Codec/Url                                : http://developers.videolan.org/x264.html
Codec/CC                                 : avc1
Codec profile                            : Main@L4.2
Codec settings                           : CABAC / 1 Ref Frames
Codec settings, CABAC                    : Yes
Codec_Settings_RefFrames                 : 1
Duration                                 : 9203
Duration                                 : 9s 203ms
Duration                                 : 9s 203ms
Duration                                 : 9s 203ms
Duration                                 : 00:00:09.203
Bit rate                                 : 7522969
Bit rate                                 : 7.523 Kbps
Width                                    : 1920
Width                                    : 1.920 pixel
Height                                   : 1088
Height                                   : 1.088 pixel
Original height                          : 1080
Original height                          : 1.080 pixel
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.765
Display aspect ratio                     : 16:9
Original display aspect ratio            : 1.778
Original display aspect ratio            : 16:9
Rotation                                 : 0.000
Frame rate mode                          : VFR
Frame rate mode                          : Variabile
Frame rate                               : 25.209
Frame rate                               : 25,209 fps
Original frame rate                      : 25.000
Original frame rate                      : 25,000 fps
Minimum frame rate                       : 7.625
Minimum frame rate                       : 7,625 fps
Maximum frame rate                       : 1000000.000
Maximum frame rate                       : 1000.000,000 fps
Frame count                              : 232
Resolution                               : 8
Resolution                               : 8 bit
Colorimetry                              : 4:2:0
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bit
Scan type                                : Progressive
Scan type                                : Progressivo
Interlacement                            : PPF
Interlacement                            : Progressivo
Bits/(Pixel*Frame)                       : 0.143
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Contenitore
Stream size                              : 8654294
Stream size                              : 8,25MiB (100%)
Stream size                              : 8MiB
Stream size                              : 8,3MiB
Stream size                              : 8,25MiB
Stream size                              : 8,253MiB
Stream size                              : 8,25MiB (100%)
Proportion of this stream                : 0.99973
Language                                 : en
Language                                 : Inglese
Language                                 : Inglese
Language                                 : en
Language                                 : eng
Language                                 : en
Encoded date                             : UTC 2017-02-18 17:34:28
Tagged date                              : UTC 2017-02-18 17:34:28
Maybe the only unusual thing is ref frame 1 ?
Is this stream with too much I frames? Apart that quality should improve...
 

frank10

Getting the hang of it
Joined
Sep 13, 2015
Messages
178
Reaction score
11
I did it!

I tried to modify the h.264 settings, but in the menu it was lacking the secondary stream data, so I think, it didn't saved the modified settings: it said fail.
I reinstalled its CMS prog and now it showed the secondary stream data: now the saving is fine!

The problem in BI was related with too much Mbit/s:
with 1080p, 25fps, 6144, no good
1080p, 25fps, 4096 perfect
reducing fps at 18 at a Mb/s of 6248 is perfect, no stream corrupted!
Everything lower than this is ok, all more than this corrupted data... probably it's over 6000...

I also put 30MB buffer in BI... obviously it's not a real bandwidth problem because it's only 550KB/s... but anyway tha was the problem in BI and not in the browser or VLC or their CMS.
Who knows?

Anyway I'm happy I solved it. hope this will be useful for other users of these miniIpcam.

Next week I'll test quality image day/night and I will tell you.
 

frank10

Getting the hang of it
Joined
Sep 13, 2015
Messages
178
Reaction score
11
I told the seller Gadinan the problem, he says to upgrade the cam with this firmware

But it opens another page in chinese where I should insert a password... I don't know how to do. I tried some translation, no good.

Any help?

EDIT:
Now them link seems to work... maybe he changed something in the site.
I'll update, I hope to not damage anything...

BTW:
the model of this ipcam says:
IPC50H20L_S38, but the firmware n° seems the same of that installed... mmmh

EDIT2:
the firmware is the same, nothing solved of course.
 
Last edited:

frank10

Getting the hang of it
Joined
Sep 13, 2015
Messages
178
Reaction score
11
I writed also to ken, but this time I don't know what's going on with the answers...
He continues to insist (after 4 mails) on saying this behaviour should be related with OS, or router bandwidth, or firewall or antivirus etc etc
I explained to him that even VLC or the browser rely on the OS socket, that other 2 Dahua at 10Mbit/s (so more bitrate than the Gadinan) work well in BI, that we're talking of an extremely low rate 8,5Mbit/s on a gigabit router, only BI never work with that Gadinan bitrate, the other 2 SW always work...
I also added that I don't make BI guilty of the behaviour, it can surely be a wrong stream from the cam, maybe long GOP I-frame, who knows.
Nothing, he doesn't get it.
I'll give up this time.
 
Last edited:
Top