Page 1 of 1

scene-width and scene-height doesnt work

Posted: 02 May 2015 10:57
by Bigelow444
Hello guys, I have 2 problems you might be able to help me with. I am trying to extract jpeg frames from video files via the command line.

I am running VLC 2.2.1 on Windows 7 and my problems are as follows:

1. First frame of each sequence is black for large files
2. I can't change width and height of extracted frames.

I am using this code and it extracts 4 frames, the first one is often black and VLC never resizes the extracted images. What gives?

c:\vlc\vlc.exe --noaudio --video-filter scene --vout=dummy --scene-format=jpeg --scene-width=200 --scene-height=200 --scene-prefix=thumb --no-scene-replace --scene-ratio 20 --start-time=25 --stop-time=28 --scene-path="c:\atest" "C:\atest\movie.avi" vlc://quit

Re: scene-width and scene-height doesnt work

Posted: 02 May 2015 19:59
by Jean-Baptiste Kempf
Did you try in PNG?

Re: scene-width and scene-height doesnt work

Posted: 04 May 2015 14:43
by Bigelow444
.png files are bigger and anyway, shouldn't it work for .jpg?????

and yes, i tried it with .png and no, it doesnt work for me.

Can anyone confirm that resizing works in any configuration at all similar to the one I am using. Hopefully with a post of sample code.

Re: scene-width and scene-height doesnt work

Posted: 11 Sep 2015 18:02
by CrapulaX
I had the same pb on MacOs, I downloaded the 2.2.2 nightly build and the problem disappeared (at least in png)