Getting sizes without displaying

macOS specific usage questions
Clafoutis
Blank Cone
Blank Cone
Posts: 28
Joined: 06 Oct 2007 18:16

Getting sizes without displaying

Postby Clafoutis » 25 May 2008 09:00

Hi!

When I open a file with verbose=2, I can read from the result the data I need, for example :
[00000347] main video output debug: window size: 768x576

For a resizing utility I am building, I would like to detect video size of a file without displaying anything, so I can set parameters for the transcoded display following.
Is there a way to ask VLC to open and decode a file, return me the dimensions, but without anything displaying on screen ? I tried --no-video but no size is detected, --no-sout-video seems not better...

Any idea of a trick for this ?

Thank you!

Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 9 guests