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 > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th January 2020, 19:46   #321  |  Link
mattmarsden
Registered User
 
Join Date: Jan 2006
Posts: 25
Is there any possibility of making this work with single layer Dolby Vision?
mattmarsden is offline   Reply With Quote
Old 30th January 2020, 20:14   #322  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,347
Quote:
Originally Posted by koka View Post
filler56789, before use:
cmake ../ -G Ninja
need install it:
pacman -S $MINGW_PACKAGE_PREFIX-ninja
You don't get it.
ninja is not strictly-required by tsMuxeR's source-code, justdan96 (or someone else) simply invented that artificial need.
Much in the same way a posix-threaded compiler was not needed by tsMuxeR,
but justdan96 modified the source-code so that now it requires a posix-threaded compiler.
filler56789 is offline   Reply With Quote
Old 30th January 2020, 23:59   #323  |  Link
justdan96
Registered User
 
Join Date: Jun 2019
Location: UK
Posts: 49
@varekai: if you could provide a sample we might be able to figure out where that issue is coming from.

@koka: I'll have to review the existing documentation, thanks for the input!
justdan96 is offline   Reply With Quote
Old 31st January 2020, 06:58   #324  |  Link
koka
Registered User
 
Join Date: Jun 2018
Posts: 14
And how do you like this, @elonmusk?

out.meta:
MUXOPT --no-pcr-on-video-pid --demux --vbr --vbv-len=500
V_MPEG4/ISO/AVC, "D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 202850 Галина Борисовна.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 202912 Николай Борисович.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 202929 Лена и Андрей.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203022 Нина Петровна.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203310 Галюшка.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203414 Юлечка.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203624 Таня.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203723 Саша.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203856 Алла.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 204010 Ирина.mkv", track=1
A_LPCM, "D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 202850 Галина Борисовна.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 202912 Николай Борисович.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 202929 Лена и Андрей.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203022 Нина Петровна.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203310 Галюшка.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203414 Юлечка.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203624 Таня.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203723 Саша.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203856 Алла.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 204010 Ирина.mkv", track=2, lang=rus
S_HDMV/PGS, "D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 202850 Галина Борисовна.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 202912 Николай Борисович.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 202929 Лена и Андрей.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203022 Нина Петровна.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203310 Галюшка.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203414 Юлечка.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203624 Таня.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203723 Саша.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 203856 Алла.mkv"+"D:\AV\2020\20200111 ДР Аллы\film\20200111 ДР Аллы 204010 Ирина.mkv", fps=50.0, track=3, lang=rus

d:\AV\2020\20200111 ДР Аллы\film>"C:\YandexDisk\PortableApps\tsMuxeR\tsMuxeR.exe" out.meta ""
tsMuxeR version git-39bb829. github.com/justdan96/tsMuxer
Decoding H264 stream (track 1): Profile: High@4.2 Resolution: 1920:1080p Frame rate: 50
H.264 muxing fps is not set. Get fps from stream. Value: 50
Can't create output file 20200111 „ђ Ђл 202850 ѓ Ё* ЃаЁбў* +20200111 „ђ Ђл 202912 ЌЁЄ ЃаЁбўЁз+20200111 „ђ Ђл 202929 ‹Ґ* Ё Ђ*аҐ+20200111 „ђ Ђл 203022 ЌЁ* ЏҐваў* +20200111 „ђ Ђл 203310 ѓ оиЄ +20200111 „ђ Ђл 203414 ћҐзЄ +20200111 „ђ Ђл 203624 ’ *п+20200111 „ђ Ђл 203723 ‘ и +20200111 „ђ Ђл 203856 Ђ +20200111 „ђ Ђл 204010 €аЁ* .track_1.264

The problem is not even in сyrillic, but in file name overflow when demuxing concatenating parts with long file names
justdan96, please replace in tsMuxer\singleFileMuxer.cpp
for (int i = 0; i < (int)fileList.size(); i++)
{
if (i > 0)
fileName += '+';
fileName += extractFileName(fileList[i]);
}
with
fileName = extractFileName(fileList[0]);/*
for (int i = 0; i < (int)fileList.size(); i++)
{
if (i > 0)
fileName += '+';
fileName += extractFileName(fileList[i]);
}*/

Thank you for your efforts!

Last edited by koka; 31st January 2020 at 07:38.
koka is offline   Reply With Quote
Old 31st January 2020, 07:50   #325  |  Link
koka
Registered User
 
Join Date: Jun 2018
Posts: 14
Quote:
Originally Posted by filler56789 View Post
You don't get it.
You're right, for your repository
https://github.com/filler56789/RV-tsMuxeR
not needed
pacman -S $ MINGW_PACKAGE_PREFIX-ninja
Everything compiles fine thanks to your makefile!
But before assembly
https://github.com/justdan96/tsMuxer
need to install ninja

Thanks for the hard work!
koka is offline   Reply With Quote
Old 31st January 2020, 09:00   #326  |  Link
varekai
Registered User
 
varekai's Avatar
 
Join Date: Jul 2006
Posts: 520
Quote:
Originally Posted by justdan96 View Post
@varekai: if you could provide a sample we might be able to figure out where that issue is coming from.
Hello!
Thanks for the quick reply, appreciate it!
Will a short clip do?
It's the same sequence as used in the screendumps.
https://workupload.com/file/mwYEsyEC
test_files.7z (19.37 MB) (test.m2ts + test.sup)
The out of sync will not show up in such a short clip.

Best regards,
varekai

Edit: Problem solved, not a tsMuxer bug... sorry...

Last edited by varekai; 4th February 2020 at 10:51. Reason: .
varekai is offline   Reply With Quote
Old 31st January 2020, 13:40   #327  |  Link
justdan96
Registered User
 
Join Date: Jun 2019
Location: UK
Posts: 49
@varekai: ah, in that case with the original file can you say the length of the video and when the out of sync audio starts?

I can update documentation on build dependencies and make it more clear the user can choose the CMake output for their preference, as per cmake-generators.
justdan96 is offline   Reply With Quote
Old 1st February 2020, 06:35   #328  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,347
To whom this may concern...

*nightly-2020-01-28--01-08-41.zip

still has the GUI design-flaw regarding 24-bit DTS-Express

--- i.e., the secondary audio track checkbox remains greyed out.

Last edited by filler56789; 1st February 2020 at 06:36. Reason: add emphasis
filler56789 is offline   Reply With Quote
Old 1st February 2020, 08:26   #329  |  Link
staina
Registered User
 
Join Date: Feb 2013
Posts: 67
At creation Bluray from Bluray sources where MPLS includes more M2TS so tsMuxer in some frames remove from audio streams any part see:

DTS-HD stream (track 2): overlapped frame detected at position 00:42:14,666. Remove frame.
DTS stream (track 3): overlapped frame detected at position 00:42:14,666. Remove frame.
DTS-HD stream (track 2): overlapped frame detected at position 00:55:05,770. Remove frame.
DTS stream (track 3): overlapped frame detected at position 00:55:05,770. Remove frame.
DTS-HD stream (track 2): overlapped frame detected at position 00:57:14,687. Remove frame.
DTS stream (track 3): overlapped frame detected at position 00:57:14,687. Remove frame.
DTS-HD stream (track 2): overlapped frame detected at position 01:17:11,637. Remove frame.
DTS stream (track 3): overlapped frame detected at position 01:17:11,637. Remove frame.
DTS-HD stream (track 2): overlapped frame detected at position 01:59:46,101. Remove frame.
DTS stream (track 3): overlapped frame detected at position 01:59:46,101. Remove frame.

For example: MKV Toolnix or DVDFab nothing not remove and audio stream at comparing is other than from tsMuxer.
Will process tsMuxer audio stream right and MKV Toolnix and DVDFab wrong and or is in tsMuxer error?

Thank for answer Staina
staina is offline   Reply With Quote
Old 1st February 2020, 12:05   #330  |  Link
varekai
Registered User
 
varekai's Avatar
 
Join Date: Jul 2006
Posts: 520
Quote:
Originally Posted by justdan96 View Post
@varekai: ah, in that case with the original file can you say the length of the video and when the out of sync audio starts?

I can update documentation on build dependencies and make it more clear the user can choose the CMake output for their preference, as per cmake-generators.
Hello!

Sorry for the late reply, but here goes...

Read about cmake and cmake-generators and I have to admit that's waay above my head...
I have absolutely no clue!
I'm very much dependant using on using a GUI I'm afraid.
So I can't be much of a help...

Best regards,
varekai
Code:
The video length is 02:32:10:958
Using PotPlayer's ->Adjust Subtitle Sync (ms):<- feature. 
At start the video+sup, sup start is set to 500ms (faster) and sup is in sync. 
Sync is off at 00:30:29 
Applying 1000ms sup is in sync at 00:30:29
Sync is off at 01:03:20
Applying 2000ms sup is in sync at 02:08:32
It is really tricky to adjust timings in PotPlayer, not as correct as I hoped. 
So these sup timings are very rough.
Edit: Problem solved, not a tsMuxer bug... sorry...

Last edited by varekai; 4th February 2020 at 10:53. Reason: .
varekai is offline   Reply With Quote
Old 1st February 2020, 12:19   #331  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,730
@staina
You can check that with eac3to DTS extract. If is the same then tsMuxeR is right.
Some explain https://forum.doom9.org/showthread.p...94#post1600694

If MKV Toolnix or DVDFab don't remove the 5 frames you obtain 53 extra ms of duration and 5 points with possible glitches.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 1st February 2020, 22:15   #332  |  Link
staina
Registered User
 
Join Date: Feb 2013
Posts: 67
Quote:
Originally Posted by tebasuna51 View Post
@staina
You can check that with eac3to DTS extract. If is the same then tsMuxeR is right.
Some explain https://forum.doom9.org/showthread.p...94#post1600694

If MKV Toolnix or DVDFab don't remove the 5 frames you obtain 53 extra ms of duration and 5 points with possible glitches.
Checked I'm it via eac3to that either some warning message displayed in log and output file is not to be same with file from tsMuxer even with files from MKV Toolnix and DVDFab.

Which output file is then right?
staina is offline   Reply With Quote
Old 2nd February 2020, 06:15   #333  |  Link
a5180007
Registered User
 
Join Date: Jun 2014
Location: Marrakech, Morocco
Posts: 253
Quote:
Originally Posted by staina View Post
Checked I'm it via eac3to that either some warning message displayed in log and output file is not to be same with file from tsMuxer even with files from MKV Toolnix and DVDFab.

Which output file is then right?
@staina could you please show eac3to log, and zip and send me mpls/clpi files.
a5180007 is offline   Reply With Quote
Old 2nd February 2020, 09:17   #334  |  Link
staina
Registered User
 
Join Date: Feb 2013
Posts: 67
@a5180007 Here is LOG from Eac3to:

eac3to v3.34
command line: "E:\eac3to334-UsEac3to129\eac3to.exe" "F:\Bluray\BDMV\PLAYLIST\00801.mpls" 1) 3: "E:\Test\00801.mpls_3eng.dts" -progressnumbers -log="E:\eac3to334-UsEac3to129\UsEac3To.log"
------------------------------------------------------------------------------
M2TS, 1 video track, 5 audio tracks, 14 subtitle tracks, 2:08:31, 11.988p
1: Chapters, 20 chapters
2: h265/HEVC, 2160p24 /1.001 (16:9), 10 bits
3: DTS Master Audio, English, 7.1 channels, 24 bits, 48kHz
(core: DTS, 5.1 channels, 1509kbps, 48kHz)
4: DTS, English, 2.0 channels, 255kbps, 48kHz
5: DTS, French, 5.1 channels, 768kbps, 48kHz
6: DTS, Czech, 5.1 channels, 768kbps, 48kHz
7: DTS, Polish, 5.1 channels, 768kbps, 48kHz
8: Subtitle (PGS), English
9: Subtitle (PGS), French
10: Subtitle (PGS), Dutch
11: Subtitle (PGS), Danish
12: Subtitle (PGS), Finnish
13: Subtitle (PGS), Norwegian
14: Subtitle (PGS), Swedish
15: Subtitle (PGS), Czech
16: Subtitle (PGS), Polish
17: Subtitle (PGS), Chinese
18: Subtitle (PGS), Modern Greek
19: Subtitle (PGS), French
20: Subtitle (PGS), Czech
21: Subtitle (PGS), Polish
[a03] Extracting audio track number 3...
[a03] Creating file "E:\Test\00801.mpls_3eng.dts"...
[a03] Audio has a gap of 31ms at playtime 0:42:15. <WARNING>
[a03] Audio has a gap of 31ms at playtime 0:46:42. <WARNING>
[a03] Audio has a gap of 31ms at playtime 0:55:06. <WARNING>
[a03] Audio has a gap of 31ms at playtime 0:57:15. <WARNING>
[a03] Audio has a gap of 31ms at playtime 0:59:42. <WARNING>
[a03] Audio has a gap of 31ms at playtime 1:05:47. <WARNING>
[a03] Audio has a gap of 31ms at playtime 1:17:12. <WARNING>
[a03] Audio has a gap of 31ms at playtime 1:18:18. <WARNING>
[a03] Audio has a gap of 31ms at playtime 1:27:34. <WARNING>
[a03] Audio has a gap of 31ms at playtime 1:30:48. <WARNING>
[a03] Audio has a gap of 31ms at playtime 1:37:16. <WARNING>
[a03] Audio has a gap of 31ms at playtime 1:38:42. <WARNING>
[a03] Audio has a gap of 31ms at playtime 1:59:47. <WARNING>
[a03] Starting 2nd pass...
[a03] Realizing DTS gaps...
[a03] Creating file "E:\Test\00801.mpls_3eng.dts"...
Video track 2 contains 184856 frames.
eac3to processing took exactly 8 minutes.
Done.


Here is LOG from tsMuxer:

tsMuxeR version git-e58b4de. github.com/justdan96/tsMuxer
HEVC muxing fps is not set. Get fps from stream. Value: 23.976
Decoding DTS-HD stream (track 2): Bitrate: 1536Kbps core + MLP data.Sample Rate: 48KHz Channels: 7.1 (DTS Master Audio 24bit)
B-pyramid level 2 detected. Shift DTS to 3 frames
DTS-HD stream (track 2): overlapped frame detected at position 00:42:14,666. Remove frame.
DTS-HD stream (track 2): overlapped frame detected at position 00:55:05,770. Remove frame.
DTS-HD stream (track 2): overlapped frame detected at position 00:57:14,687. Remove frame.
DTS-HD stream (track 2): overlapped frame detected at position 01:05:46,783. Remove frame.
DTS-HD stream (track 2): overlapped frame detected at position 01:17:11,637. Remove frame.
DTS-HD stream (track 2): overlapped frame detected at position 01:27:33,589. Remove frame.
DTS-HD stream (track 2): overlapped frame detected at position 01:59:46,101. Remove frame.
Processed 184880 video frames
Flushing write buffer
Creating Blu-ray stream info and seek index
Creating Blu-ray playlist
Mux successful complete
Muxing time: 6 min 40 sec

Attach file with MPLS and CLPI files
Attached Files
File Type: zip Bluray.zip (60.3 KB, 21 views)
staina is offline   Reply With Quote
Old 2nd February 2020, 19:03   #335  |  Link
a5180007
Registered User
 
Join Date: Jun 2014
Location: Marrakech, Morocco
Posts: 253
@staina video frame duration is 41.708ms, whereas audio frame duration is 10.667 ms. In each m2ts, video and audio cannot stop stricly at the same time, and the last audio frame goes slightly beyond the last video frame.

eac3to gives a warning for each m2ts, whereas tsMuxer gives a warning -and omits last audio frames- only when the AV offset is greater than 1/2 audio frame ; which seems correct to me.

Note that the number of video frames reported by eac3to is incorrect : total mpls duration is 02:08:31.030 = 184880 frames.
a5180007 is offline   Reply With Quote
Old 2nd February 2020, 21:04   #336  |  Link
staina
Registered User
 
Join Date: Feb 2013
Posts: 67
@a5180007 Thank you, so that optimal is used tsMuxer. DVDFab and MKV Toolnix it work badly for when nothing not remove and Eac3to again that remove more than is need.

Only one more query tsMuxer the audio stream encodes only remove overflowing frame YES?

Thank for answer staina
staina is offline   Reply With Quote
Old 2nd February 2020, 22:08   #337  |  Link
a5180007
Registered User
 
Join Date: Jun 2014
Location: Marrakech, Morocco
Posts: 253
@staina yes, tsMuxer removes only the overlapping frames.
And I don't think eac3to removes more than needed (code is not open source), only it issues a warning for each m2ts.
a5180007 is offline   Reply With Quote
Old 3rd February 2020, 08:27   #338  |  Link
staina
Registered User
 
Join Date: Feb 2013
Posts: 67
@a5180007 Why then there's not DTS file from tsMuxer same as DTS file from Eac3to? To point where with remove frame are the same and then are there differences, therefore I'm with asked at it coding.

Stay on then at tsMuxer I hope that the keep quality audio streams.

Thank for answer staina
staina is offline   Reply With Quote
Old 3rd February 2020, 10:27   #339  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,730
eac3to work fine with all my test over BD's, but seems don't work with UHD ones.
The number of frames, the extrange fps 11.988p, ...
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 3rd February 2020, 11:35   #340  |  Link
yannick92
Registered User
 
Join Date: Jan 2020
Location: France
Posts: 26
Good morning all.

I noticed a new option on the latest versions of Tsmuxer?
Note that this option only appears on E-AC3 tracks, because on all other audio tracks it is grayed out and cannot be used.
What is it and what can it be used for?

Thank you in advance for all your passionate work.

Name:  E-AC3 tsMuxeR last nightly (1).PNG
Views: 517
Size:  96.8 KB
yannick92 is offline   Reply With Quote
Reply

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 19:50.


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