OS: WIndows XP sp3, norwegian
VLC media player 2.0.4 Twoflower
The problem is that when I run the command (specified further down) that makes VLC extract image frames from the video file, two things goes wrong:
- Many (about two thirds) png files is just empty, counting 0 bytes. I've tried to update Windows Explorer, and that verifies that the files is actually empty.
- The remaining png files is very low in number. If total number of frames should have being around 330 (15fps times movie length of 22 seconds) then the number of pngfiles that VLC makes counts 117, whereas 87 is empty.
Code: Select all
D:\Multimedia\Avspillere\VLC\vlc.exe 1.AVI --video-filter=scene --vout=dummy --start-time=0 --stop-time=5 --scene-ratio=1 --scene-prefix=img- --scene-path=H:\Mydocuments\kart-test\v\img\ vlc://quit
Code: Select all
Stream 0
Type: VIdeo
Codec: Motion JPEG Video (MJPG)
Resolution: 640x480
Frame rate: 15.000150
Decoded format: PLanar 4:2:2 YUV full scale
Stream 1
Type: Audio
Codec: PCM MU-LAW (mlaw)
Channels: Mono
Sample rate: 8000 Hz
Bits per sample: 8
Ok, I have tried the following:
Removing the "--stop-time=5" makes VLC producing more files. 409 empty ones and 113 files that actually show the frames. But it's still most empty files.
I've tried with different values numbers after "--scene-ratio=" from 1 to 20. It seems that changing the number will change VLC's behaviour somewhere the following wrong states:
- Few images (down to 17 when I used the number to 20) but none empty images
- Many images, but most of the png images that VLC produce is empty.
Thanks