ffmpeg not working with filename have whitespace
My file name is a folder with image series (image_0001.png,image_0002.png...)
/storage/emulated/0/My Image/image_%04d.png
I tried with quote ""
-i "/storage/emulated/0/My Image/image_%04d.png"
and %20
-i /storage/emulated/0/My%20Image/image_%04d.png
But it not working. How can i do this ?
My command
-f image2 -i /storage/emulated/0/background.png -i /data/user/0/My Image/image_%04d.png -filter_complex [1:v]scale=200.0:200.0[scale];[0:v][scale]overlay=0.0:0.0 /storage/emulated/0/output.mp4
Error
: /data/user/0/My: No such file or directory
java android ffmpeg whitespace
add a comment |
My file name is a folder with image series (image_0001.png,image_0002.png...)
/storage/emulated/0/My Image/image_%04d.png
I tried with quote ""
-i "/storage/emulated/0/My Image/image_%04d.png"
and %20
-i /storage/emulated/0/My%20Image/image_%04d.png
But it not working. How can i do this ?
My command
-f image2 -i /storage/emulated/0/background.png -i /data/user/0/My Image/image_%04d.png -filter_complex [1:v]scale=200.0:200.0[scale];[0:v][scale]overlay=0.0:0.0 /storage/emulated/0/output.mp4
Error
: /data/user/0/My: No such file or directory
java android ffmpeg whitespace
How do you execute this command on your android phone? Through java code? adb shell? a terminal emulator?
– oguzismail
Nov 20 '18 at 10:04
@oguzismail i use lib FFmpegAndroid-0.3.2
– Young King
Nov 20 '18 at 10:11
1
I found my issue solution in Here
– Young King
Nov 21 '18 at 4:35
add a comment |
My file name is a folder with image series (image_0001.png,image_0002.png...)
/storage/emulated/0/My Image/image_%04d.png
I tried with quote ""
-i "/storage/emulated/0/My Image/image_%04d.png"
and %20
-i /storage/emulated/0/My%20Image/image_%04d.png
But it not working. How can i do this ?
My command
-f image2 -i /storage/emulated/0/background.png -i /data/user/0/My Image/image_%04d.png -filter_complex [1:v]scale=200.0:200.0[scale];[0:v][scale]overlay=0.0:0.0 /storage/emulated/0/output.mp4
Error
: /data/user/0/My: No such file or directory
java android ffmpeg whitespace
My file name is a folder with image series (image_0001.png,image_0002.png...)
/storage/emulated/0/My Image/image_%04d.png
I tried with quote ""
-i "/storage/emulated/0/My Image/image_%04d.png"
and %20
-i /storage/emulated/0/My%20Image/image_%04d.png
But it not working. How can i do this ?
My command
-f image2 -i /storage/emulated/0/background.png -i /data/user/0/My Image/image_%04d.png -filter_complex [1:v]scale=200.0:200.0[scale];[0:v][scale]overlay=0.0:0.0 /storage/emulated/0/output.mp4
Error
: /data/user/0/My: No such file or directory
java android ffmpeg whitespace
java android ffmpeg whitespace
edited Nov 20 '18 at 9:35
Young King
asked Nov 20 '18 at 8:42
Young KingYoung King
308
308
How do you execute this command on your android phone? Through java code? adb shell? a terminal emulator?
– oguzismail
Nov 20 '18 at 10:04
@oguzismail i use lib FFmpegAndroid-0.3.2
– Young King
Nov 20 '18 at 10:11
1
I found my issue solution in Here
– Young King
Nov 21 '18 at 4:35
add a comment |
How do you execute this command on your android phone? Through java code? adb shell? a terminal emulator?
– oguzismail
Nov 20 '18 at 10:04
@oguzismail i use lib FFmpegAndroid-0.3.2
– Young King
Nov 20 '18 at 10:11
1
I found my issue solution in Here
– Young King
Nov 21 '18 at 4:35
How do you execute this command on your android phone? Through java code? adb shell? a terminal emulator?
– oguzismail
Nov 20 '18 at 10:04
How do you execute this command on your android phone? Through java code? adb shell? a terminal emulator?
– oguzismail
Nov 20 '18 at 10:04
@oguzismail i use lib FFmpegAndroid-0.3.2
– Young King
Nov 20 '18 at 10:11
@oguzismail i use lib FFmpegAndroid-0.3.2
– Young King
Nov 20 '18 at 10:11
1
1
I found my issue solution in Here
– Young King
Nov 21 '18 at 4:35
I found my issue solution in Here
– Young King
Nov 21 '18 at 4:35
add a comment |
1 Answer
1
active
oldest
votes
ffmpeg has special rules for quoting and escaping. Found here on their website.
So using quotes (' ') should work for you.
I tried but it not working . ffmpeg still get whitespace /storage/emulated/0/My: No such file or directory
– Young King
Nov 20 '18 at 9:13
can you please edit your question and add the piece of code you are using?
– dermaschder
Nov 20 '18 at 9:29
i added my command
– Young King
Nov 20 '18 at 9:37
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2fstackoverflow.com%2fquestions%2f53389138%2fffmpeg-not-working-with-filename-have-whitespace%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
ffmpeg has special rules for quoting and escaping. Found here on their website.
So using quotes (' ') should work for you.
I tried but it not working . ffmpeg still get whitespace /storage/emulated/0/My: No such file or directory
– Young King
Nov 20 '18 at 9:13
can you please edit your question and add the piece of code you are using?
– dermaschder
Nov 20 '18 at 9:29
i added my command
– Young King
Nov 20 '18 at 9:37
add a comment |
ffmpeg has special rules for quoting and escaping. Found here on their website.
So using quotes (' ') should work for you.
I tried but it not working . ffmpeg still get whitespace /storage/emulated/0/My: No such file or directory
– Young King
Nov 20 '18 at 9:13
can you please edit your question and add the piece of code you are using?
– dermaschder
Nov 20 '18 at 9:29
i added my command
– Young King
Nov 20 '18 at 9:37
add a comment |
ffmpeg has special rules for quoting and escaping. Found here on their website.
So using quotes (' ') should work for you.
ffmpeg has special rules for quoting and escaping. Found here on their website.
So using quotes (' ') should work for you.
edited Nov 20 '18 at 9:58
answered Nov 20 '18 at 9:04
dermaschderdermaschder
438
438
I tried but it not working . ffmpeg still get whitespace /storage/emulated/0/My: No such file or directory
– Young King
Nov 20 '18 at 9:13
can you please edit your question and add the piece of code you are using?
– dermaschder
Nov 20 '18 at 9:29
i added my command
– Young King
Nov 20 '18 at 9:37
add a comment |
I tried but it not working . ffmpeg still get whitespace /storage/emulated/0/My: No such file or directory
– Young King
Nov 20 '18 at 9:13
can you please edit your question and add the piece of code you are using?
– dermaschder
Nov 20 '18 at 9:29
i added my command
– Young King
Nov 20 '18 at 9:37
I tried but it not working . ffmpeg still get whitespace /storage/emulated/0/My: No such file or directory
– Young King
Nov 20 '18 at 9:13
I tried but it not working . ffmpeg still get whitespace /storage/emulated/0/My: No such file or directory
– Young King
Nov 20 '18 at 9:13
can you please edit your question and add the piece of code you are using?
– dermaschder
Nov 20 '18 at 9:29
can you please edit your question and add the piece of code you are using?
– dermaschder
Nov 20 '18 at 9:29
i added my command
– Young King
Nov 20 '18 at 9:37
i added my command
– Young King
Nov 20 '18 at 9:37
add a comment |
Thanks for contributing an answer to Stack Overflow!
- 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%2fstackoverflow.com%2fquestions%2f53389138%2fffmpeg-not-working-with-filename-have-whitespace%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
How do you execute this command on your android phone? Through java code? adb shell? a terminal emulator?
– oguzismail
Nov 20 '18 at 10:04
@oguzismail i use lib FFmpegAndroid-0.3.2
– Young King
Nov 20 '18 at 10:11
1
I found my issue solution in Here
– Young King
Nov 21 '18 at 4:35