scene-width and scene-height doesnt work

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Bigelow444
New Cone
New Cone
Posts: 2
Joined: 02 May 2015 10:35

scene-width and scene-height doesnt work

Postby Bigelow444 » 02 May 2015 10:57

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: scene-width and scene-height doesnt work

Postby Jean-Baptiste Kempf » 02 May 2015 19:59

Did you try in PNG?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Bigelow444
New Cone
New Cone
Posts: 2
Joined: 02 May 2015 10:35

Re: scene-width and scene-height doesnt work

Postby Bigelow444 » 04 May 2015 14:43

.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.

CrapulaX
Blank Cone
Blank Cone
Posts: 35
Joined: 12 Jun 2009 11:43

Re: scene-width and scene-height doesnt work

Postby CrapulaX » 11 Sep 2015 18:02

I had the same pb on MacOs, I downloaded the 2.2.2 nightly build and the problem disappeared (at least in png)


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests