PDA

View Full Version : SelectEvery not working


juGGaKNot
1st July 2009, 11:50
AVIsource("C:\x2 6 4\movie.avi",audio=false)
SelectEvery(120, 0)
ImageWriter("C:\x2 6 4\Movie_2D\Movie\Screenshot2D", type="bmp")

the source is 1800 frames so i should get 15 screens no ? i only get 2 screens.

What can be the problem ?

THNX, cheers.

Gavino
1st July 2009, 12:38
You need to process the entire clip for ImageWriter to write every frame.

You can use VirtualDub's 'video analysis pass' to do this, for example (or just 'play' in any player that supports AVS).

juGGaKNot
1st July 2009, 13:13
You need to process the entire clip for ImageWriter to write every frame.

You can use VirtualDub's 'video analysis pass' to do this, for example (or just 'play' in any player that supports AVS).

I need to keep it all in the cmd

A player that has a -silent option or some sort of app that can do the analysis pass ?

J_Darnley
1st July 2009, 15:38
avsutil file.avs play
mplayer
ffmpeg

kemuri-_9
1st July 2009, 16:06
avs2yuv file.avs -o NUL

juGGaKNot
1st July 2009, 16:23
avsutil file.avs play
mplayer
ffmpeg

THNX, as usual.

thnx Gavino, same here.

avs2yuv file.avs -o NUL

thnx.

BTW i would prefer using ffmpeg, avs2yuv and avsutil are old and buggy right ?

now i was using ffmpeg -i file.avs and it did not read it all