Page 1 of 1
play event mp4
Posted: Wed Jul 12, 2023 11:13 pm
by fluffykeith
Apologies if this is a daft question but in the documentation under viewing events there is mp4 playback shown. My event is also an mp4 file but I have "The video could not be loaded, ... format is not supported".
I have v1.36.32 installed on ubuntu 23.04.
How do I get the MP4 to play when viewing an event?
The capture is from a web cam but as it has saved an mp4 file I would expect to be able to view it. Any help for this newbie would be great.
Thanks.
Re: play event mp4
Posted: Thu Jul 13, 2023 3:25 am
by burger
Are you encoding to mp4? Check that you are saving to an h264, not h265.
Re: play event mp4
Posted: Thu Jul 13, 2023 8:31 am
by fluffykeith
I had the settings set to auto in the Monitor Storage tab.
I assumed that mp4 is the format of the stream but I suppose recoding is only a small processor hit as it is only saving on each alert.
I changed outputcodec to h264
if I select encoder as :
libx264 - I get a blank event playback.
h264 and the other options - work ok except...
When I view the event first time it plays ok, however if I press play after than it plays at a very high speed, it completes in a few frame <0.5s. Any pointers on that would be ok.
The playback rate doesn't do anything different I always get a super fast playback after the first go.
I'm still experimenting on how I want to set this up but as the capture card I had isn't working with ubuntu 23 I may resort to a few more local cams.
Re: play event mp4
Posted: Thu Jul 13, 2023 8:45 am
by fluffykeith
I notice that when setting to h264 it is not actually saving video but a lot of jpeg files. I have the storage Save JPEGs disabled.
I only get video files when set to auto and they are mp4 but if I set the codec in the event playback to MJPEG it will play it once and after that it will not play gain using the playback controls.
Re: play event mp4
Posted: Thu Jul 13, 2023 3:20 pm
by geraldbrandt
If your camera sends an RTSP h264 stream, just use pass through and don't encode on your system.