Page 1 of 1

Video Filter: Scene Video Filter - extract all frames won't work

Posted: 10 Dec 2021 15:21
by Change
Hello,

i want to extract the frames of some short videos. For that i am using the Scene Video Filter of VLC.
Now i have the Problem, that VLC doesn't seem to extract all frames.

I used the recording ratio of 1 to get all frames.
The math should be with my example file of 6 sec and 29,999 fps:
6 * 29,999 = 179,994 images rounded to 179 images

The current result is 33 images.
When increasing the record ratio to 2 i get 30 images. That doesnt make sense.

Can someone help me whats the issue?

Thank you very much in advance.

Re: Video Filter: Scene Video Filter - extract all frames won't work

Posted: 12 Dec 2021 11:56
by Lotesdelere
Please open Tools -> Messages (set Verbosity to 2) before you start the playback, and then paste the full resulting log here or on Pastebin.com if it's too long.

Re: Video Filter: Scene Video Filter - extract all frames won't work

Posted: 22 Jan 2022 02:58
by Vasareus
I've run into the same problem. I tested extracting all the frames from a clip as jpeg, and as png, using both .mov and .mp4 file formats. I compared VLC to ffmpeg and a commercial program - which I noted I cannot talk about. The video clip was 231 frames (7.7 seconds at 30 fps). Results below:
VLC testing:
.MOV file
At full resolution (1920x1080) using the -1,-1 default output resolution. Ratio=1, 231 frames: png 66, jpeg 190.
Reducing the output resolution to 544x960, Ratio=1, 231 frames: png 196, jpeg 196
Reducing the output resolution to 320x480, Ratio=1 231 frames: png 231, jpeg 231

.MP4 file (used the same video clip just converted to .MP4)
At full resolution (1920x1080) using the -1,-1 default output resolution. Ratio=1, 231 frames: png 66, jpeg 189. (essentially the same as above)
Reducing the output resolution to 544x960, Ratio=1, 231 frames: png 197, jpeg 231 (VLC did better with .mp4 at rendering out jpegs at this resolution than did .mov )
Reducing the output resolution to 320x480, Ratio=1 231 frames: png 231, jpeg 231 (same as .mov)

FFMPEG testing:
ffmpeg, testing both the .mov and .mp4 video clips, at full output resolution, extracting every frame, consistently output png 231, and jpeg 231. ffmpeg rendered every frame and was as fast, if not faster than VLC. I am not sure why VLC couldn't extract every frame - and just take a little longer to do it. I wonder what it would do with a 4K video clip?