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 > Hardware & Software > Software players

View Poll Results: Which Matrosa features do you use?
Basic Chapters / Nested Chapters 19 90.48%
Ordered Chapters 11 52.38%
Nested Ordered Chapters 1 4.76%
Matroska Editions 8 38.10%
Matroska Hard-Linking 1 4.76%
Matroska Medium-Linking (Chapter-Segment-Linking) 4 19.05%
Matroska Soft-Linking (Matroska DVD menu) 0 0%
Native Matroska menu 1 4.76%
Video Rotation 1 4.76%
TRACKSETEX / Tracks selection per chapter 2 9.52%
Multiple Choice Poll. Voters: 21. You may not vote on this poll

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th June 2019, 13:49   #1  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,171
Matroska-Playback

Matroska-Playback is an overview of the players and their ability to use Matroska features.

Matroska is a container that offers the possibility to play a video alternatively.
This means, for example, that video content can be swapped or dropped, or additional video from other files can be used.

The video can be rotated.

Matroska even offers a menu option, which is not well supported yet.

There are test files for each Matroska feature.

Whenever I have some time, I try to add more players to the list. If you like you can also use the test files for your own favorite player and tell me how the results were.
__________________
chapterEditor || Matroska-Playback || hSplit || DiscShare
hubblec4 is offline   Reply With Quote
Old 8th June 2019, 14:23   #2  |  Link
lvqcl
Registered User
 
Join Date: Aug 2015
Posts: 149
Quote:
Furthermore, other external DirectShow filters can be used, such as the Haali Splitter
Isn't it is dead already?
lvqcl is offline   Reply With Quote
Old 8th June 2019, 14:35   #3  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,467
thx for the test files. Now I can see all features in action.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository
ChaosKing is offline   Reply With Quote
Old 8th June 2019, 15:56   #4  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,171
Quote:
Originally Posted by lvqcl View Post
Isn't it is dead already?
Dead, no. But not really used anymore. But I like Haali's TRACKSETEX and some of my mkv's use it.
__________________
chapterEditor || Matroska-Playback || hSplit || DiscShare
hubblec4 is offline   Reply With Quote
Old 12th June 2019, 14:38   #5  |  Link
ashlar42
Registered User
 
Join Date: Jun 2007
Posts: 433
Really interesting, hubblec4, thanks for sharing.
ashlar42 is offline   Reply With Quote
Old 14th June 2019, 00:10   #6  |  Link
shae
Registered User
 
Join Date: Jun 2006
Posts: 347
I'm not sure of the official names of stuff I've used.

I'm guessing Basic Chapters (just marker points in the video), and Editions (alternate cuts).

Assuming rotation is just a flag, that's something I wanted to use recently but concluded that MKV doesn't support it, so I've reverted to MP4.
shae is offline   Reply With Quote
Old 14th June 2019, 18:43   #7  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,171
Quote:
Originally Posted by ashlar42 View Post
Really interesting, hubblec4, thanks for sharing.
Quote:
Originally Posted by ashlar42 View Post
Really interesting, hubblec4, thanks for sharing.
You are welcome.

Quote:
Originally Posted by shae View Post
I'm not sure of the official names of stuff I've used.

I'm guessing Basic Chapters (just marker points in the video), and Editions (alternate cuts).
Yes. Editions are mostly used for different movie versions. But you can use it for other things. For example: I have TNG as DVD and Blu-ray. And the Blu-ray-mkv's have an extra edition for the DVD chapters, because the markers are different to the Blu-ray.

Quote:
Originally Posted by shae View Post
Assuming rotation is just a flag, that's something I wanted to use recently but concluded that MKV doesn't support it, so I've reverted to MP4.
Matroska supports video rotation via the ProjectionPoseRoll element. It can be set/changed with mkvpropedit. But at present there is no player which support this flag.
Three players(from which I know) offers video rotation via Matroska Tags.
__________________
chapterEditor || Matroska-Playback || hSplit || DiscShare
hubblec4 is offline   Reply With Quote
Old 17th June 2019, 12:31   #8  |  Link
shae
Registered User
 
Join Date: Jun 2006
Posts: 347
How's the ProjectionPoseRoll element stored, versus tags?

Can either be in-place edited in all cases?
shae is offline   Reply With Quote
Old 17th June 2019, 13:38   #9  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,570
Elements like ProjectionPoseRoll can be edited with a single command for mkvpropedit or a few clicks in MKVToolNixGUI (Header Editor). Tags can be edited in-place as well but it's more complicated because you basically extract XML, parse/edit and then re-integrate it. MKVToolNix does the XML extraction and re-integration but the difficult XML editing is your own job. But hubblec4's chapterEditor offers help with editing tags.
sneaker_ger is offline   Reply With Quote
Old 1st February 2021, 05:10   #10  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,490
Support for the "ProjectionPoseRoll" element was added in MPC-BE 1.5.6.5997.

The wording of "ProjectionPoseRoll" is pretty confusing for the average user.
Matroska Element Specification
Quote:
ProjectionPoseRoll
Specifies a roll rotation to the projection. Value represents a counter-clockwise rotation, in degrees, around the forward vector.
Here is a picture for illustration.

The vector is directed forward, rotating counterclockwise relative to the vector. Accordingly, the picture that is in front of the observer rotates clockwise. Did I understand everything correctly?

Maybe there are some clear and proven MKV samples?
v0lt is offline   Reply With Quote
Old 1st February 2021, 13:45   #11  |  Link
butterw2
Registered User
 
Join Date: Jun 2020
Posts: 195
Doesn't Mkv also have container level video crop parameters, which almost all software player ignore ?
butterw2 is offline   Reply With Quote
Old 1st February 2021, 14:08   #12  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,549
Quote:
Originally Posted by butterw2 View Post
Doesn't Mkv also have container level video crop parameters, which almost all software player ignore ?
MPC-BE support video crop from matroska.
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /AMD Radeon R9 16Gb@3200 /Kingston 500Gb M.2 /GTX 1650 /Samsung U28R550UQI /LG 47LM620T /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 1st February 2021, 18:58   #13  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,171
Quote:
Originally Posted by v0lt View Post
Support for the "ProjectionPoseRoll" element was added in MPC-BE 1.5.6.5997.
Many thanks for this info, and now MPC-BE the first player which support this flag. Great job!

Quote:
Originally Posted by v0lt View Post
The wording of "ProjectionPoseRoll" is pretty confusing for the average user.
Yes, I agree with you.

Quote:
Originally Posted by v0lt View Post
The vector is directed forward, rotating counterclockwise relative to the vector. Accordingly, the picture that is in front of the observer rotates clockwise. Did I understand everything correctly?
The rotation is applied to the z-axis.
Keep in mind the type of "ProjectionPoseRoll element" is Float and the value can be negative.
For a positive value the video rotates clockwise and with negative values counterclockwise.
The rotation result for the values -180 and 180 is equal. The frames are then upside down.

Rotation with the Matroska Tags works a bit different. Only positive Integer values can be used.
A value of 270 is the same as a value of -90 with the "ProjectionPoseRoll element"


Quote:
Originally Posted by v0lt View Post
Maybe there are some clear and proven MKV samples?
Only one sample mkv is there in the Matroska-Playback repo.


I keep in mind to update the Matroska-Playback repo and add more test files.
__________________
chapterEditor || Matroska-Playback || hSplit || DiscShare

Last edited by hubblec4; 1st February 2021 at 19:09.
hubblec4 is offline   Reply With Quote
Old 2nd February 2021, 12:13   #14  |  Link
butterw2
Registered User
 
Join Date: Jun 2020
Posts: 195
Quote:
Originally Posted by Aleksoid1978 View Post
MPC-BE support video crop from matroska.
mpc-be 1.5.6 does crop according to the mkv cropping flag, but the issue is also whether the image has the right AR afterwards.

I tested cropping 1280x720p to 504x720 (388,0,388,0). It did work by also setting the mkv DAR flag.
Note that 504 is mod-8, which seems to matter here (mod-2 502 didn't provide the correct AR).
butterw2 is offline   Reply With Quote
Old 2nd February 2021, 18:15   #15  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,490
Quote:
Originally Posted by hubblec4 View Post
Only one sample mkv is there in the Matroska-Playback repo.
This sample is unfortunate. First, it rotates 180 degrees, which does not tell us about the direction of rotation. Secondly, after rotation, the picture becomes incorrectly oriented.
Rotation values +90 and -90, which make the video correct, would be more convenient for testing.

Quote:
Originally Posted by butterw2 View Post
I tested cropping 1280x720p to 504x720 (388,0,388,0). It did work by also setting the mkv DAR flag.
Note that 504 is mod-8, which seems to matter here (mod-2 502 didn't provide the correct AR).
The value after cropping the frame should not be a multiple of 8. Just specify the resulting size in DisplayWidth and DisplayHeight.
v0lt is offline   Reply With Quote
Old 2nd February 2021, 19:11   #16  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,171
Quote:
Originally Posted by v0lt View Post
This sample is unfortunate. First, it rotates 180 degrees, which does not tell us about the direction of rotation. Secondly, after rotation, the picture becomes incorrectly oriented.
Rotation values +90 and -90, which make the video correct, would be more convenient for testing.
Yes, you are right. Thanks for this hint.
__________________
chapterEditor || Matroska-Playback || hSplit || DiscShare
hubblec4 is offline   Reply With Quote
Old 2nd February 2021, 21:04   #17  |  Link
butterw2
Registered User
 
Join Date: Jun 2020
Posts: 195
Quote:
Originally Posted by v0lt View Post
The value after cropping the frame should not be a multiple of 8. Just specify the resulting size in DisplayWidth and DisplayHeight.
I'm not sure what the issue with mod-2 was. Setting crop+DAR or DisplayWidth seems to work OK with mkvtoolnix GUI.

Mkv crop works with mpc-be. The remaining problem would be that some other software players (mpv, vlc), and also icaros thumbnails take into account the DAR modification but not the crop and as a result they display wrong AR.
butterw2 is offline   Reply With Quote
Old 3rd February 2021, 02:20   #18  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,171
I have updated the Matroska-Playback repo with the new MPC-BE build and add some text and 2 new test files for the rotation (-90, +90).
__________________
chapterEditor || Matroska-Playback || hSplit || DiscShare
hubblec4 is offline   Reply With Quote
Reply

Tags
matroska, playback, players

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 02:21.


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