Page 1 of 1

Getting parameters from a movie

Posted: 06 Oct 2007 18:20
by Clafoutis
Hello everybody!

I would like VLC to retrieve parameters from a movie : mux, acodec, vcodec, bitrates and so on...
Is this possible (preferably from command lines) ? How to ?
(yes, I searched around and no, I did not find)

Thank you!

Re: Getting parameters from a movie

Posted: 09 Oct 2007 00:38
by DJ
Press ctrl i and go to the Advanced Info and Statistics tabs.

Re: Getting parameters from a movie

Posted: 11 Oct 2007 06:26
by Clafoutis
Thank you for answering.

But what I want is retrieving these infos from the shell result, to use it within my software (to calculate the benefits of a later transcoding...) I saw most of the infos I seek in the result, but not all relevant data is here, and as far as I know, I have to make VLC open the movie and start reading it "aloud" to get the result. Is there a way to have VLC open and read data without any display or sound ? (fake/dummy/virtual output ?) is there a way to collect these advanced info / statistics list of parameters without actually starting a display ?

Thanks again!

Re: Getting parameters from a movie

Posted: 13 Oct 2007 21:08
by zimbot
well, I do not know how to do it...
But i can say I am looking for the same thing...
i have tried using ffmpeg with a -i and the file name without an output file..
that prints good info to console ( stnd out)??? - but I cannot seem to snag anything I can ...parse.

If you find a solution give me a hollar-
if I find anything I will give shout to you.

- best of luck !

Re: Getting parameters from a movie

Posted: 14 Oct 2007 08:07
by Clafoutis
i have tried using ffmpeg with a -i and the file name without an output file..
that prints good info to console ( stnd out)??? - but I cannot seem to snag anything I can ...parse.
I want to get these informations from VLC in a command line.
How can I address the ffmpeg-within-vlc to try this -i command (that I did not see in the help...) ?

Thanks!