Can any one help me to resolve mention problem?
I have mention my Config file below, i'm trying to pull rtsp url which is perfectly playing and recording that stream and stored in mp4 format, now the problem is i'm trying to play that recorded mp4 files threw the url --> "http://localhost:8081/mp4/vod/test.mp4?start=2025-05-12T13:30:31" as per the documents shared but i'm unable to play recorded file ,can any one help me to resolve this problem or share correct url to play recorded mp4 data ?
Config.yaml
global: http: listenaddr: :8081 location: "^/hdl/(.*)": "/flv/$1" loglevel: debug
admin:
enablelogin: true
record:
Recording configuration
type: mp4 # Recording type: mp4, flv, hls, hlsv7 filepath: "./record" # Recording file save path fragment: 30s # Fragment duration (supports time units: s, m, h) append: false # Whether to append to existing recording
mp4:
Behavior configuration when a stream is published
onsub: pull: ^vod/(.+)$: live/$1 # Forward stream through regex matching onpub: record: ^live/.+: # Match all streams starting with live/ fragment: 30s # Fragment duration of 1 minute filepath: record/$0 # Save path, $0 represents the complete matched stream name
rtsp: pull: live/test: rtsp://admin:@192.168.29.1:554/ch0_1.264
because of your streamPath is live/test , you need to play this url: "http://localhost:8081/mp4/vod1/live/test.mp4?start=2025-05-12T13:30:31"
李宇翔 @.***
still not playing and at this url i'm getting this data player url : http://localhost:8081/mp4/vod/live/test.mp4?start=2025-05-12T13:55:48.835387200Z
http://localhost:8081/api/record/mp4/list Output: { "code": 0, "message": "", "totalCount": 155, "pageNum": 1, "pageSize": 10, "data": [ { "id": 161, "filePath": "record\live\test\1747058148.mp4", "streamPath": "live/test", "startTime": "2025-05-12T13:55:48.835387200Z", "endTime": "2025-05-12T13:56:18.932835400Z", "eventLevel": "low", "eventName": "", "eventDesc": "" }, { "id": 160, "filePath": "record\live\test\1747058118.mp4", "streamPath": "live/test", "startTime": "2025-05-12T13:55:18.824124300Z", "endTime": "2025-05-12T13:55:48.835387200Z", "eventLevel": "low", "eventName": "", "eventDesc": "" }, { "id": 159, "filePath": "record\live\test\1747058085.mp4", "streamPath": "live/test", "startTime": "2025-05-12T13:54:45.855340900Z", "endTime": "2025-05-12T13:55:18.824124300Z", "eventLevel": "low", "eventName": "", "eventDesc": "" },))
consider of your config , you should play this url http://localhost:8081/mp4/vod/test.mp4?start=2025-05-12T13:55:48Z
vod/test machs vod/(.+)$ and it will search streamPath live/test ( by live/$1 ) in db
tryed this but not getting access in monibuca v4 recordings are easily working in vlc player but in this v5 not playing mp4 hevc format
http-mp4 will return fmp4 stream not mp4 file stream. If you what real mp4 format you shoud use /mp4/download/live/test?start=xxxxxx&end=xxxxxxxxx
李宇翔 @.***
http://localhost:8081/mp4/download/live/test?start=2025-05-12T14:01:19Z&end=2025-05-12T14:01:49Z
i have tried this url in vlc player according to my data but any file is not getting played
you should first use browser to check if you can download the file
李宇翔 @.***
http://localhost:8081/mp4/download/live/test?start=2025-05-12T14:02:49.323281400Z&end=2025-05-12T14:03:19.395050300Z
my humble request to you can you give me full configuration file which can pull rtsp and record in mp4 format and play url for that recordings
I'll record the operation later for you
Thank you!!!
Hi @langhuihui,
Thanks for all the guidance shared so far. I just wanted to mention that I’m also facing the same issue as described above..
Would it be possible to know when a working example or configuration might be shared? It would really help validate and move forward on our end.
Happy to test or provide logs if needed. Appreciate your support and the great work on Monibuca!
see this video https://youtu.be/y1xERuKDqBg
Thank you ! I have been try according to your provided video but facing problem in h265 stream h265 recording are playing but not getting video output only getting audio while playing
we support h265 recording. can you give me a snapshot of your player and play url
sure, also i have been try with jessibuca player but same problem
OK,please use latest code
Thank You ! It's Working now
I’m having the same issue as mentioned here.
I followed all the steps and also followed the YouTube video: https://youtu.be/y1xERuKDqBg
From the video, I was able to play the MP4 using this link:
http://localhost:8080/mp4/vod_mp4_127/live/test.mp4?start=1747392724
But the problem is — even though my fragment size is set to 10 seconds and the downloaded file is 10s, when I try to play it on the server, it keeps playing the full live stream instead of just the 10-second part. I tried using both start and end in the URL, but it still plays the full stream continuously.
Also, as shown in the image below, it automatically generates these extra VOD entries when I try to play the recorded stream:
vod_mp4_124/live/test [ MP4 ]
vod_mp4_126/live/test [ MP4 ]
I don’t want these extra files or processes to be created. I just want to play the recorded video fragment directly from the existing stream without generating new entries or continuous playback.
This was working properly in Monibuca v4 — the recorded segments matched the fragment size and played as expected. But in v5, it seems broken or changed.
Any help would be appreciated!
How to kill playback process ?
use POST /api/stream/stop/{your streamPath}
李宇翔 @.***