justdan96 / tsMuxer

tsMuxer is a transport stream muxer for remuxing/muxing elementary streams, EVO/VOB/MPG, MKV/MKA, MP4/MOV, TS, M2TS to TS to M2TS. Supported video codecs H.264/AVC, H.265/HEVC, VC-1, MPEG2. Supported audio codecs AAC, AC3 / E-AC3(DD+), DTS/ DTS-HD.
Apache License 2.0
885 stars 147 forks source link

Don't open file (DV .mp4) #407

Closed Slava46 closed 3 years ago

Slava46 commented 3 years ago

Last tsMuxer version just ignored this .mp4 file with Dolby Vision and just nothing happened. Different files with DV opening fine.

MediaInfo:

General
Complete name                            : \1.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom)
File size                                : 7.38 GiB
Duration                                 : 47 min 18 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 22.3 Mb/s

Video
ID                                       : 15
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.2@Main
HDR format                               : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
Duration                                 : 47 min 16 s
Bit rate                                 : 21.6 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 24.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 0)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.108
Stream size                              : 7.13 GiB (97%)
Default                                  : Yes
Alternate group                          : 1
Color range                              : Full
Codec configuration box                  : hvcC+dvcC

Audio
ID                                       : 16
Format                                   : E-AC-3 JOC
Format/Info                              : Enhanced AC-3 with Joint Object Coding
Commercial name                          : Dolby Digital Plus with Dolby Atmos
Codec ID                                 : ec-3
Duration                                 : 47 min 18 s
Bit rate mode                            : Constant
Bit rate                                 : 768 kb/s
Maximum bit rate                         : 811 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 260 MiB (3%)
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Alternate group                          : 2
Complexity index                         : Not present / 16
Number of dynamic objects                : 15
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

Text #1
ID                                       : 1
Format                                   : Timed Text
Codec ID                                 : tx3g
Duration                                 : 47 min 17 s
Bit rate mode                            : Variable
Bit rate                                 : 51 b/s
Stream size                              : 17.5 KiB (0%)
Title                                    : Dansk
Language                                 : Danish
Forced                                   : No

Text #2
ID                                       : 2
Format                                   : Timed Text
Codec ID                                 : tx3g
Duration                                 : 47 min 17 s
Bit rate mode                            : Variable
Bit rate                                 : 54 b/s
Stream size                              : 18.6 KiB (0%)
Title                                    : Deutsch
Language                                 : German
Forced                                   : No

Text #3
ID                                       : 3
Format                                   : Timed Text
Codec ID                                 : tx3g
Duration                                 : 42 min 41 s
Bit rate mode                            : Variable
Bit rate                                 : 78 b/s
Stream size                              : 24.2 KiB (0%)
Title                                    : English (SDH)
Language                                 : English
Forced                                   : No
jcdr428 commented 3 years ago

@Slava46 if you try to load the hevc stream only into tsMuxer, does it work ?

Slava46 commented 3 years ago

How to extract .hevc from .mp4 without loss Dolby Vision metadata?

jcdr428 commented 3 years ago

The DV metadata is part of the hevc stream. You can extract e.g. with ffmpeg in a cmd console: ffmpeg.exe -i input.mp4 -c:v copy output.hevc

Slava46 commented 3 years ago

Yes, like that tsMuxer eat .hevc fine. Thx.

jcdr428 commented 3 years ago

@Slava46 if you provide a link to download your mp4, I can have a look.

jcdr428 commented 3 years ago

@Slava46 if we don't have the mp4 sample, we cannot debug the issue and we will have to close it.

justdan96 commented 3 years ago

@Slava46 are you able to share a sample?

jcdr428 commented 3 years ago

No sample provided, can't debug. Closing.