krh5150
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2013
05:10 PM
FFMPEG Help
Hi,
I know this may not be the proper place to post this, but I'm having difficulty in the timing of image capturing with FFMpeg.
All I would like to do is capture a single image for either every 30 seconds or 1 minute of a video. The parameters -r and -vframes are not working as I thought from the documentation I found for FFMpeg.
Does anyone have any proven examples of capturing a single image for every 30 seconds of a video? I either end up with an image for every frame or an image for every 4 seconds.
Thanks,
Kevin
I know this may not be the proper place to post this, but I'm having difficulty in the timing of image capturing with FFMpeg.
All I would like to do is capture a single image for either every 30 seconds or 1 minute of a video. The parameters -r and -vframes are not working as I thought from the documentation I found for FFMpeg.
Does anyone have any proven examples of capturing a single image for every 30 seconds of a video? I either end up with an image for every frame or an image for every 4 seconds.
Thanks,
Kevin
2 REPLIES 2
bandal
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2013
10:27 PM
Re: FFMPEG Help
Take a look at bif video file creator from Burning Bush Software.
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2013
12:31 AM
Re: FFMPEG Help
or, simply use the ffmpeg command line.
http://sdkdocs.roku.com/display/sdkdoc/ ... leCreation
For a single image every 30 seconds, rather than using -r .1 like the example (1 image per 10 seconds), use -r 1/30
Note the caveats listed in the roku documentation - it's fairly simple code to rename all the jpgs before creating the bif file with them - or Microsoft Expression can batch rename files in a folder to whatever you like in a few seconds if you prefer end-user friendly tools.
c:\ffmpeg\ffmpeg.exe -i "filename.mp4" -q:v 1 -r 1/30 -s 320x240 images%05d.jpg
http://sdkdocs.roku.com/display/sdkdoc/ ... leCreation
For a single image every 30 seconds, rather than using -r .1 like the example (1 image per 10 seconds), use -r 1/30
Note the caveats listed in the roku documentation - it's fairly simple code to rename all the jpgs before creating the bif file with them - or Microsoft Expression can batch rename files in a folder to whatever you like in a few seconds if you prefer end-user friendly tools.
c:\ffmpeg\ffmpeg.exe -i "filename.mp4" -q:v 1 -r 1/30 -s 320x240 images%05d.jpg