Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

looking for a program to scan mkv files for quality

Featured Replies

I have many movies in mkv files, they are 720p, 1080p, and 810p. Is there a program to scan these files and tell me what quality they are without playing them?

I use MediaInfo CLI and call it directly from my php code that serves up media in the browser.

Ive searched for mediainfo cli on sourceforge but i cant find a version for "slackware"... ? do you have a link? And a link to some programming examples on linux?

 

On windows its no problem, there i use the mediainfo api directly from c# ;)

Ok, cool... will look into that one. Goal is to integrate mediainfo in a sabnzbd post processing (python) script, so it renames tv episodes using the correct resolution- and sound formats. Some mkv's i downloaded are incorrectly named, e.g. 'some_series.s03e05.720p.x264.mkv' while the file is in fact a 1920x1080 MPG2 transport stream... doesnt happen a lot but still would be nice to correct that.

Personally I tag every movie folder with the following.

Transformers(720)

Avatar(1080)

10000BC(480)

 

So with a glance I know what everything is without even thinking about it. Doesn't solve your current problem, but for others it might be a decent suggestion.

Ok, cool... will look into that one. Goal is to integrate mediainfo in a sabnzbd post processing (python) script, so it renames tv episodes using the correct resolution- and sound formats. Some mkv's i downloaded are incorrectly named, e.g. 'some_series.s03e05.720p.x264.mkv' while the file is in fact a 1920x1080 MPG2 transport stream... doesnt happen a lot but still would be nice to correct that.

 

The one issues is it will be hard to tell whether said 720p TV show is a TV rip or a bluray rip. I like to redownload shows from the bluray rip when available for my archive because they're usually higher bitrate (better quality) and remove things like the channel logo in the corner or any other on screen graphics. I guess the one way you could possibly tell is by the audio format. If its AC3 it's typically going to be a TV rip but if its DTS it's always going to be bluray. The issue there is some shows that aren't available in bluray but are available in 720p Web-DL (aka from the iTunes Store withe the DRM removed) will also have AC3. I guess for cases like this you will still have to process some stuff manually.

I use MediaInfo CLI with my php to put the data in the bottom RH corner, and select the icons HD and CC (captions).  The text is pulled from IMDB.

 

The second image is the media info screen, that shows the details I wanted, parsed from MediaInfo.

Image1.jpg.21ff1fb349edc665188b5b44f87b02fa.jpg

Image2.jpg.ef6b541eedf61e9e2fcabdb4c91a439d.jpg

  • Author

right now I have the following setup

//unraid/Movies/Movie (year)/Movie (year) - quality.mkv

I know there are problems cause one of my movies for sure is 720p and is says 1080p

I have to figure out if I can easily get mediainfo to scan and rename things to

//unraid/Movies/Movie (year) quality/Movie (year)  - quality.mkv

I've thought about doing the same so I can have the same quality across the board(for the most part) but honestly I'm afraid. By far I know I don't have the largest library here, but I know my ocd would kick in and I couldn't rest until they were all the same.

 

...and I have a feeling the quality would be all over the place if I looked right now

ok, got the libmediainfo working native from python, nice :) have to study the interface a bit, with all the different options and inform calls and its parameters, but the basics are working.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.