-rw-r--r--  1 sebas  staff   503M Apr 18 16:34 /Users/sebas/Downloads/Invincible.2021.S04E06.1080p.HEVC.x265-MeGusta[EZTVx.to].mkv
-rw-r--r--  1 sebas  staff   632M Apr 18 16:35 /Users/sebas/Downloads/Invincible.2021.S04E07.1080p.HEVC.x265-MeGusta[EZTVx.to].mkv


total 576M
drwxrwxr-x 2 sebas sebas 4.0K Apr 18 16:34 .
drwxrwxr-x 3 sebas sebas 4.0K Apr 18 16:27 ..
-rw------- 1 sebas sebas 163M Apr 18 16:34 .Invincible.2021.S04E06.1080p.HEVC.x265-MeGusta[EZTVx.to].mkv.nwe0aB
-rw-r--r-- 1 sebas sebas 414M Apr 18 16:27 Invincible - S04E05 - GIVE US A MOMENT.mkv


bash

cd /mnt/rpi/pi-config && bin/laptop-rsync --partial --append-verify --info=progress2 'sebastians-macbook-pro-2:/Users/sebas/Downloads/Invincible.2021.S04E06.1080p.HEVC.x265-MeGusta\[EZTVx.to\].mkv' '/mnt/rpi/media/series/Invincible/S04/' && bin/laptop-rsync --partial --append-verify --info=progress2 'sebastians-macbook-pro-2:/Users/sebas/Downloads/Invincible.2021.S04E07.1080p.HEVC.x265-MeGusta\[EZTVx.to\].mkv' '/mnt/rpi/media/series/Invincible/S04/'


receiving file list ... 1 file to consider
Invincible.2021.S04E06.1080p.HEVC.x265-MeGusta[EZTVx.to].mkv

              0   0%    0.00kB/s    0:00:00
     10,190,848   1%    9.72MB/s    0:00:51
     21,659,648   4%   10.33MB/s    0:00:47
     31,981,568   6%   10.17MB/s    0:00:47
     43,515,904   8%   10.24MB/s    0:00:46
     54,525,952  10%   10.33MB/s    0:00:44
     59,768,832  11%    8.71MB/s    0:00:52
     68,616,192  13%    8.25MB/s    0:00:54
     77,234,176  14%    7.61MB/s    0:00:57
     86,507,520  16%    7.30MB/s    0:00:59
     96,272,384  18%    8.48MB/s    0:00:49
    106,758,144  20%    8.99MB/s    0:00:45
    118,259,712  22%    9.75MB/s    0:00:40
    129,892,352  24%   10.31MB/s    0:00:37
    139,853,824  26%   10.36MB/s    0:00:36
    151,617,536  28%   10.66MB/s    0:00:34
    163,184,640  30%   10.68MB/s    0:00:33
    174,882,816  33%   10.69MB/s    0:00:32
    186,777,600  35%   11.16MB/s    0:00:29
    198,049,792  37%   11.06MB/s    0:00:29
    209,059,840  39%   10.93MB/s    0:00:28
    219,250,688  41%   10.58MB/s    0:00:28
    229,638,144  43%   10.21MB/s    0:00:28
    240,779,264  45%   10.17MB/s    0:00:27
    252,837,888  47%   10.33MB/s    0:00:25
    264,208,384  50%   10.61MB/s    0:00:24
    274,366,464  52%   10.53MB/s    0:00:23
    284,393,472  53%   10.26MB/s    0:00:23
    294,879,232  55%    9.99MB/s    0:00:22
    306,413,568  58%   10.02MB/s    0:00:21
    318,799,872  60%   10.59MB/s    0:00:19
    330,596,352  62%   11.02MB/s    0:00:17
    341,442,560  64%   11.10MB/s    0:00:16
    351,567,872  66%   10.76MB/s    0:00:15
    363,069,440  68%   10.55MB/s    0:00:15
    375,160,832  71%   10.62MB/s    0:00:14
    388,530,176  73%   11.11MB/s    0:00:12
    403,210,240  76%   12.03MB/s    0:00:10
    417,398,784  79%   12.66MB/s    0:00:08
    429,817,856  81%   12.73MB/s    0:00:07
    441,679,872  83%   12.52MB/s    0:00:06
    453,378,048  85%   11.95MB/s    0:00:06
    465,436,672  88%   11.44MB/s    0:00:05
    477,495,296  90%   11.35MB/s    0:00:04
    489,684,992  92%   11.41MB/s    0:00:03
    502,104,064  95%   11.59MB/s    0:00:02
    513,966,080  97%   11.54MB/s    0:00:01
    526,581,760  99%   11.68MB/s    0:00:00
    527,618,801 100%   10.59MB/s    0:00:47 (xfr#1, to-chk=0/1)
    527,618,801 100%   10.49MB/s    0:00:47 (xfr#1, to-chk=0/1)
    527,618,801 100%   10.49MB/s    0:00:47 (xfr#1, to-chk=0/1)
    527,618,801 100%   10.49MB/s    0:00:47 (xfr#1, to-chk=0/1)

sent 42 bytes  received 527,812,237 bytes  10,662,874.32 bytes/sec
total size is 527,618,801  speedup is 1.00
receiving file list ... 1 file to consider
Invincible.2021.S04E07.1080p.HEVC.x265-MeGusta[EZTVx.to].mkv

              0   0%    0.00kB/s    0:00:00
     12,222,464   1%   11.61MB/s    0:00:54
     25,100,288   3%   11.90MB/s    0:00:52
     32,473,088   4%   10.25MB/s    0:01:00
     39,321,600   5%    9.23MB/s    0:01:05
     46,628,864   7%    7.99MB/s    0:01:15
     54,067,200   8%    6.66MB/s    0:01:29
     64,815,104   9%    7.36MB/s    0:01:19
     75,038,720  11%    8.11MB/s    0:01:10
     84,508,672  12%    8.61MB/s    0:01:05
     96,829,440  14%    9.72MB/s    0:00:56
    108,789,760  16%    9.99MB/s    0:00:54
    120,356,864  18%   10.29MB/s    0:00:51
    133,070,848  20%   11.04MB/s    0:00:46
    145,031,168  21%   10.96MB/s    0:00:46
    155,549,696  23%   10.65MB/s    0:00:46
    164,823,040  24%   10.11MB/s    0:00:48
    169,181,184  25%    8.22MB/s    0:00:58
    174,915,584  26%    6.77MB/s    0:01:10
    180,584,448  27%    5.69MB/s    0:01:22
    187,826,176  28%    5.24MB/s    0:01:28
    199,327,744  30%    6.84MB/s    0:01:06
    208,732,160  31%    7.72MB/s    0:00:57
    218,562,560  32%    8.62MB/s    0:00:50
    229,015,552  34%    9.36MB/s    0:00:45
    239,632,384  36%    9.17MB/s    0:00:45
    250,281,984  37%    9.45MB/s    0:00:42
    261,226,496  39%    9.70MB/s    0:00:40
    272,269,312  41%    9.82MB/s    0:00:38
    284,950,528  42%   10.31MB/s    0:00:35
    298,156,032  44%   10.89MB/s    0:00:32
    311,263,232  46%   11.37MB/s    0:00:30
    323,518,464  48%   11.67MB/s    0:00:28
    337,117,184  50%   11.87MB/s    0:00:26
    350,978,048  52%   12.01MB/s    0:00:25
    364,642,304  55%   12.15MB/s    0:00:23
    378,273,792  57%   12.45MB/s    0:00:22
    392,331,264  59%   12.55MB/s    0:00:21
    405,766,144  61%   12.45MB/s    0:00:20
    419,430,400  63%   12.46MB/s    0:00:19
    429,326,336  64%   11.60MB/s    0:00:19
    433,815,552  65%    9.42MB/s    0:00:23
    439,681,024  66%    7.71MB/s    0:00:28
    445,448,192  67%    5.91MB/s    0:00:35
    451,903,488  68%    5.11MB/s    0:00:40
    464,257,024  70%    6.94MB/s    0:00:27
    477,396,992  72%    8.58MB/s    0:00:21
    490,668,032  74%   10.29MB/s    0:00:16
    504,201,216  76%   11.95MB/s    0:00:12
    516,882,432  77%   11.96MB/s    0:00:11
    530,219,008  80%   12.01MB/s    0:00:10
    542,212,096  81%   11.83MB/s    0:00:09
    547,618,816  82%    9.90MB/s    0:00:11
    552,566,784  83%    8.21MB/s    0:00:13
    555,352,064  83%    5.82MB/s    0:00:18
    562,167,808  84%    4.63MB/s    0:00:21
    567,574,528  85%    4.71MB/s    0:00:19
    574,062,592  86%    5.03MB/s    0:00:17
    586,022,912  88%    7.22MB/s    0:00:10
    598,310,912  90%    8.51MB/s    0:00:07
    610,172,928  92%   10.03MB/s    0:00:05
    621,608,960  93%   10.67MB/s    0:00:03
    624,361,472  94%    8.60MB/s    0:00:04
    626,851,840  94%    6.35MB/s    0:00:05
    630,849,536  95%    4.55MB/s    0:00:06
    637,042,688  96%    3.60MB/s    0:00:06
    646,938,624  97%    5.27MB/s    0:00:02
    657,719,296  99%    7.27MB/s    0:00:00
    662,742,202 100%    9.00MB/s    0:01:10 (xfr#1, to-chk=0/1)
    662,742,202 100%    8.93MB/s    0:01:10 (xfr#1, to-chk=0/1)
    662,742,202 100%    8.93MB/s    0:01:10 (xfr#1, to-chk=0/1)
    662,742,202 100%    8.93MB/s    0:01:10 (xfr#1, to-chk=0/1)

sent 42 bytes  received 662,985,126 bytes  9,272,519.83 bytes/sec
total size is 662,742,202  speedup is 1.00


and re cast e05. it stopped


for f in /mnt/rpi/media/series/Invincible/S04/*.mkv; do echo '---' "$f"; ffprobe -v error -select_streams s -show_entries stream=index:stream_tags=language,title -of csv=p=0 "$f"; done


--- /mnt/rpi/media/series/Invincible/S04/Invincible.2021.S04E06.1080p.HEVC.x265-MeGusta[EZTVx.to].mkv
2,eng,English (SDH)
--- /mnt/rpi/media/series/Invincible/S04/Invincible.2021.S04E07.1080p.HEVC.x265-MeGusta[EZTVx.to].mkv
2,eng,English (SDH)
--- /mnt/rpi/media/series/Invincible/S04/Invincible - S04E05 - GIVE US A MOMENT.mkv
2,eng,English (SDH)
3,ara,العربية
4,cze,Čeština
5,dan,Dansk
6,ger,Deutsch
7,gre,Ελληνικά
8,spa,Español (Latinoamérica)
9,spa,Español (España)
10,fin,Suomi
11,fre,Français (Canada)
12,fre,Français (France)
13,heb,עברית
14,hin,हिन्दी
15,hun,Magyar
16,ind,Indonesia
17,ita,Italiano
18,jpn,日本語
19,kor,한국어
20,may,Melayu
21,nob,Norsk Bokmål
22,dut,Nederlands
23,pol,Polski
24,por,Português (Brasil)
25,por,Português (Portugal)
26,rum,Română
27,swe,Svenska
28,tha,ไทย
29,tur,Türkçe
30,chi,中文（繁體）
31,chi,中文（简体）


-rw-r--r-- 1 sebas sebas 504M Apr 18 16:34 /mnt/rpi/media/series/Invincible/S04/Invincible.2021.S04E06.1080p.HEVC.x265-MeGusta[EZTVx.to].mkv
-rw-r--r-- 1 sebas sebas 633M Apr 18 16:35 /mnt/rpi/media/series/Invincible/S04/Invincible.2021.S04E07.1080p.HEVC.x265-MeGusta[EZTVx.to].mkv
-rw-r--r-- 1 sebas sebas 414M Apr 18 16:27 /mnt/rpi/media/series/Invincible/S04/Invincible - S04E05 - GIVE US A MOMENT.mkv


mkdir -p /mnt/rpi/media/subs/Invincible/S04 && ffmpeg -y -i '/mnt/rpi/media/series/Invincible/S04/Invincible - S04E05 - GIVE US A MOMENT.mkv' -map 0:2 '/mnt/rpi/media/subs/Invincible/S04/Invincible.S04E05.en.srt' >/tmp/e05-subs.log 2>&1 && ffmpeg -y -i '/mnt/rpi/media/series/Invincible/S04/Invincible.2021.S04E06.1080p.HEVC.x265-MeGusta[EZTVx.to].mkv' -map 0:2 '/mnt/rpi/media/subs/Invincible/S04/Invincible.S04E06.en.srt' >/tmp/e06-subs.log 2>&1 && ffmpeg -y -i '/mnt/rpi/media/series/Invincible/S04/Invincible.2021.S04E07.1080p.HEVC.x265-MeGusta[EZTVx.to].mkv' -map 0:2 '/mnt/rpi/media/subs/Invincible/S04/Invincible.S04E07.en.srt' >/tmp/e07-subs.log 2>&1 && ls -lh /mnt/rpi/media/subs/Invincible/S04 && echo 'done'


total 140K
-rw-rw-r-- 1 sebas sebas 52K Apr 18 16:38 Invincible.S04E05.en.srt
-rw-rw-r-- 1 sebas sebas 47K Apr 18 16:38 Invincible.S04E06.en.srt
-rw-rw-r-- 1 sebas sebas 38K Apr 18 16:38 Invincible.S04E07.en.srt
done


nohup /home/sebas/venvs/catt/bin/catt -d 'TV de Sala 68' cast '/mnt/rpi/media/series/Invincible/S04/Invincible - S04E05 - GIVE US A MOMENT.mkv' -s '/mnt/rpi/media/subs/Invincible/S04/Invincible.S04E05.en.srt' >/tmp/catt-e05.log 2>&1 & sleep 5; cat /tmp/catt-e05.log


Casting local file /mnt/rpi/media/series/Invincible/S04/Invincible - S04E05 - GIVE US A MOMENT.mkv...
Playing "Invincible - S04E05 - GIVE US A MOMENT" on "TV de Sala 68"...
Serving local file(s).
192.168.1.32 - - [18/Apr/2026 16:38:50] "GET /?loaded_from_catt HTTP/1.1" 206 - video/x-matroska - 413.41 MB
Device disconnected while playing. Please check that the video file is compatible with the device.
192.168.1.32 - - [18/Apr/2026 16:38:50] "GET /?loaded_from_catt HTTP/1.1" 206 - video/x-matroska - 413.41 MB
192.168.1.32 - - [18/Apr/2026 16:38:51] "GET //tmp/tmpezyijahc.vtt HTTP/1.1" 200 - text/vtt;charset=utf-8 - 51.36 KB
192.168.1.32 - - [18/Apr/2026 16:38:51] "GET /?loaded_from_catt HTTP/1.1" 206 - video/x-matroska - 413.41 MB


Done.

Prepared:
- `E05` subs: `/mnt/rpi/media/subs/Invincible/S04/Invincible.S04E05.en.srt`
- `E06` subs: `/mnt/rpi/media/subs/Invincible/S04/Invincible.S04E06.en.srt`
- `E07` subs: `/mnt/rpi/media/subs/Invincible/S04/Invincible.S04E07.en.srt`

Re-cast `E05` with external English subs.

But cast still shaky:
- device started
- fetched video + subtitle
- then log says: `Device disconnected while playing. Please check that the video file is compatible with the device.`

This smell like **MKV/HEVC compatibility issue**, not subtitle issue.

Best next move:
- remux/transcode E05 to more Chromecast-safe MP4
- keep external `.srt`
- then cast again

Say:
- `convert e05`
- or `convert all`


Sí, se frenó de vuelta. Intenta... Remax.


ffmpeg -y -i '/mnt/rpi/media/series/Invincible/S04/Invincible - S04E05 - GIVE US A MOMENT.mkv' -map 0:v:0 -map 0:a:0 -c copy -movflags +faststart '/mnt/rpi/media/series/Invincible/S04/Invincible.S04E05.remux.mp4'


ffmpeg version 7.1.3-0+deb13u1+rpt1 Copyright (c) 2000-2025 the FFmpeg developers
  built with gcc 14 (Debian 14.2.0-19)
  configuration: --prefix=/usr --extra-version=0+deb13u1+rpt1 --toolchain=hardened --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --disable-libmfx --disable-mmal --disable-omx --enable-gnutls --enable-libaom --enable-libass --enable-libbs2b --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal --enable-opencl --enable-opengl --disable-sndio --disable-libvpl --libdir=/usr/lib/aarch64-linux-gnu --arch=arm64 --enable-neon --enable-v4l2-request --enable-libudev --enable-epoxy --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-vout-drm --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray --enable-libcaca --enable-libdvdnav --enable-libdvdread --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sand --enable-sdl2 --enable-libplacebo --enable-librav1e --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-shared
  libavutil      59. 39.100 / 59. 39.100
  libavcodec     61. 19.101 / 61. 19.101
  libavformat    61.  7.100 / 61.  7.100
  libavdevice    61.  3.100 / 61.  3.100
  libavfilter    10.  4.100 / 10.  4.100
  libswscale      8.  3.100 /  8.  3.100
  libswresample   5.  3.100 /  5.  3.100
  libpostproc    58.  3.100 / 58.  3.100
Input #0, matroska,webm, from '/mnt/rpi/media/series/Invincible/S04/Invincible - S04E05 - GIVE US A MOMENT.mkv':
  Metadata:
    creation_time   : 2026-04-01T07:59:40.000000Z
    ENCODER         : Lavf62.6.101
  Duration: 00:51:10.78, start: -0.021000, bitrate: 1129 kb/s
  Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
      Metadata:
        ENCODER         : Lavc62.19.100 libx265
        BPS             : 747865
        DURATION        : 00:51:10.735000000
        NUMBER_OF_FRAMES: 73624
        NUMBER_OF_BYTES : 287062007
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp (default)
      Metadata:
        ENCODER         : Lavc62.19.100 aac
        BPS             : 375407
        DURATION        : 00:51:10.783000000
        NUMBER_OF_FRAMES: 143943
        NUMBER_OF_BYTES : 144099225
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Subtitle: subrip (srt)
      Metadata:
        title           : English (SDH)
        BPS             : 61
        DURATION        : 00:49:16.163000000
        NUMBER_OF_FRAMES: 832
        NUMBER_OF_BYTES : 22907
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(ara): Subtitle: subrip (srt)
      Metadata:
        title           : العربية
        BPS             : 84
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 688
        NUMBER_OF_BYTES : 31444
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:4(cze): Subtitle: subrip (srt)
      Metadata:
        title           : Čeština
        BPS             : 49
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 687
        NUMBER_OF_BYTES : 18339
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:5(dan): Subtitle: subrip (srt)
      Metadata:
        title           : Dansk
        BPS             : 47
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 687
        NUMBER_OF_BYTES : 17855
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:6(ger): Subtitle: subrip (srt)
      Metadata:
        title           : Deutsch
        BPS             : 52
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 687
        NUMBER_OF_BYTES : 19577
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:7(gre): Subtitle: subrip (srt)
      Metadata:
        title           : Ελληνικά
        BPS             : 86
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 688
        NUMBER_OF_BYTES : 32359
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:8(spa): Subtitle: subrip (srt)
      Metadata:
        title           : Español (Latinoamérica)
        BPS             : 48
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 687
        NUMBER_OF_BYTES : 18184
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:9(spa): Subtitle: subrip (srt)
      Metadata:
        title           : Español (España)
        BPS             : 49
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 688
        NUMBER_OF_BYTES : 18509
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:10(fin): Subtitle: subrip (srt)
      Metadata:
        title           : Suomi
        BPS             : 50
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 688
        NUMBER_OF_BYTES : 18852
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:11(fre): Subtitle: subrip (srt)
      Metadata:
        title           : Français (Canada)
        BPS             : 50
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 686
        NUMBER_OF_BYTES : 18681
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:12(fre): Subtitle: subrip (srt)
      Metadata:
        title           : Français (France)
        BPS             : 46
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 683
        NUMBER_OF_BYTES : 17384
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:13(heb): Subtitle: subrip (srt)
      Metadata:
        title           : עברית
        BPS             : 80
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 688
        NUMBER_OF_BYTES : 30124
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:14(hin): Subtitle: subrip (srt)
      Metadata:
        title           : हिन्दी
        BPS             : 134
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 688
        NUMBER_OF_BYTES : 50206
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:15(hun): Subtitle: subrip (srt)
      Metadata:
        title           : Magyar
        BPS             : 49
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 688
        NUMBER_OF_BYTES : 18402
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:16(ind): Subtitle: subrip (srt)
      Metadata:
        title           : Indonesia
        BPS             : 47
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 687
        NUMBER_OF_BYTES : 17804
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:17(ita): Subtitle: subrip (srt)
      Metadata:
        title           : Italiano
        BPS             : 48
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 687
        NUMBER_OF_BYTES : 18147
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:18(jpn): Subtitle: subrip (srt)
      Metadata:
        title           : 日本語
        BPS             : 44
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 549
        NUMBER_OF_BYTES : 16595
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:19(kor): Subtitle: subrip (srt)
      Metadata:
        title           : 한국어
        BPS             : 50
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 688
        NUMBER_OF_BYTES : 18833
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:20(may): Subtitle: subrip (srt)
      Metadata:
        title           : Melayu
        BPS             : 49
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 687
        NUMBER_OF_BYTES : 18513
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:21(nob): Subtitle: subrip (srt)
      Metadata:
        title           : Norsk Bokmål
        BPS             : 47
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 687
        NUMBER_OF_BYTES : 17718
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:22(dut): Subtitle: subrip (srt)
      Metadata:
        title           : Nederlands
        BPS             : 48
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 679
        NUMBER_OF_BYTES : 17935
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:23(pol): Subtitle: subrip (srt)
      Metadata:
        title           : Polski
        BPS             : 47
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 688
        NUMBER_OF_BYTES : 17692
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:24(por): Subtitle: subrip (srt)
      Metadata:
        title           : Português (Brasil)
        BPS             : 47
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 688
        NUMBER_OF_BYTES : 17729
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:25(por): Subtitle: subrip (srt)
      Metadata:
        title           : Português (Portugal)
        BPS             : 49
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 687
        NUMBER_OF_BYTES : 18338
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:26(rum): Subtitle: subrip (srt)
      Metadata:
        title           : Română
        BPS             : 51
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 688
        NUMBER_OF_BYTES : 19143
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:27(swe): Subtitle: subrip (srt)
      Metadata:
        title           : Svenska
        BPS             : 47
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 686
        NUMBER_OF_BYTES : 17758
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:28(tha): Subtitle: subrip (srt)
      Metadata:
        title           : ไทย
        BPS             : 124
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 688
        NUMBER_OF_BYTES : 46298
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:29(tur): Subtitle: subrip (srt)
      Metadata:
        title           : Türkçe
        BPS             : 51
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 687
        NUMBER_OF_BYTES : 19161
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:30(chi): Subtitle: subrip (srt)
      Metadata:
        title           : 中文（繁體）
        BPS             : 43
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 688
        NUMBER_OF_BYTES : 16271
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:31(chi): Subtitle: subrip (srt)
      Metadata:
        title           : 中文（简体）
        BPS             : 48
        DURATION        : 00:49:37.518000000
        NUMBER_OF_FRAMES: 688
        NUMBER_OF_BYTES : 18093
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Output #0, mp4, to '/mnt/rpi/media/series/Invincible/S04/Invincible.S04E05.remux.mp4':
  Metadata:
    encoder         : Lavf61.7.100
  Stream #0:0: Video: hevc (Main 10) (hev1 / 0x31766568), yuv420p10le(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 16k tbn (default)
      Metadata:
        ENCODER         : Lavc62.19.100 libx265
        BPS             : 747865
        DURATION        : 00:51:10.735000000
        NUMBER_OF_FRAMES: 73624
        NUMBER_OF_BYTES : 287062007
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp (default)
      Metadata:
        ENCODER         : Lavc62.19.100 aac
        BPS             : 375407
        DURATION        : 00:51:10.783000000
        NUMBER_OF_FRAMES: 143943
        NUMBER_OF_BYTES : 144099225
        _STATISTICS_WRITING_APP: mkvmerge v96.0 ('It's My Life') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2026-04-01 07:59:40
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Press [q] to stop, [?] for help
[matroska,webm @ 0x5555f6156ce0] Element at 0x9f156f1 ending at 0x3e033bf5bafe exceeds containing master element ending at 0x9f245d7
frame=45646 fps=0.0 q=-1.0 size=  229632KiB time=00:31:45.13 bitrate= 987.4kbits/s speed=3.81e+03x
frame=53465 fps=53456 q=-1.0 size=  294144KiB time=00:37:11.24 bitrate=1079.9kbits/s speed=2.23e+03x
frame=55138 fps=36752 q=-1.0 size=  306432KiB time=00:38:21.02 bitrate=1090.9kbits/s speed=1.53e+03x
frame=55753 fps=27871 q=-1.0 size=  310784KiB time=00:38:46.67 bitrate=1094.2kbits/s speed=1.16e+03x
frame=56238 fps=22491 q=-1.0 size=  314368KiB time=00:39:06.90 bitrate=1097.3kbits/s speed= 939x
frame=57277 fps=19089 q=-1.0 size=  326400KiB time=00:39:50.24 bitrate=1118.7kbits/s speed= 797x
frame=58585 fps=16735 q=-1.0 size=  338944KiB time=00:40:44.79 bitrate=1135.7kbits/s speed= 698x
frame=59997 fps=14988 q=-1.0 size=  350976KiB time=00:41:43.68 bitrate=1148.4kbits/s speed= 625x
frame=61156 fps=13581 q=-1.0 size=  363008KiB time=00:42:32.02 bitrate=1165.3kbits/s speed= 567x
frame=62344 fps=12459 q=-1.0 size=  375040KiB time=00:43:21.57 bitrate=1180.9kbits/s speed= 520x
frame=63859 fps=11602 q=-1.0 size=  386816KiB time=00:44:24.76 bitrate=1189.1kbits/s speed= 484x
frame=66186 fps=11023 q=-1.0 size=  399360KiB time=00:46:01.82 bitrate=1184.6kbits/s speed= 460x
frame=69140 fps=10630 q=-1.0 size=  410112KiB time=00:48:05.02 bitrate=1164.5kbits/s speed= 444x
frame=73097 fps=10436 q=-1.0 size=  420096KiB time=00:50:50.06 bitrate=1128.3kbits/s speed= 435x
[mp4 @ 0x5555f61b5570] Starting second pass: moving the moov atom to the beginning of the file
[out#0/mp4 @ 0x5555f615cfa0] video:280328KiB audio:140669KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.664962%
frame=73591 fps=9755 q=-1.0 Lsize=  423796KiB time=00:51:10.67 bitrate=1130.6kbits/s speed= 407x


nohup /home/sebas/venvs/catt/bin/catt -d 'TV de Sala 68' cast '/mnt/rpi/media/series/Invincible/S04/Invincible.S04E05.remux.mp4' -s '/mnt/rpi/media/subs/Invincible/S04/Invincible.S04E05.en.srt' >/tmp/catt-e05-remux.log 2>&1 & sleep 6; cat /tmp/catt-e05-remux.log


Casting local file /mnt/rpi/media/series/Invincible/S04/Invincible.S04E05.remux.mp4...
Playing "Invincible.S04E05.remux" on "TV de Sala 68"...
Serving local file(s).
192.168.1.32 - - [18/Apr/2026 16:57:56] "GET /?loaded_from_catt HTTP/1.1" 206 - video/mp4 - 413.86 MB
192.168.1.32 - - [18/Apr/2026 16:57:57] "GET //tmp/tmpd3xg0xmj.vtt HTTP/1.1" 200 - text/vtt;charset=utf-8 - 51.36 KB


Remux done. Re-cast done.

Now using:
- video: `/mnt/rpi/media/series/Invincible/S04/Invincible.S04E05.remux.mp4`
- subs: `/mnt/rpi/media/subs/Invincible/S04/Invincible.S04E05.en.srt`

This better:
- MP4 container
- external English subs
- TV fetched both video and subtitle file clean

If still dies, next step not remux — next step is **transcode**.

Say:
- `works`
- or `transcode e05`


seeking se freno, transcode


ffmpeg -y -i '/mnt/rpi/media/series/Invincible/S04/Invincible - S04E05 - GIVE US A MOMENT.mkv' -map 0:v:0 -map 0:a:0 -c:v libx264 -preset veryfast -crf 22 -pix_fmt yuv420p -profile:v high -level 4.1 -movflags +faststart -c:a aac -b:a 192k -ac 2 '/mnt/rpi/media/series/Invincible/S04/Invincible.S04E05.h264.mp4'