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
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
batch-file video ffmpeg mp4 trim
New contributor
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.
|
show 7 more comments
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
batch-file video ffmpeg mp4 trim
New contributor
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 abatch-file
error, it is anffmpeg
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 withfor %%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
|
show 7 more comments
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
batch-file video ffmpeg mp4 trim
New contributor
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
This question already has an answer here:
FFMPEG: get last 10 seconds [closed]
1 answer
batch-file video ffmpeg mp4 trim
batch-file video ffmpeg mp4 trim
New contributor
New contributor
edited 2 days ago
Oliver Svrček
New contributor
asked 2 days ago
Oliver SvrčekOliver Svrček
11
11
New contributor
New contributor
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 abatch-file
error, it is anffmpeg
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 withfor %%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
|
show 7 more comments
This is not abatch-file
error, it is anffmpeg
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 withfor %%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
|
show 7 more comments
1 Answer
1
active
oldest
votes
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"
New contributor
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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"
New contributor
add a comment |
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"
New contributor
add a comment |
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"
New contributor
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"
New contributor
New contributor
answered 2 days ago
Oliver SvrčekOliver Svrček
11
11
New contributor
New contributor
add a comment |
add a comment |
This is not a
batch-file
error, it is anffmpeg
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