Converting PNG frames to video at 1 FPS
Clash Royale CLAN TAG#URR8PPP
up vote
15
down vote
favorite
I have video frames in PNG format at 1 FPS and I'm trying to convert them into a video using ffmpeg.
If I do something like this:
ffmpeg -i data/input-%4d.png data/output.mp4
I get a video at 25FPS which is basically a very fast-forward of the input (which is captured at 1FPS).
If I try:
ffmpeg -i data/input-%4d.png -r 1 data/output.mp4
I get something that VLC doesn't want to play :)
Now, if I take the first video (the FF one) and apply a filter to slow it down (e.g. -filter:v 'setpts=24.0*PTS'
), I can get it to play like a 1 FPS video, but of course the price is file size. It's generating a bunch of repeated frames I guess.
So, the question is how do I create a video that has exactly 1 FPS and actually plays at that speed? The output format, btw, isn't that important for me.
ffmpeg video-encoding
add a comment |Â
up vote
15
down vote
favorite
I have video frames in PNG format at 1 FPS and I'm trying to convert them into a video using ffmpeg.
If I do something like this:
ffmpeg -i data/input-%4d.png data/output.mp4
I get a video at 25FPS which is basically a very fast-forward of the input (which is captured at 1FPS).
If I try:
ffmpeg -i data/input-%4d.png -r 1 data/output.mp4
I get something that VLC doesn't want to play :)
Now, if I take the first video (the FF one) and apply a filter to slow it down (e.g. -filter:v 'setpts=24.0*PTS'
), I can get it to play like a 1 FPS video, but of course the price is file size. It's generating a bunch of repeated frames I guess.
So, the question is how do I create a video that has exactly 1 FPS and actually plays at that speed? The output format, btw, isn't that important for me.
ffmpeg video-encoding
I'm not sureffmpeg
is smart enough to figure out the video codec just from the container format file extension,.mp4
. Try adding-vcodec libx264 -vpre hq
to the command line, to tell it the codec and encoding parameters.
â Warren Young
Mar 22 '13 at 7:09
It actually figured it out ok, and I as mentioned it worked well and only produced weird results when I added-r 1
.
â Assaf Lavie
Mar 22 '13 at 7:43
I think you may have better luck at a ffmpeg answer on stackoverflow.com or superuser.com.
â Damien
May 4 '13 at 18:21
add a comment |Â
up vote
15
down vote
favorite
up vote
15
down vote
favorite
I have video frames in PNG format at 1 FPS and I'm trying to convert them into a video using ffmpeg.
If I do something like this:
ffmpeg -i data/input-%4d.png data/output.mp4
I get a video at 25FPS which is basically a very fast-forward of the input (which is captured at 1FPS).
If I try:
ffmpeg -i data/input-%4d.png -r 1 data/output.mp4
I get something that VLC doesn't want to play :)
Now, if I take the first video (the FF one) and apply a filter to slow it down (e.g. -filter:v 'setpts=24.0*PTS'
), I can get it to play like a 1 FPS video, but of course the price is file size. It's generating a bunch of repeated frames I guess.
So, the question is how do I create a video that has exactly 1 FPS and actually plays at that speed? The output format, btw, isn't that important for me.
ffmpeg video-encoding
I have video frames in PNG format at 1 FPS and I'm trying to convert them into a video using ffmpeg.
If I do something like this:
ffmpeg -i data/input-%4d.png data/output.mp4
I get a video at 25FPS which is basically a very fast-forward of the input (which is captured at 1FPS).
If I try:
ffmpeg -i data/input-%4d.png -r 1 data/output.mp4
I get something that VLC doesn't want to play :)
Now, if I take the first video (the FF one) and apply a filter to slow it down (e.g. -filter:v 'setpts=24.0*PTS'
), I can get it to play like a 1 FPS video, but of course the price is file size. It's generating a bunch of repeated frames I guess.
So, the question is how do I create a video that has exactly 1 FPS and actually plays at that speed? The output format, btw, isn't that important for me.
ffmpeg video-encoding
ffmpeg video-encoding
edited Aug 18 '14 at 11:56
asked Mar 22 '13 at 6:16
Assaf Lavie
176116
176116
I'm not sureffmpeg
is smart enough to figure out the video codec just from the container format file extension,.mp4
. Try adding-vcodec libx264 -vpre hq
to the command line, to tell it the codec and encoding parameters.
â Warren Young
Mar 22 '13 at 7:09
It actually figured it out ok, and I as mentioned it worked well and only produced weird results when I added-r 1
.
â Assaf Lavie
Mar 22 '13 at 7:43
I think you may have better luck at a ffmpeg answer on stackoverflow.com or superuser.com.
â Damien
May 4 '13 at 18:21
add a comment |Â
I'm not sureffmpeg
is smart enough to figure out the video codec just from the container format file extension,.mp4
. Try adding-vcodec libx264 -vpre hq
to the command line, to tell it the codec and encoding parameters.
â Warren Young
Mar 22 '13 at 7:09
It actually figured it out ok, and I as mentioned it worked well and only produced weird results when I added-r 1
.
â Assaf Lavie
Mar 22 '13 at 7:43
I think you may have better luck at a ffmpeg answer on stackoverflow.com or superuser.com.
â Damien
May 4 '13 at 18:21
I'm not sure
ffmpeg
is smart enough to figure out the video codec just from the container format file extension, .mp4
. Try adding -vcodec libx264 -vpre hq
to the command line, to tell it the codec and encoding parameters.â Warren Young
Mar 22 '13 at 7:09
I'm not sure
ffmpeg
is smart enough to figure out the video codec just from the container format file extension, .mp4
. Try adding -vcodec libx264 -vpre hq
to the command line, to tell it the codec and encoding parameters.â Warren Young
Mar 22 '13 at 7:09
It actually figured it out ok, and I as mentioned it worked well and only produced weird results when I added
-r 1
.â Assaf Lavie
Mar 22 '13 at 7:43
It actually figured it out ok, and I as mentioned it worked well and only produced weird results when I added
-r 1
.â Assaf Lavie
Mar 22 '13 at 7:43
I think you may have better luck at a ffmpeg answer on stackoverflow.com or superuser.com.
â Damien
May 4 '13 at 18:21
I think you may have better luck at a ffmpeg answer on stackoverflow.com or superuser.com.
â Damien
May 4 '13 at 18:21
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
10
down vote
If you want a one-liner for FFMPEG that generates a video that plays at 1 frame per second, what you want to do is specify framerates for both input and output, like this:
ffmpeg -r 1 -i data/input-%4d.png -pix_fmt yuv420p -r 10 data/output.mp4
The -r 1
means the video will play at 1 of the original images per second.
The -r 10
means the video will play at 10 frames per second.
(The -pix_fmt yuv420p
is just there to ensure compatibility with a wide range of playback programs. It is required here, for example, for the video to be playable by Windows Media Player.)
I tested many different output framerates, and 10 seems to be the lowest number you can use that will still produce a video that VLC will play.
Of course, the command above means each original image is being multiplied, but it is a simpler method than the "slow it down" one you mentioned, and depending on the codec it may not produce a video much larger than a true 1-FPS video.
To test this, I just produced a true 1-FPS video, which came out to 2.24 kiB. I then produced a video with the same input images but output at 24 FPS, and it came out to 5.76 kiB. That's just over double the size, and nowhere near 24 times the size. :)
+1 on -pix_fmt. Easy to forget some people insist on using WMP :-)
â Smalltown2k
Jul 14 '14 at 14:37
add a comment |Â
up vote
3
down vote
What if you augment your second example slightly as follows:
$ ffmpeg -r 1 -i data/input-%4d.png -c:v libx264 out.mp4
The -r 1
needs to come before the .png files, not after.
From the FFmpeg documentation:
As a general rule, options are applied to the next specified file.
Therefore, order is important, and you can have the same option on the
command line multiple times. Each occurrence is then applied to the
next input or output file.
add a comment |Â
up vote
3
down vote
Use both -framerate
and -r
E.g., to have a final video that looks like 1FPS:
ffmpeg -framerate 1 -pattern_type glob -i '*.png'
-c:v libx264 -r 30 -pix_fmt yuv420p out.mp4
This is similar to what Converting PNG frames to video at 1 FPS | Unix & Linux Stack Exchange says, but I needed -framerate
instead of -r
for it to work.
This is mentioned on the wiki at: http://trac.ffmpeg.org/wiki/Slideshow#Framerates
It sets the output framerate to 30
, which VLC can handle, and copies each images 30 times, so that the output video appears to be at 1 FPS. See also: Playback issues in VLC with low fps video from images using ffmpeg | Stack Overflow
VLC is then able to play the video normally.
Tested on Ubuntu 16.10, VLC 2.2.4, ffmpeg
3.0.5, in a directory with 10 PNGs.
See also: https://stackoverflow.com/questions/19267443/vlc-freezes-for-low-1-fps-video-created-from-images-with-ffmpeg
What's the difference between-r
and-framerate
?
â Royi
Mar 17 '17 at 12:10
@Royi I don't really know, except that it is the only thing that worked for me :-) But if you managed to extract it from from theman
pages, let me know ;-) A meaningful quote is "-r As an input option, ignore any timestamps stored in the file and instead generate timestamps assuming constant frame rate fps. This is not the same as the -framerate option used for some input formats like image2 or v4l2 (it used to be the same in older versions of FFmpeg). If in doubt use -framerate instead of the input option -r."
â Ciro Santilli æ°çÂÂæ¹é ä¸Âå¿ å ÂÃ¥ÂÂäºÂ件 æ³Âè½®åÂÂ
Mar 17 '17 at 13:45
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
10
down vote
If you want a one-liner for FFMPEG that generates a video that plays at 1 frame per second, what you want to do is specify framerates for both input and output, like this:
ffmpeg -r 1 -i data/input-%4d.png -pix_fmt yuv420p -r 10 data/output.mp4
The -r 1
means the video will play at 1 of the original images per second.
The -r 10
means the video will play at 10 frames per second.
(The -pix_fmt yuv420p
is just there to ensure compatibility with a wide range of playback programs. It is required here, for example, for the video to be playable by Windows Media Player.)
I tested many different output framerates, and 10 seems to be the lowest number you can use that will still produce a video that VLC will play.
Of course, the command above means each original image is being multiplied, but it is a simpler method than the "slow it down" one you mentioned, and depending on the codec it may not produce a video much larger than a true 1-FPS video.
To test this, I just produced a true 1-FPS video, which came out to 2.24 kiB. I then produced a video with the same input images but output at 24 FPS, and it came out to 5.76 kiB. That's just over double the size, and nowhere near 24 times the size. :)
+1 on -pix_fmt. Easy to forget some people insist on using WMP :-)
â Smalltown2k
Jul 14 '14 at 14:37
add a comment |Â
up vote
10
down vote
If you want a one-liner for FFMPEG that generates a video that plays at 1 frame per second, what you want to do is specify framerates for both input and output, like this:
ffmpeg -r 1 -i data/input-%4d.png -pix_fmt yuv420p -r 10 data/output.mp4
The -r 1
means the video will play at 1 of the original images per second.
The -r 10
means the video will play at 10 frames per second.
(The -pix_fmt yuv420p
is just there to ensure compatibility with a wide range of playback programs. It is required here, for example, for the video to be playable by Windows Media Player.)
I tested many different output framerates, and 10 seems to be the lowest number you can use that will still produce a video that VLC will play.
Of course, the command above means each original image is being multiplied, but it is a simpler method than the "slow it down" one you mentioned, and depending on the codec it may not produce a video much larger than a true 1-FPS video.
To test this, I just produced a true 1-FPS video, which came out to 2.24 kiB. I then produced a video with the same input images but output at 24 FPS, and it came out to 5.76 kiB. That's just over double the size, and nowhere near 24 times the size. :)
+1 on -pix_fmt. Easy to forget some people insist on using WMP :-)
â Smalltown2k
Jul 14 '14 at 14:37
add a comment |Â
up vote
10
down vote
up vote
10
down vote
If you want a one-liner for FFMPEG that generates a video that plays at 1 frame per second, what you want to do is specify framerates for both input and output, like this:
ffmpeg -r 1 -i data/input-%4d.png -pix_fmt yuv420p -r 10 data/output.mp4
The -r 1
means the video will play at 1 of the original images per second.
The -r 10
means the video will play at 10 frames per second.
(The -pix_fmt yuv420p
is just there to ensure compatibility with a wide range of playback programs. It is required here, for example, for the video to be playable by Windows Media Player.)
I tested many different output framerates, and 10 seems to be the lowest number you can use that will still produce a video that VLC will play.
Of course, the command above means each original image is being multiplied, but it is a simpler method than the "slow it down" one you mentioned, and depending on the codec it may not produce a video much larger than a true 1-FPS video.
To test this, I just produced a true 1-FPS video, which came out to 2.24 kiB. I then produced a video with the same input images but output at 24 FPS, and it came out to 5.76 kiB. That's just over double the size, and nowhere near 24 times the size. :)
If you want a one-liner for FFMPEG that generates a video that plays at 1 frame per second, what you want to do is specify framerates for both input and output, like this:
ffmpeg -r 1 -i data/input-%4d.png -pix_fmt yuv420p -r 10 data/output.mp4
The -r 1
means the video will play at 1 of the original images per second.
The -r 10
means the video will play at 10 frames per second.
(The -pix_fmt yuv420p
is just there to ensure compatibility with a wide range of playback programs. It is required here, for example, for the video to be playable by Windows Media Player.)
I tested many different output framerates, and 10 seems to be the lowest number you can use that will still produce a video that VLC will play.
Of course, the command above means each original image is being multiplied, but it is a simpler method than the "slow it down" one you mentioned, and depending on the codec it may not produce a video much larger than a true 1-FPS video.
To test this, I just produced a true 1-FPS video, which came out to 2.24 kiB. I then produced a video with the same input images but output at 24 FPS, and it came out to 5.76 kiB. That's just over double the size, and nowhere near 24 times the size. :)
answered Aug 16 '13 at 0:41
A.M.
20337
20337
+1 on -pix_fmt. Easy to forget some people insist on using WMP :-)
â Smalltown2k
Jul 14 '14 at 14:37
add a comment |Â
+1 on -pix_fmt. Easy to forget some people insist on using WMP :-)
â Smalltown2k
Jul 14 '14 at 14:37
+1 on -pix_fmt. Easy to forget some people insist on using WMP :-)
â Smalltown2k
Jul 14 '14 at 14:37
+1 on -pix_fmt. Easy to forget some people insist on using WMP :-)
â Smalltown2k
Jul 14 '14 at 14:37
add a comment |Â
up vote
3
down vote
What if you augment your second example slightly as follows:
$ ffmpeg -r 1 -i data/input-%4d.png -c:v libx264 out.mp4
The -r 1
needs to come before the .png files, not after.
From the FFmpeg documentation:
As a general rule, options are applied to the next specified file.
Therefore, order is important, and you can have the same option on the
command line multiple times. Each occurrence is then applied to the
next input or output file.
add a comment |Â
up vote
3
down vote
What if you augment your second example slightly as follows:
$ ffmpeg -r 1 -i data/input-%4d.png -c:v libx264 out.mp4
The -r 1
needs to come before the .png files, not after.
From the FFmpeg documentation:
As a general rule, options are applied to the next specified file.
Therefore, order is important, and you can have the same option on the
command line multiple times. Each occurrence is then applied to the
next input or output file.
add a comment |Â
up vote
3
down vote
up vote
3
down vote
What if you augment your second example slightly as follows:
$ ffmpeg -r 1 -i data/input-%4d.png -c:v libx264 out.mp4
The -r 1
needs to come before the .png files, not after.
From the FFmpeg documentation:
As a general rule, options are applied to the next specified file.
Therefore, order is important, and you can have the same option on the
command line multiple times. Each occurrence is then applied to the
next input or output file.
What if you augment your second example slightly as follows:
$ ffmpeg -r 1 -i data/input-%4d.png -c:v libx264 out.mp4
The -r 1
needs to come before the .png files, not after.
From the FFmpeg documentation:
As a general rule, options are applied to the next specified file.
Therefore, order is important, and you can have the same option on the
command line multiple times. Each occurrence is then applied to the
next input or output file.
answered Jun 29 '13 at 1:16
slmâ¦
239k65494665
239k65494665
add a comment |Â
add a comment |Â
up vote
3
down vote
Use both -framerate
and -r
E.g., to have a final video that looks like 1FPS:
ffmpeg -framerate 1 -pattern_type glob -i '*.png'
-c:v libx264 -r 30 -pix_fmt yuv420p out.mp4
This is similar to what Converting PNG frames to video at 1 FPS | Unix & Linux Stack Exchange says, but I needed -framerate
instead of -r
for it to work.
This is mentioned on the wiki at: http://trac.ffmpeg.org/wiki/Slideshow#Framerates
It sets the output framerate to 30
, which VLC can handle, and copies each images 30 times, so that the output video appears to be at 1 FPS. See also: Playback issues in VLC with low fps video from images using ffmpeg | Stack Overflow
VLC is then able to play the video normally.
Tested on Ubuntu 16.10, VLC 2.2.4, ffmpeg
3.0.5, in a directory with 10 PNGs.
See also: https://stackoverflow.com/questions/19267443/vlc-freezes-for-low-1-fps-video-created-from-images-with-ffmpeg
What's the difference between-r
and-framerate
?
â Royi
Mar 17 '17 at 12:10
@Royi I don't really know, except that it is the only thing that worked for me :-) But if you managed to extract it from from theman
pages, let me know ;-) A meaningful quote is "-r As an input option, ignore any timestamps stored in the file and instead generate timestamps assuming constant frame rate fps. This is not the same as the -framerate option used for some input formats like image2 or v4l2 (it used to be the same in older versions of FFmpeg). If in doubt use -framerate instead of the input option -r."
â Ciro Santilli æ°çÂÂæ¹é ä¸Âå¿ å ÂÃ¥ÂÂäºÂ件 æ³Âè½®åÂÂ
Mar 17 '17 at 13:45
add a comment |Â
up vote
3
down vote
Use both -framerate
and -r
E.g., to have a final video that looks like 1FPS:
ffmpeg -framerate 1 -pattern_type glob -i '*.png'
-c:v libx264 -r 30 -pix_fmt yuv420p out.mp4
This is similar to what Converting PNG frames to video at 1 FPS | Unix & Linux Stack Exchange says, but I needed -framerate
instead of -r
for it to work.
This is mentioned on the wiki at: http://trac.ffmpeg.org/wiki/Slideshow#Framerates
It sets the output framerate to 30
, which VLC can handle, and copies each images 30 times, so that the output video appears to be at 1 FPS. See also: Playback issues in VLC with low fps video from images using ffmpeg | Stack Overflow
VLC is then able to play the video normally.
Tested on Ubuntu 16.10, VLC 2.2.4, ffmpeg
3.0.5, in a directory with 10 PNGs.
See also: https://stackoverflow.com/questions/19267443/vlc-freezes-for-low-1-fps-video-created-from-images-with-ffmpeg
What's the difference between-r
and-framerate
?
â Royi
Mar 17 '17 at 12:10
@Royi I don't really know, except that it is the only thing that worked for me :-) But if you managed to extract it from from theman
pages, let me know ;-) A meaningful quote is "-r As an input option, ignore any timestamps stored in the file and instead generate timestamps assuming constant frame rate fps. This is not the same as the -framerate option used for some input formats like image2 or v4l2 (it used to be the same in older versions of FFmpeg). If in doubt use -framerate instead of the input option -r."
â Ciro Santilli æ°çÂÂæ¹é ä¸Âå¿ å ÂÃ¥ÂÂäºÂ件 æ³Âè½®åÂÂ
Mar 17 '17 at 13:45
add a comment |Â
up vote
3
down vote
up vote
3
down vote
Use both -framerate
and -r
E.g., to have a final video that looks like 1FPS:
ffmpeg -framerate 1 -pattern_type glob -i '*.png'
-c:v libx264 -r 30 -pix_fmt yuv420p out.mp4
This is similar to what Converting PNG frames to video at 1 FPS | Unix & Linux Stack Exchange says, but I needed -framerate
instead of -r
for it to work.
This is mentioned on the wiki at: http://trac.ffmpeg.org/wiki/Slideshow#Framerates
It sets the output framerate to 30
, which VLC can handle, and copies each images 30 times, so that the output video appears to be at 1 FPS. See also: Playback issues in VLC with low fps video from images using ffmpeg | Stack Overflow
VLC is then able to play the video normally.
Tested on Ubuntu 16.10, VLC 2.2.4, ffmpeg
3.0.5, in a directory with 10 PNGs.
See also: https://stackoverflow.com/questions/19267443/vlc-freezes-for-low-1-fps-video-created-from-images-with-ffmpeg
Use both -framerate
and -r
E.g., to have a final video that looks like 1FPS:
ffmpeg -framerate 1 -pattern_type glob -i '*.png'
-c:v libx264 -r 30 -pix_fmt yuv420p out.mp4
This is similar to what Converting PNG frames to video at 1 FPS | Unix & Linux Stack Exchange says, but I needed -framerate
instead of -r
for it to work.
This is mentioned on the wiki at: http://trac.ffmpeg.org/wiki/Slideshow#Framerates
It sets the output framerate to 30
, which VLC can handle, and copies each images 30 times, so that the output video appears to be at 1 FPS. See also: Playback issues in VLC with low fps video from images using ffmpeg | Stack Overflow
VLC is then able to play the video normally.
Tested on Ubuntu 16.10, VLC 2.2.4, ffmpeg
3.0.5, in a directory with 10 PNGs.
See also: https://stackoverflow.com/questions/19267443/vlc-freezes-for-low-1-fps-video-created-from-images-with-ffmpeg
edited Aug 29 at 5:47
answered Jan 23 '17 at 0:39
Ciro Santilli æ°çÂÂæ¹é ä¸Âå¿ å ÂÃ¥ÂÂäºÂ件 æ³Âè½®åÂÂ
4,28613936
4,28613936
What's the difference between-r
and-framerate
?
â Royi
Mar 17 '17 at 12:10
@Royi I don't really know, except that it is the only thing that worked for me :-) But if you managed to extract it from from theman
pages, let me know ;-) A meaningful quote is "-r As an input option, ignore any timestamps stored in the file and instead generate timestamps assuming constant frame rate fps. This is not the same as the -framerate option used for some input formats like image2 or v4l2 (it used to be the same in older versions of FFmpeg). If in doubt use -framerate instead of the input option -r."
â Ciro Santilli æ°çÂÂæ¹é ä¸Âå¿ å ÂÃ¥ÂÂäºÂ件 æ³Âè½®åÂÂ
Mar 17 '17 at 13:45
add a comment |Â
What's the difference between-r
and-framerate
?
â Royi
Mar 17 '17 at 12:10
@Royi I don't really know, except that it is the only thing that worked for me :-) But if you managed to extract it from from theman
pages, let me know ;-) A meaningful quote is "-r As an input option, ignore any timestamps stored in the file and instead generate timestamps assuming constant frame rate fps. This is not the same as the -framerate option used for some input formats like image2 or v4l2 (it used to be the same in older versions of FFmpeg). If in doubt use -framerate instead of the input option -r."
â Ciro Santilli æ°çÂÂæ¹é ä¸Âå¿ å ÂÃ¥ÂÂäºÂ件 æ³Âè½®åÂÂ
Mar 17 '17 at 13:45
What's the difference between
-r
and -framerate
?â Royi
Mar 17 '17 at 12:10
What's the difference between
-r
and -framerate
?â Royi
Mar 17 '17 at 12:10
@Royi I don't really know, except that it is the only thing that worked for me :-) But if you managed to extract it from from the
man
pages, let me know ;-) A meaningful quote is "-r As an input option, ignore any timestamps stored in the file and instead generate timestamps assuming constant frame rate fps. This is not the same as the -framerate option used for some input formats like image2 or v4l2 (it used to be the same in older versions of FFmpeg). If in doubt use -framerate instead of the input option -r."â Ciro Santilli æ°çÂÂæ¹é ä¸Âå¿ å ÂÃ¥ÂÂäºÂ件 æ³Âè½®åÂÂ
Mar 17 '17 at 13:45
@Royi I don't really know, except that it is the only thing that worked for me :-) But if you managed to extract it from from the
man
pages, let me know ;-) A meaningful quote is "-r As an input option, ignore any timestamps stored in the file and instead generate timestamps assuming constant frame rate fps. This is not the same as the -framerate option used for some input formats like image2 or v4l2 (it used to be the same in older versions of FFmpeg). If in doubt use -framerate instead of the input option -r."â Ciro Santilli æ°çÂÂæ¹é ä¸Âå¿ å ÂÃ¥ÂÂäºÂ件 æ³Âè½®åÂÂ
Mar 17 '17 at 13:45
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f68770%2fconverting-png-frames-to-video-at-1-fps%23new-answer', 'question_page');
);
Post as a guest
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
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
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
I'm not sure
ffmpeg
is smart enough to figure out the video codec just from the container format file extension,.mp4
. Try adding-vcodec libx264 -vpre hq
to the command line, to tell it the codec and encoding parameters.â Warren Young
Mar 22 '13 at 7:09
It actually figured it out ok, and I as mentioned it worked well and only produced weird results when I added
-r 1
.â Assaf Lavie
Mar 22 '13 at 7:43
I think you may have better luck at a ffmpeg answer on stackoverflow.com or superuser.com.
â Damien
May 4 '13 at 18:21