Skip to content

The problem is that the MP4 files recorded by the DVR cannot be played on Safari browser, but they can be played on Google Chrome browser when hosted on an nginx server. #1105

Closed
@hwzeno

Description

@hwzeno

The video recorded using DVR is saved with the file name extension as mp4. To play this mp4 file, place it in the nginx directory and open the file in a browser for on-demand playback. It can be opened in Google Chrome and Android phones, but cannot be played in Firefox and Safari browsers. To enable playback in Safari, you can repackage the video using the command "ffmpeg -i abc.mp4 -codec copy test.mp4".

How can the recorded video be played in Safari without re-packaging?

Below is the DVR configuration:

    dvr{
        enabled             on;
        dvr_apply           all;
        dvr_plan            session;
        dvr_path            /usr/local/nginx/html/dvr/[2006]/[01]/[stream].mp4;
        dvr_duration        30;
        dvr_wait_keyframe   on;
        time_jitter         full;
    }

TRANS_BY_GPT3

Metadata

Metadata

Assignees

Labels

BugIt might be a bug.TransByAITranslated by AI/GPT.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions