FFMPEG get last 20 seconds from multiple videos with different lengths [duplicate]FFMPEG: get last 10 secondsffmpeg - create video from images - has no audio in output videoffmpeg commands to concatenate different type and resolution videos into 1 video and can be played in androidCutting the videos based on start and end time using ffmpegplaying video while encoding with ffmpegHow to successfully use ffmpeg to convert images into videosManipulating one video into multi outputs with FFmpeg results in no audio in the last outputHow to compose 2 videos by using FFmpeg hstack filter?How to convert webp images to MP4 video using ffmpegTrying to concatenate very large video files with ffmpegMerging two mp4 videos using ffmpeg

What percentage of fillings performed today are done with mercury amalgam?

lightning-datatable row number error

New brakes for 90s road bike

Multiplicative persistence

Symbol used to indicate indivisibility

Count the occurrence of each unique word in the file

If infinitesimal transformations commute why dont the generators of the Lorentz group commute?

Loading commands from file

Is aluminum electrical wire used on aircraft?

Removing files under particular conditions (number of files, file age)

Are Captain Marvel's powers affected by Thanos' actions in Avengers: Infinity War?

Electoral considerations aside, what are potential benefits, for the US, of policy changes proposed by the tweet recognizing Golan annexation?

250 Floor Tower

How much character growth crosses the line into breaking the character

Why did the EU agree to delay the Brexit deadline?

Closed-form expression for certain product

Which one is correct as adjective “protruding” or “protruded”?

Rising and falling intonation

Why does the Sun have different day lengths, but not the gas giants?

Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?

L1 and Ln cache: when are they written?

Did Swami Prabhupada reject Advaita?

Are paving bricks differently sized for sand bedding vs mortar bedding?

What is this called? Old film camera viewer?



FFMPEG get last 20 seconds from multiple videos with different lengths [duplicate]


FFMPEG: get last 10 secondsffmpeg - create video from images - has no audio in output videoffmpeg commands to concatenate different type and resolution videos into 1 video and can be played in androidCutting the videos based on start and end time using ffmpegplaying video while encoding with ffmpegHow to successfully use ffmpeg to convert images into videosManipulating one video into multi outputs with FFmpeg results in no audio in the last outputHow to compose 2 videos by using FFmpeg hstack filter?How to convert webp images to MP4 video using ffmpegTrying to concatenate very large video files with ffmpegMerging two mp4 videos using ffmpeg













0
















This question already has an answer here:



  • FFMPEG: get last 10 seconds [closed]

    1 answer



Hello I am trying to get last 20 seconds of videos.
Lets say the folder has 100 videos with various lenghts of one video (form 30 seconds to 10 minutes).
Friend recommended me FFMPEG and gave me .bat file with sample commands but it doesn't work.



ffmpeg -sseof -20 -i D:videos*.mp4 output.mp4


It gives me this error
error










share|improve this question









New contributor




Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











marked as duplicate by Gerhard Barnard, Squashman, Compo, Pearly Spencer, ekad yesterday


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • This is not a batch-file error, it is an ffmpeg error and it is pretty clear :) so move the input options to where they belong and output where they belong.

    – Gerhard Barnard
    2 days ago







  • 1





    ffmpeg doesn't work with wildcards in video filenames.

    – Gyan
    2 days ago






  • 1





    Start with for %%a in (D:videos*.mp4) do D:ffmpegbinffmpeg.exe -sseof -20 -i "%%a"...

    – Gyan
    2 days ago






  • 1





    You had all the correct code in your original question. All you had to do was change the Ffmpeg syntax. Go back and look at your original code in your question before you blew it up.

    – Squashman
    2 days ago






  • 1





    Please add code and data as text (using code formatting), not images. Images: A) don't allow us to copy-&-paste the code/errors/data for testing; B) don't permit searching based on the code/error/data contents; and many more reasons. Images should only be used, in addition to text in code format, if having the image adds something significant that is not conveyed by just the text code/error/data.

    – double-beep
    2 days ago















0
















This question already has an answer here:



  • FFMPEG: get last 10 seconds [closed]

    1 answer



Hello I am trying to get last 20 seconds of videos.
Lets say the folder has 100 videos with various lenghts of one video (form 30 seconds to 10 minutes).
Friend recommended me FFMPEG and gave me .bat file with sample commands but it doesn't work.



ffmpeg -sseof -20 -i D:videos*.mp4 output.mp4


It gives me this error
error










share|improve this question









New contributor




Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











marked as duplicate by Gerhard Barnard, Squashman, Compo, Pearly Spencer, ekad yesterday


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • This is not a batch-file error, it is an ffmpeg error and it is pretty clear :) so move the input options to where they belong and output where they belong.

    – Gerhard Barnard
    2 days ago







  • 1





    ffmpeg doesn't work with wildcards in video filenames.

    – Gyan
    2 days ago






  • 1





    Start with for %%a in (D:videos*.mp4) do D:ffmpegbinffmpeg.exe -sseof -20 -i "%%a"...

    – Gyan
    2 days ago






  • 1





    You had all the correct code in your original question. All you had to do was change the Ffmpeg syntax. Go back and look at your original code in your question before you blew it up.

    – Squashman
    2 days ago






  • 1





    Please add code and data as text (using code formatting), not images. Images: A) don't allow us to copy-&-paste the code/errors/data for testing; B) don't permit searching based on the code/error/data contents; and many more reasons. Images should only be used, in addition to text in code format, if having the image adds something significant that is not conveyed by just the text code/error/data.

    – double-beep
    2 days ago













0












0








0









This question already has an answer here:



  • FFMPEG: get last 10 seconds [closed]

    1 answer



Hello I am trying to get last 20 seconds of videos.
Lets say the folder has 100 videos with various lenghts of one video (form 30 seconds to 10 minutes).
Friend recommended me FFMPEG and gave me .bat file with sample commands but it doesn't work.



ffmpeg -sseof -20 -i D:videos*.mp4 output.mp4


It gives me this error
error










share|improve this question









New contributor




Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













This question already has an answer here:



  • FFMPEG: get last 10 seconds [closed]

    1 answer



Hello I am trying to get last 20 seconds of videos.
Lets say the folder has 100 videos with various lenghts of one video (form 30 seconds to 10 minutes).
Friend recommended me FFMPEG and gave me .bat file with sample commands but it doesn't work.



ffmpeg -sseof -20 -i D:videos*.mp4 output.mp4


It gives me this error
error





This question already has an answer here:



  • FFMPEG: get last 10 seconds [closed]

    1 answer







batch-file video ffmpeg mp4 trim






share|improve this question









New contributor




Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 days ago







Oliver Svrček













New contributor




Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









Oliver SvrčekOliver Svrček

11




11




New contributor




Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




marked as duplicate by Gerhard Barnard, Squashman, Compo, Pearly Spencer, ekad yesterday


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by Gerhard Barnard, Squashman, Compo, Pearly Spencer, ekad yesterday


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • This is not a batch-file error, it is an ffmpeg error and it is pretty clear :) so move the input options to where they belong and output where they belong.

    – Gerhard Barnard
    2 days ago







  • 1





    ffmpeg doesn't work with wildcards in video filenames.

    – Gyan
    2 days ago






  • 1





    Start with for %%a in (D:videos*.mp4) do D:ffmpegbinffmpeg.exe -sseof -20 -i "%%a"...

    – Gyan
    2 days ago






  • 1





    You had all the correct code in your original question. All you had to do was change the Ffmpeg syntax. Go back and look at your original code in your question before you blew it up.

    – Squashman
    2 days ago






  • 1





    Please add code and data as text (using code formatting), not images. Images: A) don't allow us to copy-&-paste the code/errors/data for testing; B) don't permit searching based on the code/error/data contents; and many more reasons. Images should only be used, in addition to text in code format, if having the image adds something significant that is not conveyed by just the text code/error/data.

    – double-beep
    2 days ago

















  • This is not a batch-file error, it is an ffmpeg error and it is pretty clear :) so move the input options to where they belong and output where they belong.

    – Gerhard Barnard
    2 days ago







  • 1





    ffmpeg doesn't work with wildcards in video filenames.

    – Gyan
    2 days ago






  • 1





    Start with for %%a in (D:videos*.mp4) do D:ffmpegbinffmpeg.exe -sseof -20 -i "%%a"...

    – Gyan
    2 days ago






  • 1





    You had all the correct code in your original question. All you had to do was change the Ffmpeg syntax. Go back and look at your original code in your question before you blew it up.

    – Squashman
    2 days ago






  • 1





    Please add code and data as text (using code formatting), not images. Images: A) don't allow us to copy-&-paste the code/errors/data for testing; B) don't permit searching based on the code/error/data contents; and many more reasons. Images should only be used, in addition to text in code format, if having the image adds something significant that is not conveyed by just the text code/error/data.

    – double-beep
    2 days ago
















This is not a batch-file error, it is an ffmpeg error and it is pretty clear :) so move the input options to where they belong and output where they belong.

– Gerhard Barnard
2 days ago






This is not a batch-file error, it is an ffmpeg error and it is pretty clear :) so move the input options to where they belong and output where they belong.

– Gerhard Barnard
2 days ago





1




1





ffmpeg doesn't work with wildcards in video filenames.

– Gyan
2 days ago





ffmpeg doesn't work with wildcards in video filenames.

– Gyan
2 days ago




1




1





Start with for %%a in (D:videos*.mp4) do D:ffmpegbinffmpeg.exe -sseof -20 -i "%%a"...

– Gyan
2 days ago





Start with for %%a in (D:videos*.mp4) do D:ffmpegbinffmpeg.exe -sseof -20 -i "%%a"...

– Gyan
2 days ago




1




1





You had all the correct code in your original question. All you had to do was change the Ffmpeg syntax. Go back and look at your original code in your question before you blew it up.

– Squashman
2 days ago





You had all the correct code in your original question. All you had to do was change the Ffmpeg syntax. Go back and look at your original code in your question before you blew it up.

– Squashman
2 days ago




1




1





Please add code and data as text (using code formatting), not images. Images: A) don't allow us to copy-&-paste the code/errors/data for testing; B) don't permit searching based on the code/error/data contents; and many more reasons. Images should only be used, in addition to text in code format, if having the image adds something significant that is not conveyed by just the text code/error/data.

– double-beep
2 days ago





Please add code and data as text (using code formatting), not images. Images: A) don't allow us to copy-&-paste the code/errors/data for testing; B) don't permit searching based on the code/error/data contents; and many more reasons. Images should only be used, in addition to text in code format, if having the image adds something significant that is not conveyed by just the text code/error/data.

– double-beep
2 days ago












1 Answer
1






active

oldest

votes


















0














Ok thanks everyone.
This worked for me:
for %%a in (D:videos*.mp4) do D:ffmpegbinffmpeg.exe -sseof -20 -i "%%a" -f mp4 -vcodec copy -acodec copy "%%axxx"






share|improve this answer








New contributor




Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Ok thanks everyone.
    This worked for me:
    for %%a in (D:videos*.mp4) do D:ffmpegbinffmpeg.exe -sseof -20 -i "%%a" -f mp4 -vcodec copy -acodec copy "%%axxx"






    share|improve this answer








    New contributor




    Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      0














      Ok thanks everyone.
      This worked for me:
      for %%a in (D:videos*.mp4) do D:ffmpegbinffmpeg.exe -sseof -20 -i "%%a" -f mp4 -vcodec copy -acodec copy "%%axxx"






      share|improve this answer








      New contributor




      Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















        0












        0








        0







        Ok thanks everyone.
        This worked for me:
        for %%a in (D:videos*.mp4) do D:ffmpegbinffmpeg.exe -sseof -20 -i "%%a" -f mp4 -vcodec copy -acodec copy "%%axxx"






        share|improve this answer








        New contributor




        Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        Ok thanks everyone.
        This worked for me:
        for %%a in (D:videos*.mp4) do D:ffmpegbinffmpeg.exe -sseof -20 -i "%%a" -f mp4 -vcodec copy -acodec copy "%%axxx"







        share|improve this answer








        New contributor




        Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 2 days ago









        Oliver SvrčekOliver Svrček

        11




        11




        New contributor




        Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Oliver Svrček is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.















            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript