Avidemux Forum

Avidemux => Stable branch (2.5) discussion => Topic started by: _A.T.Omix_ on October 23, 2012, 09:18:25 PM

Title: Skipping every other while exporting into PNG image sequence?
Post by: _A.T.Omix_ on October 23, 2012, 09:18:25 PM
Hello,
I looked everywhere but couldn't find a way to export a portion of a video into an PNG (as opposed to JPEG) image sequence while skipping every other frame or every third frame.
I used to do it with VirtualDub by setting the frame rate (skip 1 frame out of 2) but VirtualDub doesn't support as many video format as AviDemux.
Is it possible to achieve this? Could anyone help me to achieve it?
Title: Re: Skipping every other while exporting into PNG image sequence?
Post by: mean on October 24, 2012, 11:33:55 AM
The resample fps filter should do the trick
Title: Re: Skipping every other while exporting into PNG image sequence?
Post by: _A.T.Omix_ on October 24, 2012, 02:57:55 PM
The problem with resampling is that I have to re-encode the whole video apparently. But never mind I'll delete every other frame manually.
What about saving an image sequence in a lossless format?
Title: Re: Skipping every other while exporting into PNG image sequence?
Post by: styrol on October 24, 2012, 08:38:08 PM
QuoteWhat about saving an image sequence in a lossless format?
Use MPEG Streamclip (QuickTime installation needed):
(1) Load your video, press the I und O key on keyboard to set In and Out Markers, select Trim or Cut from the menu.
(2) Select FILE / EXPORT TO OTHER FORMATS / IMAGE SEQUENCE / OPTIONS
(3) Select PNG and make your settings (e.g. fps =12 = every other frame)
Title: Re: Skipping every other while exporting into PNG image sequence?
Post by: _A.T.Omix_ on October 24, 2012, 09:49:40 PM
I get an "error movie is too long" when I try to export, i did trim the video to 10 seconds through.
Title: Re: Skipping every other while exporting into PNG image sequence?
Post by: styrol on October 24, 2012, 10:20:48 PM
Did a try with a 25 fps MP4 (h264/aac) movie trimmed to 12 seconds @ 12 PNG frames per second: no problem here.

If I remember correctly XMedia Recode or Format Factory should also do the job...
Title: Re: Skipping every other while exporting into PNG image sequence?
Post by: _A.T.Omix_ on October 27, 2012, 02:09:20 AM
Tried Format Factory and it wouldn't let me export as an image sequence, Error Connexion failed.
Title: Re: Skipping every other while exporting into PNG image sequence?
Post by: Jan Gruuthuse on October 27, 2012, 06:53:35 AM
used version of avidemux?
Title: Re: Skipping every other while exporting into PNG image sequence?
Post by: gruntster on October 30, 2012, 12:31:57 AM
Perhaps a Avidemux 2.6 script to save every other frame as a bitmap file would work and then use an external app to convert to png?