monibuca icon indicating copy to clipboard operation
monibuca copied to clipboard

How to play mp4 recordings in v5?

Open Rahul-ambiplatforms opened this issue 8 months ago • 16 comments

{ "code": 0, "message": "", "data": [ { "streamPath": "DVR/RTSP-ATPL-015840-AUGEN", "startTime": "2025-04-21T18:16:31.920828213Z", "type": "*mp4.Recorder", "pointer": "824723019048" } ] }

Rahul-ambiplatforms avatar Apr 21 '25 18:04 Rahul-ambiplatforms

http://v5.monibuca.com/en/features/playback.html

langhuihui avatar Apr 22 '25 01:04 langhuihui

Not working i'm sharing my configuration

Config:

mp4: enable: true onsub: pull: ^vod(\d)/(.+)$: DVR/$2 onpub: record: ^(DVR/.+)$: fragment: 30s filepath: record/mp4/$1

API Response: http://localhost:8080/api/record/list

{ "code": 0, "message": "", "data": [ { "streamPath": "DVR/RTSP-ATPL-015840-AUGEN", "startTime": "2025-04-22T05:32:43.594973290Z", "type": "*mp4.Recorder", "pointer": "824656963112" } ] }

could you please help me to resolve this playback issue ?

Rahul-ambiplatforms avatar Apr 22 '25 06:04 Rahul-ambiplatforms

do you find your record files? how do you play?

langhuihui avatar Apr 22 '25 06:04 langhuihui

Yes i have founded recordings mp4 file at this path : /record/DVR/RTSP-ATPL-015840-AUGEN/1745255004.mp4 But i have confusion in documentation and playback url currently i'm trying to play recording using mention url : http://localhost:8080/mp4/DVR/RTSP-ATPL-015840-AUGEN?start=1745255004

Rahul-ambiplatforms avatar Apr 22 '25 06:04 Rahul-ambiplatforms

OK, look at the config file, you need to play using like url : http://localhost:8080/mp4/vod/123/RTSP-ATPL-015840-AUGEN?start=1745255004 do you understand ?

langhuihui avatar Apr 22 '25 06:04 langhuihui

http://localhost:8080/mp4/vod/123/RTSP-ATPL-015840-AUGEN?start=1745255004

trying to play this url but not playing , it is require specific player?

and in url you have mention 123 what does meaning ?

Rahul-ambiplatforms avatar Apr 22 '25 06:04 Rahul-ambiplatforms

please read http://v5.monibuca.com/en/features/playback.html 123 just a number you need to use this regexp instead ^vod(\d+)/(.+)$: DVR/$2

langhuihui avatar Apr 22 '25 06:04 langhuihui

Got it http://localhost:8080/mp4/vod/123/RTSP-ATPL-015840-AUGEN?start=1745255004 still not playing

Rahul-ambiplatforms avatar Apr 22 '25 06:04 Rahul-ambiplatforms

have you changed your config file? if not you need to use vod/1 insteadof vod/123

you can use other protocol to play ,such as http-flv like http://localhost:8080/flv/vod/123/RTSP-ATPL-015840-AUGEN?start=1745255004

langhuihui avatar Apr 22 '25 06:04 langhuihui

also we want to purchase commercial version ,i have been tried very much but i'm unable to purchase commercial pack ,if you can guide how to purchase

Rahul-ambiplatforms avatar Apr 22 '25 06:04 Rahul-ambiplatforms

OK,Do you have any IM or Chat account? We need to talk about it

langhuihui avatar Apr 22 '25 06:04 langhuihui

i don't have accounts , i will create it in which platform?

Rahul-ambiplatforms avatar Apr 22 '25 06:04 Rahul-ambiplatforms

i have twitter account ,also we can do google meet

Rahul-ambiplatforms avatar Apr 22 '25 06:04 Rahul-ambiplatforms

OK,use E-mail as well [email protected]

langhuihui avatar Apr 22 '25 06:04 langhuihui

i have been sent email on this address

To join the video meeting, click this link: https://meet.google.com/pqw-xgmx-ohw Otherwise, to join by phone, dial +1 304-916-7178 and enter this PIN: 796 693 416# To view more phone numbers, click this link: https://tel.meet/pqw-xgmx-ohw?hs=5

Rahul-ambiplatforms avatar Apr 22 '25 07:04 Rahul-ambiplatforms

at this api: http://localhost:8080/api/record/mp4/list/DVR/RTSP-ATPL-015840-AUGEN{ "code": 0, "message": "", "totalCount": 42, "pageNum": 1, "pageSize": 10, "data": [ { "id": 42, "filePath": "record/mp4/DVR/RTSP-ATPL-015840-AUGEN/1745260385.mp4", "streamPath": "DVR/RTSP-ATPL-015840-AUGEN", "startTime": "2025-04-21T18:33:05.541065971Z", "endTime": "2025-04-21T18:33:06.769820969Z", "eventLevel": "low", "eventName": "", "eventDesc": "" },

getting mention data

could you please help me to set plaback url?

Rahul-ambiplatforms avatar Apr 22 '25 07:04 Rahul-ambiplatforms