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

Using spaces in title results in ffmpeg error #195

Closed
casperwarnich opened this issue Jan 17, 2022 · 0 comments · Fixed by #198
Closed

Using spaces in title results in ffmpeg error #195

casperwarnich opened this issue Jan 17, 2022 · 0 comments · Fixed by #198
Assignees
Labels
bug Something isn't working work in progress

Comments

@casperwarnich
Copy link

casperwarnich commented Jan 17, 2022

If a title is passed when creating a new recorder, the title cannot include a space.

title: "Test Camera"
will result in error:
Progress [NULL @ 0x13383b600] Unable to find a suitable output format for 'Camera'

My ffmpeg command is:
-rtsp_transport tcp -i rtsp://192.168.1.3:554/MediaInput/h264/stream_1 -reset_timestamps 1 -metadata title=Test Camera -c:a aac -strftime 1 -strftime_mkdir 1 -hls_time 600 -hls_list_size 0 -hls_segment_filename %Y.%m.%d/%H.%M.%S.mp4 ./$(date +%Y.%m.%d-%H.%M.%S).m3u8

Edit: I am on an Apple Silicon Mac with Node v12.18.3 and ffmpeg 4.4.1

@boonya boonya self-assigned this Jan 19, 2022
@boonya boonya added bug Something isn't working work in progress labels Jan 19, 2022
@boonya boonya linked a pull request Jan 24, 2022 that will close this issue
boonya added a commit that referenced this issue Jan 24, 2022
* [Fixed][Issue #195] Using spaces in title results in ffmpeg error.

* Dev Dependencies bumped

* jest.mocked instead of ts-jest/mocked due to jestjs/jest#12089
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working work in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants