Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Announcements and Chat > General Discussion
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th May 2014, 19:43   #1  |  Link
ScottJ
Registered User
 
Join Date: Sep 2012
Posts: 22
Find video aspect ratio (not just mediainfo)

I'm looking for something that can analyze my Blu-ray rips and tell me the exact aspect ratio. Mediainfo always shows 16:9. I want to analyze the video, exclude the black bars, and tell me the size of the active picture area.

I prefer a Linux command-line tool. A GUI like Virtualdub is no good as I need to automate this for hundreds of files.

Purpose is to move my screen-masking system to the right place for each movie. Precision is important; I want to distinguish 2.35 from 2.40, for example.
ScottJ is offline   Reply With Quote
Old 11th May 2014, 20:45   #2  |  Link
Motenai Yoda
Registered User
 
Motenai Yoda's Avatar
 
Join Date: Jan 2010
Posts: 709
mplayer/mencoder/ffmpeg have a filter for this, cropdetect, perhaps starting with these scripts something can be done.

http://takla.wordpress.com/2012/06/01/ffmpeg-autocrop-bash-script-function/

Last edited by Motenai Yoda; 11th May 2014 at 20:47.
Motenai Yoda is offline   Reply With Quote
Old 11th May 2014, 22:14   #3  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Capture a still image and crop away the black mattes to reveal the number of remaining image pixels
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 11th May 2014, 23:46   #4  |  Link
ScottJ
Registered User
 
Join Date: Sep 2012
Posts: 22
Quote:
Originally Posted by Motenai Yoda View Post
mplayer/mencoder/ffmpeg have a filter for this, cropdetect, perhaps starting with these scripts something can be done.

http://takla.wordpress.com/2012/06/01/ffmpeg-autocrop-bash-script-function/
Excellent! This was a big help.
ScottJ is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.