No such file or directory in Android ffmpeg cli

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

No such file or directory in Android ffmpeg cli

fernando guerrero
Hi, this is my first try in ffmpeg, and I'm trying in Android ffmpeg cli
app.

I want to embed subtitles in srt to an mp4 movie and return "no such
directory or file"
They are both in the same folder.
 What I'm using is

ffmpeg -i /internal storage/Download/blackkk.mp4 -f srt -i /internal
storage/Download/blackkk.srt -c:v copy -c:a copy -c:s mov_text /internal
storage/Download/blackkksub.mp4

I want to know what I'm doing wrong

Thanks
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: No such file or directory in Android ffmpeg cli

Micael Silva
On Mon, 25 Nov 2019, 00:47 fernando guerrero, <[hidden email]> wrote:

> Hi, this is my first try in ffmpeg, and I'm trying in Android ffmpeg cli
> app.
>
> I want to embed subtitles in srt to an mp4 movie and return "no such
> directory or file"
> They are both in the same folder.
>  What I'm using is
>
> ffmpeg -i /internal storage/Download/blackkk.mp4 -f srt -i /internal
> storage/Download/blackkk.srt -c:v copy -c:a copy -c:s mov_text /internal
> storage/Download/blackkksub.mp4
>
> I want to know what I'm doing wrong
>
> Thanks
> __________________________________
>

If there is a space inside the nmme of the folder or file you have to use
quotes, otherwise it will be not understood by the system

>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: No such file or directory in Android ffmpeg cli

fernando guerrero
Ok, thanks for reply

Now I use

-i /"internal storage" /Download/blackkk.mp4 -f srt -i /"internal
storage"/Download/blackkk.srt -c:v copy -c:a copy -c:s mov_text /"internal
storage"/Download/blackkksubs.mp4


And returns

/: Permission denied

On Mon, Nov 25, 2019, 07:36 Micael Silva <[hidden email]> wrote:

> On Mon, 25 Nov 2019, 00:47 fernando guerrero, <[hidden email]>
> wrote:
>
> > Hi, this is my first try in ffmpeg, and I'm trying in Android ffmpeg cli
> > app.
> >
> > I want to embed subtitles in srt to an mp4 movie and return "no such
> > directory or file"
> > They are both in the same folder.
> >  What I'm using is
> >
> > ffmpeg -i /internal storage/Download/blackkk.mp4 -f srt -i /internal
> > storage/Download/blackkk.srt -c:v copy -c:a copy -c:s mov_text /internal
> > storage/Download/blackkksub.mp4
> >
> > I want to know what I'm doing wrong
> >
> > Thanks
> > __________________________________
> >
>
> If there is a space inside the nmme of the folder or file you have to use
> quotes, otherwise it will be not understood by the system
>
> >
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: No such file or directory in Android ffmpeg cli

Micael Silva
On Mon, 25 Nov 2019, 22:54 fernando guerrero, <[hidden email]> wrote:

> Ok, thanks for reply
>
> Now I use
>
> -i /"internal storage" /Download/blackkk.mp4 -f srt -i /"internal
> storage"/Download/blackkk.srt -c:v copy -c:a copy -c:s mov_text /"internal
> storage"/Download/blackkksubs.mp4
>
>
> And returns
>
> /: Permission denied
>
>
Use quotes between the whole path. Like:
>

-i "/internal storage/Download/blackkk.mp4" -f srt -i "/internal
storage/Download/blackkk.srt"
-c:v copy -c:a copy -c:s mov_text "/internal
storage/Download/blackkksubs.mp4"

>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: No such file or directory in Android ffmpeg cli

fernando guerrero
Thanks very Micael for your assistance, the main problem was the path,
looks like android hide the true path, I found the real with a video player
app

On Tue, Nov 26, 2019, 00:29 Micael Silva <[hidden email]> wrote:

> On Mon, 25 Nov 2019, 22:54 fernando guerrero, <[hidden email]>
> wrote:
>
> > Ok, thanks for reply
> >
> > Now I use
> >
> > -i /"internal storage" /Download/blackkk.mp4 -f srt -i /"internal
> > storage"/Download/blackkk.srt -c:v copy -c:a copy -c:s mov_text
> /"internal
> > storage"/Download/blackkksubs.mp4
> >
> >
> > And returns
> >
> > /: Permission denied
> >
> >
> Use quotes between the whole path. Like:
> >
>
> -i "/internal storage/Download/blackkk.mp4" -f srt -i "/internal
> storage/Download/blackkk.srt"
> -c:v copy -c:a copy -c:s mov_text "/internal
> storage/Download/blackkksubs.mp4"
>
> >
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".