I tried to demux a particular disc, which bdinfo look like:
Code: Select all
DISC INFO:
Disc Title: Halloween 4: The Return of Michael Myers
Disc Size: 66,074,376,733 bytes
Protection: AACS2
Extras: Ultra HD
BDInfo: 0.7.5.6
PLAYLIST REPORT:
Name: 00002.MPLS
Length: 1:28:39.083 (h:m:s.ms)
Size: 65,273,499,840 bytes
Total Bitrate: 98.17 Mbps
(*) Indicates included stream hidden by this playlist.
VIDEO:
Codec Bitrate Description
----- ------- -----------
MPEG-H HEVC Video 71888 kbps 2160p / 24 fps / 16:9 / Main 10 @ Level 5.1 @ High / 10 bits / HDR10 / BT.2020
* MPEG-H HEVC Video 10150 kbps 1080p / 24 fps / 16:9 / Main 10 @ Level 5.1 @ High / 10 bits / Dolby Vision / BT.2020
AUDIO:
Codec Language Bitrate Description
----- -------- ------- -----------
DTS-HD Master Audio English 2022 kbps 2.0 / 48 kHz / 2022 kbps / 24-bit (DTS Core: 2.0 / 48 kHz / 1509 kbps / 24-bit)
DTS-HD Master Audio English 3678 kbps 5.1 / 48 kHz / 3678 kbps / 24-bit (DTS Core: 5.1 / 48 kHz / 1509 kbps / 24-bit)
Dolby Digital Audio English 448 kbps 5.1 / 48 kHz / 448 kbps / DN -27dB
Dolby TrueHD/Atmos Audio English 3853 kbps 7.1 / 48 kHz / 3469 kbps / 16-bit (AC3 Embedded: 5.1 / 48 kHz / 384 kbps / DN -28dB)
Dolby Digital Audio English 192 kbps 2.0 / 48 kHz / 192 kbps / DN -27dB
Dolby Digital Audio English 192 kbps 2.0 / 48 kHz / 192 kbps / DN -27dB
SUBTITLES:
Codec Language Bitrate Description
----- -------- ------- -----------
Presentation Graphics English 28.367 kbps
FILES:
Name Time In Length Size Total Bitrate
---- ------- ------ ---- -------------
00005.M2TS 0:00:00.000 0:00:18.708 178,087,104 75,815
00000.M2TS 0:00:18.708 1:28:20.375 65,095,412,736 98,249
Code: Select all
PlayLists:
00002.mpls 01:28:39 [13 chapters]
00000.mpls 00:00:26 [1 chapters]
Files:
00005.m2ts
00000.m2ts
Streams:
1011: Video [HEVC 24.000 2160p 16:9]
1015: Video [HEVC 24.000 1080p 16:9] [Dolby Vision]
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
0: MPA 0.0 48 32
12a0: PGS subtitles [eng]
Chapters [13]
I use bash script to run it automatically (on GUI seems to work fine)
Code: Select all
#!/bin/bash
OIFS="$IFS"
IFS=$'\n'
for fld in "$@"
do
playlists=$(/home/script/dgdemux/dgdemux -d "$fld")
mpls=$([[ $playlists =~ ([0-9]+).mpls ]] && echo "${BASH_REMATCH[1]}")
mplsPaths=($(find "$fld" -iname $mpls.mpls))
mplsPath=${mplsPaths[0]}
name=$(basename "$fld")
output=/home/demux/$name
if [[ ! -d $output ]]; then
mkdir -p $output
fi
/home/script/dgdemux/dgdemux -i $mplsPath
/home/script/dgdemux/dgdemux -i "$mplsPath" -o "$output/$mpls"
done
IFS="$OIFS"