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 > Capturing and Editing Video > New and alternative a/v containers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th April 2023, 15:06   #1841  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Interlaced HEVC is practically unsupported in the entire open-source video world. Would strongly advise to not use it.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 29th April 2023, 18:27   #1842  |  Link
AYColumbia
Registered User
 
AYColumbia's Avatar
 
Join Date: Jun 2013
Posts: 57
Quote:
Originally Posted by nevcairiel View Post
Interlaced HEVC is practically unsupported in the entire open-source video world. Would strongly advise to not use it.
The input is interlaced but the output is NOT. I only add the --interlace switch because the x265 docs state that it indicates the input is interlaced.

I'm just trying to figure out why the resolution is winding up as it is.
AYColumbia is offline   Reply With Quote
Old 29th April 2023, 19:08   #1843  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
If the input is interlaced, then the output is interlaced. If you want it otherwise, deinterlace it first. --interlace indicates the input is interlaced, quite right, but it also tasks x265 to encode it as interlaced.
If you set --interlace with x265, it expects you to feed it individual fields, which you likely did not do, so it got frames, thinking those are fields (which would be half the height), hence your output is double the height.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 29th April 2023 at 19:10.
nevcairiel is offline   Reply With Quote
Old 30th April 2023, 00:10   #1844  |  Link
AYColumbia
Registered User
 
AYColumbia's Avatar
 
Join Date: Jun 2013
Posts: 57
Quote:
Originally Posted by nevcairiel View Post
If the input is interlaced, then the output is interlaced. If you want it otherwise, deinterlace it first. --interlace indicates the input is interlaced, quite right, but it also tasks x265 to encode it as interlaced.
If you set --interlace with x265, it expects you to feed it individual fields, which you likely did not do, so it got frames, thinking those are fields (which would be half the height), hence your output is double the height.
Oof, yikes. I didn't realize that based on the full help and how it's worded. I also made and incorrect assumption that MediaInfo would show it as interlaced which it does NOT. I really appreciate you responding and clarifying. I'll have to reencode one more time. Thanks again.
AYColumbia is offline   Reply With Quote
Old 30th April 2023, 03:22   #1845  |  Link
Perenista
Registered User
 
Join Date: Oct 2013
Posts: 207
I put 938906 ms in delay for MKVToolnix for a MP3 track (to be in sync with a MKV more than 15 minutes later) and the app returned an error. Why? Is there a limit?
Perenista is offline   Reply With Quote
Old 30th April 2023, 09:41   #1846  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,281
There's no limit. Just guessing, as you didn't post the actual error message: you entered "938906 ms", but that option simply doesn't take a unit suffix. It only expects a number, and that number is interpreted as milliseconds.
__________________
Latest MKVToolNix is v83.0

If I ever ask you to upload something, please use my file server.
Mosu is offline   Reply With Quote
Old 30th April 2023, 11:50   #1847  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,281
MKVToolNix v76.0 released

Heyo!

here's yet another release, v76.0. This is a slightly bigger one in terms of the number of fixed bugs & implemented improvements. Due to the change wrt. the handling of BlockAddition elements (which is required for HDR content for WebM, VP9, AV1`) I strongly recommend users to upgrade.

Here are the usual links: the MKVToolNix home page, the downloads section and the source code.

The Windows and macOS binaries as well as the Linux AppImage are available already. The other Linux binaries are still being built and will be available over the course of the next couple of hours.

Here are the NEWS since the previous release:

Version 76.0 "Celebration" 2023-04-30
Important notes
  • mkvmerge: removed the option "--blockadd". Removing block additional data is not possible anymore, as it is often required for proper decoding. Part of the implementation of #3511.

New features and enhancements
  • mkvmerge: JSON file identification: added a child element called "num_index_entries" to the "properties" track element containing the number of index entries found for a track. Currently only implemented for Matroska files where it contains the number of cue points. See #3510.
  • mkvmerge: the maximum block addition ID track header value is now calculated automatically from both the existing mappings & the actually used block additions in the block groups. Part of the implementation of #3511.
  • mkvmerge: Matroska reader: when reading WebM files that use block additions with ID 4 (HDR for VP9) an appropriate block addition mapping will be created automatically. Part of the implementation of #3511.
  • mkvmerge: MP4 reader: the title/movie name meta data (content of the "udta.meta.ilst.©nam" atom) will now be copied over as the segment title track header attribute. Part of the implementation of #3475.
  • mkvmerge: MP4 reader: the comment & encoder meta data (content of the "udta.meta.ilst.©cmt" & "….©too" atoms) will now be copied over as global tags "COMMENT" & "ENCODER" respectively. Part of the implementation of #3475.
  • mkvmerge, MKVToolNix GUI's multiplexer: added an option to stop processing after the primary video track ends called "--stop-after-video-ends". This discards any remaining packets of other tracks. Part of the implementation #3506.
  • MKVToolNix GUI: only on Windows: the GUI now uses Qt's "Fusion" style instead of the deprecated "Windows Vista" style. The advantage is that as of Qt 6.5 the "Fusion" style properly supports Windows 10's & 11's dark application mode. The Windows binaries are now built with said Qt version. Therefore the option to disable the dark mode has been removed. Fixes #3264 and likely others.
  • MKVToolNix GUI: multiplexer: automatically setting the destination file name: added an option in the preferences for using the first source file's directory name instead of its file name as the basis for the destination file name. Implements #3512.
  • MKVToolNix GUI: multiplexer: double-clicking on certain columns in the "tracks" view will now toggle them directly (columns "Default track" & "Forced track") or activate the corresponding control (columns "Language", "Name" & "Delay"). Double-clicks on other columns will do what they've done before, too: toggling the "Copy item" state. Implements #3513 & others.
  • MKVToolNix GUI: the dialog for editing language tags is now created only the first time the user wants to edit a language tag & cached afterwards instead of creating a new instance each time. This makes subsequent uses instant.

Bug fixes
  • mkvmerge: mkvmerge will now only try to probe for VobSubs if the name of the file to identify ends in either ".idx" or ".sub", preventing mis-identification of other file types if VobSubs with the same base name exist in the same directory. Fixes #3508.
  • mkvmerge: AC-3: mkvmerge will now skip certain types of garbage data (16 bytes starting with 0x01 0x10) that can occur before each sync frame, fixing the file not being identified as AC-3. Fixes #3484.
  • mkvmerge: Matroska reader: when reading files that use block additions with IDs other than 1 (e.g. 4 for HDR for VP9) the IDs will now be kept & written to the output file. Before no ID would be written, effectively using 1 as that's the default value for the corresponding element. Part of the implementation of #3511.
  • mkvmerge: mkvmerge will no longer write block addition mappings or the max block addition ID track header elements when creating a WebM file as those elements aren't supported there. Part of the implementation of #3511.
  • mkvpropedit: fixed replacing chapters & tags in files that don't contain tracks. Fixes #3498.

Have fun 😁
__________________
Latest MKVToolNix is v83.0

If I ever ask you to upload something, please use my file server.
Mosu is offline   Reply With Quote
Old 30th April 2023, 12:34   #1848  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,380
Many thanks for your work, Mosu!!
hubblec4 is offline   Reply With Quote
Old 30th April 2023, 12:37   #1849  |  Link
AYColumbia
Registered User
 
AYColumbia's Avatar
 
Join Date: Jun 2013
Posts: 57
Quote:
Originally Posted by hubblec4 View Post
Many thanks for your work, Mosu!!
My sentiment exactly. Thanks Mosu! 😊
AYColumbia is offline   Reply With Quote
Old 30th April 2023, 13:32   #1850  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 174
love the new features. thanks!
Kuler087 is offline   Reply With Quote
Old 30th April 2023, 18:01   #1851  |  Link
Perenista
Registered User
 
Join Date: Oct 2013
Posts: 207
About my previous comment: that's odd, it wasn't working before... Now it is.

After the update, I noticed another issue:

Using: Windows 11, 64-bit...

Looks like this new MKVTOOLNIX is broken in terms of visuals, dark mode... it was OK before, now it looks like this:

https://i.postimg.cc/1XTjhDdB/MMM.jpg

That blue font for the english track was not what I saw before... same for the grey background...

Also, when we check the box "disable dark mode" it does not stay ticked... even after we restart the app. I am using some sort of dark mode config here...

EDIT: Yep, confirmed to be broken. Restarted Windows, nothing changed. Some sort of regression happened with the visuals of this app. I'll try to get an older version and install in another folder, to show how it looked like.

Oh, OK, just checked your changelog... what exactly was fixed?

Just installed 75.0.0 and it's OK:

https://i.postimg.cc/sDdqVCD4/CORRECT.jpg



How can we fix this?

Last edited by Perenista; 30th April 2023 at 18:31.
Perenista is offline   Reply With Quote
Old 30th April 2023, 19:00   #1852  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,281
Meh. Unfortunate I didn't notice this before the release. There are two separate issues: the link being too dark and the fact that the "disable dark mode" checkbox is still shown on Windows 11 as you cannot turn it off anymore there. I'll address both soon.

You cannot really do anything about it on your end. Either live with it or downgrade.
__________________
Latest MKVToolNix is v83.0

If I ever ask you to upload something, please use my file server.
Mosu is offline   Reply With Quote
Old 30th April 2023, 20:16   #1853  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,281
Turns out this is a bug in Qt 6.5.0 which hardcodes that dark blue for the dark mode. I've filed an issue for it.

Until that's fixed I've also implemented a workaround in MKVToolNix. You can use the latest continuous builds which contain the fix.
__________________
Latest MKVToolNix is v83.0

If I ever ask you to upload something, please use my file server.
Mosu is offline   Reply With Quote
Old 2nd May 2023, 04:37   #1854  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
I got a problem with setting the SAR for av1 content.
Using:
Code:
mkvmerge --ui-language en -o "G:\Output\2023-05-02@05_31_22_6810__06.mkv" --global-tags "J:\tmp\mkvtags_2023-05-02@05_31_22_6810__06.xml" -d 0 --default-track 0:yes --default-duration "0:50/1fps" --aspect-ratio-factor 0:16/15 --no-chapters --compression -1:none --forced-track 0:yes --field-order 0:0 --no-audio --no-subtitles "J:\tmp\Naruto DVD Folge 4_15 sec_new_1_2023-05-02@05_31_22_6810_03.av1"
MediaInfo reports:
Code:
Video
Count                                    : 381
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Unique ID                                : 7344196294740375732
Format                                   : AV1
Format                                   : AV1
Format/Info                              : AOMedia Video 1
Format/Url                               : http://aomedia.org/
Commercial name                          : AV1
Format profile                           : Main@L3.1
Codec ID                                 : V_AV1
Codec ID/Url                             : http://aomedia.org/
Duration                                 : 15280.000000
Duration                                 : 15 s 280 ms
Duration                                 : 15 s 280 ms
Duration                                 : 15 s 280 ms
Duration                                 : 00:00:15.280
Duration                                 : 00:00:15:14
Duration                                 : 00:00:15.280 (00:00:15:14)
Bit rate                                 : 3263008
Bit rate                                 : 3 263 kb/s
Width                                    : 720
Width                                    : 720 pixels
Height                                   : 576
Height                                   : 576 pixels
Sampled_Width                            : 720
Sampled_Height                           : 576
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.250
Display aspect ratio                     : 5:4
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 50.000
Frame rate                               : 50.000 FPS
FrameRate_Num                            : 50
FrameRate_Den                            : 1
Frame count                              : 764
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 10
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.157
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay                                    : 00:00:00:00
Delay                                    : 00:00:00.000 (00:00:00:00)
Delay, origin                            : Container
Delay, origin                            : Container
Stream size                              : 6232346
Stream size                              : 5.94 MiB (100%)
Stream size                              : 6 MiB
Stream size                              : 5.9 MiB
Stream size                              : 5.94 MiB
Stream size                              : 5.944 MiB
Stream size                              : 5.94 MiB (100%)
Proportion of this stream                : 0.99822
Default                                  : Yes
Default                                  : Yes
Forced                                   : Yes
Forced                                   : Yes
colour_description_present               : Yes
colour_description_present_Source        : Stream
Color range                              : Limited
colour_range_Source                      : Stream
colour_primaries_Source                  : Stream
transfer_characteristics_Source          : Stream
Matrix coefficients                      : BT.470 System B/G
matrix_coefficients_Source               : Stream
When using ffmpeg:
Code:
ffmpeg -y  -r 50/1 -i "J:\tmp\Naruto DVD Folge 4_15 sec_new_1_2023-05-02@05_35_15_9110_03.av1" -vcodec copy -metadata encoding_tool="Hybrid 2023.05.01.1" -map 0:0  -aspect 20:15 -r 50/1 "G:\Output\Naruto DVD Folge 4_15 sec_new.mkv"
MediaInfo properly reports:
Code:
Video
Count                                    : 381
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Unique ID                                : 15569613067555342625
Format                                   : AV1
Format                                   : AV1
Format/Info                              : AOMedia Video 1
Format/Url                               : http://aomedia.org/
Commercial name                          : AV1
Format profile                           : Main@L3.1
Codec ID                                 : V_AV1
Codec ID/Url                             : http://aomedia.org/
Duration                                 : 30560.000000
Duration                                 : 30 s 560 ms
Duration                                 : 30 s 560 ms
Duration                                 : 30 s 560 ms
Duration                                 : 00:00:30.560
Duration                                 : 00:00:30:14
Duration                                 : 00:00:30.560 (00:00:30:14)
Bit rate                                 : 1600545
Bit rate                                 : 1 601 kb/s
Width                                    : 720
Width                                    : 720 pixels
Height                                   : 576
Height                                   : 576 pixels
Sampled_Width                            : 720
Sampled_Height                           : 576
Pixel aspect ratio                       : 1.067
Display aspect ratio                     : 1.333
Display aspect ratio                     : 4:3
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 25.000
Frame rate                               : 25.000 FPS
FrameRate_Num                            : 25
FrameRate_Den                            : 1
Frame count                              : 764
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 10
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.154
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay                                    : 00:00:00:00
Delay                                    : 00:00:00.000 (00:00:00:00)
Delay, origin                            : Container
Delay, origin                            : Container
Stream size                              : 6114084
Stream size                              : 5.83 MiB (98%)
Stream size                              : 6 MiB
Stream size                              : 5.8 MiB
Stream size                              : 5.83 MiB
Stream size                              : 5.831 MiB
Stream size                              : 5.83 MiB (98%)
Proportion of this stream                : 0.98010
Default                                  : No
Default                                  : No
Forced                                   : No
Forced                                   : No
colour_description_present               : Yes
colour_description_present_Source        : Container / Stream
Color range                              : Limited
colour_range_Source                      : Container / Stream
colour_primaries_Source                  : Stream
transfer_characteristics_Source          : Stream
Matrix coefficients                      : BT.470 System B/G
matrix_coefficients_Source               : Container / Stream

=> seems like "--aspect-ratio-factor 0:16/15" got ignored.

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 5th May 2023, 11:17   #1855  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,281
@Selur: thanks, that looks like a bug in the AV1 packetizer. Other packetizers such as the AVC & HEVC ones do honor the aspect ratio given, whereas the AV1 simply ignores it. I have an idea why that is & will look into it.
__________________
Latest MKVToolNix is v83.0

If I ever ask you to upload something, please use my file server.
Mosu is offline   Reply With Quote
Old 5th May 2023, 11:57   #1856  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,281
Are there any macOS users here that'd like to help me test something? A user over on Reddit asked for file association for the MKVToolNix app. I've implement such in the latest pre-DMG. However, I've run into the problem that after installing the application (via dragging & dropping the application to the Applications folder, _not_ the DMG) & running "killall Finder" MKVToolNix is now the default application for its types, taking precedence over thinks such as QuickTime or VLC. This is obviously not what I want; I only want it to be the primary for *.mtxcfg & an alternate for all the others (meaning it should show up in "Open with" but not be the application opened when double-cliking on a file or selecting "Open" from the context menu).

The documentation I've found says that I have to adjust the rank, which I've done for all file types with:

Code:
        <key>LSHandlerRank</key>
        <string>Alternate</string>
(and "Owner" solely for "mtxcfg"), but that doesn't seem to help on my machine.

Luckily things return to normal as soon as you uninstall the application.

I'd like some feedback if possible: does this happen for others, too? Any insight into why?

For those who want to take a look at the Info.plist: see here it is.

Thanks!
__________________
Latest MKVToolNix is v83.0

If I ever ask you to upload something, please use my file server.
Mosu is offline   Reply With Quote
Old 5th May 2023, 14:17   #1857  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,281
Quote:
Originally Posted by Selur View Post
I got a problem with setting the SAR for av1 content.
Should be fixed in the latest continuous builds.
__________________
Latest MKVToolNix is v83.0

If I ever ask you to upload something, please use my file server.
Mosu is offline   Reply With Quote
Old 5th May 2023, 17:57   #1858  |  Link
jpsdr
Registered User
 
Join Date: Oct 2002
Location: France
Posts: 2,316
Hi.
Out of curiosity, is there somewhere an option to get back the previous visual interface ? I don't like this "Fusion"...
__________________
My github.
jpsdr is offline   Reply With Quote
Old 5th May 2023, 18:15   #1859  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,281
No, there isn't. The reason is simple: the older style (called "windowsvista" by Qt) doesn't support dark themes properly.
__________________
Latest MKVToolNix is v83.0

If I ever ask you to upload something, please use my file server.
Mosu is offline   Reply With Quote
Old 6th May 2023, 11:21   #1860  |  Link
jpsdr
Registered User
 
Join Date: Oct 2002
Location: France
Posts: 2,316
Too bad...
Ok, thanks.
__________________
My github.
jpsdr is offline   Reply With Quote
Reply

Tags
matroska


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 23:01.


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