Discussion:
Height and Width of a Windows Video file
Jean-Luc Arnaud
2017-11-29 10:46:46 UTC
Permalink
Hi,

As said in the Xojo Language reference: "/Although you can create a
Movie object on Windows, its properties are only accurate if QuickTime
is installed./"

So, how to get width and height of a Windows video file, using MBS, API calls or Shell command?

TIA for any help
--
Jean-Luc Arnaud




To unsubscribe, email ***@xojo.com
Tim Jones
2017-11-29 13:32:09 UTC
Permalink
Post by Jean-Luc Arnaud
Hi,
As said in the Xojo Language reference: "/Although you can create a
Movie object on Windows, its properties are only accurate if QuickTime
is installed./"
So, how to get width and height of a Windows video file, using MBS, API calls or Shell command?
You could require that the user install the ffmpeg runtime (it's free) and then call out to that.

--
Tim



To unsubscribe, email ***@xojo.com
Jean-Luc Arnaud
2017-11-29 13:40:38 UTC
Permalink
Thanks, Tim.

I'm actually using the MediaInfo utility as a Shell command.

My goal is to not use such an external utility or have the user to
install something.

Jean-Luc Arnaud
Post by Tim Jones
Post by Jean-Luc Arnaud
Hi,
As said in the Xojo Language reference: "/Although you can create a
Movie object on Windows, its properties are only accurate if QuickTime
is installed./"
So, how to get width and height of a Windows video file, using MBS, API calls or Shell command?
You could require that the user install the ffmpeg runtime (it's free) and then call out to that.
--
Tim
To unsubscribe, email ***@xojo.com
Tim Jones
2017-11-29 22:11:12 UTC
Permalink
Post by Jean-Luc Arnaud
Thanks, Tim.
I'm actually using the MediaInfo utility as a Shell command.
My goal is to not use such an external utility or have the user to install something.
Curious since MediaInfo seems to be a third party tool, as well. Where did you get that?

--
Tim




To unsubscribe, email ***@xojo.com
Jean-Luc Arnaud
2017-11-30 08:42:30 UTC
Permalink
https://mediaarea.net/ and https://mediaarea.net/fr/MediaInfo/Download.

There is a .dll version, and I'm currently trying to code calls to it.
It works, but some parameters are not clear, or not documented enough,
so I just achived to open a file and get all information. Unsuccessful
with Get calls (allowing to get only one parameter).

https://mediaarea.net/fr/MediaInfo/Download/Windows for downloading
either MediaInfo or Mediainfo.dll (for Windows).

Jean-Luc Arnaud
Post by Tim Jones
Post by Jean-Luc Arnaud
Thanks, Tim.
I'm actually using the MediaInfo utility as a Shell command.
My goal is to not use such an external utility or have the user to install something.
Curious since MediaInfo seems to be a third party tool, as well. Where did you get that?
--
Tim
To unsubscribe, email ***@xojo.com

Continue reading on narkive:
Loading...