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. |
2nd September 2023, 15:11 | #1901 | Link |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,308
|
No need to open an issue anymore. The problem should be fixed by this commit. Please read the explanation in the commit's message for details on what actually happend.
__________________
Latest MKVToolNix is v89.0 If I ever ask you to upload something, please use my file server. |
3rd September 2023, 18:04 | #1903 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,551
|
Okay, I did some tests:
av1: Code:
mkvmerge --ui-language en -o "G:\Output\2023-09-03@18_46_32_6310__02.mkv" --global-tags "J:\tmp\mkvtags_2023-09-03@18_46_32_6310__02.xml" -d 0 --default-track 0:yes --default-duration "0:25/1fps" --aspect-ratio-factor 0:16/11 --no-chapters --compression -1:none --forced-track 0:yes --field-order 0:0 --no-audio --no-subtitles "J:\tmp\av1_1_2023-09-03@18_46_32_6310_01.av1" --track-order 0:1 Code:
mkvmerge --ui-language en -o "G:\Output\2023-09-03@18_46_46_6310__02.mkv" --global-tags "J:\tmp\mkvtags_2023-09-03@18_46_46_6310__02.xml" -d 0 --default-track 0:yes --default-duration "0:25/1fps" --aspect-ratio-factor 0:16/11 --fourcc 0:MP4V --no-chapters --compression -1:none --forced-track 0:yes --field-order 0:0 --no-audio --no-subtitles "J:\tmp\2023-09-03@18_46_46_6310_01.264" --track-order 0:1 Code:
mkvmerge --ui-language en -o "G:\Output\2023-09-03@18_46_54_1610__02.mkv" --global-tags "J:\tmp\mkvtags_2023-09-03@18_46_54_1610__02.xml" -d 0 --default-track 0:yes --default-duration "0:25/1fps" --aspect-ratio-factor 0:16/11 --no-chapters --compression -1:none --forced-track 0:yes --field-order 0:0 --no-audio --no-subtitles "J:\tmp\2023-09-03@18_46_54_1610_01.265" --track-order 0:1 I tried av1 files created with QSVEncC, NVEncC, aomenc, svt-av1, to be sure it's not related to av1 from one encoder. And the funny thing is the av1 streams from av1-svt, rave1 and aomenc are handled correctly, the others are not. Uploaded the muxed files to GoogleDrive. Cu Selur |
4th September 2023, 04:46 | #1904 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,812
|
Running mkvalidator on one file muxed by mkvmerge 79.0, I get an error "ERR0B1: Block at 1439158911 track #2 is not a keyframe". Didn't try reinstalling the previous version yet, but is this something to submit an issue about?
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
4th September 2023, 08:38 | #1905 | Link |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,308
|
No. That's wrongly labeled as an error by mkvalidator. In my personal opinion this shouldn't even be a warning. It's not a violation of the specs, it's not even a severe issue wrt. performance. Would it be ideal to have each cluster start with a key frame for each track? Sure. Is it always possible? Definitely not.
__________________
Latest MKVToolNix is v89.0 If I ever ask you to upload something, please use my file server. |
6th September 2023, 13:59 | #1906 | Link |
Registered User
Join Date: May 2015
Posts: 78
|
Hey M. Hope you had a nice summer. About 34 today in NYC.
=> Is “Video Display Unit” (VDU) set based on the values for “Video Display Width” (VDW) and “Video Display Height” (VDH) passed with the --display-dimensions option? Or maybe based on whether the --aspect-ratio option or the --aspect-ratio-factor option was used. (I’m assuming --aspect-ratio can be passed as 16x9, 4x3, 1.85, 2.40, etc., but I’m not sure what values can be passed for --aspect-ratio-factor.) The reason I ask is because I have a widescreen mpeg2 video, that, after being cropped and encoded to mpeg4, shows a VDW of 11418 and a VDH of 6237 via the MKVToolNix header editor. This will give the proper aspect ratio of (almost) 1.85, but I think these “big” values can cause problems with TVs and other HW because the equipment isn’t expecting numbers that big. The cropped video is 718 wide and 462 high, and with a PAR of 32/27 gives the same aspect ratio as the big numbers above. (Do these big values 11418 x 6237 seem normal - do they make sense?) Here is a post where I describe the details with links to work files, etc. Go to the 2 most recent posts at the bottom - August 24. https://forum.handbrake.fr/viewtopic.php?t=43016 Any insights are very much appreciated. I’m trying to figure out if this is an equipment/HW limitation, an encoding bug, or a lack of understanding on my part. The reason I asked about the options is for the case where it is an equipment/HW limitation or an encoding bug and some repairs would need to be done on older encodes - I’ve already developed a Perl script that uses mkvinfo and mkvmerge and updates the VDW and VDH values based on the “Video Pixel Width” and “Video Pixel Height” from the mkv header. I want know how to handle VDU. Thanks and best….. Last edited by Ripman; 7th September 2023 at 02:17. |
8th September 2023, 12:47 | #1908 | Link | |
Registered User
Join Date: May 2015
Posts: 78
|
Quote:
Read the man pages. They are very detailed. |
|
10th September 2023, 12:45 | #1909 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,848
|
Sorry if it's been already asked but I have searched and not found.
When importing a BD episodic playlist, sometimes there are opening and ending sections for every episode in the middle of the episode itself, before the epilogue or after the prologue. Besides having the "Before chapters", it would be nice to have a syntax such as "4-5+10-11, 12-13+18-19" or something like that to tell the program to use from chapters 4 to 11 but chapters 5 and 11 and from chapters 12 to 19 but chapters 13 and 19. I could do it splitting by hand, encoding and joining by hand but I should deal later with chapters, subtitles, etc.
__________________
@turment on Telegram |
11th September 2023, 12:48 | #1911 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,848
|
Quote:
Unfortunately, manually inserting time stamps would be a PITA for large BD collections.
__________________
@turment on Telegram |
|
12th September 2023, 13:56 | #1912 | Link | |
Registered User
Join Date: Jun 2023
Posts: 6
|
Quote:
Is it possible to select a specific audio track to apply the delay (we are talking about when there are several audio tracks in the video), I tried the -map parameter, swears that I don't understand, I can't find a solution. |
|
12th September 2023, 14:19 | #1913 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,848
|
I am trying to split a mpls by frames, using 'After frame/field numbers' and in 'Frames/fiels:' I am feeding the values:
951,44243,79459,85791,121017,124634,127241,129940,162576,166176,172438.175137,204104,207714,209988,212687,245555,251865,287078,290673,292920,295619,328600 The resulting error is: Invalid frame for '--split' in '--split frames The resulting CLI is: mkvmerge.exe --ui-language en --output ^"N:\Raw\26-00017.mkv^" --language 0:en --language 1:it --language 2:ja --language 3:it ^"^(^" ^"N:\Naruto_BD26\BDMV\PLAYLIST\00017.mpls^" ^"^)^" --split frames:2698,37951,44243,79459,85791,121017,124634,127241,129940,162576,166176,172438.175137,204104,207714,209988,212687,245555,251865,287078,290673,292920,295619,328600 --chapter-language und --generate-chapters-name-template ^"Capitolo ^<NUM:2^>^" --track-order 0:0,0:1,0:2,0:3 What am I doing wrong?
__________________
@turment on Telegram |
12th September 2023, 16:05 | #1914 | Link |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,308
|
frames: expects a single number, which is taken to mean "split after every n frames".
Try "by parts by frames" or whatever it's called in the GUI; the CLI equivalent: "--split parts-frames:a,b,c,d,…"
__________________
Latest MKVToolNix is v89.0 If I ever ask you to upload something, please use my file server. |
12th September 2023, 17:38 | #1915 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,812
|
I've been trying to teach the AI to create a simple chunked encoding tool. The basic stuff works fine, but it stumbles upon joining the resulting webm files. Is there a way to feed a simple list of files to concatenate with mkvmerge? I'd rather not use ffmpeg as it seems to cause some issues like repeating frames. The input list would be like:
F:\Temp\Captures\encodes\lotr_fotr\chunks\encoded_chunk_0.webm F:\Temp\Captures\encodes\lotr_fotr\chunks\encoded_chunk_1.webm etc. The number indexing is not a problem, that can be adjusted.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
12th September 2023, 20:52 | #1916 | Link |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,308
|
With a shell that expands shell wildcards (e.g. bash, zsh), sure: mkvmerge -o out.webm [ encoded_chunk*.webm ]
__________________
Latest MKVToolNix is v89.0 If I ever ask you to upload something, please use my file server. |
8th October 2023, 23:35 | #1917 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,848
|
Quote:
Anyone else?
__________________
@turment on Telegram |
|
8th October 2023, 23:48 | #1918 | Link |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,308
|
Thanks for the heads-up. I've restarted the offending daemon.
__________________
Latest MKVToolNix is v89.0 If I ever ask you to upload something, please use my file server. |
22nd October 2023, 07:44 | #1919 | Link |
Registered User
Join Date: Nov 2022
Posts: 3
|
Will A_MS/ACM support ever be added to mkvextract? I can get around it by just putting it into an mka with mkvtoolnix and then converting that to FLAC with ffmpeg, but it's inconvenient compared to just extracting every track, especially when working with multiple files. Don't really see why mkvextract can't simply extract it.
|
22nd October 2023, 09:49 | #1920 | Link |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,308
|
I'm not interested in implementing it.
__________________
Latest MKVToolNix is v89.0 If I ever ask you to upload something, please use my file server. |
Tags |
matroska |
Thread Tools | Search this Thread |
Display Modes | |
|
|