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

File recording not possible inside docker container #6

Open
Poeschl opened this issue Jun 16, 2023 · 2 comments
Open

File recording not possible inside docker container #6

Poeschl opened this issue Jun 16, 2023 · 2 comments

Comments

@Poeschl
Copy link
Contributor

Poeschl commented Jun 16, 2023

Tested it today with recording the canvas with the docker container, but the recording crashed since no ffmpeg was found. :)

Maybe provide a fixed folder for the recording files, which makes the volume mapping easier when running containerized.

@sbernauer
Copy link
Owner

What can basically try now is
mkdir -p pixelflut && docker run --rm -u 1000:1000 --init -t -p 1234:1234 -p 5900:5900 -p 9100:9100 -v "$(pwd)/pixelflut:/pixelflut" sbernauer/breakwater:0.12.0 --statistics-save-file /pixelflut/statistics.json --video-save-folder /pixelflut
However when running in docker the video file seems to be corrupt. I guess some signal traps are not working correctly so that ffmpeg does not terminate successfully.

@Poeschl
Copy link
Contributor Author

Poeschl commented Jun 16, 2023

Sometimes I need to kill the breakwater container to stop it. I assume the SIG_KILLS are not handled correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants