A Windows XP help forum. PCbanter

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.

Go Back   Home » PCbanter forum » Microsoft Windows XP » General XP issues or comments
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Convert a 1280x725 MP4 video to a few dozen jpeg files?



 
 
Thread Tools Display Modes
  #1  
Old July 10th 19, 08:14 PM posted to microsoft.public.windowsxp.general
BillAhearn
external usenet poster
 
Posts: 18
Default 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  
Old July 10th 19, 08:41 PM posted to microsoft.public.windowsxp.general
Paul[_32_]
external usenet poster
 
Posts: 9,472
Default 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  
Old July 10th 19, 09:15 PM posted to microsoft.public.windowsxp.general
Shadow
external usenet poster
 
Posts: 1,387
Default 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  
Old July 10th 19, 10:49 PM posted to microsoft.public.windowsxp.general
Paul in Houston TX[_2_]
external usenet poster
 
Posts: 927
Default 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  
Old July 11th 19, 03:40 AM posted to microsoft.public.windowsxp.general
Jean Fredette
external usenet poster
 
Posts: 42
Default 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  
Old July 11th 19, 03:49 AM posted to microsoft.public.windowsxp.general
Paul[_32_]
external usenet poster
 
Posts: 9,472
Default 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  
Old July 11th 19, 04:01 AM posted to microsoft.public.windowsxp.general
Jean Fredette
external usenet poster
 
Posts: 42
Default 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  
Old July 13th 19, 06:33 PM posted to microsoft.public.windowsxp.general
OGuest
external usenet poster
 
Posts: 1
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 01:04 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2004-2019 PCbanter.
The comments are property of their posters.