wr-forum WOW mod

SearchSearch   Users   Registration   Entrance
Today: 05.12.2025 - 07:50:08
Pages:  1  

Using ffmpeg to capture frame by number

AuthorMessage

CABimmer

user




Statistics:
Messages: 7,936
Registration: 07.08.2002

I need to capture several video frames as .png from .mkv files in an automated way, starting from the frame numbers. I use the following .bat file (windows) which extracts e.g. 4 frames from a .mkv with yuv video. Code:



Message # 1 20.02.21 - 14:02:35
RE: Using ffmpeg to capture frame by number

turbotrixie

user




Statistics:
Messages: 255
Registration: 05.09.2003

Well, VD2 uses avlib-1.vdplugin as decoder, and behind that sits: The very same mother ffmpeg, what else. ;-) Just no lengthy indexing, rather trusting the container- if that hits the correct frame, one may use that. (Here it was not, BTW. DGDecoders are the gold standard here, and they do need indexing.) BTW, if one prefers VD: no image utility needed. VD can export frames: single, sequences, and this can be scripted. And AvsPmod can do that too, with Macros.



Message # 2 20.02.21 - 14:09:39
RE: Using ffmpeg to capture frame by number

bimmerbob

user




Statistics:
Messages: 3
Registration: 12.03.2002

Thanks a lot for info and tips! :thanks: I cannot find the way to script single image export with VD2, bit i managed it with export image sequence. The following script seems to do a good job. Perhaps it needs some tweak with strange characters in file name. It needs Virtualdub2 folder in windows PATH Code:



Message # 3 20.02.21 - 14:14:01
RE: Using ffmpeg to capture frame by number
Anyone know how to change Mute for Solo in the BCF/MCU implementation? : Previous topic
Pages:  1  

Message
Name
Message

Click on the dot next to the name to address the participant

           
   
The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants