Two questions about using FFmpeg on Debian
up vote
0
down vote
favorite
There are a couple of questions about using FFmpeg.
I use Debian stable branch. I make separate caps from a video file. A very long time. I would like to understand how this can be optimized? What parameter should be set or group of parameters?
I have a video with a resolution of 1280×720, the time to create screenshots is about 5 minutes. It is too long. Maybe there is a special option for optimization?
- I want to get a certain number of caps from the video. What parameter is responsible for this?
We are talking about individual frames from the video, they are also called screenshots. Ffmpeg needs to create a certain number of screenshots from a video file. For example, I have a video of 1 hour. You need to get 15 separate screenshots. It happens that individual screenshots should be taken every fourth minute of this video.
linux debian video ffmpeg
New contributor
|
show 7 more comments
up vote
0
down vote
favorite
There are a couple of questions about using FFmpeg.
I use Debian stable branch. I make separate caps from a video file. A very long time. I would like to understand how this can be optimized? What parameter should be set or group of parameters?
I have a video with a resolution of 1280×720, the time to create screenshots is about 5 minutes. It is too long. Maybe there is a special option for optimization?
- I want to get a certain number of caps from the video. What parameter is responsible for this?
We are talking about individual frames from the video, they are also called screenshots. Ffmpeg needs to create a certain number of screenshots from a video file. For example, I have a video of 1 hour. You need to get 15 separate screenshots. It happens that individual screenshots should be taken every fourth minute of this video.
linux debian video ffmpeg
New contributor
1) probably faster way here: stackoverflow.com/questions/27568254/…. ffmpeg -ss 01:23:45 -i input -vframes 1 -q:v 2 output.jpg. And 2) Not sure what do You mean by caps, a properties, then use a tool called ffprobe. It included in ffmpeg package. just run ffprobe yourfile.
– NoAngel
Nov 15 at 5:41
1
I see. So You need extract some frames from some files at specified time. Well, slightly modified command line does it: ffmpeg -ss 00:00:00.00.000 -i yourfile.mp4 -vframes 60 thumb%04d.jpg. This uses yourfile.mp4 (You may specify any file in any format supported by ffmpeg). -ss specify seek time, ffmpeg will start capture frames in sequence from here. Specify how many frames to capture after -vframes for example, 60. and finally output file pattern thumb%04d.jpg does thumb0001.jpg, thumb0002.jpg,...
– NoAngel
Nov 15 at 7:37
1
Now You have many files, then run command above per file. I don't think ffmpeg can process many files at once in this mode.
– NoAngel
Nov 15 at 7:40
1
Oops, try 01:00:00.000 hh:MM:ss.mmm hh hour MM minute ss second mmm millisecond.
– NoAngel
Nov 15 at 7:52
1
please forgive me, but again we did not understand each other. we are talking about individual frames from the video, they are also called screenshots ffmpeg needs to create a certain number of screenshots from a video file. for example, I have a video of 1 hour. You need to get 15 separate screenshots. It happens that individual screenshots should be taken every fourth minute of this video.
– CarambaMamba
Nov 15 at 8:49
|
show 7 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
There are a couple of questions about using FFmpeg.
I use Debian stable branch. I make separate caps from a video file. A very long time. I would like to understand how this can be optimized? What parameter should be set or group of parameters?
I have a video with a resolution of 1280×720, the time to create screenshots is about 5 minutes. It is too long. Maybe there is a special option for optimization?
- I want to get a certain number of caps from the video. What parameter is responsible for this?
We are talking about individual frames from the video, they are also called screenshots. Ffmpeg needs to create a certain number of screenshots from a video file. For example, I have a video of 1 hour. You need to get 15 separate screenshots. It happens that individual screenshots should be taken every fourth minute of this video.
linux debian video ffmpeg
New contributor
There are a couple of questions about using FFmpeg.
I use Debian stable branch. I make separate caps from a video file. A very long time. I would like to understand how this can be optimized? What parameter should be set or group of parameters?
I have a video with a resolution of 1280×720, the time to create screenshots is about 5 minutes. It is too long. Maybe there is a special option for optimization?
- I want to get a certain number of caps from the video. What parameter is responsible for this?
We are talking about individual frames from the video, they are also called screenshots. Ffmpeg needs to create a certain number of screenshots from a video file. For example, I have a video of 1 hour. You need to get 15 separate screenshots. It happens that individual screenshots should be taken every fourth minute of this video.
linux debian video ffmpeg
linux debian video ffmpeg
New contributor
New contributor
edited Nov 16 at 7:50
dirkt
8,51331120
8,51331120
New contributor
asked Nov 15 at 5:08
CarambaMamba
1
1
New contributor
New contributor
1) probably faster way here: stackoverflow.com/questions/27568254/…. ffmpeg -ss 01:23:45 -i input -vframes 1 -q:v 2 output.jpg. And 2) Not sure what do You mean by caps, a properties, then use a tool called ffprobe. It included in ffmpeg package. just run ffprobe yourfile.
– NoAngel
Nov 15 at 5:41
1
I see. So You need extract some frames from some files at specified time. Well, slightly modified command line does it: ffmpeg -ss 00:00:00.00.000 -i yourfile.mp4 -vframes 60 thumb%04d.jpg. This uses yourfile.mp4 (You may specify any file in any format supported by ffmpeg). -ss specify seek time, ffmpeg will start capture frames in sequence from here. Specify how many frames to capture after -vframes for example, 60. and finally output file pattern thumb%04d.jpg does thumb0001.jpg, thumb0002.jpg,...
– NoAngel
Nov 15 at 7:37
1
Now You have many files, then run command above per file. I don't think ffmpeg can process many files at once in this mode.
– NoAngel
Nov 15 at 7:40
1
Oops, try 01:00:00.000 hh:MM:ss.mmm hh hour MM minute ss second mmm millisecond.
– NoAngel
Nov 15 at 7:52
1
please forgive me, but again we did not understand each other. we are talking about individual frames from the video, they are also called screenshots ffmpeg needs to create a certain number of screenshots from a video file. for example, I have a video of 1 hour. You need to get 15 separate screenshots. It happens that individual screenshots should be taken every fourth minute of this video.
– CarambaMamba
Nov 15 at 8:49
|
show 7 more comments
1) probably faster way here: stackoverflow.com/questions/27568254/…. ffmpeg -ss 01:23:45 -i input -vframes 1 -q:v 2 output.jpg. And 2) Not sure what do You mean by caps, a properties, then use a tool called ffprobe. It included in ffmpeg package. just run ffprobe yourfile.
– NoAngel
Nov 15 at 5:41
1
I see. So You need extract some frames from some files at specified time. Well, slightly modified command line does it: ffmpeg -ss 00:00:00.00.000 -i yourfile.mp4 -vframes 60 thumb%04d.jpg. This uses yourfile.mp4 (You may specify any file in any format supported by ffmpeg). -ss specify seek time, ffmpeg will start capture frames in sequence from here. Specify how many frames to capture after -vframes for example, 60. and finally output file pattern thumb%04d.jpg does thumb0001.jpg, thumb0002.jpg,...
– NoAngel
Nov 15 at 7:37
1
Now You have many files, then run command above per file. I don't think ffmpeg can process many files at once in this mode.
– NoAngel
Nov 15 at 7:40
1
Oops, try 01:00:00.000 hh:MM:ss.mmm hh hour MM minute ss second mmm millisecond.
– NoAngel
Nov 15 at 7:52
1
please forgive me, but again we did not understand each other. we are talking about individual frames from the video, they are also called screenshots ffmpeg needs to create a certain number of screenshots from a video file. for example, I have a video of 1 hour. You need to get 15 separate screenshots. It happens that individual screenshots should be taken every fourth minute of this video.
– CarambaMamba
Nov 15 at 8:49
1) probably faster way here: stackoverflow.com/questions/27568254/…. ffmpeg -ss 01:23:45 -i input -vframes 1 -q:v 2 output.jpg. And 2) Not sure what do You mean by caps, a properties, then use a tool called ffprobe. It included in ffmpeg package. just run ffprobe yourfile.
– NoAngel
Nov 15 at 5:41
1) probably faster way here: stackoverflow.com/questions/27568254/…. ffmpeg -ss 01:23:45 -i input -vframes 1 -q:v 2 output.jpg. And 2) Not sure what do You mean by caps, a properties, then use a tool called ffprobe. It included in ffmpeg package. just run ffprobe yourfile.
– NoAngel
Nov 15 at 5:41
1
1
I see. So You need extract some frames from some files at specified time. Well, slightly modified command line does it: ffmpeg -ss 00:00:00.00.000 -i yourfile.mp4 -vframes 60 thumb%04d.jpg. This uses yourfile.mp4 (You may specify any file in any format supported by ffmpeg). -ss specify seek time, ffmpeg will start capture frames in sequence from here. Specify how many frames to capture after -vframes for example, 60. and finally output file pattern thumb%04d.jpg does thumb0001.jpg, thumb0002.jpg,...
– NoAngel
Nov 15 at 7:37
I see. So You need extract some frames from some files at specified time. Well, slightly modified command line does it: ffmpeg -ss 00:00:00.00.000 -i yourfile.mp4 -vframes 60 thumb%04d.jpg. This uses yourfile.mp4 (You may specify any file in any format supported by ffmpeg). -ss specify seek time, ffmpeg will start capture frames in sequence from here. Specify how many frames to capture after -vframes for example, 60. and finally output file pattern thumb%04d.jpg does thumb0001.jpg, thumb0002.jpg,...
– NoAngel
Nov 15 at 7:37
1
1
Now You have many files, then run command above per file. I don't think ffmpeg can process many files at once in this mode.
– NoAngel
Nov 15 at 7:40
Now You have many files, then run command above per file. I don't think ffmpeg can process many files at once in this mode.
– NoAngel
Nov 15 at 7:40
1
1
Oops, try 01:00:00.000 hh:MM:ss.mmm hh hour MM minute ss second mmm millisecond.
– NoAngel
Nov 15 at 7:52
Oops, try 01:00:00.000 hh:MM:ss.mmm hh hour MM minute ss second mmm millisecond.
– NoAngel
Nov 15 at 7:52
1
1
please forgive me, but again we did not understand each other. we are talking about individual frames from the video, they are also called screenshots ffmpeg needs to create a certain number of screenshots from a video file. for example, I have a video of 1 hour. You need to get 15 separate screenshots. It happens that individual screenshots should be taken every fourth minute of this video.
– CarambaMamba
Nov 15 at 8:49
please forgive me, but again we did not understand each other. we are talking about individual frames from the video, they are also called screenshots ffmpeg needs to create a certain number of screenshots from a video file. for example, I have a video of 1 hour. You need to get 15 separate screenshots. It happens that individual screenshots should be taken every fourth minute of this video.
– CarambaMamba
Nov 15 at 8:49
|
show 7 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
CarambaMamba is a new contributor. Be nice, and check out our Code of Conduct.
CarambaMamba is a new contributor. Be nice, and check out our Code of Conduct.
CarambaMamba is a new contributor. Be nice, and check out our Code of Conduct.
CarambaMamba is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1375543%2ftwo-questions-about-using-ffmpeg-on-debian%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1) probably faster way here: stackoverflow.com/questions/27568254/…. ffmpeg -ss 01:23:45 -i input -vframes 1 -q:v 2 output.jpg. And 2) Not sure what do You mean by caps, a properties, then use a tool called ffprobe. It included in ffmpeg package. just run ffprobe yourfile.
– NoAngel
Nov 15 at 5:41
1
I see. So You need extract some frames from some files at specified time. Well, slightly modified command line does it: ffmpeg -ss 00:00:00.00.000 -i yourfile.mp4 -vframes 60 thumb%04d.jpg. This uses yourfile.mp4 (You may specify any file in any format supported by ffmpeg). -ss specify seek time, ffmpeg will start capture frames in sequence from here. Specify how many frames to capture after -vframes for example, 60. and finally output file pattern thumb%04d.jpg does thumb0001.jpg, thumb0002.jpg,...
– NoAngel
Nov 15 at 7:37
1
Now You have many files, then run command above per file. I don't think ffmpeg can process many files at once in this mode.
– NoAngel
Nov 15 at 7:40
1
Oops, try 01:00:00.000 hh:MM:ss.mmm hh hour MM minute ss second mmm millisecond.
– NoAngel
Nov 15 at 7:52
1
please forgive me, but again we did not understand each other. we are talking about individual frames from the video, they are also called screenshots ffmpeg needs to create a certain number of screenshots from a video file. for example, I have a video of 1 hour. You need to get 15 separate screenshots. It happens that individual screenshots should be taken every fourth minute of this video.
– CarambaMamba
Nov 15 at 8:49