Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playback does not work when recording path is non-default #3172

Closed
1 task done
davidrylance opened this issue Mar 27, 2024 · 2 comments
Closed
1 task done

Playback does not work when recording path is non-default #3172

davidrylance opened this issue Mar 27, 2024 · 2 comments

Comments

@davidrylance
Copy link

Dear Mediamtx developers and maintainers,

This is fantastic project. Thank you!

I enabled recording and I verified that mp4 files are created and saved.

Then I enabled playback and wanted to use it as:

curl -L  'http://.../list?path=my_cam'

but I got:

ERR [playback] lstat /recordings/my_cam: no such file or directory

in logs.

My configuration has changed path for the recordings and that's probably the problem.

playback: yes

pathDefaults:
  record: no
  playback: yes
  recordFormat: fmp4
  recordPartDuration: 100ms
  recordSegmentDuration: 1h
  recordDeleteAfter: 0s

paths:
  my_cam:
    source: 'rtsp://...'
    record: true
    recordPath: '/var/...' # custom
  my_cam2:
    source: 'rtsp://...'
    record: false
    # ...

Which version are you using?

v1.5.1

Which operating system are you using?

  • Linux amd64 standard
Copy link
Contributor

This issue is being automatically closed because it does not follow the issue template.
Please reopen the issue and make sure to include all sections of the template.

Copy link
Contributor

This issue is being locked automatically because it has been closed for more than 6 months.
Please open a new issue in case you encounter a similar problem.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant