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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers
Register FAQ Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread
Old 2nd March 2017, 00:03   #4601  |  Link
Ripman
Registered User
 
Join Date: May 2015
Posts: 79
Thanks for the 9.9 update.

I mostly use the command line, but have tried to use the GUI also since the switchover - to help identify things after the big changes.

Anyway, I thought we could use Ctrl-U to set the mkv title in the new GUI. Did this feature get retired?

Not important or anything tbh - if it something to address say as much and I'll put it in github.
Ripman is offline  
Old 2nd March 2017, 00:10   #4602  |  Link
Ripman
Registered User
 
Join Date: May 2015
Posts: 79
A few months back I asked if MKVToolnix would ever support dsf audio files. At the time, I believe you were not aware of the audio format's details and uses, so I supplied some info.

Most of the music download sites offer dsf downloads now (hdtracks, acoustic sounds, etc.).

Would you consider implementing support for dsf/dsd in MKVToolnix?

I'll try to dig up a dsf/dsd specification doc. [edit: here is the dsf file format spec from Sony. http://dsd-guide.com/sites/default/f...matSpec_E.pdf]

Last edited by Ripman; 2nd March 2017 at 00:20.
Ripman is offline  
Old 2nd March 2017, 12:45   #4603  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
Quote:
Originally Posted by Ripman View Post
Anyway, I thought we could use Ctrl-U to set the mkv title in the new GUI. Did this feature get retired?
It's still available, but its hotkey has been changed. See the "Multiplexer" menu for which hotkey to use. The reason for that change was to have the global hotkeys match the menu hotkeys (e.g. pressing "f" while the "Multiplexer" menu is open invokes the same action as pressing "Ctrl+F" while not in a menu).
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 2nd March 2017, 12:47   #4604  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
Quote:
Originally Posted by Ripman View Post
Would you consider implementing support for dsf/dsd in MKVToolnix?
Not at the moment, no. Nor in the near future.
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 6th March 2017, 12:10   #4605  |  Link
VAMET
UTAVATU
 
VAMET's Avatar
 
Join Date: Feb 2010
Location: Gdynia, Poland
Posts: 25
Dear Friends

I would like to ask, are there any possibilites to change video and audio tags in .mkv file?

I would like to change tags for video: "Length" and for audio: "Bit rate", "Channels", "Audio sample rate". I know I can use --tags track:a1:audio.xml and leave .xml file empty and audio tags will be removed, but I would like to change them as above. I don't want to autocalculate using --add-track-statistics-tags, I would like to add my custom ones.

I would be glad for your help and support.

Thank you in advance.

Sincerely
__________________
VAMET

ALLEGRO BLOG FACEBOOK
VAMET is offline  
Old 6th March 2017, 12:34   #4606  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,181
What's preventing you from setting --disable-track-statistics-tags and adding custom tags via xml?
sneaker_ger is offline  
Old 6th March 2017, 13:02   #4607  |  Link
VAMET
UTAVATU
 
VAMET's Avatar
 
Join Date: Feb 2010
Location: Gdynia, Poland
Posts: 25
Dear sneaker_ger

Quote:
Originally Posted by sneaker_ger View Post
What's preventing you from setting --disable-track-statistics-tags and adding custom tags via xml?
I don't want to double audio tags like "Bit rate", I would like to edit exist tags. So are there any possibility to change audio tags like "Bit rate"? I know I can change via mkvpropedit "Channels", "Audio sample rate", but there is no possibility to override "Bit rate" tag.

Sincerely
__________________
VAMET

ALLEGRO BLOG FACEBOOK
VAMET is offline  
Old 6th March 2017, 13:17   #4608  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,181
If you want to edit tags you need to extract the tags (as xml), edit the xml and re-add them via mkvpropedit or mkvmerge. (or create them from scratch instead of extracting them first)

https://mkvtoolnix.download/doc/mkve...scription.tags
https://mkvtoolnix.download/doc/mkvm...#mkvmerge.tags
https://mkvtoolnix.download/doc/mkvpropedit.html

That said, I have no idea why you would want to edit the bitrate tag ("BPS"). The one calculated by mkvmerge is correct as far as I can see. So if you edit it you will most likely end up with a wrong value.

Last edited by sneaker_ger; 6th March 2017 at 13:22.
sneaker_ger is offline  
Old 6th March 2017, 13:43   #4609  |  Link
VAMET
UTAVATU
 
VAMET's Avatar
 
Join Date: Feb 2010
Location: Gdynia, Poland
Posts: 25
Dear sneaker_ger

Thank you for your time and help. All I need is "BPS", but when I use this below .xml file, I have a result with 0kb/s for video and audio "Bit rate", when I view information about .mkv file. Is something wrong with this .xml file? File contains only two tracks: 1 - video, 2 - audio.

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE Tags SYSTEM "matroskatags.dtd">

<Tags>
	<Tag>
		<Targets>
			<TrackUID>1</TrackUID>
			<TrackUID>2</TrackUID>
		</Targets>
		<Simple>
			<Name>BPS</Name>
			<String>700kb/s</String>
		</Simple>
	</Tag>
</Tags>
I will be glad for your help and support.

Sincerely
__________________
VAMET

ALLEGRO BLOG FACEBOOK
VAMET is offline  
Old 6th March 2017, 14:08   #4610  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,181
Yes, something like that. But drop the "kb/s", the unit is already implied. Of course I can't see if the UIDs are correct without the complete mkv file. But if this achieves your end goal (which you have not explained) is a different question altogether. You say "I have a result with 0kb/s for video and audio "Bit rate"" but I don't know what you are talking about. I still recommend to let mkvmerge calculate everything automatically instead.
sneaker_ger is offline  
Old 6th March 2017, 15:16   #4611  |  Link
VAMET
UTAVATU
 
VAMET's Avatar
 
Join Date: Feb 2010
Location: Gdynia, Poland
Posts: 25
Dear sneaker_ger

I don't think NAME=BPS and STRING=<SOME_BPS> is working, when I use NAME=TITLE and STRING=<SOME_TITLE> it's OK.

I just want to put BPS to be custom thats all and it's for my private purpose. But as I said earlier I cannot manage to do it. Maybe I am doing something wrong with this .xml file. Maybe you will try on any media file of your own and change BPS to any other value.

Thank you for your time and help.

EDIT

OK, I know what was the problem with BPS I want to set 640kb/s and in string I put 640 and everytime I have a result of 0kb/s. BPS should be set as 640000 for 640kb/s. My fault, everything works as it should. Thank you once again for your help.

Sincerely
__________________
VAMET

ALLEGRO BLOG FACEBOOK

Last edited by VAMET; 6th March 2017 at 15:31.
VAMET is offline  
Old 6th March 2017, 15:38   #4612  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,181
Yes, "BPS" is short for "bits per second", not "kilobits per second". I overlooked that as well.
sneaker_ger is offline  
Old 6th March 2017, 17:46   #4613  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,413
@VAMET

You could use my chapterEditor, there is a Matroska Tags editor which can read Tags directly from a Matroska file.
Tags editing was never so easy :-)
hubblec4 is offline  
Old 9th March 2017, 12:44   #4614  |  Link
VAMET
UTAVATU
 
VAMET's Avatar
 
Join Date: Feb 2010
Location: Gdynia, Poland
Posts: 25
Dear Friends

I have used command: mkvmerge.exe --identify <input> and have the below results:

Quote:
Track ID 0: video (MPEG-H/HEVC/h.265)
Track ID 1: audio (DTS)
Track ID 2: audio (AC-3/E-AC-3)
Track ID 3: audio (DTS-HD Master Audio)
Track ID 4: audio (DTS-HD Master Audio)
Track ID 5: subtitles (SubRip/SRT)
Track ID 6: subtitles (SubRip/SRT)
Track ID 7: subtitles (SubRip/SRT)
Track ID 8: subtitles (SubRip/SRT)
Track ID 9: subtitles (SubRip/SRT)
Track ID 10: subtitles (SubRip/SRT)
Track ID 11: subtitles (SubRip/SRT)
Track ID 12: subtitles (SubRip/SRT)
Chapters: 28 entries
As you can see Track ID 3 and 4 have got the same name DTS-HD Master Audio. When I use MKVToolNix I can see language of this audio track, but when using command line there is no such possibility. Maybe there is other command used with --identify to have something like below:

Quote:
Track ID 0: video (MPEG-H/HEVC/h.265)
Track ID 1: audio (DTS) eng
Track ID 2: audio (AC-3/E-AC-3) eng
Track ID 3: audio (DTS-HD Master Audio) eng
Track ID 4: audio (DTS-HD Master Audio) spa
Track ID 5: subtitles (SubRip/SRT) eng
Track ID 6: subtitles (SubRip/SRT) spa
Track ID 7: subtitles (SubRip/SRT) rus
Track ID 8: subtitles (SubRip/SRT) myn
Track ID 9: subtitles (SubRip/SRT) pol
Track ID 10: subtitles (SubRip/SRT) hun
Track ID 11: subtitles (SubRip/SRT) nor
Track ID 12: subtitles (SubRip/SRT) swe
Chapters: 28 entries
EDIT

I am preparing my own script and I would like to recognize language of audio and subtitles tracks via command line.

Thank you in advance for your help and support.

Sincerely
__________________
VAMET

ALLEGRO BLOG FACEBOOK
VAMET is offline  
Old 9th March 2017, 12:46   #4615  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
Use mkvmerge's JSON output. It includes the language, among other things, and is trivial to parse as there are JSON parsers for pretty much every language out there:

Code:
mkvmerge --identification-format json --identify your-file.ext
or its much shorter version:

Code:
mkvmerge -J your-file.ext
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 9th March 2017, 19:02   #4616  |  Link
VAMET
UTAVATU
 
VAMET's Avatar
 
Join Date: Feb 2010
Location: Gdynia, Poland
Posts: 25
Dear Friends

I have got .mkv file with below tracks:

Quote:
Track ID 0: video (MPEG-H/HEVC/h.265)
Track ID 1: audio (AC-3/E-AC-3)
Track ID 2: audio (AAC)
Track ID 3: audio (TrueHD Atmos)
Track ID 4: subtitles (SubRip/SRT)
Track ID 5: subtitles (SubRip/SRT)
Track ID 6: subtitles (SubRip/SRT)
Track ID 7: subtitles (SubRip/SRT)
Track ID 8: subtitles (SubRip/SRT)
Chapters: 10 entries
I have used command:

Code:
mkvmerge --output <output.mkv> --video-tracks 0 --compression 0:none --audio-tracks 3 --compression 3:none --no-subtitles --no-buttons --no-track-tags --no-chapters --no-attachments --no-global-tags <input.mkv>
After that I have checked properties of the file <output.mkv> under Windows 10 and there are video and audio tabs. For video everything is correct - "Duration", "Resolution", "BPS", "Total BPS" and "FPS", but for audio there is only visible value for "BPS". For two other fields: "Channels", "Audio sample rate" there are empty fields without any values. I have checked headers under MKVToolNix and in audio section there are 48000Hz and 8 Channels.

I have also tested the same for .mkv file with DTS-HD MA 7.1 and in this case properties of such .mkv file under Windows 10 is correct for every field in video and audio section.

Why there is a problem for TrueHD Atmos 7.1 (48000Hz, 24 bit)?

EDIT

I have also used command:

Code:
mkvpropedit --add-track-statistics-tags <input.mkv>
...but again for TrueHD Atmos 7.1 there are no values for "Channels" and "Audio sample rate", but for DTS-HD MA 7.1 (48000Hz, 24 bit) there isn't any problem.

I would be glad for any help and support.

Sincerely
__________________
VAMET

ALLEGRO BLOG FACEBOOK

Last edited by VAMET; 9th March 2017 at 19:08.
VAMET is offline  
Old 24th March 2017, 15:03   #4617  |  Link
AYColumbia
Registered User
 
AYColumbia's Avatar
 
Join Date: Jun 2013
Posts: 69
Hey, I recorded a video with my phone and had the phone upside down (turned 180 deg) so the mp4 has a rotation of 180 degrees on it. When I remux it to an MKV it plays with the video upside down. So my stupid question is this, did the phone actually record the video upside down since I hastily had it that way and added the 180 deg rotation meta data so players that support it will read it and play the video properly right side up? Or, does the phone record video right side up all the time and uses the meta data to tell the player how it should be played? I guess what I'm getting at is, does the remuxed MKV actually show the video the way it was recorded and does MKV support rotation meta data and that to get it correctly turned right side up I'll have to reencode it? Thanks.

Also, I did some poking around and it doesn't look like the MKV spec has support for rotation which would mean asking for it to be added, I guess to the header editor, would probably not be useful at this point right?

Last edited by AYColumbia; 24th March 2017 at 15:06. Reason: forgot question on mkv
AYColumbia is offline  
Old 24th March 2017, 15:09   #4618  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
The Matroska specs has no provisions for rotating the content (or for storing the recording device's orientation). You're out of luck here.
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 25th March 2017, 14:27   #4619  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
MKVToolNix v10.0.0 released

Another month, another release of MKVToolNix: v10.0.0. It's solely a bug fix release, and the number of fixes in this release is on the small side.

Nothing's changed for packagers.

Here are the usual links: the MKVToolNix home page, the Windows installer/portable version & Mac OS DMG and the source code.

The Windows and macOS binaries have been built already and are available for download. The Linux binaries will be available later today.

Here are the NEWS since the previous release:

Quote:
# Version 10.0.0 "To Drown In You" 2017-03-25

## New features and enhancements

* mkvmerge: AVC/h.264 parser: mkvmerge will now drop all frames before the first key frame as they cannot be decoded properly anyway. See #1908.
* mkvmerge: HEVC/h.265 parser: mkvmerge will now drop all frames before the first key frame as they cannot be decoded properly anyway. See #1908.
* mkvmerge: HEVC/h.265 parser: added a workaround for invalid values for the "default display window" in the VUI parameters of sequence parameter sets. Fixes #1907.

## Bug fixes

* mkvmerge: MP4 reader: fixed track offsets being wrong in certain situations regarding the presence or absence of edit lists ('elst' atoms) & composition timestamps ('ctts' atoms). Fixes #1889.
* mkvmerge: MP4 reader: offsets in "ctts" are now always treated as signed integers, even with version 0 atoms.
* mkvinfo: the timestamps of SimpleBlocks with negative timestamps are now shown correctly.
* mkvmerge: Matroska reader: fixed handling BlockGroups and SimpleBlocks with negative timestamps.
* mkvmerge: MP3 packetizer: the MP3 packetizer will no longer drop timestamps from source containers if they go backwards. This keeps A/V in sync for files where the source was in sync even though their timestamps aren't monotonic increasing. Fixes #1909.
* mkvmerge: AVC/h.264 parser: mkvmerge will now drop timestamps from the source container if no frame is emitted for that timestamp. Fixes #1908.
* mkvmerge: HEVC/h.265 parser: mkvmerge will now drop timestamps from the source container if no frame is emitted for that timestamp. Fixes the HEVC equivalent of the problem with AVC described in #1908.
* mkvextract: SSA/ASS: fixed extraction when the "Format" line in the "[Events]" section contains less fields than the default for SSA/ASS would indicate. Fixes #1913.
Have fun
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 27th March 2017, 14:35   #4620  |  Link
mata7
Registered User
 
mata7's Avatar
 
Join Date: Oct 2007
Posts: 36
hi guys, can someone please tell me if there a way of when i open a file mkv or bluray playlist whit multiple audio and subtitles tracks can mkvtoolnix disable or uncheck all audio and sub and keep only the english check

thanks in advanced
mata7 is offline  
Closed Thread


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 20:11.


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