aspect ratio tags possible?
aspect ratio tags possible?
Thing is I mux bluray discs and no matter the actual movie aspect ratio the file itself will obviously always be 16:9 IE: black bars are part of the video stream.
So when i add these movies in xbmc the program says that these movies have the aspect ratio of 16:9 which is technically correct but I want xbmc to report the visible aspect ratio that the movie was shot in.
Is that possible to add some kind of aspect ratio tag in mkv's with makemkv?
So when i add these movies in xbmc the program says that these movies have the aspect ratio of 16:9 which is technically correct but I want xbmc to report the visible aspect ratio that the movie was shot in.
Is that possible to add some kind of aspect ratio tag in mkv's with makemkv?
Re: aspect ratio tags possible?
DAR is in the MKV header and is easily edited using mkvtoolnix. However, changing the aspect ratio will result in XBMC rendering the 16:9 video stream in this custom non-square pixel ratio too. Black bars will become even larger if rendered on 16:9 display.
Re: aspect ratio tags possible?
I just want to add some type of meta tag that media libraries like xbmc might read and report from in its info label, I dont wanna change the actual AR which is already perfect. In xbmc when browsing through movies it reports different info like which audio it has (truehd or dts 5.1 or 7.1) genre, studio etc etc and also aspect ratio which it reports incorrectly because the black bars is always part of the actual video stream.
Not even sure if xbmc read tags like that even if tags like that where possible though :/
Edit: http://i.imgur.com/iQfAQ.jpg
As you can see it that picture xbmc reports wrong aspect ratio. Captain America has 1.35:1 aspect ratio
Not even sure if xbmc read tags like that even if tags like that where possible though :/
Edit: http://i.imgur.com/iQfAQ.jpg
As you can see it that picture xbmc reports wrong aspect ratio. Captain America has 1.35:1 aspect ratio
Re: aspect ratio tags possible?
edit: duplicate post
Last edited by scph9002 on Tue Jan 15, 2013 10:57 am, edited 1 time in total.
Re: aspect ratio tags possible?
Right. Which is why the OP is asking for a "tag" (metadata such as "Artist", "Genre", etc.). Of course XBMC would have to be able to interpret this in order to display the information.leenuss wrote:DAR is in the MKV header and is easily edited using mkvtoolnix. However, changing the aspect ratio will result in XBMC rendering the 16:9 video stream in this custom non-square pixel ratio too. Black bars will become even larger if rendered on 16:9 display.
And I doubt MakeMKV is the app which should write that tag. It would involve letterboxing/pillarboxing detection and therefore require video decoders. Probably the best way to do this would be manually via a dedicated metadata editor.
-
- Posts: 15
- Joined: Sat Jul 07, 2012 2:00 am
Re: aspect ratio tags possible?
I don't think there is such a tag in mkv... only way would be checking if you can edit XBMC manually...
Re: aspect ratio tags possible?
You're looking for the crop tag; not aspect ratio.
This can be set using
This can be set using
Code: Select all
mkvmerge --cropping
Like ffmpeg, which comes bundled with MakeMKV?And I doubt MakeMKV is the app which should write that tag. It would involve letterboxing/pillarboxing detection and therefore require video decoders.
Re: aspect ratio tags possible?
Display aspect ratio is always 4:3 or 16:9.
But you can change the pixel aspect ratio ("PAR", aspect ratio signal) with mkvmerge-gui's header editor ("Video pixel width" & "Video pixel height") or on the command line with mkvpropedit:
Calculate par = dar / sar.
But you can change the pixel aspect ratio ("PAR", aspect ratio signal) with mkvmerge-gui's header editor ("Video pixel width" & "Video pixel height") or on the command line with mkvpropedit:
Code: Select all
mkvpropedit myvideo.mkv --edit track:v1 --set pixel-width=nnn --set pixel-height=nnn
Re: aspect ratio tags possible?
You can have XBMC display the correct aspect ratio by adding the info to a local .nfo file for the movie with stream details.
e.g.:
e.g.:
Code: Select all
<fileinfo>
<streamdetails>
<audio>
<channels>6</channels>
<codec>dtshd_ma</codec>
<language>eng</language>
<longlanguage>English</longlanguage>
</audio>
<subtitle>
<language>eng</language>
<longlanguage>English</longlanguage>
</subtitle>
<video>
<aspect>2.35</aspect>
<codec>h264</codec>
<durationinseconds>5704</durationinseconds>
<height>1080</height>
<language>eng</language>
<longlanguage>English</longlanguage>
<scantype>Progressive</scantype>
<width>1920</width>
</video>
</streamdetails>
</fileinfo>
Re: aspect ratio tags possible?
Is there a format reference for this?
Re: aspect ratio tags possible?
Try here: http://wiki.xbmc.org/index.php?title=NFO_files/moviesRomansh wrote:Is there a format reference for this?
Re: aspect ratio tags possible?
That would come in handy. Thanks!
Re: aspect ratio tags possible?
This does not work.bw001 wrote:You can have XBMC display the correct aspect ratio by adding the info to a local .nfo file for the movie with stream details.
e.g.:Code: Select all
<fileinfo> <streamdetails> <audio> <channels>6</channels> <codec>dtshd_ma</codec> <language>eng</language> <longlanguage>English</longlanguage> </audio> <subtitle> <language>eng</language> <longlanguage>English</longlanguage> </subtitle> <video> <aspect>2.35</aspect> <codec>h264</codec> <durationinseconds>5704</durationinseconds> <height>1080</height> <language>eng</language> <longlanguage>English</longlanguage> <scantype>Progressive</scantype> <width>1920</width> </video> </streamdetails> </fileinfo>
http://forum.xbmc.org/showthread.php?ti ... pid1477144