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.
@Wernerabcd
Copy link

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!

@Hooda360
Copy link

Hooda360 commented May 19, 2024

Works like charm in my V380 pro paranomic camera which I bought for $9 USD. BUT audio is not streaming with this rtsp stream.
But my another same camera is not accepting the change.

@cuenta1
Copy link

cuenta1 commented May 27, 2024

https://github.com/prsyahmi/v380/

Hi, this may be the way. Someone with knowledge to continue the development.

@cyberdenz
Copy link

I got mine working with a different ceshi.ini contents:

[CONST_PARAM]
rtsp_enable = 1

@kuroquick
Copy link

I got mine working with a different ceshi.ini contents:

[CONST_PARAM]

rtsp_enable = 1

thank you very much
it's working

@gleitoncampos
Copy link

Adding more one information: My cam come with RTSP enabled by default
Hardware version: HwV380E11_WF9_AKQ8_MS32006_20180628
Software version: AppV380E11_V2.6.8.4_20210716

The path "/live/ch00_0" worked very well, but my camera has SD and HD stream, so I tried "/live/ch00_1" and this last one is the path from HD stream
/live/ch00_0 = SD stream path
/live/ch00_1 = HD stream path

@mandle420
Copy link

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.

@ayrus02
Copy link

ayrus02 commented Oct 18, 2024

Adding more one information: My cam come with RTSP enabled by default Hardware version: HwV380E11_WF9_AKQ8_MS32006_20180628 Software version: AppV380E11_V2.6.8.4_20210716

The path "/live/ch00_0" worked very well, but my camera has SD and HD stream, so I tried "/live/ch00_1" and this last one is the path from HD stream /live/ch00_0 = SD stream path /live/ch00_1 = HD stream path

Hi, can you inform us about the network port used on you V380? is it port 554 or other port like 8800?

Regards,
ayrus02

@gleitoncampos
Copy link

Adding more one information: My cam come with RTSP enabled by default Hardware version: HwV380E11_WF9_AKQ8_MS32006_20180628 Software version: AppV380E11_V2.6.8.4_20210716
The path "/live/ch00_0" worked very well, but my camera has SD and HD stream, so I tried "/live/ch00_1" and this last one is the path from HD stream /live/ch00_0 = SD stream path /live/ch00_1 = HD stream path

Hi, can you inform us about the network port used on you V380? is it port 554 or other port like 8800?

Regards, ayrus02

Port 544

@zalnaRs
Copy link

zalnaRs commented Oct 20, 2024

I got mine working with a different ceshi.ini contents:

[CONST_PARAM]

rtsp_enable = 1

What model number?

@keeper18
Copy link

keeper18 commented Oct 21, 2024

Can anyone help how to connect by VLC?
HD Stream: rtsp://admin:admin123456@[192.168.0.13]:554/profile0
SD Stream: rtsp://admin:admin123456@[CAMERA-IP]:554/profile1
I get main error: connection failed: No route to host on VLC but nmap see the stream?
1729500122365
1729500122376
1729500122388
Zrzut ekranu z 2024-10-21 10-39-37

@zalnaRs
Copy link

zalnaRs commented Oct 21, 2024

Try an onvif viewer, like tinycam

@keeper18
Copy link

Try an onvif viewer, like tinycam

Sorry onvif viewer doesn't see this cam. I tried manually add this cam but without success:(

@zalnaRs
Copy link

zalnaRs commented Oct 21, 2024 via email

@keeper18
Copy link

keeper18 commented Oct 21, 2024

It seems like everything should works but still no VLC stream:( onwif see it but can't run "Web page" view...
![1729524468599](https://gist.github.com/user-attachments/assets/24cf4ab2-5b9d-40a5-b99d-48fa4ee96692

@zalnaRs
Copy link

zalnaRs commented Oct 21, 2024 via email

@keeper18
Copy link

GitHub repo to decrypt the stream?I cant find...

@cuenta1
Copy link

cuenta1 commented Oct 22, 2024

https://github.com/prsyahmi/v380/

This application is for V380 cameras that do not have the RTSP protocol and cannot be activated (for example with the ceshi.ini file) and transmit through port 8800. Unfortunately, in the latest firmware versions, the stream was encrypted in some way and cannot be played yet. But there are people with knowledge in this field working on it.

@keeper18
Copy link

https://github.com/prsyahmi/v380/

This application is for V380 cameras that do not have the RTSP protocol and cannot be activated (for example with the ceshi.ini file) and transmit through port 8800. Unfortunately, in the latest firmware versions, the stream was encrypted in some way and cannot be played yet. But there are people with knowledge in this field working on it.

Thanks for explanation...

@cuenta1
Copy link

cuenta1 commented Oct 24, 2024

https://github.com/prsyahmi/v380/
This application is for V380 cameras that do not have the RTSP protocol and cannot be activated (for example with the ceshi.ini file) and transmit through port 8800. Unfortunately, in the latest firmware versions, the stream was encrypted in some way and cannot be played yet. But there are people with knowledge in this field working on it.

Thanks for explanation...

You're welcome. By the way, in the images I see that you use Linux Mint. Would you be so kind as to tell me which is the application for the camera that I see behind Wireshark? Thanks in advance.

@zalnaRs
Copy link

zalnaRs commented Oct 25, 2024

https://github.com/prsyahmi/v380/
This application is for V380 cameras that do not have the RTSP protocol and cannot be activated (for example with the ceshi.ini file) and transmit through port 8800. Unfortunately, in the latest firmware versions, the stream was encrypted in some way and cannot be played yet. But there are people with knowledge in this field working on it.

Thanks for explanation...

You're welcome. By the way, in the images I see that you use Linux Mint. Would you be so kind as to tell me which is the application for the camera that I see behind Wireshark? Thanks in advance.

It's v380 on wine. You can download it here: https://macro-video.com/

@cuenta1
Copy link

cuenta1 commented Oct 25, 2024

https://github.com/prsyahmi/v380/
This application is for V380 cameras that do not have the RTSP protocol and cannot be activated (for example with the ceshi.ini file) and transmit through port 8800. Unfortunately, in the latest firmware versions, the stream was encrypted in some way and cannot be played yet. But there are people with knowledge in this field working on it.

Thanks for explanation...

You're welcome. By the way, in the images I see that you use Linux Mint. Would you be so kind as to tell me which is the application for the camera that I see behind Wireshark? Thanks in advance.

https://github.com/prsyahmi/v380/
This application is for V380 cameras that do not have the RTSP protocol and cannot be activated (for example with the ceshi.ini file) and transmit through port 8800. Unfortunately, in the latest firmware versions, the stream was encrypted in some way and cannot be played yet. But there are people with knowledge in this field working on it.

Thanks for explanation...

You're welcome. By the way, in the images I see that you use Linux Mint. Would you be so kind as to tell me which is the application for the camera that I see behind Wireshark? Thanks in advance.

It's v380 on wine. You can download it here: https://macro-video.com/

I'm sorry but I only see apps for Android/iOS among the download options. Would you be so kind as to post the link for Wine app? Thank you very much.

@cuenta1
Copy link

cuenta1 commented Oct 25, 2024

https://github.com/prsyahmi/v380/
This application is for V380 cameras that do not have the RTSP protocol and cannot be activated (for example with the ceshi.ini file) and transmit through port 8800. Unfortunately, in the latest firmware versions, the stream was encrypted in some way and cannot be played yet. But there are people with knowledge in this field working on it.

Thanks for explanation...

You're welcome. By the way, in the images I see that you use Linux Mint. Would you be so kind as to tell me which is the application for the camera that I see behind Wireshark? Thanks in advance.

https://github.com/prsyahmi/v380/
This application is for V380 cameras that do not have the RTSP protocol and cannot be activated (for example with the ceshi.ini file) and transmit through port 8800. Unfortunately, in the latest firmware versions, the stream was encrypted in some way and cannot be played yet. But there are people with knowledge in this field working on it.

Thanks for explanation...

You're welcome. By the way, in the images I see that you use Linux Mint. Would you be so kind as to tell me which is the application for the camera that I see behind Wireshark? Thanks in advance.

It's v380 on wine. You can download it here: https://macro-video.com/

I'm sorry but I only see apps for Android/iOS among the download options. Would you be so kind as to post the link for Wine app? Thank you very much.

Ok, I'll answer myself: I was browsing with my mobile phone. With my PC, I see the Windows version.

@keeper18
Copy link

keeper18 commented Oct 25, 2024

https://github.com/prsyahmi/v380/
This application is for V380 cameras that do not have the RTSP protocol and cannot be activated (for example with the ceshi.ini file) and transmit through port 8800. Unfortunately, in the latest firmware versions, the stream was encrypted in some way and cannot be played yet. But there are people with knowledge in this field working on it.

Thanks for explanation...

You're welcome. By the way, in the images I see that you use Linux Mint. Would you be so kind as to tell me which is the application for the camera that I see behind Wireshark? Thanks in advance.

https://github.com/prsyahmi/v380/
This application is for V380 cameras that do not have the RTSP protocol and cannot be activated (for example with the ceshi.ini file) and transmit through port 8800. Unfortunately, in the latest firmware versions, the stream was encrypted in some way and cannot be played yet. But there are people with knowledge in this field working on it.

Thanks for explanation...

You're welcome. By the way, in the images I see that you use Linux Mint. Would you be so kind as to tell me which is the application for the camera that I see behind Wireshark? Thanks in advance.

It's v380 on wine. You can download it here: https://macro-video.com/

I'm sorry but I only see apps for Android/iOS among the download options. Would you be so kind as to post the link for Wine app? Thank you very much.

Ok, I'll answer myself: I was browsing with my mobile phone. With my PC, I see the Windows version.

This is link to V380.2.0.2 For PC but only 2.0.2 works on my computer https://www.cctvupdate.com/p/portal-download-software-cctv-v380.html. I'm using Q4Wine on linux Mint:)

@cuenta1
Copy link

cuenta1 commented Oct 25, 2024

Thank keeper18

@gwynethmalaya
Copy link

does this work on V380 4G camera too?

@Chipi89
Copy link

Chipi89 commented Nov 8, 2024

Screenshot_20241108_204200_V380
Camera type: C6S2X-L
Is there a way to enable Onvif on this camera? The methods read above did not help.

@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

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