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 25th October 2020, 10:14   #941  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
Quote:
Originally Posted by MrVideo View Post
...I took a MKV file and made into a Blu-ray ISO file and then burned it. When I played it back, it didn't start at the beginning of the movie. It started at the first chapter mark, which wasn't at time zero. Why?
How are you playing the disc?
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 25th October 2020, 17:36   #942  |  Link
a5180007
Registered User
 
Join Date: Jun 2014
Location: Marrakech, Morocco
Posts: 253
Quote:
Originally Posted by MrVideo View Post
I don't if the following is a problem, or not. I took a MKV file and made into a Blu-ray ISO file and then burned it. When I played it back, it didn't start at the beginning of the movie.
@MrVideo I can have a look at this bug if you provide me in PM a link to the mkv.
a5180007 is offline   Reply With Quote
Old 26th October 2020, 01:48   #943  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,130
Quote:
Originally Posted by SeeMoreDigital View Post
How are you playing the disc?
On my Sony BD X800M2 player.
MrVideo is offline   Reply With Quote
Old 26th October 2020, 02:02   #944  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,130
Quote:
Originally Posted by a5180007 View Post
@MrVideo I can have a look at this bug if you provide me in PM a link to the mkv.
It is 24GB. Looking at it now won't do much good, since it is now working.

It used to be that VideoReDo added a chapter marker at time 0 to every MKV file it assembled. But, with VideoReDoPro6, it doesn't seem to. No idea when that started. So, when playback didn't start at time zero, I looked at the MKV file in VRDPro6 and when there wasn't a chapter mark at time 0, I added one and created a new file. When I ran that thru tsmuxer, and I set the BD-ROM V3 option (no idea what that is supposed to imply), I saw that there was a chapter mark listed for time 0 in tsmuxer. Playback of that ISO file started at time 0. Interesting thing is that when I read that MKV file back into VRDPro6, there is no chapter mark shown at time 0.

If it is a BD spec that there be a chapter mark at time 0, then tsmuxer should look for one and automatically add it to the chapter list. That said, tsmuxer has an option for no chapter marks. So, where is the BD player supposed to start playing the disc?

If the MKV file is supposed to have a chapter mark at time 0 in order for correct BD playback, I'll have to submit a bug to the VRD team to get it fixed.

Last edited by MrVideo; 26th October 2020 at 02:55.
MrVideo is offline   Reply With Quote
Old 27th October 2020, 10:35   #945  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,469
Quote:
Originally Posted by MrVideo View Post
... when there wasn't a chapter mark at time 0, I added one and created a new file.
I just want to let you know that you can easily read the chapters from the MKV within the mkvtoolnix GUI, add the missing chapter, and save the new chapter list to the original MKV, without having to remux it entirely.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 27th October 2020, 17:51   #946  |  Link
a5180007
Registered User
 
Join Date: Jun 2014
Location: Marrakech, Morocco
Posts: 253
Quote:
Originally Posted by MrVideo View Post
If the MKV file is supposed to have a chapter mark at time 0 in order for correct BD playback, I'll have to submit a bug to the VRD team to get it fixed.
Blu-ray specs:

"Chapter is a time based playing interval in a Movie Title. A Chapter is determined by a pair of consecutive Entry-marks in a PlayList which corresponds to a Movie Title. If there is no Entrymark at the end of a PlayList, an interval between a last Entrymark and end point of a PlayList composes the last Chapter of the Movie Title."

"Entry-mark shall be put at the beginning of a PlayList – i.e. put an Entrymark at the “IN_time” of the first PlayItem of the PlayList."
a5180007 is offline   Reply With Quote
Old 27th October 2020, 21:17   #947  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,130
Quote:
Originally Posted by r0lZ View Post
I just want to let you know that you can easily read the chapters from the MKV within the mkvtoolnix GUI, add the missing chapter, and save the new chapter list to the original MKV, without having to remux it entirely.
Thanks.
MrVideo is offline   Reply With Quote
Old 9th November 2020, 15:37   #948  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,130
Win7 - 64bit
Major failure with Nov 5 nightly build. The failure started before this build.

The issue: txmuxer.exe crashes when attempting to read in an HEVC stream file: 720p - 59.94fps - 4:2:2
Code:
  Problem Event Name:	APPCRASH
  Application Name:	tsmuxer.exe
  Application Version:	0.0.0.0
  Application Timestamp:	5fa352c4
  Fault Module Name:	msvcrt.dll
  Fault Module Version:	7.0.7601.17744
  Fault Module Timestamp:	4eeb033f
  Exception Code:	c0000005
  Exception Offset:	0000000000001444
  OS Version:	6.1.7601.2.1.0.256.1
  Locale ID:	1033
  Additional Information 1:	f4f4
  Additional Information 2:	f4f431a9497e574fdd3de91ca2750e84
  Additional Information 3:	94db
  Additional Information 4:	94db2c26458f17ebd8741f5458769f7a
Update: HEVC @4:2:0 is just fine.

Last edited by MrVideo; 10th November 2020 at 03:41. Reason: new info
MrVideo is offline   Reply With Quote
Old 12th November 2020, 18:20   #949  |  Link
a5180007
Registered User
 
Join Date: Jun 2014
Location: Marrakech, Morocco
Posts: 253
Quote:
Originally Posted by MrVideo View Post
The issue: txmuxer.exe crashes when attempting to read in an HEVC stream file: 720p - 59.94fps - 4:2:2
@MrVideo please PM me a link for the 4:2:2 HEVC stream file (a 20-50 MB file should be enough to debug).
a5180007 is offline   Reply With Quote
Old 12th November 2020, 20:25   #950  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
Quote:
Originally Posted by MrVideo View Post
The issue: txmuxer.exe crashes when attempting to read in an HEVC stream file: 720p - 59.94fps - 4:2:2
Out of interest... How come you're using 4:2:2 HEVC encoded video streams?
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 13th November 2020, 15:14   #951  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,130
Quote:
Originally Posted by SeeMoreDigital View Post
Out of interest... How come you're using 4:2:2 HEVC encoded video streams?
The ABC network feed is HEVC @4:2:2.

IMHO, that is stupid, since the ultimate result is MPEG-2 @4:2:0, highly bitstarved.
MrVideo is offline   Reply With Quote
Old 21st November 2020, 06:35   #952  |  Link
antioch
Registered User
 
Join Date: Sep 2020
Posts: 3
Hello! I've got a file I'd like to demux the first audio track from but I can't seem to figure out how to do this from the command line. The docs are confusing to me, and I apologize for not understanding, but how can I accomplish this from the cli quick and easily?

Thank you!
antioch is offline   Reply With Quote
Old 21st November 2020, 22:43   #953  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
Throw your desired muxed file at tsMuxeR GUI.
Choose Demux. Choose Output folder.
If you see unneeded video/audio/subtitle tracks: untick these.
Or leave all in and decide later.
Save meta file. Start demuxing.
If you dislike the GUI: Feed the just saved .meta file to the CLI.
Just a quick BD 3D test for you (throwing a .mpls at tsMuxeR GUI)
Code:
MUXOPT --no-pcr-on-video-pid --new-audio-pes --hdmv-descriptors --demux --vbr  --vbv-len=500 --start-time=524280
V_MPEG4/ISO/MVC, "J:\6_DISC\BD_MEN_IN_BLACK_3_3D\BDMV\PLAYLIST\00800.mpls", insertSEI, contSPS, track=4114
V_MPEG4/ISO/AVC, "J:\6_DISC\BD_MEN_IN_BLACK_3_3D\BDMV\PLAYLIST\00800.mpls", insertSEI, contSPS, track=4113
A_DTS, "J:\6_DISC\BD_MEN_IN_BLACK_3_3D\BDMV\PLAYLIST\00800.mpls", track=4352, lang=eng
A_DTS, "J:\6_DISC\BD_MEN_IN_BLACK_3_3D\BDMV\PLAYLIST\00800.mpls", track=4353, lang=deu
A_AC3, "J:\6_DISC\BD_MEN_IN_BLACK_3_3D\BDMV\PLAYLIST\00800.mpls", track=4354, lang=tur
S_HDMV/PGS, "J:\6_DISC\BD_MEN_IN_BLACK_3_3D\BDMV\PLAYLIST\00800.mpls", fps=23.976, track=4608, lang=eng
S_HDMV/PGS, "J:\6_DISC\BD_MEN_IN_BLACK_3_3D\BDMV\PLAYLIST\00800.mpls", fps=23.976, track=4609, lang=deu
S_HDMV/PGS, "J:\6_DISC\BD_MEN_IN_BLACK_3_3D\BDMV\PLAYLIST\00800.mpls", fps=23.976, track=4610, lang=tur
Your command line Demuxmyfile.bat:
(path to\)tsMuxeR.exe <(path to\)meta file> <(path to\)output file or folder>

BTW, whatever a desired track might be I use to decide after demuxing all assets.

BD Audio demuxing is not as trivial as it seems if your desired "first" track is one of the prime beef kind.
tsMuxeR might not give you what you expect.
Expect audio gaps, overlaps, clicks...It is mainly for muxing.
Code:
tsMuxeR version git-32db2aa. github.com/justdan96/tsMuxer
Decoding H264 stream (track 1): H.264/MVC Views: 2 Profile: High@4.1  Resolution: 1920:1080p  Frame rate: 23.976
MVC muxing fps is not set. Get fps from stream. Value: 23.976
Decoding H264 stream (track 2): Profile: High@4.1  Resolution: 1920:1080p  Frame rate: 23.976
H.264 muxing fps is not set. Get fps from stream. Value: 23.976
Decoding DTS-HD stream (track 3): Bitrate: 1536Kbps  core + MLP data.Sample Rate: 48KHz  Channels: 5.1 (DTS Master Audio)
Decoding DTS-HD stream (track 4): Bitrate: 1536Kbps  core + MLP data.Sample Rate: 48KHz  Channels: 5.1 (DTS Master Audio)
Decoding AC3 stream (track 5): Bitrate: 640Kbps Sample Rate: 48KHz Channels: 5.1
Decoding PGS stream (track 7):  Resolution: 1920:1080  Frame rate: 23.976
Decoding PGS stream (track 8):  Resolution: 1920:1080  Frame rate: 23.976
Decoding PGS stream (track 6):  Resolution: 1920:1080  Frame rate: 23.976
DTS-HD stream (track 3): overlapped frame detected at position 00:43:05,173. Remove frame.
DTS-HD stream (track 4): overlapped frame detected at position 00:43:05,173. Remove frame.
AC3 stream (track 5): overlapped frame detected at position 00:43:05,184. Remove frame.
DTS-HD stream (track 3): overlapped frame detected at position 00:54:32,778. Remove frame.
DTS-HD stream (track 4): overlapped frame detected at position 00:54:32,778. Remove frame.
AC3 stream (track 5): overlapped frame detected at position 00:54:32,800. Remove frame.
DTS-HD stream (track 3): overlapped frame detected at position 01:45:37,674. Remove frame.
DTS-HD stream (track 4): overlapped frame detected at position 01:45:37,674. Remove frame.
AC3 stream (track 5): overlapped frame detected at position 01:45:37,695. Remove frame.
AC3 stream (track 5): overlapped frame detected at position 01:45:48,032. Remove frame.
Processed 152233 video frames
Processed 152233 video frames
Flushing write buffer
Demux complete.
Demuxing time: 12 min 48 sec

I would suggest using DGDemux for that.
If you want to read that up at rationalqm.us:
A considerable amount of work was needed to get that right.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."

Last edited by Emulgator; 21st November 2020 at 23:00.
Emulgator is offline   Reply With Quote
Old 22nd November 2020, 06:15   #954  |  Link
antioch
Registered User
 
Join Date: Sep 2020
Posts: 3
Quote:
Originally Posted by Emulgator View Post
Throw your desired muxed file at tsMuxeR GUI.

I would suggest using DGDemux for that.
Thanks for the reply. As mentioned, I don't want to use a GUI, rather I want a scriptable tool I can use on the command line.

I looked at DGDemux and it only accepts mpls playlist files but I'm dealing with TS files that have 1 video stream, and 1 or 2 audio streams.

Indeed, I'm not familiar with the complexities of how audio is stored in TS container, but I was hoping there would be some CLI tool I can use analogous to this AviSynth function which would demux the first audio track.
Code:
LWLibavAudioSource("myVideo.ts", stream_index=-1, av_sync=true)
I'd like to trim the raw audio stream without a recode (using something like beSplit), but it seems to be that the above function decodes the audio which is why I was looking at some other tool to demux with. DGIndex seems to be a 1-click solution but I haven't found a command line interface for it.
antioch is offline   Reply With Quote
Old 22nd November 2020, 12:07   #955  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
DGDemuxGUI.exe is the GUI,
DGDemux.exe is the CLI.
If you bring .m2ts or .MTS without .mpls, you may consider eac3to.
CLI or GUI, you decide.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."

Last edited by Emulgator; 22nd November 2020 at 12:15.
Emulgator is offline   Reply With Quote
Old 22nd November 2020, 15:47   #956  |  Link
antioch
Registered User
 
Join Date: Sep 2020
Posts: 3
Sadly, eac3to doesn't give the same accurate results as tsMuxer or DGindex does.

Back to the topic, however. Is there some way to get an error log for tsMuxer? I've got a ts file that tsMuxer CLI and GUI fail to parse stream info for when first loading, and the error message is blank on the GUI (see attached png) or non-existent on the CLI.

Code:
PS D:\> .\tsMuxeR.exe "D:\Videos\myVideo.ts"
tsMuxeR version git-999c472. github.com/justdan96/tsMuxer
HEVC muxing fps is not set. Get fps from stream. Value: -0.537057
<exits>
The file works when run through DGindex and eac3to, however.
Attached Images
 
antioch is offline   Reply With Quote
Old 25th November 2020, 10:01   #957  |  Link
Bgalakazam
Registered User
 
Join Date: Nov 2019
Posts: 11
Hi, anybody got this to work with macOS Big Sur? tsmuxergui that is, app "opens" but no windows come up.
Bgalakazam is offline   Reply With Quote
Old 25th November 2020, 21:30   #958  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 629
Wrong thread, please remove. My apologies.
von Suppé is offline   Reply With Quote
Old 30th November 2020, 21:51   #959  |  Link
mczuzlak
Registered User
 
Join Date: Jun 2009
Posts: 9
Are there any plans to support the Dolby Vision compatible mkv remuxes created by MakeMKV 1.5.3 ?
I wanted to use one as a source to mux it into a bluray iso but tsmuxer failed to load the mkv.
It would be nice to create backups with MakeMKV but still be able to convert back to UHD bluray structure while preserving the Dolby Vision metadata.

Last edited by mczuzlak; 30th November 2020 at 22:00.
mczuzlak is offline   Reply With Quote
Old 1st December 2020, 10:24   #960  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
Quote:
Originally Posted by mczuzlak View Post
Are there any plans to support the Dolby Vision compatible mkv remuxes created by MakeMKV 1.5.3 ?
Hmmm...

MakeMKV v1.5.3 now converts 2-layer Dolby Vision sources into 1-layer .mkv muxes (primarily for playback with nVidia Shield owners). And previous versions of MakeMKV discarded the secondary Dolby Vision FEL/MEL stream altogether.

If the MakeMKV developers created a build with an .mkv muxer that preserved both Dolby Vision layers (like Mosu's MKVToolNix can), it would then be possible for the open source builds of TSmuxer to easily create 4K UHD Blu-ray compliant muxes. (Dolby TrueHD audio streams without AC3 core excepted).
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital 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 23:29.


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