Comments (8)
JPG snapshots and specific settings for video channels are under development now but RTSP should work (at least everything is ok on my hardware)
Could you provide your logs while RTSP client connects (killall majestic; majestic
) and what client do you use?
from firmware.
Using VLC with rtsp://10.0.0.99/stream=0
VLC seems to connect fine e.g. play button switches to pause button and codec information shows hvec h265. But the image is black.
http://10.0.0.99/video.mp4 seems to work with VLC with 10s+ delay.
Previously I only tried it in the browser, maybe the browser does not like h265.
yucca does still not support h265 (https://gitlab.com/yuccastream/yucca/-/issues/729).
So i want to activate h264 mode.
Is h264 mode under development, because this setting does not change the reported codec?
video0:
enabled: true
codec: h264
I already copied this file from the original firmware dump:
/mnt/mtd/Config/SensorType.bat
otherwise majestic showed some error message.
root@openipc-xm530:~# killall majestic; majestic
killall: majestic: no process killed
LIBH264: Complied at Apr 30 2019 16:55:22
19:42:39 [ main] main@124 Majestic Free for Xiongmai, version master+9fcd445, built on 2021-11-08
19:42:39 [app_conf] load_config@122 Using /etc/majestic.yaml as main configuration
19:42:39 [ sdk] sdk_specific_config@777 sdk_specific_config()
19:42:39 [watchdog] watchdog_start@85 Watchdog timeout set to 10 seconds
DEBUG: [ISP_SDK]BUILD TIME:Sep 21 2021 11:58:04
DEBUG: OSC:12M
19:42:39 [ log] printf@229 SYS/VI set in [ Sofia ]
19:42:39 [ log] printf@229 Vstd_init [ PAL ]
19:42:39 [ log] printf@229 Rslt [ 0 ]
19:42:39 [ log] printf@229 IPC_Venc: [ H.264 ]
19:42:39 [ log] printf@229 Sns_IF: [ By src ]
DEBUG: SnsCfgFile: 55
DEBUG: sensor_get_chip:
19:42:39 [ log] printf@229 0x40
19:42:39 [ log] printf@229 0x1
19:42:39 [ log] printf@229 0x1
19:42:39 [ log] printf@229 0x37
19:42:39 [ puts]
DEBUG: Venc:495
DEBUG: DspChip:XM530
DEBUG: SnsIF:MIPI
DEBUG: Vstd:PAL[25fps]
DEBUG: ------------- SOIF37 2M 25fps init ok! (@20190909)----------------
DEBUG: sensor_init Ok!
DEBUG: cmos_fps_set F37 2M 25fps
DEBUG: cmos_fps_set F37 2M 25fps
DEBUG: Init over ~~~~~~~~
DEBUG: ProductType: 0x0
DEBUG: libfvideo: F37!
DEBUG: isp_sample end!
DEBUG: imageStyle XM!
19:42:39 [ sdk] ViChnConfig@124 ViChn = 0, enNorm = 0, enSize = 14
19:42:39 [ sdk] COMM_VENC_Start@175 VencChn = 0,enType = 265,enNorm = 0,enSize = 14,enRcMode = 0
19:42:39 [ sdk] COMM_SYS_GetPicSize@152 enNorm = 0,enPicSize = 14
19:42:39 [root_med] RootMediaSupplier_new@10 new RootMediaSupplier(NAL)
19:42:39 [root_med] RootMediaSupplier_new@10 new RootMediaSupplier(MJPEG)
19:42:39 [ evhttp] new_http_server@288 HTTP server started on 0.0.0.0:80
19:42:39 [root_med] RootMediaSupplier_new@10 new RootMediaSupplier(MP4)
19:42:39 [root_med] RootMediaSupplier_new@10 new RootMediaSupplier(MP4A)
19:42:39 [ rtsp] rtsp_init@153 RTSP server started on port 554
DEBUG: black and white
DEBUG: EShutter 1/1
DEBUG: color
19:42:41 [ sdk] sdk_fps_by_stream@724 sdk_fps_by_stream(0)
19:42:41 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:41 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:42 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:43 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:44 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:44 [watchdog] watchdog_keepalive@103 Watchdog keepalive
DEBUG: Delay Over !!!
19:42:45 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:46 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:47 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:48 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:49 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:49 [watchdog] watchdog_keepalive@103 Watchdog keepalive
19:42:50 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:51 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:52 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:53 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:54 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:54 [watchdog] watchdog_keepalive@103 Watchdog keepalive
19:42:55 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:56 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:57 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:58 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:59 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:42:59 [watchdog] watchdog_keepalive@103 Watchdog keepalive
19:43:00 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:01 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:02 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:03 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:04 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:04 [watchdog] watchdog_keepalive@103 Watchdog keepalive
19:43:05 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:05 [ rtsp] listener_cb@118 New RTSP client from: 10.0.0.123:50929
19:43:05 [ client] RtspClient_dispatch@405 RTSP OPTIONS rtsp://10.0.0.99:554/stream=0 CSeq=2 from 10.0.0.123:50929
19:43:05 [ client] RtspClient_dispatch@405 RTSP DESCRIBE rtsp://10.0.0.99:554/stream=0 CSeq=3 from 10.0.0.123:50929
19:43:05 [ sdk] sdk_codec_by_stream@738 sdk_codec_by_stream(0)
19:43:05 [ client] describe_sdp_video@504 RTSP chn 0 sps_len 0
19:43:05 [ client] describe_sdp_video@507 RTSP chn 0 pps_len 0
19:43:05 [ client] describe_sdp_video@513 RTSP chn 0 profile_level_id 000000
19:43:05 [ client] RtspClient_dispatch@405 RTSP SETUP rtsp://10.0.0.99:554/stream=0/video CSeq=4 from 10.0.0.123:50929
19:43:05 [ client] RtspClient_setup@735 UDP RTSP SETUP done, stream_id=0 from 10.0.0.123:50929
19:43:05 [ client] RtspClient_dispatch@405 RTSP PLAY rtsp://10.0.0.99:554/stream=0 CSeq=5 from 10.0.0.123:50929
19:43:05 [ nal] RtspNalStream_play@139 REQUEST for 0 stream!
19:43:05 [ sdk] sdk_request_idr@695 sdk_request_idr(0)
19:43:06 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:07 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:08 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:09 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:09 [watchdog] watchdog_keepalive@103 Watchdog keepalive
19:43:10 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:11 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:12 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:13 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:14 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:14 [watchdog] watchdog_keepalive@103 Watchdog keepalive
19:43:15 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:16 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:17 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:18 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:19 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:19 [watchdog] watchdog_keepalive@103 Watchdog keepalive
19:43:20 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:21 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:22 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:23 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:24 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:24 [ client] RtspClient_dispatch@405 RTSP TEARDOWN rtsp://10.0.0.99:554/stream=0 CSeq=6 from 10.0.0.123:50929
19:43:24 [ rtsp] conn_eventcb@66 RTSP connection closed.
19:43:24 [watchdog] watchdog_keepalive@103 Watchdog keepalive
19:43:25 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:26 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
19:43:27 [ sdk] sdk_secsInGop_by_stream@747 sdk_secsInGop_by_stream(0)
^C19:43:27 [ log] printf@229 Interrupt signal received
19:43:27 [root_med] RootMediaSupplier_drop@37 drop RootMediaSupplier(MP4)
19:43:27 [root_med] RootMediaSupplier_drop@37 drop RootMediaSupplier(MP4A)
19:43:27 [root_med] RootMediaSupplier_drop@37 drop RootMediaSupplier(NAL)
19:43:27 [root_med] RootMediaSupplier_drop@37 drop RootMediaSupplier(MJPEG)
19:43:27 [ sdk] sdk_dealloc_static_bufs@707 sdk_dealloc_static_bufs()
19:43:27 [watchdog] watchdog_stop@126 Watchdog closed
19:43:27 [ main] main@194 Shutdown main thread
from firmware.
Xiongmai support is in MVP state now (only main video stream is supported, no image snapshots and additional settings) and we're looking for sponsors to continue development for XM platform.
But RTSP should work currently and I've checked described issue on XM530 camera and found a similar issue with VLC (it shows nothing but other players do, for example, ffplay
).
It seems that VLC cannot parse NALs in HEVC bitstream produced by XM530 encoder, but for me upgrade from vlc 3.0.8 to 3.0.16 resolved the issue. Could you try do the same?
from firmware.
A newer VLC works, but more settings (h264) would be great.
So XM530 has no focus and its is better to stick with e.g. 3516CV300.
Last time I ordered a 3516CV300 but got a XM530...
from firmware.
Latest build also supports H264/H265 codec selection
from firmware.
Seems to work, but getting random scrambled video every second or so
.
from firmware.
Do you use WiFi between client and camera? Try also vlc --rtsp-tcp rtsp://10.0.0.99
from firmware.
nope, direct LAN connection to switch. Already changed rj45 cable.
Today it only happens with the video.mp4 stream every second. With rtsp I could observe it only once after 10min.
from firmware.
Related Issues (20)
- gk7205v300 with sc223a
- Wyze Cam v3 (t31x / gc2053_i2c) sometimes gets stuck on overexposed image HOT 1
- How to add wifi driver RT2870 on Goke GK7205V200 board HOT 1
- Missing Wifi Firmware on Tapo C110 v1
- GK7205v200 with rtl8188ftv HOT 4
- LSC Smart PTZ Camera 3007325
- The firmware of openipc does not work on jxf23+ingenicT31N,need to add drivers for JXF23。
- [QUICKFIX] Rename menu item from "Tunnel" to "Vtun"
- GC2503 camera sensor support for Ingenic T40XP
- Compile issue(Cannot execute cross-compiler '/home/.../arm-openipc-linux-musleabi-gcc.br_real') HOT 4
- Add FTP service
- RTSP integration issue with amazon-kinesis-video-streams-producer-sdk-cpp
- RTSP integration issue with amazon-kinesis-video-streams-producer-sdk-cpp
- Ingenic T21 no ethernet HOT 2
- Ingenic T21 sensor: ov2735b but no picture HOT 1
- IF-SD-WIFI (ex. IPC_38x38-WIFI-if v1.02) support and reverse engineering HOT 4
- Video recorded mp4 file is only two seconds long
- No picture from sc401ai, on NT98562 Cam HOT 1
- cannot use capjpeg with Xiaomi MJSXJ03HL
- GK7205V300 asking for u-boot password HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firmware.