Converting images into video using FFMPEG using a Batch script [closed]











up vote
-3
down vote

favorite












I'm using ffmpeg to convert a list of image into a video, I write a batch script to to the job, but it didn't works



ffmpeg -f image2 -start_number n -i "IMG0%%.jpg" video.mpg 
-vcodec mpeg4 test.avi


Could anyone help please ?
Thank you










share|improve this question













closed as unclear what you're asking by LordNeckbeard, fixer1234, bertieb, VL-80, G-Man Dec 2 at 4:38


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.











  • 1




    Instead of saying it "didn't work" you should always provide the actual errors.
    – LordNeckbeard
    Jan 24 '17 at 18:25










  • Is "n" a placeholder for a number that you need to specify but didn't?
    – fixer1234
    Dec 1 at 2:56















up vote
-3
down vote

favorite












I'm using ffmpeg to convert a list of image into a video, I write a batch script to to the job, but it didn't works



ffmpeg -f image2 -start_number n -i "IMG0%%.jpg" video.mpg 
-vcodec mpeg4 test.avi


Could anyone help please ?
Thank you










share|improve this question













closed as unclear what you're asking by LordNeckbeard, fixer1234, bertieb, VL-80, G-Man Dec 2 at 4:38


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.











  • 1




    Instead of saying it "didn't work" you should always provide the actual errors.
    – LordNeckbeard
    Jan 24 '17 at 18:25










  • Is "n" a placeholder for a number that you need to specify but didn't?
    – fixer1234
    Dec 1 at 2:56













up vote
-3
down vote

favorite









up vote
-3
down vote

favorite











I'm using ffmpeg to convert a list of image into a video, I write a batch script to to the job, but it didn't works



ffmpeg -f image2 -start_number n -i "IMG0%%.jpg" video.mpg 
-vcodec mpeg4 test.avi


Could anyone help please ?
Thank you










share|improve this question













I'm using ffmpeg to convert a list of image into a video, I write a batch script to to the job, but it didn't works



ffmpeg -f image2 -start_number n -i "IMG0%%.jpg" video.mpg 
-vcodec mpeg4 test.avi


Could anyone help please ?
Thank you







ffmpeg script video-conversion






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 24 '17 at 14:40









Nabil Safir

42




42




closed as unclear what you're asking by LordNeckbeard, fixer1234, bertieb, VL-80, G-Man Dec 2 at 4:38


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as unclear what you're asking by LordNeckbeard, fixer1234, bertieb, VL-80, G-Man Dec 2 at 4:38


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 1




    Instead of saying it "didn't work" you should always provide the actual errors.
    – LordNeckbeard
    Jan 24 '17 at 18:25










  • Is "n" a placeholder for a number that you need to specify but didn't?
    – fixer1234
    Dec 1 at 2:56














  • 1




    Instead of saying it "didn't work" you should always provide the actual errors.
    – LordNeckbeard
    Jan 24 '17 at 18:25










  • Is "n" a placeholder for a number that you need to specify but didn't?
    – fixer1234
    Dec 1 at 2:56








1




1




Instead of saying it "didn't work" you should always provide the actual errors.
– LordNeckbeard
Jan 24 '17 at 18:25




Instead of saying it "didn't work" you should always provide the actual errors.
– LordNeckbeard
Jan 24 '17 at 18:25












Is "n" a placeholder for a number that you need to specify but didn't?
– fixer1234
Dec 1 at 2:56




Is "n" a placeholder for a number that you need to specify but didn't?
– fixer1234
Dec 1 at 2:56










1 Answer
1






active

oldest

votes

















up vote
1
down vote













This command:



ffmpeg -framerate 24 -i img%03d.jpg video.mpg


Will read files img001.jpg, img002.jpg, img003.jpg, etc, and output them to a mpg video file, at 24 frames per second.



Of course you can change that to mp4 by just changing the output extension.'



For more info search for slideshow






share|improve this answer




























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    This command:



    ffmpeg -framerate 24 -i img%03d.jpg video.mpg


    Will read files img001.jpg, img002.jpg, img003.jpg, etc, and output them to a mpg video file, at 24 frames per second.



    Of course you can change that to mp4 by just changing the output extension.'



    For more info search for slideshow






    share|improve this answer

























      up vote
      1
      down vote













      This command:



      ffmpeg -framerate 24 -i img%03d.jpg video.mpg


      Will read files img001.jpg, img002.jpg, img003.jpg, etc, and output them to a mpg video file, at 24 frames per second.



      Of course you can change that to mp4 by just changing the output extension.'



      For more info search for slideshow






      share|improve this answer























        up vote
        1
        down vote










        up vote
        1
        down vote









        This command:



        ffmpeg -framerate 24 -i img%03d.jpg video.mpg


        Will read files img001.jpg, img002.jpg, img003.jpg, etc, and output them to a mpg video file, at 24 frames per second.



        Of course you can change that to mp4 by just changing the output extension.'



        For more info search for slideshow






        share|improve this answer












        This command:



        ffmpeg -framerate 24 -i img%03d.jpg video.mpg


        Will read files img001.jpg, img002.jpg, img003.jpg, etc, and output them to a mpg video file, at 24 frames per second.



        Of course you can change that to mp4 by just changing the output extension.'



        For more info search for slideshow







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 24 '17 at 15:30









        glfabro

        19629




        19629















            Popular posts from this blog

            "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

            Alcedinidae

            RAC Tourist Trophy