Closed bpoxy closed 1 year ago
Am I missing something obviously wrong with these files?
I just realized there's a --debug
flag, here are those two examples with it specified:
ffprobe is supplying the language.
Ok, they provide the language in a separate tags structure. Thanks for the info
What is the difference between this one that works and those (previously described) that don't?
LANGUAGE and language
Example...
``` PS Z:\Videos\Shows\Heroes (2006)> knowit --provider ffmpeg "Z:\Videos\Shows\Heroes (2006)\01x23 - How to Stop an Exploding Man.mkv" For: Z:\Videos\Shows\Heroes (2006)\01x23 - How to Stop an Exploding Man.mkv Knowit 0.4.0 found: { "path": "Z:\\Videos\\Shows\\Heroes (2006)\\01x23 - How to Stop an Exploding Man.mkv", "duration": "0:44:56", "size": "369.34 MB", "bit_rate": "1.1 Mbps", "container": "mkv", "video": [ { "id": 0, "width": "1920 pixel", "height": "1080 pixel", "scan_type": "Progressive", "aspect_ratio": "1.778", "pixel_aspect_ratio": "1.0", "resolution": "1080p", "frame_rate": "23.976 FPS", "codec": "H.265", "profile": "Main", "default": true } ], "audio": [ { "id": 1, "name": "Surround", "codec": "AAC", "profile": "High Efficiency", "channels_count": 6, "channels": "5.1", "sampling_rate": "48.0 KHz", "default": true } ], "subtitle": [ { "id": 2, "format": "ASS" }, { "id": 3, "format": "ASS" }, { "id": 4, "format": "ASS" }, { "id": 5, "format": "ASS" }, { "id": 6, "format": "ASS" }, { "id": 7, "format": "ASS" }, { "id": 8, "format": "ASS" }, { "id": 9, "format": "ASS" }, { "id": 10, "format": "ASS" } ], "provider": { "name": "ffmpeg", "version": { "B:\\Utilities\\ffmpeg-4.3.2-2021-02-02-essentials_build\\bin\\ffprobe.exe": "v4.3.2-2021-02-02-essentials_build-www.gyan.dev" } } } ```MediaInfo does provide the language, so it is available...
``` General Unique ID : 19797109430564447244166178328723164391 (0xEE4C8DAA8919ED0DBD45CEE25998CE7) Complete name : Z:\Videos\Shows\Heroes (2006)\01x23 - How to Stop an Exploding Man.mkv Format : Matroska Format version : Version 2 File size : 352 MiB Duration : 44 min 56 s Overall bit rate : 1 096 kb/s Encoded date : UTC Writing application : HandBrake 0.10.2 2015060900 Writing library : Lavf55.12.0 Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main@L4@Main Codec ID : V_MPEGH/ISO/HEVC Duration : 44 min 56 s Bit rate : 900 kb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Bits/(Pixel*Frame) : 0.018 Stream size : 289 MiB (82%) Writing library : x265 1.5:[Windows][GCC 4.9.0][64 bit] Encoding settings : wpp / ctu=64 / tu-intra-depth=1 / tu-inter-depth=1 / me=1 / subme=2 / merange=57 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / no-fast-cbf / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / fast-intra / open-gop / interlace=0 / keyint=240 / min-keyint=24 / scenecut=40 / rc-lookahead=15 / bframes=4 / bframe-bias=0 / b-adapt=0 / ref=2 / weightp / no-weightb / aq-mode=1 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=2 / psy-rd=0.30 / psy-rdoq=0.00 / signhide / lft / sao / no-sao-non-deblock / b-pyramid / cutree / rc=2 / pass / bitrate=900 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30 Default : Yes Forced : No Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 2 Format : AAC LC SBR Format/Info : Advanced Audio Codec Low Complexity with Spectral Band Replication Commercial name : HE-AAC Format settings : NBC Codec ID : A_AAC-5 Duration : 44 min 56 s Bit rate : 192 kb/s Channel(s) : 6 channels Channel layout : C L R Ls Rs LFE Sampling rate : 48.0 kHz Frame rate : 23.438 FPS (2048 SPF) Compression mode : Lossy Delay relative to video : -105 ms Stream size : 61.7 MiB (18%) Title : Surround Default : Yes Forced : No Text #1 ID : 3 Format : ASS Codec ID : S_TEXT/ASS Codec ID/Info : Advanced Sub Station Alpha Duration : 44 min 16 s Bit rate : 52 b/s Count of elements : 633 Compression mode : Lossless Stream size : 16.9 KiB (0%) Language : Arabic Default : No Forced : No Text #2 ID : 4 Format : ASS Codec ID : S_TEXT/ASS Codec ID/Info : Advanced Sub Station Alpha Duration : 44 min 4 s Bit rate : 67 b/s Count of elements : 375 Compression mode : Lossless Stream size : 21.8 KiB (0%) Language : Danish Default : No Forced : No Text #3 ID : 5 Format : ASS Codec ID : S_TEXT/ASS Codec ID/Info : Advanced Sub Station Alpha Duration : 44 min 5 s Bit rate : 68 b/s Count of elements : 357 Compression mode : Lossless Stream size : 22.2 KiB (0%) Language : Dutch Default : No Forced : No Text #4 ID : 6 Format : ASS Codec ID : S_TEXT/ASS Codec ID/Info : Advanced Sub Station Alpha Duration : 42 min 26 s Bit rate : 86 b/s Count of elements : 538 Compression mode : Lossless Stream size : 26.8 KiB (0%) Language : English Default : No Forced : No Text #5 ID : 7 Format : ASS Codec ID : S_TEXT/ASS Codec ID/Info : Advanced Sub Station Alpha Duration : 42 min 46 s Bit rate : 110 b/s Count of elements : 614 Compression mode : Lossless Stream size : 34.7 KiB (0%) Language : French Default : No Forced : No Text #6 ID : 8 Format : ASS Codec ID : S_TEXT/ASS Codec ID/Info : Advanced Sub Station Alpha Duration : 42 min 26 s Bit rate : 106 b/s Count of elements : 618 Compression mode : Lossless Stream size : 33.0 KiB (0%) Language : German Default : No Forced : No Text #7 ID : 9 Format : ASS Codec ID : S_TEXT/ASS Codec ID/Info : Advanced Sub Station Alpha Bit rate : 0 b/s Count of elements : 0 Compression mode : Lossless Stream size : 0.00 Byte (0%) Language : Persian Default : No Forced : No Text #8 ID : 10 Format : ASS Codec ID : S_TEXT/ASS Codec ID/Info : Advanced Sub Station Alpha Duration : 42 min 46 s Bit rate : 103 b/s Count of elements : 614 Compression mode : Lossless Stream size : 32.5 KiB (0%) Language : Spanish Default : No Forced : No Text #9 ID : 11 Format : ASS Codec ID : S_TEXT/ASS Codec ID/Info : Advanced Sub Station Alpha Bit rate : 0 b/s Count of elements : 0 Compression mode : Lossless Stream size : 0.00 Byte (0%) Language : Vietnamese Default : No Forced : No ```I'm not 100% certain that this is because of the subtitles being Advanced Sub Station Alpha but I have several files exhibiting this behavior and they all feature Advanced Sub Station Alpha subtitles.