Skip to content

Instantly share code, notes, and snippets.

@SolveSoul
Created August 18, 2021 08:56
Show Gist options
  • Save SolveSoul/9be5d9599c8b4b59f7cfa4cd0ce79c9c to your computer and use it in GitHub Desktop.
Save SolveSoul/9be5d9599c8b4b59f7cfa4cd0ce79c9c to your computer and use it in GitHub Desktop.
V380 Pro Activate ONVIF/RTSP
[CONST_PARAM]
rtsp = 1 ; RTSPЭ�飬0���ر� 1������
V380 Pro cameras have rtsp/onvif disabled by default. This can be unlocked by inserting an SD-card into the camera.
A step-by-step guide can be found below:
1) Download the V380 Pro app from the App Store or Google Play
2) Register or continue without registering
3) Boot your camera and couple it to the application
4) Set a custom username and password for your camera
5) Download the 'ceshi.ini' file and put it on the root of a micro SD card (so not in a subfolder)
6) Power down the camera, insert the SD card and boot the camera
7) The camera will talk in chinese, wait for 5 minutes (probably shorter, but to be sure)
8) Power down the camera, remove the SD card, delete the file and power up the camera
9) Connect to your camera using the protocol rtsp://username:password@ipaddress:554/live/ch00_0
10) DONE
A great way to test is downloading/using VLC and opening a network stream.
@Chipi89
Copy link

Chipi89 commented Nov 9, 2024

Camera boot
image
The camera mounts the SD card, but I don't see it reading the ini file.
image

Does anyone know the terminal password?

@C-Fu
Copy link

C-Fu commented Nov 13, 2024

Okay so I bought 3 V380 Pro cameras from 2 different sellers, and all 3 are different. It's the black unit with one static lens and one PTZ lens/sensor. Video comes out as one square (ish) feed. All cameras look identical.
image
Seller A: White cable
image

Seller B: 2 units, black cable (but apparently different somehow), we'll name it QC2 and QC9.
image
QC9

image
QC2

All units are on latest firmware without need to update when arrived.
In windows, I use a new, original, non-fake SD card, formatted as FAT32.
I create a text document called ceshi.ini, and TYPED (not copied the above example with the random characters after rtsp=1)
[CONST_PARAM]
rtsp=1

Seller A, white cable version:
image

Onvif menu appears.
image
Label shows QR code, the device number, User:admin and random numbers as password (eg.123546673-9)

Seller B, QC9: QC9 DOES NOT NEED to use ceshi.ini as it is onvif-enabled by default, but...
image
RTSP audio option appears as well as ONVIF setting option like white cable version.
image
Label shows QR code, device number/id, User:admin and QC:09

Seller B, QC2:
image
rtsp=1 DOES NOT WORK. VLC can't access the stream.
image
Same as QC9, but this time it says QC:02

will try rtsp_enable=1 later... stupid sd card fell down and I can't find it :D
EDIT: CONFIRMED, QC2 needs to use rtsp_enable=1 instead of rtsp=1. White Cable needs rtsp=1.

@uratmangun
Copy link

uratmangun commented Dec 14, 2024

THANK YOU SO MUCH @SolveSoul your method working lol im buying my camera from here https://www.tokopedia.com/terminalelectronik/ip-camera-outdoor-waterproof-app-v380pro-wifi-dual-lens-ptz-16mp-hanya-cctv-0ed64 very cheap i thoght it gonna brick turns out its working lol youre top g bro i run it using ffplay like this ffplay -rtsp_transport tcp rtsp://username:password@your ip:554/stream thanks so much bro this is my ceshi.ini files:

[CONST_PARAM]
rtsp = 1
rtsp_enable = 1
rtsp_ctrl = 1

it also open onvif but i havent try yet let me see if it works will tell you later gosh im so happy right now look at this beauty bro before i put ceshi ini i dont have onvif setting so crazy:

image

this is how you can check if your device also has onvif this is useful to control camera as well:

curl -v -H Content-Type: application/soap+xml -H Charset: utf-8 -d <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetDeviceInformation xmlns="http://www.onvif.org/ver10/device/wsdl"/></s:Body></s:Envelope> http://your ip:8899/onvif/device_service

it will show the camera version and stuff:

<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:e="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2" xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2" xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl" xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12" xmlns:http="http://schemas.xmlsoap.org/wsdl/http" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:wsadis="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tst="http://www.onvif.org/ver10/storage/wsdl" xmlns:dn="http://www.onvif.org/ver10/network/wsdl" xmlns:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:ter="http://www.onvif.org/ver10/error"><s:Body><tds:GetDeviceInformationResponse><tds:Manufacturer>macro-video-soft</tds:Manufacturer><tds:Model>IPCamera</tds:Model><tds:FirmwareVersion>2.4</tds:FirmwareVersion><tds:SerialNumber>123456789</tds:SerialNumber><tds:HardwareId>1.0</tds:HardwareId></tds:GetDeviceInformationResponse></s:Body></s:Envelope>

this is the parsed version:

Manufacturer: macro-video-soft
Model: IPCamera
Firmware Version: 2.4
Hardware ID: 1.0

if you want to move your camera using onvif you can use this explanation i write here https://github.com/uratmangun/onvif-v380-pro

@zalnaRs
Copy link

zalnaRs commented Jan 11, 2025

@C-Fu
I also have a QC2, is this correct? If yes how to access it?

[CONST_PARAM]
rtsp_enable = 1

@Ynaso
Copy link

Ynaso commented Feb 5, 2025

I had a talk with another v380 tech (probably a senior tech) and he mentioned that only dual cams v380 (prominent on outdoor models) have onvif & rtsp. So i decided to buy a dual cam v380 and it really has onvif and rtsp. But the downside is that both cameras are stacked and merged into a single stream (1920 x 2160) and unfortunately our NVR doesn't support that resolution.

I'm still finding ways to separate each cams into individual 1080p streams 20240104_123637 20240104_112816

How did You access the camera VIA onvif? Could You share details pls? As I have the same camera but Ive been unable to access it through ONVIF

@Ynaso
Copy link

Ynaso commented Feb 6, 2025

worked like a charm. there was a onvif setting under advanced in the android app to turn on, but otherwise, THANK YOU! I thought I bought a cam that was rtsp ready, and was not happy to find it wasn't, so this is great. for the record, bought the COSULAN Light Bulb Camera, 360 Panoramic Security Camera, on amazon.

do that camera allows listening the audio through it?

@ICrashWindows12
Copy link

ICrashWindows12 commented Feb 6, 2025

I have a camera from about 5 years ago, I tried the SD card method, it works, but for some reason there is no username or password I just access at rtsp://192.168.0.24:554/live/ch00_0 (or ch00_1). the onvif menu does not appear after I do that, any solution to set a username and password because I dont want to expose it to the internet yet, it will get hacked because of that or anyone who accesses the network and is smart to check for cameras

edit, I might try the android app because the iOS does not show
edit: does not show, any patch to show the onvif menu?

@ICrashWindows12
Copy link

Anyway to access ONVIF menu in the settings for the camera?

@ICrashWindows12
Copy link

s-l650
camera I have (but with yellow plastic)

@ICrashWindows12
Copy link

ICrashWindows12 commented Feb 6, 2025

worked like a charm. there was a onvif setting under advanced in the android app to turn on, but otherwise, THANK YOU! I thought I bought a cam that was rtsp ready, and was not happy to find it wasn't, so this is great. for the record, bought the COSULAN Light Bulb Camera, 360 Panoramic Security Camera, on amazon.

do that camera allows listening the audio through it?

You might have to enable it through sd card method, the audio for me does not work. Only through the app

@keeper18
Copy link

keeper18 commented Feb 6, 2025

https://www.printables.com/model/167948-v380-snapfit-camera-mount-for-creality-ender-5-plu
this is the old version of this model, the new one has the card slot under the lens and not on the side. The new model also (probably) has new hardware/firmware! And that's almost certainly why the ceshi file doesn't work

Yes, I bought one off TEMU and can't use VLC or iSpy - sucks!

Not only for you. I can't use VLC or any other programs no sound and no picture but onvif works:(

@C-Fu
Copy link

C-Fu commented Feb 21, 2025

@C-Fu I also have a QC2, is this correct? If yes how to access it?

[CONST_PARAM]
rtsp_enable = 1

Did you manage to get it to work?
No spaces btw. So it should be rtsp_enable=1 and not rtsp_enable = 1

It shouldn't matter, but try it anyway

@crisanher96
Copy link

I've tried several files and methods, but haven't gotten a satisfactory result. Has anyone found anything additional? I'm sharing my firmware version.
IMG_8309

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment