ffmpeg permissions trouble
Try to capture RTSP stream with ffmpeg. Everything goes nice, if I save video to my home folder. Can't save to another directory. ffmpeg says 'Permission denied' even directory premission is 777.
In short:
ffmpeg -i 'rtsp://192.168.0.161:554/11' -c:v copy -an new.mp4
good
ffmpeg -i 'rtsp://192.168.0.161:554/11' -c:v copy -an folder777/new.mp4
Ubuntu Server 18.04.02. ffmpeg snap package v.4.1.
Any suggestion?
permissions ffmpeg
add a comment |
Try to capture RTSP stream with ffmpeg. Everything goes nice, if I save video to my home folder. Can't save to another directory. ffmpeg says 'Permission denied' even directory premission is 777.
In short:
ffmpeg -i 'rtsp://192.168.0.161:554/11' -c:v copy -an new.mp4
good
ffmpeg -i 'rtsp://192.168.0.161:554/11' -c:v copy -an folder777/new.mp4
Ubuntu Server 18.04.02. ffmpeg snap package v.4.1.
Any suggestion?
permissions ffmpeg
2
Which folder are you trying to save to? There are other reasons than file permissions for getting "permission denied".
– Philip Couling
Feb 14 at 13:48
No matter which folder is. I've tried different folders and diffrrent styles (short: folder/new.mp4; full: /home/user/folder/new.mp4) It can write to home folder (/home/user/) only. What reasons are you talking about? I'd like to listen it.
– Роман Голдованський
Feb 16 at 23:53
2
You've missed my point. There are certain things like fusermount that can cause "permission denied" even when file permissions allow. The fact this is a snap package already makes me suspicious this is a mounting issue. Please add an example of where you are trying. Also copy the exact message from the command line. "Permission denied" is rarely printed on a line on its own. If you are doing anything to change user at your terminal, beyond your regular login please state that also.
– Philip Couling
Feb 17 at 9:38
1
You're right, Philip. It's a mounting issue. I've tried to change folder which is located at the same drive as home folder. And it works. I've used defaults in fstab mounting (ext4). Still finding solution by trying different mount options, but your help is very valuable. Thx a lot.
– Роман Голдованський
Feb 18 at 9:29
1
SOLVED! Have to "snap connect" interface removable-media.
– Роман Голдованський
Feb 18 at 12:01
add a comment |
Try to capture RTSP stream with ffmpeg. Everything goes nice, if I save video to my home folder. Can't save to another directory. ffmpeg says 'Permission denied' even directory premission is 777.
In short:
ffmpeg -i 'rtsp://192.168.0.161:554/11' -c:v copy -an new.mp4
good
ffmpeg -i 'rtsp://192.168.0.161:554/11' -c:v copy -an folder777/new.mp4
Ubuntu Server 18.04.02. ffmpeg snap package v.4.1.
Any suggestion?
permissions ffmpeg
Try to capture RTSP stream with ffmpeg. Everything goes nice, if I save video to my home folder. Can't save to another directory. ffmpeg says 'Permission denied' even directory premission is 777.
In short:
ffmpeg -i 'rtsp://192.168.0.161:554/11' -c:v copy -an new.mp4
good
ffmpeg -i 'rtsp://192.168.0.161:554/11' -c:v copy -an folder777/new.mp4
Ubuntu Server 18.04.02. ffmpeg snap package v.4.1.
Any suggestion?
permissions ffmpeg
permissions ffmpeg
asked Feb 14 at 13:29
Роман ГолдованськийРоман Голдованський
123
123
2
Which folder are you trying to save to? There are other reasons than file permissions for getting "permission denied".
– Philip Couling
Feb 14 at 13:48
No matter which folder is. I've tried different folders and diffrrent styles (short: folder/new.mp4; full: /home/user/folder/new.mp4) It can write to home folder (/home/user/) only. What reasons are you talking about? I'd like to listen it.
– Роман Голдованський
Feb 16 at 23:53
2
You've missed my point. There are certain things like fusermount that can cause "permission denied" even when file permissions allow. The fact this is a snap package already makes me suspicious this is a mounting issue. Please add an example of where you are trying. Also copy the exact message from the command line. "Permission denied" is rarely printed on a line on its own. If you are doing anything to change user at your terminal, beyond your regular login please state that also.
– Philip Couling
Feb 17 at 9:38
1
You're right, Philip. It's a mounting issue. I've tried to change folder which is located at the same drive as home folder. And it works. I've used defaults in fstab mounting (ext4). Still finding solution by trying different mount options, but your help is very valuable. Thx a lot.
– Роман Голдованський
Feb 18 at 9:29
1
SOLVED! Have to "snap connect" interface removable-media.
– Роман Голдованський
Feb 18 at 12:01
add a comment |
2
Which folder are you trying to save to? There are other reasons than file permissions for getting "permission denied".
– Philip Couling
Feb 14 at 13:48
No matter which folder is. I've tried different folders and diffrrent styles (short: folder/new.mp4; full: /home/user/folder/new.mp4) It can write to home folder (/home/user/) only. What reasons are you talking about? I'd like to listen it.
– Роман Голдованський
Feb 16 at 23:53
2
You've missed my point. There are certain things like fusermount that can cause "permission denied" even when file permissions allow. The fact this is a snap package already makes me suspicious this is a mounting issue. Please add an example of where you are trying. Also copy the exact message from the command line. "Permission denied" is rarely printed on a line on its own. If you are doing anything to change user at your terminal, beyond your regular login please state that also.
– Philip Couling
Feb 17 at 9:38
1
You're right, Philip. It's a mounting issue. I've tried to change folder which is located at the same drive as home folder. And it works. I've used defaults in fstab mounting (ext4). Still finding solution by trying different mount options, but your help is very valuable. Thx a lot.
– Роман Голдованський
Feb 18 at 9:29
1
SOLVED! Have to "snap connect" interface removable-media.
– Роман Голдованський
Feb 18 at 12:01
2
2
Which folder are you trying to save to? There are other reasons than file permissions for getting "permission denied".
– Philip Couling
Feb 14 at 13:48
Which folder are you trying to save to? There are other reasons than file permissions for getting "permission denied".
– Philip Couling
Feb 14 at 13:48
No matter which folder is. I've tried different folders and diffrrent styles (short: folder/new.mp4; full: /home/user/folder/new.mp4) It can write to home folder (/home/user/) only. What reasons are you talking about? I'd like to listen it.
– Роман Голдованський
Feb 16 at 23:53
No matter which folder is. I've tried different folders and diffrrent styles (short: folder/new.mp4; full: /home/user/folder/new.mp4) It can write to home folder (/home/user/) only. What reasons are you talking about? I'd like to listen it.
– Роман Голдованський
Feb 16 at 23:53
2
2
You've missed my point. There are certain things like fusermount that can cause "permission denied" even when file permissions allow. The fact this is a snap package already makes me suspicious this is a mounting issue. Please add an example of where you are trying. Also copy the exact message from the command line. "Permission denied" is rarely printed on a line on its own. If you are doing anything to change user at your terminal, beyond your regular login please state that also.
– Philip Couling
Feb 17 at 9:38
You've missed my point. There are certain things like fusermount that can cause "permission denied" even when file permissions allow. The fact this is a snap package already makes me suspicious this is a mounting issue. Please add an example of where you are trying. Also copy the exact message from the command line. "Permission denied" is rarely printed on a line on its own. If you are doing anything to change user at your terminal, beyond your regular login please state that also.
– Philip Couling
Feb 17 at 9:38
1
1
You're right, Philip. It's a mounting issue. I've tried to change folder which is located at the same drive as home folder. And it works. I've used defaults in fstab mounting (ext4). Still finding solution by trying different mount options, but your help is very valuable. Thx a lot.
– Роман Голдованський
Feb 18 at 9:29
You're right, Philip. It's a mounting issue. I've tried to change folder which is located at the same drive as home folder. And it works. I've used defaults in fstab mounting (ext4). Still finding solution by trying different mount options, but your help is very valuable. Thx a lot.
– Роман Голдованський
Feb 18 at 9:29
1
1
SOLVED! Have to "snap connect" interface removable-media.
– Роман Голдованський
Feb 18 at 12:01
SOLVED! Have to "snap connect" interface removable-media.
– Роман Голдованський
Feb 18 at 12:01
add a comment |
1 Answer
1
active
oldest
votes
The thing is I've tried to save video to the folders located at mounted partition. And my snap package have no connection to interface "removable-media". After connection everything works great.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f500623%2fffmpeg-permissions-trouble%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The thing is I've tried to save video to the folders located at mounted partition. And my snap package have no connection to interface "removable-media". After connection everything works great.
add a comment |
The thing is I've tried to save video to the folders located at mounted partition. And my snap package have no connection to interface "removable-media". After connection everything works great.
add a comment |
The thing is I've tried to save video to the folders located at mounted partition. And my snap package have no connection to interface "removable-media". After connection everything works great.
The thing is I've tried to save video to the folders located at mounted partition. And my snap package have no connection to interface "removable-media". After connection everything works great.
answered Feb 18 at 13:06
Роман ГолдованськийРоман Голдованський
123
123
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f500623%2fffmpeg-permissions-trouble%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Which folder are you trying to save to? There are other reasons than file permissions for getting "permission denied".
– Philip Couling
Feb 14 at 13:48
No matter which folder is. I've tried different folders and diffrrent styles (short: folder/new.mp4; full: /home/user/folder/new.mp4) It can write to home folder (/home/user/) only. What reasons are you talking about? I'd like to listen it.
– Роман Голдованський
Feb 16 at 23:53
2
You've missed my point. There are certain things like fusermount that can cause "permission denied" even when file permissions allow. The fact this is a snap package already makes me suspicious this is a mounting issue. Please add an example of where you are trying. Also copy the exact message from the command line. "Permission denied" is rarely printed on a line on its own. If you are doing anything to change user at your terminal, beyond your regular login please state that also.
– Philip Couling
Feb 17 at 9:38
1
You're right, Philip. It's a mounting issue. I've tried to change folder which is located at the same drive as home folder. And it works. I've used defaults in fstab mounting (ext4). Still finding solution by trying different mount options, but your help is very valuable. Thx a lot.
– Роман Голдованський
Feb 18 at 9:29
1
SOLVED! Have to "snap connect" interface removable-media.
– Роман Голдованський
Feb 18 at 12:01