SubtitleEdit / subtitleedit

the subtitle editor :)
http://www.nikse.dk/SubtitleEdit/Help
GNU General Public License v3.0
8.86k stars 916 forks source link

Can't detect Mp4 embedded subtitle #9010

Closed rmtjokar closed 6 days ago

rmtjokar commented 1 week ago

Hi, Thank you for your great work. I have two different MP4 files which seems SE can't detect its embedded subtitle ( PotPlayer and other players can show the subtitle):

G:\Videos\Avengers.Infinity.War.2018.720p.BluRay.x264-[YTS.AM].[30namachi.com].mp4
General
Unique ID                      : 71085358434221697463737236463718253957 (0x357A8AC33CF30933A0711D0C0BE04585)
Complete name                  : G:\Videos\Avengers.Infinity.War.2018.720p.BluRay.x264-[YTS.AM].[30namachi.com].mp4
Format                         : Matroska
Format version                 : Version 4
File size                      : 1.24 GiB
Duration                       : 2 h 29 min
Overall bit rate               : 1 189 kb/s
Frame rate                     : 23.976 FPS
Encoded date                   : 2023-01-04 23:07:47 UTC
Writing application            : mkvmerge v71.1.0 ('Fortitude') 64-bit
Writing library                : libebml v1.4.4 + libmatroska v1.7.1
FileExtension_Invalid          : mkv mk3d mka mks

Video
ID                             : 1
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : High@L4.1
Format settings                : CABAC / 4 Ref Frames
Format settings, CABAC         : Yes
Format settings, Reference fra : 4 frames
Codec ID                       : V_MPEG4/ISO/AVC
Duration                       : 2 h 29 min
Bit rate                       : 1 050 kb/s
Width                          : 1 280 pixels
Height                         : 534 pixels
Display aspect ratio           : 2.40:1
Original display aspect ratio  : 2.40:1
Frame rate mode                : Constant
Frame rate                     : 23.976 (24000/1001) FPS
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.064
Stream size                    : 1.10 GiB (88%)
Writing library                : x264 core 155
Encoding settings              : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=17 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=1050 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=31250 / vbv_bufsize=31250 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Default                        : Yes
Forced                         : No

Audio
ID                             : 2
Format                         : AAC LC
Format/Info                    : Advanced Audio Codec Low Complexity
Codec ID                       : A_AAC-2
Duration                       : 2 h 29 min
Bit rate                       : 137 kb/s
Channel(s)                     : 2 channels
Channel layout                 : L R
Sampling rate                  : 48.0 kHz
Frame rate                     : 46.875 FPS (1024 SPF)
Compression mode               : Lossy
Delay relative to video        : -43 ms
Stream size                    : 146 MiB (12%)
Language                       : Amharic
Default                        : Yes
Forced                         : No

Text
ID                             : 3
Format                         : UTF-8
Codec ID                       : S_TEXT/UTF8
Codec ID/Info                  : UTF-8 Plain Text
Duration                       : 2 h 28 min
Bit rate                       : 68 b/s
Frame rate                     : 0.173 FPS
Count of elements              : 1543
Stream size                    : 74.6 KiB (0%)
Default                        : Yes
Forced                         : No

I don't if this urls is accessible for you or not but here: https://ds3.30namachi.pw/movies/2018/Avengers.Infinity.War.2018/Avengers.Infinity.War.2018.720p.BluRay.x264-%5BYTS.AM%5D.%5B30namachi.com%5D.mp4

https://ds3.30namachi.pw/movies/2019/Avengers.Endgame.2019/Avengers.Endgame.2019.720p.BluRay.x264-%5BYTS.LT%5D.%5B30namachi.com%5D.mp4

P.S: I'm using v4.0.8 with Windows 11 Pro build 22631.4317

Thanks in advance.

xylographe commented 1 week ago

Change the extension of those files (with format Matroska) from mp4 to mkv. When the extension is mp4 Subtitle Edit expects an MPEG-4 container, not a Matroska container.

niksedk commented 4 days ago

thx @xylographe, long time no see. I hope you're well :)