If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Convert a 1280x725 MP4 video to a few dozen jpeg files?
How can I convert a 1280x725 MP4 video to a few dozen jpeg files?
|
Ads |
#2
|
|||
|
|||
Convert a 1280x725 MP4 video to a few dozen jpeg files?
BillAhearn wrote:
How can I convert a 1280x725 MP4 video to a few dozen jpeg files? With FFMPEG. I keep sample commands in my notes file. The "Q V 1" thing is the Quality setting, intended to keep sharpness. The format of the filename is "printf-specification-like". The file number %05d increments for each picture written out. cd output-folder # also contains input movie D:\FFMPEG\bin\ffmpeg -i L:\some.MOV -f image2 -q:v 1 -c:v mjpeg a%05d.jpg C:\FFMPEG\bin\ffmpeg -i L:\bears.mp4 -f image2 -q:v 1 -c:v bmp a%06d.bmp I don't really know if the BMP codec needs a quality setting, but I won't take a chance on it. If the video has 20000 frames total (say 8 minutes at 60FPS or something), then you can expect a large number of frames. I might do this conversion on my RAMDisk, to save wear and tear. You can also specify time points, if you wanted to process only a certain range of frames. You can do just about any movie editing thing with FFMPEG, but it takes *hours* to craft really good commands. AVIdemux might also do this task, if you can figure it out (how to "save in frames" mode). What makes me nervous about AVIdemux, is some of the "informative" messages when it opens a movie. FFMPEG doesn't usually wobble all that much. With the 4.x.x stream, it depends on who builds it as to whether it works on WinXP. The latest 3.x.x stream might work better, if you don't want to be downloading two of these. "Static" means no trailing DLLs - you can move ffmpeg.exe to whatever directory you're working in. Although there is a presets folder, on the average day you likely don't need the presets. At least, not for this job. You can always add the bin folder to your %path% or something. I try not to make "the worlds longest string" out of my path. https://ffmpeg.zeranoe.com/builds/win32/static/ Paul |
#3
|
|||
|
|||
Convert a 1280x725 MP4 video to a few dozen jpeg files?
On Wed, 10 Jul 2019 15:14:34 -0400, BillAhearn
wrote: How can I convert a 1280x725 MP4 video to a few dozen jpeg files? Either chose Paul's method, or use VLC and take snapshots of whatever scenes you want to keep. https://www.vlchelp.com/take-picture-snapshot-video/ The good thing about using FFmpeg is it has countless other uses, the bad is a steep learning curve. HTH []'s -- Don't be evil - Google 2004 We have a new policy - Google 2012 |
#4
|
|||
|
|||
Convert a 1280x725 MP4 video to a few dozen jpeg files?
BillAhearn wrote:
How can I convert a 1280x725 MP4 video to a few dozen jpeg files? I use MPC-HC for mp4 screen shots. It is small, lightweight, and works very well. |
#5
|
|||
|
|||
Convert a 1280x725 MP4 video to a few dozen jpeg files?
Paul posted:
D:\FFMPEG\bin\ffmpeg -i L:\some.MOV -f image2 -q:v 1 -c:v mjpeg a%05d.jpg 1 ffmpeg -i file.mp4 frames%03d.jpeg (one jpeg per frame) 2 ffmpeg -i file.mp4 -r 1 frames%03d.jpeg (one jpeg per second) 1 Shotcut-File-Export Frame-name-#####.jpg (the current frame to one jpeg) 2 Shotcut-View-Export-Presets-stills-JPEG-From Source-Export File (every frame to C:\Users\yourlogin\Videos\name-#####.jpg) |
#6
|
|||
|
|||
Convert a 1280x725 MP4 video to a few dozen jpeg files?
Jean Fredette wrote:
Paul posted: D:\FFMPEG\bin\ffmpeg -i L:\some.MOV -f image2 -q:v 1 -c:v mjpeg a%05d.jpg 1 ffmpeg -i file.mp4 frames%03d.jpeg (one jpeg per frame) 2 ffmpeg -i file.mp4 -r 1 frames%03d.jpeg (one jpeg per second) 1 Shotcut-File-Export Frame-name-#####.jpg (the current frame to one jpeg) 2 Shotcut-View-Export-Presets-stills-JPEG-From Source-Export File (every frame to C:\Users\yourlogin\Videos\name-#####.jpg) But you do want to pay attention to the quality setting. I didn't know about that at first, and noticed the image files were a big "soft". I think there is a default sharpness it uses, if you don't specify something. You can try with and without the QV thing and see for yourself. Paul |
#7
|
|||
|
|||
Convert a 1280x725 MP4 video to a few dozen jpeg files?
Paul posted:
But you do want to pay attention to the quality setting. OP didn't ask. |
#8
|
|||
|
|||
Convert a 1280x725 MP4 video to a few dozen jpeg files?
I use VLC.
Just use the record button to record whatever portions of a full video you want. |
Thread Tools | |
Display Modes | |
|
|