issue with compressing images to video

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

issue with compressing images to video

Henry Mosher
Hi, I am getting an error when I try to compress a set of images into a
video, in order based on the number of the filename, after writing the
images from Natron. (I am using Mac OSX)

I'm using the command :
ffmpeg -framerate 24 -i img-%02d.jpg output.avi

The files are named "img-01, img-02, etc...) with ## padding.

The error is : "no such file or directory exists"
I have tried setting "start_number 01" to no avail. I also tried writing
out the path. If it helps, the folder is located on the desktop. I also
tried simpy converting a video, but got the same input error. It seems like
ffmpeg does not know where to look for input files.

I've found other people with this problem online but found no workable
solutions. If you have any ideas I'd be happy to hear them --

Thanks,
Henry
_______________________________________________
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: issue with compressing images to video

jamie
Try something like

ffmpeg -framerate 24 -start_number 1 -start_number_range 3 -i
"/Users/UserName/Desktop/img-%02d.jpg" -y /Users/UserName/Desktop/output.avi



On Wed, Mar 6, 2019 at 2:37 PM Henry Mosher <[hidden email]>
wrote:

> Hi, I am getting an error when I try to compress a set of images into a
> video, in order based on the number of the filename, after writing the
> images from Natron. (I am using Mac OSX)
>
> I'm using the command :
> ffmpeg -framerate 24 -i img-%02d.jpg output.avi
>
> The files are named "img-01, img-02, etc...) with ## padding.
>
> The error is : "no such file or directory exists"
> I have tried setting "start_number 01" to no avail. I also tried writing
> out the path. If it helps, the folder is located on the desktop. I also
> tried simpy converting a video, but got the same input error. It seems like
> ffmpeg does not know where to look for input files.
>
> I've found other people with this problem online but found no workable
> solutions. If you have any ideas I'd be happy to hear them --
>
> Thanks,
> Henry
> _______________________________________________
> 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: issue with compressing images to video

Lou Logan
In reply to this post by Henry Mosher
On Wed, Mar 6, 2019, at 1:37 PM, Henry Mosher wrote:

> Hi, I am getting an error when I try to compress a set of images into a
> video, in order based on the number of the filename, after writing the
> images from Natron. (I am using Mac OSX)
>
> I'm using the command :
> ffmpeg -framerate 24 -i img-%02d.jpg output.avi
>
> The files are named "img-01, img-02, etc...) with ## padding.
>
> The error is : "no such file or directory exists"
> I have tried setting "start_number 01" to no avail. I also tried writing
> out the path. If it helps, the folder is located on the desktop. I also
> tried simpy converting a video, but got the same input error. It seems like
> ffmpeg does not know where to look for input files.
>
> I've found other people with this problem online but found no workable
> solutions. If you have any ideas I'd be happy to hear them --

Works for me. Ensure you are in the proper directory.

Show the complete console output from your command.

List the directory contents containing the images, or at least list some of them:
ls | head -n10
_______________________________________________
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: issue with compressing images to video

Henry Mosher
In reply to this post by jamie
Thank you for the quick response, this fix worked! I guess I needed to
specify the output path and range. Thank you so much, you just cured my
migraine --henry

On Wed, Mar 6, 2019 at 5:08 PM jamie <[hidden email]> wrote:

> Try something like
>
> ffmpeg -framerate 24 -start_number 1 -start_number_range 3 -i
> "/Users/UserName/Desktop/img-%02d.jpg" -y
> /Users/UserName/Desktop/output.avi
>
>
>
> On Wed, Mar 6, 2019 at 2:37 PM Henry Mosher <[hidden email]>
> wrote:
>
> > Hi, I am getting an error when I try to compress a set of images into a
> > video, in order based on the number of the filename, after writing the
> > images from Natron. (I am using Mac OSX)
> >
> > I'm using the command :
> > ffmpeg -framerate 24 -i img-%02d.jpg output.avi
> >
> > The files are named "img-01, img-02, etc...) with ## padding.
> >
> > The error is : "no such file or directory exists"
> > I have tried setting "start_number 01" to no avail. I also tried writing
> > out the path. If it helps, the folder is located on the desktop. I also
> > tried simpy converting a video, but got the same input error. It seems
> like
> > ffmpeg does not know where to look for input files.
> >
> > I've found other people with this problem online but found no workable
> > solutions. If you have any ideas I'd be happy to hear them --
> >
> > Thanks,
> > Henry
> > _______________________________________________
> > 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".
_______________________________________________
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".
tth
Reply | Threaded
Open this post in threaded view
|

Re: issue with compressing images to video

tth
In reply to this post by Henry Mosher
Le 06/03/2019 23:37:01, Henry Mosher a écrit :

> ffmpeg -framerate 24 -i img-%02d.jpg output.avi

> I've found other people with this problem online but found no workable
> solutions. If you have any ideas I'd be happy to hear them --

   copy img-01.jpg to img-00.jpg and rerun your command ?


--
THSF 2019 AD Neo Tokyo. contre-fin du monde (welcome in Chiba)
    #cosplay    https://www.thsf.net/appel.html    #fermionique
_______________________________________________
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".