I'm working with a large collection of varied video formats going back decades. I want to make sure I can quickly see the pixel aspect ratio of a video to make sure we have the correct copies and formats digitzed.
MovieScanner2 provides the resolution and the 'Display Aspect Ratio' but in some cases I suspect it may be showing me the Storage Aspect Ratio. (I may be misunderstanding something!)
For instance -
A file opens in quicktime, and the inspector tells me that it is 720 × 480 (640 × 480) - DV/DVCPRO - NTSC. So I will assume that the Display Aspect Ratio should be 4:3, and the Storage Aspect Ratio is 720 x 840, and therefore a pixel aspect ratio of 0.889... - standard NTSC. (link)
However, MovieScanner is telling me the file's 'Display Aspect Ratio' is 3:2 - which makes me think it is reading the 720 × 480 dimensions, and not the 640 × 480.
Can we clarify this? (or correct my misunderstanding?)
Can we display an explicit Pixel Aspect Ratio value?
(fixed funky link)
This topic was modified 6 days ago 2 times by Hans
Let's start with apologies for the late reply ... 😁
Maybe I should start with that MovieScanner isn't a pro-tool, and my video knowledge is limited to "good enough" for what I use it for.
As for the aspect ratio, this is calculated based on width and height as provided as the video stream "width" and "height" by ffProbe. Not to be confused with coded_with and coded_height (right click a scanned video in MovieScanner and select "Copy ffProbe output to clipboard" so you can copy it to a text editor).
So maybe see if we can learn something from that - I'd be more than happy to learn something new and improve my "calculation".
Note that you may see a sample_aspect_ratio and a display_aspect_ratio, like this example:
However, often enough there is no aspect ratio defined and we will see something like this:
So I had to make a function to calculate the aspect ratio and with the best of my abilities I came to the width:height ratio (as it should be). This will however at times result in very weird numbers. For example: a width of 1268 and a height of 720 would result in a 317:180 ratio - which makes no sense for most users of course. Here the 16:9 ratio makes more sense for the user.
This is why I made a function that brings ratios closer to more normal or common aspect ratio's. Of course this could potentially come with aspect ratio's that a re little "off", although I would hope this is not the case in your situation. I hope that makes sense 😜
The pixels displayed is the "width" and "height" as provided by ffProbe.
MovieScanner will try to get a useful aspect ratio, straight from ffProbe, by using display_aspect_ratio. If that value does not exist, or is set to "N/A", or cannot be found in the list of "usual aspect ratio's", then an aspect ratio is calculated based in "width" and "height" as presented by the ffProbe output.
If you could provide an example video, then I wouldn't mind looking into this. Always room for improvements 😁
p.s. you will not be able to upload the video in the forum. Too big, and you're not yet allowed to post attachments. You could use WeTransfer, or a share on Google Drive or something like that.
Frizting Free tool to design schematics and PCB's - they even offer a very affordable PCB production service.
Animizer Animizer.net provides complete online toolbox for animations (GIF and APNG) - Edit, Assemble, Split or Convert, it's all there.
Packages Great tool for MacOS X developers, to create your own installer packages (free).
Media Player Classic My favorite media player for Windows - light weight and supports all common video formats.
XMedia Recode Excellent tool for Windows users to convert pretty much any video format to any other video format, including some helpful options like removing unwanted tracks.
OpenElec The ultimate XBMC distribution. No operating system required, comes completely in a compact form with Embedded Linux, for Intel, AMD, AppleTV, Raspberry Pi, etc.
Links Page These and more of our favorite links can be found on the Links Page.
ConnectMeNow4-v4.0.8-macOS-arm64.dmgDate: 2023-03-18 - Size: 2.6 MBVersion 4 of ConnectMeNow - A tool for more convenient mounting of network shares under macOS. This is the Apple Silicon version (not suitable for Intel).
ConnectMeNow4-v4.0.8-macOS-x86-64.dmgDate: 2023-03-15 - Size: 3 MBVersion 4 of ConnectMeNow - A tool for more convenient mounting of network shares under macOS. This is the Intel version which works on Intel and Apple Silicon Macs.
MovieScanner2-2.1.3-Windows-32bit-setup.exeDate: 2023-03-09 - Size: 18.6 MBA small application that uses FFProbe to scan your video files and logs these details in a small database. This is the 32 bit Windows version.
MovieScanner2-2.1.3-Linux-QT5-64bits.tar.gzDate: 2023-03-08 - Size: 29.1 MBA small application that uses FFProbe to scan your video files and logs these details in a small database. This is the 64 bit Linux version for QT5.
MovieScanner2-2.1.3-Linux-GTK-64bits.tar.gzDate: 2023-03-08 - Size: 29.2 MBA small application that uses FFProbe to scan your video files and logs these details in a small database. This is the 64 bit Linux version for GTK.
MovieScanner2-2.1.3-macOS-64bit.dmgDate: 2023-03-08 - Size: 26.3 MBA small application that uses FFProbe to scan your video files and logs these details in a small database. This is the 64 bit macOS version.
Downloads Page Find these and more Downloads on the Downloads Page, where you will also find articles references, operating system requirements and categories.
Support us by doing your shopping at Amazon.com, either click the link, or click one of the links below …
You can also sponsor us through these Amazon offerings: