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. |
11th May 2014, 19:43 | #1 | Link |
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. |
11th May 2014, 20:45 | #2 | Link |
Registered User
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. |
11th May 2014, 22:14 | #3 | Link |
Life's clearer in 4K UHD
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 |
|
|
|