- This topic has 5 replies, 3 voices, and was last updated 3 years, 10 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › Permission denied in Video recording
Tagged: 64_bits, Linux_ubuntu, SOFA_2012
Hello team,
I cannot record a video of my GUI (with V shortcut). I get the following message when trying to do so:
[INFO] [VideoRecorderFFMPEG] Start recording to /home/andrea/projects/sofa/build/install/screenshots/caduceus__r60_0001.mp4 ( yuv420p, 60 FPS, 5120000 b/s) using /home/andrea/projects/sofa/build/bin/
sh: 1: /home/andrea/projects/sofa/build/bin/: Permission denied
I am on v20.12 of Sofa and I use a QGLViewer.
My SOFA_ROOT is set to sofa/build/install
Thanks
Andrea
Hi @amendiza
This means your runSofa executable is run without write privileges. Could you try a:
sudo chmod 777 runSofa
Best wishes,
Hugo
Hi Hugo,
Thanks for your answer.
I also thought this was the reason, but it is not. The error is still there after adding all the privileges to runSofa…
Andrea
Ok …
Either the ffmpeg which has wrong rights, or the repository in which you are trying to write (build/bin) have strange rights.
Is there a ffmpeg in build/bin ? if so what are its rights ? is it executable ?
Maybe @tgaugry has an idea ?
Best,
Hugo
Dear Hugo,
There is no ffmpeg in my build/bin… What is the clean way for having it?
Thanks
Andrea
It can also be the rights on the output folder or file, or more simply on a temp folder. Another reason could be that the output folder does not exist (some functions misattribute this error sometime, dunno why).
In any case, you can to rexec with sudo, this should tell us if it really is a permission problem, or if it is something else.
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.