UMS and PS3 , subtitles issues with mkv

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
CaptainTom25
Posts: 11
Joined: Mon Sep 15, 2025 5:06 am

Re: UMS and PS3 , subtitles issues with mkv

Post by CaptainTom25 »

Here's a new log files : I configured as you requested , Trace and Fatal(FFMPEG) , AVC/HEVC etc.. as you suggested. I used 3 movies
1 Mission Impossible, subtitle .srt files is next to the /mkv : directlink (no transcode folder) , failed, then transcode FFMPEG , also failed. It took less than 1 sec to fail
2 2001, Space Odyssey : many subtitles, no .srt files : 3 english FFMPEG audio/english sub available in transcode forlder : all failed, but it took long time to do so.
3 The book of solution, French / no subtilte FFMPEG : it works , no waiting time

If i disable all subtitles, all movies FFMPEG work, but no subtitle even from Transcode folder : UI shows subtitlse , but not while running the movie.

Thanks
Attachments
ums_dbg_2025-10-01-12-29.zip
(1.55 MiB) Downloaded 872 times
User avatar
mik_s
Moderator
Posts: 1766
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: UMS and PS3 , subtitles issues with mkv

Post by mik_s »

Mission.Impossible is failing the same way my Squid game is.

Code: Select all

ffmpeg.exe -y -loglevel info -hwaccel auto -threads 1 -i G:\Videos\Mission.Impossible.mkv -filter_complex subtitles=G\\:/Videos/Mission.Impossible.srt:force_style=',Fontsize=21.0,PrimaryColour=&H00FFFFFF,Outline=1,Shadow=1,MarginV=10' -map 0:V -map 0:a:1 -threads 16 -bufsize 7000k -maxrate 89000k -g 25 -q:v 1 -qmin 2 -qmax 3 -ac 2 -ab 192k -c:a ac3 -c:v mpeg2video -f vob \\.\pipe\ffmpegvideo_150_1759314304449
(I shortened file names)

Code: Select all

[fc#0 @ 000001d11c9761c0] Cannot find an unused video input stream to feed the unlabeled input pad subtitles:default.
Error binding filtergraph inputs/outputs: Invalid argument
EOF
Process C:\Program Files\Universal Media Server\bin\ffmpeg.exe has a return code of -22! Maybe an error occurred... check the log file
I suspect it may be because it has multiple audio tracks, I will have to do a bit of testing of this.
This will be one that will refuse to play immediately.
Do you find that this is the same for other videos with more that one audio track?

I think there is a problem here with the interaction of subtitles and many audio tracks as I have a dual audio anime that plays fine without subs but returns the same error when enabled.
I did mention this on the Forced subs issue I made but it appears to be separate so I'll make another after more testing.

For 2001.A.Space.Odyssey FFmpeg seems to stop analysing the video after coming to stream #9 then soon after it says EOF (end of file)
Does this video play normally on your computer? If not it could be a partial download.

Code: Select all

[matroska,webm @ 000001ef8594f6c0] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
[matroska,webm @ 000001ef8594f6c0] Could not find codec parameters for stream 9 (Attachment: none): unknown codec

Code: Select all

Starting "C:\Program Files\Universal Media Server\bin\ffmpeg.exe" -y -loglevel info -hwaccel auto -threads 1 -i G:\Videos\2001.A.Space.Odyssey.1968.Remastered.1080p.BluRay.AV1.DDP.5.1.Multi3-dAV1nci.mkv -filter_complex subtitles=G\\:/Videos/2001.A.Space.Odyssey.1968.Remastered.1080p.BluRay.AV1.DDP.5.1.Multi3-dAV1nci.mkv:si=0:force_style=',Fontsize=21.0,PrimaryColour=&H00FFFFFF,Outline=1,Shadow=1,MarginV=10' -map 0:V -map 0:a:1 -threads 16 -bufsize 7000k -maxrate 89000k -g 25 -q:v 1 -qmin 2 -qmax 3 -ac 2 -ab 192k -c:a ac3 -c:v mpeg2video -f vob \\.\pipe\ffmpegvideo_148_1759314366712
ffmpeg version 2025-07-21-git-8cdb47e47a-essentials_build-www.gyan.dev Copyright (c) 2000-2025 the FFmpeg developers
  built with gcc 15.1.0 (Rev6, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-openal --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
  libavutil      60.  5.100 / 60.  5.100
  libavcodec     62.  8.100 / 62.  8.100
  libavformat    62.  1.103 / 62.  1.103
  libavdevice    62.  0.100 / 62.  0.100
  libavfilter    11.  2.100 / 11.  2.100
  libswscale      9.  0.100 /  9.  0.100
  libswresample   6.  0.100 /  6.  0.100
[Parsed_subtitles_0 @ 000001d2ca957c40] libass API version: 0x1704000
[Parsed_subtitles_0 @ 000001d2ca957c40] libass source: commit: 0.17.4-13-ge4215b0d175a5a340c0dbd7a990df82f07d71a34
[Parsed_subtitles_0 @ 000001d2ca957c40] Shaper: FriBidi 1.0.16 (SIMPLE) HarfBuzz-ng 11.2.1 (COMPLEX)
[matroska,webm @ 000001d2cabff6c0] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 000001d2cabff6c0] Could not find codec parameters for stream 9 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[Parsed_subtitles_0 @ 000001d2ca957c40] Using font provider directwrite (with GDI)
EOF
If this plays just fine on your computer could you upload this somewhere so I can test it on my system. You could use Mega.nz then PM me the link.

The last video Le.Livre.des.solutions looks normal but as it has no subs so it proves these are an issue.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
User avatar
mik_s
Moderator
Posts: 1766
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: UMS and PS3 , subtitles issues with mkv

Post by mik_s »

I found what is causing the multiple audio tracks to fail. I was able to get it to transcode from the command line with a little edit.
I made a new issue for this here
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
CaptainTom25
Posts: 11
Joined: Mon Sep 15, 2025 5:06 am

Re: UMS and PS3 , subtitles issues with mkv

Post by CaptainTom25 »

Yes 2001 plays normally on my PC, I uploaded it to mega, the link will be send in PM.

I also tried the version 15.0.0, but still same issues..

Let s hope devs can fix the bugs with future releases...
User avatar
mik_s
Moderator
Posts: 1766
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: UMS and PS3 , subtitles issues with mkv

Post by mik_s »

OK I can confirm that video will play without subtitles but it does appear to suffer the same issue as the other multi audio videos I mentioned before.
However while testing using the FFmpeg command UMS uses for you to play that video I found another issue with the font colour being read as an invalid command and I found this also happens for those other videos.
I think this may be a bug or a change in FFmpeg itself as when I search how it is supposed to look it is correct.
This is what is used and the documentation shows this is correct but will only work if you remove the &

Code: Select all

PrimaryColour=&H00FFFFFF
Could you do a test and run the transcode command in the command line on your computer?
To bring it up type cmd in windows search box then select command prompt for the result.

This is the original command that is being used but sent to test.mpg instead of a pipe.
It should give the error "Filter 'subtitles:default' has output 0 (unlabeled) unconnected"

Code: Select all

"C:\Program Files\Universal Media Server\bin\ffmpeg.exe" -y -loglevel info -hwaccel auto -threads 1 -i G:\Videos\2001.A.Space.Odyssey.1968.Remastered.1080p.BluRay.AV1.DDP.5.1.Multi3-dAV1nci.mkv -filter_complex subtitles=G\\:/Videos/2001.A.Space.Odyssey.1968.Remastered.1080p.BluRay.AV1.DDP.5.1.Multi3-dAV1nci.mkv:si=0:force_style=',Fontsize=21.0,PrimaryColour=&H00FFFFFF,Outline=1,Shadow=1,MarginV=10' -map 0:V -map 0:a:0 -threads 16 -bufsize 7000k -maxrate 89000k -g 25 -q:v 1 -qmin 2 -qmax 3 -ac 2 -ab 192k -c:a ac3 -c:v mpeg2video -f vob test.mpg
This one should get further but report " 'H00FFFFFF' is not recognized as an internal or external command, operable program or batch file."
(I don't know why but this never appeared in your logs.)

Code: Select all

"C:\Program Files\Universal Media Server\bin\ffmpeg.exe" -y -loglevel info -hwaccel auto -threads 1 -i G:\Videos\2001.A.Space.Odyssey.1968.Remastered.1080p.BluRay.AV1.DDP.5.1.Multi3-dAV1nci.mkv -filter_complex [v]subtitles=G\\:/Videos/2001.A.Space.Odyssey.1968.Remastered.1080p.BluRay.AV1.DDP.5.1.Multi3-dAV1nci.mkv:si=0:force_style=',Fontsize=21.0,PrimaryColour=&H00FFFFFF,Outline=1,Shadow=1,MarginV=10' -map 0:V -map 0:a:0 -threads 16 -bufsize 7000k -maxrate 89000k -g 25 -q:v 1 -qmin 2 -qmax 3 -ac 2 -ab 192k -c:a ac3 -c:v mpeg2video -f vob test.mpg
And this one should work and start to transcode.

Code: Select all

"C:\Program Files\Universal Media Server\bin\ffmpeg.exe" -y -loglevel info -hwaccel auto -threads 1 -i G:\Videos\2001.A.Space.Odyssey.1968.Remastered.1080p.BluRay.AV1.DDP.5.1.Multi3-dAV1nci.mkv -filter_complex [v]subtitles=G\\:/Videos/2001.A.Space.Odyssey.1968.Remastered.1080p.BluRay.AV1.DDP.5.1.Multi3-dAV1nci.mkv:si=0:force_style=',Fontsize=21.0,PrimaryColour=H00FFFFFF,Outline=1,Shadow=1,MarginV=10' -map 0:V -map 0:a:0 -threads 16 -bufsize 7000k -maxrate 89000k -g 25 -q:v 1 -qmin 2 -qmax 3 -ac 2 -ab 192k -c:a ac3 -c:v mpeg2video -f vob test.mpg
and the output should look like

Code: Select all

frame=  304 fps= 95 q=1.0 Lq=1.0 size=   37694KiB time=00:00:12.63 bitrate=24434.1kbits/s dup=1 drop=0 speed=3.94x elapsed=0:00:03.21
You can press ctrl+c to stop it and delete the test.mpg video it made.

I'll update that issue with this new info.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
CaptainTom25
Posts: 11
Joined: Mon Sep 15, 2025 5:06 am

Re: UMS and PS3 , subtitles issues with mkv

Post by CaptainTom25 »

Indeed, I ran the 3 commands and the results are below
1rst command

Code: Select all

C:\Users\SteveO>"C:\Program Files\Universal Media Server\bin\ffmpeg.exe" -y -loglevel info -hwaccel auto -threads 1 -i G:\Videos\2001.A.Space.Odyssey.1968.Remastered.1080p.BluRay.AV1.DDP.5.1.Multi3-dAV1nci.mkv -filter_complex subtitles=G\\:/Videos/2001.A.Space.Odyssey.1968.Remastered.1080p.BluRay.AV1.DDP.5.1.Multi3-dAV1nci.mkv:si=0:force_style=',Fontsize=21.0,PrimaryColour=&H00FFFFFF,Outline=1,Shadow=1,MarginV=10' -map 0:V -map 0:a:0 -threads 16 -bufsize 7000k -maxrate 89000k -g 25 -q:v 1 -qmin 2 -qmax 3 -ac 2 -ab 192k -c:a ac3 -c:v mpeg2video -f vob test.mpg
ffmpeg version 2025-07-21-git-8cdb47e47a-essentials_build-www.gyan.dev Copyright (c) 2000-2025 the FFmpeg developers
  built with gcc 15.1.0 (Rev6, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-openal --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
  libavutil      60.  5.100 / 60.  5.100
  libavcodec     62.  8.100 / 62.  8.100
  libavformat    62.  1.103 / 62.  1.103
  libavdevice    62.  0.100 / 62.  0.100
  libavfilter    11.  2.100 / 11.  2.100
  libswscale      9.  0.100 /  9.  0.100
  libswresample   6.  0.100 /  6.  0.100
[Parsed_subtitles_0 @ 0000019ccdc05b80] libass API version: 0x1704000
[Parsed_subtitles_0 @ 0000019ccdc05b80] libass source: commit: 0.17.4-13-ge4215b0d175a5a340c0dbd7a990df82f07d71a34
[Parsed_subtitles_0 @ 0000019ccdc05b80] Shaper: FriBidi 1.0.16 (SIMPLE) HarfBuzz-ng 11.2.1 (COMPLEX)
[matroska,webm @ 0000019ccdc07200] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0000019ccdc07200] Could not find codec parameters for stream 9 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[Parsed_subtitles_0 @ 0000019ccdc05b80] Using font provider directwrite (with GDI)
[opus @ 0000019ccdc36140] Error parsing Opus packet header.
[matroska,webm @ 0000019ccf8cad80] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0000019ccf8cad80] Could not find codec parameters for stream 9 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, matroska,webm, from 'G:\Videos\2001.A.Space.Odyssey.1968.Remastered.1080p.BluRay.AV1.DDP.5.1.Multi3-dAV1nci.mkv':
  Metadata:
    title           : 2001: A Space Odyssey (1968) [dAV1nci]
    encoder         : libebml v1.4.5 + libmatroska v1.7.1
    creation_time   : 2024-09-29T12:15:06.000000Z
  Duration: 02:28:51.75, start: -0.007000, bitrate: 4007 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 177.093583
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 177.093583, end 279.028750
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 279.028750, end 699.865833
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 699.865833, end 1017.891875
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 1017.891875, end 1192.941750
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 1192.941750, end 1528.944083
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 1528.944083, end 1658.073083
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 1658.073083, end 1769.434333
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 1769.434333, end 2026.774750
      Metadata:
        title           : Chapter 09
    Chapter #0:9: start 2026.774750, end 2468.549417
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 2468.549417, end 2737.401333
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 2737.401333, end 3056.470083
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 3056.470083, end 3281.695083
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 3281.695083, end 3513.635125
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 3513.635125, end 3835.957125
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 3835.957125, end 3965.211250
      Metadata:
        title           : Chapter 16
    Chapter #0:16: start 3965.211250, end 4330.576250
      Metadata:
        title           : Chapter 17
    Chapter #0:17: start 4330.576250, end 4731.768708
      Metadata:
        title           : Chapter 18
    Chapter #0:18: start 4731.768708, end 4981.434792
      Metadata:
        title           : Chapter 19
    Chapter #0:19: start 4981.434792, end 5222.133583
      Metadata:
        title           : Chapter 20
    Chapter #0:20: start 5222.133583, end 5269.180583
      Metadata:
        title           : Chapter 21
    Chapter #0:21: start 5269.180583, end 5407.652250
      Metadata:
        title           : Chapter 22
    Chapter #0:22: start 5407.652250, end 5570.773542
      Metadata:
        title           : Chapter 23
    Chapter #0:23: start 5570.773542, end 5915.492917
      Metadata:
        title           : Chapter 24
    Chapter #0:24: start 5915.492917, end 6046.999292
      Metadata:
        title           : Chapter 25
    Chapter #0:25: start 6046.999292, end 6335.454125
      Metadata:
        title           : Chapter 26
    Chapter #0:26: start 6335.454125, end 6581.449875
      Metadata:
        title           : Chapter 27
    Chapter #0:27: start 6581.449875, end 6919.579333
      Metadata:
        title           : Chapter 28
    Chapter #0:28: start 6919.579333, end 7026.060708
      Metadata:
        title           : Chapter 29
    Chapter #0:29: start 7026.060708, end 7288.114167
      Metadata:
        title           : Chapter 30
    Chapter #0:30: start 7288.114167, end 7893.302083
      Metadata:
        title           : Chapter 31
    Chapter #0:31: start 7893.302083, end 8277.519250
      Metadata:
        title           : Chapter 32
    Chapter #0:32: start 8277.519250, end 8433.341583
      Metadata:
        title           : Chapter 33
    Chapter #0:33: start 8433.341583, end 8931.744000
      Metadata:
        title           : Chapter 34
  Stream #0:0: Video: av1 (libaom-av1) (Main), yuv420p10le(tv), 1920x872 [SAR 1:1 DAR 240:109], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      title           : dAV1nci
      BPS             : 2784064
      DURATION        : 02:28:51.715000000
      NUMBER_OF_FRAMES: 214147
      NUMBER_OF_BYTES : 3108308515
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 320 kb/s (default)
    Metadata:
      title           : English 5.1 (EAC3 320 kbps) - Restored
      BPS             : 320000
      DURATION        : 02:28:51.744000000
      NUMBER_OF_FRAMES: 279117
      NUMBER_OF_BYTES : 357269760
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 320 kb/s
    Metadata:
      title           : English 5.1 (EAC3 320 kbps) - Original
      BPS             : 320000
      DURATION        : 02:28:51.744000000
      NUMBER_OF_FRAMES: 279117
      NUMBER_OF_BYTES : 357269760
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(fre): Audio: eac3, 48000 Hz, 5.1(side), fltp, 256 kb/s
    Metadata:
      title           : French 5.1 (EAC3 256 kbps)
      BPS             : 256000
      DURATION        : 02:28:51.744000000
      NUMBER_OF_FRAMES: 279117
      NUMBER_OF_BYTES : 285815808
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:4(ger): Audio: eac3, 48000 Hz, 5.1(side), fltp, 256 kb/s
    Metadata:
      title           : German 5.1 (EAC3 256 kbps)
      BPS             : 256000
      DURATION        : 02:28:51.744000000
      NUMBER_OF_FRAMES: 279117
      NUMBER_OF_BYTES : 285815808
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:5(eng): Audio: opus, 48000 Hz, stereo, fltp, start -0.007000
    Metadata:
      title           : English 2.0 (Opus 64 kbps) - Commentary
      BPS             : 61907
      DURATION        : 02:28:51.752000000
      NUMBER_OF_FRAMES: 446588
      NUMBER_OF_BYTES : 69118197
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:6(eng): Subtitle: subrip (srt), start -0.007000
    Metadata:
      BPS             : 41
      DURATION        : 01:31:19.081000000
      NUMBER_OF_FRAMES: 809
      NUMBER_OF_BYTES : 28527
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:7(eng): Subtitle: subrip (srt), start -0.007000
    Metadata:
      title           : Commentary (AI Transcription)
      BPS             : 79
      DURATION        : 02:24:31.170000000
      NUMBER_OF_FRAMES: 2336
      NUMBER_OF_BYTES : 85912
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:8(eng): Subtitle: hdmv_pgs_subtitle (pgssub), start -0.007000
    Metadata:
      title           : SDH
      BPS             : 15133
      DURATION        : 02:17:49.469000000
      NUMBER_OF_FRAMES: 1334
      NUMBER_OF_BYTES : 15643381
      SOURCE_ID       : 001201
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:9: Attachment: none, start -0.007000
    Metadata:
      filename        : av1an-09-28-2024-22-09-50.txt
      mimetype        : text/plain
[fc#0 @ 0000019ccdc03900] Filter 'subtitles:default' has output 0 (unlabeled) unconnected
Error binding filtergraph inputs/outputs: Invalid argument
←]9001;CmdNotFound;H00FFFFFF←\'H00FFFFFF' is not recognized as an internal or external command,
operable program or batch file.
2nd command

Code: Select all

C:\Users\SteveO>"C:\Program Files\Universal Media Server\bin\ffmpeg.exe" -y -loglevel info -hwaccel auto -threads 1 -i G:\Videos\2001.A.Space.Odyssey.1968.Remastered.1080p.BluRay.AV1.DDP.5.1.Multi3-dAV1nci.mkv -filter_complex [v]subtitles=G\\:/Videos/2001.A.Space.Odyssey.1968.Remastered.1080p.BluRay.AV1.DDP.5.1.Multi3-dAV1nci.mkv:si=0:force_style=',Fontsize=21.0,PrimaryColour=&H00FFFFFF,Outline=1,Shadow=1,MarginV=10' -map 0:V -map 0:a:0 -threads 16 -bufsize 7000k -maxrate 89000k -g 25 -q:v 1 -qmin 2 -qmax 3 -ac 2 -ab 192k -c:a ac3 -c:v mpeg2video -f vob test.mpg
ffmpeg version 2025-07-21-git-8cdb47e47a-essentials_build-www.gyan.dev Copyright (c) 2000-2025 the FFmpeg developers
  built with gcc 15.1.0 (Rev6, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-openal --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
  libavutil      60.  5.100 / 60.  5.100
  libavcodec     62.  8.100 / 62.  8.100
  libavformat    62.  1.103 / 62.  1.103
  libavdevice    62.  0.100 / 62.  0.100
  libavfilter    11.  2.100 / 11.  2.100
  libswscale      9.  0.100 /  9.  0.100
  libswresample   6.  0.100 /  6.  0.100
[Parsed_subtitles_0 @ 000002007ce75d80] libass API version: 0x1704000
[Parsed_subtitles_0 @ 000002007ce75d80] libass source: commit: 0.17.4-13-ge4215b0d175a5a340c0dbd7a990df82f07d71a34
[Parsed_subtitles_0 @ 000002007ce75d80] Shaper: FriBidi 1.0.16 (SIMPLE) HarfBuzz-ng 11.2.1 (COMPLEX)
[matroska,webm @ 000002007d11f6c0] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 000002007d11f6c0] Could not find codec parameters for stream 9 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[Parsed_subtitles_0 @ 000002007ce75d80] Using font provider directwrite (with GDI)
[opus @ 000002007cea9bc0] Error parsing Opus packet header.
[matroska,webm @ 000002007dc58f00] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 000002007dc58f00] Could not find codec parameters for stream 9 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, matroska,webm, from 'G:\Videos\2001.A.Space.Odyssey.1968.Remastered.1080p.BluRay.AV1.DDP.5.1.Multi3-dAV1nci.mkv':
  Metadata:
    title           : 2001: A Space Odyssey (1968) [dAV1nci]
    encoder         : libebml v1.4.5 + libmatroska v1.7.1
    creation_time   : 2024-09-29T12:15:06.000000Z
  Duration: 02:28:51.75, start: -0.007000, bitrate: 4007 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 177.093583
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 177.093583, end 279.028750
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 279.028750, end 699.865833
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 699.865833, end 1017.891875
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 1017.891875, end 1192.941750
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 1192.941750, end 1528.944083
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 1528.944083, end 1658.073083
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 1658.073083, end 1769.434333
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 1769.434333, end 2026.774750
      Metadata:
        title           : Chapter 09
    Chapter #0:9: start 2026.774750, end 2468.549417
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 2468.549417, end 2737.401333
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 2737.401333, end 3056.470083
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 3056.470083, end 3281.695083
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 3281.695083, end 3513.635125
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 3513.635125, end 3835.957125
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 3835.957125, end 3965.211250
      Metadata:
        title           : Chapter 16
    Chapter #0:16: start 3965.211250, end 4330.576250
      Metadata:
        title           : Chapter 17
    Chapter #0:17: start 4330.576250, end 4731.768708
      Metadata:
        title           : Chapter 18
    Chapter #0:18: start 4731.768708, end 4981.434792
      Metadata:
        title           : Chapter 19
    Chapter #0:19: start 4981.434792, end 5222.133583
      Metadata:
        title           : Chapter 20
    Chapter #0:20: start 5222.133583, end 5269.180583
      Metadata:
        title           : Chapter 21
    Chapter #0:21: start 5269.180583, end 5407.652250
      Metadata:
        title           : Chapter 22
    Chapter #0:22: start 5407.652250, end 5570.773542
      Metadata:
        title           : Chapter 23
    Chapter #0:23: start 5570.773542, end 5915.492917
      Metadata:
        title           : Chapter 24
    Chapter #0:24: start 5915.492917, end 6046.999292
      Metadata:
        title           : Chapter 25
    Chapter #0:25: start 6046.999292, end 6335.454125
      Metadata:
        title           : Chapter 26
    Chapter #0:26: start 6335.454125, end 6581.449875
      Metadata:
        title           : Chapter 27
    Chapter #0:27: start 6581.449875, end 6919.579333
      Metadata:
        title           : Chapter 28
    Chapter #0:28: start 6919.579333, end 7026.060708
      Metadata:
        title           : Chapter 29
    Chapter #0:29: start 7026.060708, end 7288.114167
      Metadata:
        title           : Chapter 30
    Chapter #0:30: start 7288.114167, end 7893.302083
      Metadata:
        title           : Chapter 31
    Chapter #0:31: start 7893.302083, end 8277.519250
      Metadata:
        title           : Chapter 32
    Chapter #0:32: start 8277.519250, end 8433.341583
      Metadata:
        title           : Chapter 33
    Chapter #0:33: start 8433.341583, end 8931.744000
      Metadata:
        title           : Chapter 34
  Stream #0:0: Video: av1 (libaom-av1) (Main), yuv420p10le(tv), 1920x872 [SAR 1:1 DAR 240:109], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      title           : dAV1nci
      BPS             : 2784064
      DURATION        : 02:28:51.715000000
      NUMBER_OF_FRAMES: 214147
      NUMBER_OF_BYTES : 3108308515
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 320 kb/s (default)
    Metadata:
      title           : English 5.1 (EAC3 320 kbps) - Restored
      BPS             : 320000
      DURATION        : 02:28:51.744000000
      NUMBER_OF_FRAMES: 279117
      NUMBER_OF_BYTES : 357269760
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 320 kb/s
    Metadata:
      title           : English 5.1 (EAC3 320 kbps) - Original
      BPS             : 320000
      DURATION        : 02:28:51.744000000
      NUMBER_OF_FRAMES: 279117
      NUMBER_OF_BYTES : 357269760
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(fre): Audio: eac3, 48000 Hz, 5.1(side), fltp, 256 kb/s
    Metadata:
      title           : French 5.1 (EAC3 256 kbps)
      BPS             : 256000
      DURATION        : 02:28:51.744000000
      NUMBER_OF_FRAMES: 279117
      NUMBER_OF_BYTES : 285815808
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:4(ger): Audio: eac3, 48000 Hz, 5.1(side), fltp, 256 kb/s
    Metadata:
      title           : German 5.1 (EAC3 256 kbps)
      BPS             : 256000
      DURATION        : 02:28:51.744000000
      NUMBER_OF_FRAMES: 279117
      NUMBER_OF_BYTES : 285815808
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:5(eng): Audio: opus, 48000 Hz, stereo, fltp, start -0.007000
    Metadata:
      title           : English 2.0 (Opus 64 kbps) - Commentary
      BPS             : 61907
      DURATION        : 02:28:51.752000000
      NUMBER_OF_FRAMES: 446588
      NUMBER_OF_BYTES : 69118197
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:6(eng): Subtitle: subrip (srt), start -0.007000
    Metadata:
      BPS             : 41
      DURATION        : 01:31:19.081000000
      NUMBER_OF_FRAMES: 809
      NUMBER_OF_BYTES : 28527
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:7(eng): Subtitle: subrip (srt), start -0.007000
    Metadata:
      title           : Commentary (AI Transcription)
      BPS             : 79
      DURATION        : 02:24:31.170000000
      NUMBER_OF_FRAMES: 2336
      NUMBER_OF_BYTES : 85912
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:8(eng): Subtitle: hdmv_pgs_subtitle (pgssub), start -0.007000
    Metadata:
      title           : SDH
      BPS             : 15133
      DURATION        : 02:17:49.469000000
      NUMBER_OF_FRAMES: 1334
      NUMBER_OF_BYTES : 15643381
      SOURCE_ID       : 001201
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:9: Attachment: none, start -0.007000
    Metadata:
      filename        : av1an-09-28-2024-22-09-50.txt
      mimetype        : text/plain
[fc#0 @ 000002007ce73940] Filter 'subtitles:default' has output 0 (unlabeled) unconnected
Error binding filtergraph inputs/outputs: Invalid argument
←]9001;CmdNotFound;H00FFFFFF←\'H00FFFFFF' is not recognized as an internal or external command,
operable program or batch file.
3rd Command

Code: Select all

C:\Users\SteveO>"C:\Program Files\Universal Media Server\bin\ffmpeg.exe" -y -loglevel info -hwaccel auto -threads 1 -i G:\Videos\2001.A.Space.Odyssey.1968.Remastered.1080p.BluRay.AV1.DDP.5.1.Multi3-dAV1nci.mkv -filter_complex [v]subtitles=G\\:/Videos/2001.A.Space.Odyssey.1968.Remastered.1080p.BluRay.AV1.DDP.5.1.Multi3-dAV1nci.mkv:si=0:force_style=',Fontsize=21.0,PrimaryColour=H00FFFFFF,Outline=1,Shadow=1,MarginV=10' -map 0:V -map 0:a:0 -threads 16 -bufsize 7000k -maxrate 89000k -g 25 -q:v 1 -qmin 2 -qmax 3 -ac 2 -ab 192k -c:a ac3 -c:v mpeg2video -f vob test.mpg
ffmpeg version 2025-07-21-git-8cdb47e47a-essentials_build-www.gyan.dev Copyright (c) 2000-2025 the FFmpeg developers
  built with gcc 15.1.0 (Rev6, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-openal --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
  libavutil      60.  5.100 / 60.  5.100
  libavcodec     62.  8.100 / 62.  8.100
  libavformat    62.  1.103 / 62.  1.103
  libavdevice    62.  0.100 / 62.  0.100
  libavfilter    11.  2.100 / 11.  2.100
  libswscale      9.  0.100 /  9.  0.100
  libswresample   6.  0.100 /  6.  0.100
[Parsed_subtitles_0 @ 00000263864d7dc0] libass API version: 0x1704000
[Parsed_subtitles_0 @ 00000263864d7dc0] libass source: commit: 0.17.4-13-ge4215b0d175a5a340c0dbd7a990df82f07d71a34
[Parsed_subtitles_0 @ 00000263864d7dc0] Shaper: FriBidi 1.0.16 (SIMPLE) HarfBuzz-ng 11.2.1 (COMPLEX)
[matroska,webm @ 000002638677f6c0] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 000002638677f6c0] Could not find codec parameters for stream 9 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[Parsed_subtitles_0 @ 00000263864d7dc0] Using font provider directwrite (with GDI)
[opus @ 00000263880ae140] Error parsing Opus packet header.
[matroska,webm @ 00000263870de800] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 00000263870de800] Could not find codec parameters for stream 9 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, matroska,webm, from 'G:\Videos\2001.A.Space.Odyssey.1968.Remastered.1080p.BluRay.AV1.DDP.5.1.Multi3-dAV1nci.mkv':
  Metadata:
    title           : 2001: A Space Odyssey (1968) [dAV1nci]
    encoder         : libebml v1.4.5 + libmatroska v1.7.1
    creation_time   : 2024-09-29T12:15:06.000000Z
  Duration: 02:28:51.75, start: -0.007000, bitrate: 4007 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 177.093583
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 177.093583, end 279.028750
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 279.028750, end 699.865833
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 699.865833, end 1017.891875
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 1017.891875, end 1192.941750
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 1192.941750, end 1528.944083
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 1528.944083, end 1658.073083
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 1658.073083, end 1769.434333
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 1769.434333, end 2026.774750
      Metadata:
        title           : Chapter 09
    Chapter #0:9: start 2026.774750, end 2468.549417
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 2468.549417, end 2737.401333
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 2737.401333, end 3056.470083
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 3056.470083, end 3281.695083
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 3281.695083, end 3513.635125
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 3513.635125, end 3835.957125
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 3835.957125, end 3965.211250
      Metadata:
        title           : Chapter 16
    Chapter #0:16: start 3965.211250, end 4330.576250
      Metadata:
        title           : Chapter 17
    Chapter #0:17: start 4330.576250, end 4731.768708
      Metadata:
        title           : Chapter 18
    Chapter #0:18: start 4731.768708, end 4981.434792
      Metadata:
        title           : Chapter 19
    Chapter #0:19: start 4981.434792, end 5222.133583
      Metadata:
        title           : Chapter 20
    Chapter #0:20: start 5222.133583, end 5269.180583
      Metadata:
        title           : Chapter 21
    Chapter #0:21: start 5269.180583, end 5407.652250
      Metadata:
        title           : Chapter 22
    Chapter #0:22: start 5407.652250, end 5570.773542
      Metadata:
        title           : Chapter 23
    Chapter #0:23: start 5570.773542, end 5915.492917
      Metadata:
        title           : Chapter 24
    Chapter #0:24: start 5915.492917, end 6046.999292
      Metadata:
        title           : Chapter 25
    Chapter #0:25: start 6046.999292, end 6335.454125
      Metadata:
        title           : Chapter 26
    Chapter #0:26: start 6335.454125, end 6581.449875
      Metadata:
        title           : Chapter 27
    Chapter #0:27: start 6581.449875, end 6919.579333
      Metadata:
        title           : Chapter 28
    Chapter #0:28: start 6919.579333, end 7026.060708
      Metadata:
        title           : Chapter 29
    Chapter #0:29: start 7026.060708, end 7288.114167
      Metadata:
        title           : Chapter 30
    Chapter #0:30: start 7288.114167, end 7893.302083
      Metadata:
        title           : Chapter 31
    Chapter #0:31: start 7893.302083, end 8277.519250
      Metadata:
        title           : Chapter 32
    Chapter #0:32: start 8277.519250, end 8433.341583
      Metadata:
        title           : Chapter 33
    Chapter #0:33: start 8433.341583, end 8931.744000
      Metadata:
        title           : Chapter 34
  Stream #0:0: Video: av1 (libaom-av1) (Main), yuv420p10le(tv), 1920x872 [SAR 1:1 DAR 240:109], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      title           : dAV1nci
      BPS             : 2784064
      DURATION        : 02:28:51.715000000
      NUMBER_OF_FRAMES: 214147
      NUMBER_OF_BYTES : 3108308515
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 320 kb/s (default)
    Metadata:
      title           : English 5.1 (EAC3 320 kbps) - Restored
      BPS             : 320000
      DURATION        : 02:28:51.744000000
      NUMBER_OF_FRAMES: 279117
      NUMBER_OF_BYTES : 357269760
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 320 kb/s
    Metadata:
      title           : English 5.1 (EAC3 320 kbps) - Original
      BPS             : 320000
      DURATION        : 02:28:51.744000000
      NUMBER_OF_FRAMES: 279117
      NUMBER_OF_BYTES : 357269760
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(fre): Audio: eac3, 48000 Hz, 5.1(side), fltp, 256 kb/s
    Metadata:
      title           : French 5.1 (EAC3 256 kbps)
      BPS             : 256000
      DURATION        : 02:28:51.744000000
      NUMBER_OF_FRAMES: 279117
      NUMBER_OF_BYTES : 285815808
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:4(ger): Audio: eac3, 48000 Hz, 5.1(side), fltp, 256 kb/s
    Metadata:
      title           : German 5.1 (EAC3 256 kbps)
      BPS             : 256000
      DURATION        : 02:28:51.744000000
      NUMBER_OF_FRAMES: 279117
      NUMBER_OF_BYTES : 285815808
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:5(eng): Audio: opus, 48000 Hz, stereo, fltp, start -0.007000
    Metadata:
      title           : English 2.0 (Opus 64 kbps) - Commentary
      BPS             : 61907
      DURATION        : 02:28:51.752000000
      NUMBER_OF_FRAMES: 446588
      NUMBER_OF_BYTES : 69118197
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:6(eng): Subtitle: subrip (srt), start -0.007000
    Metadata:
      BPS             : 41
      DURATION        : 01:31:19.081000000
      NUMBER_OF_FRAMES: 809
      NUMBER_OF_BYTES : 28527
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:7(eng): Subtitle: subrip (srt), start -0.007000
    Metadata:
      title           : Commentary (AI Transcription)
      BPS             : 79
      DURATION        : 02:24:31.170000000
      NUMBER_OF_FRAMES: 2336
      NUMBER_OF_BYTES : 85912
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:8(eng): Subtitle: hdmv_pgs_subtitle (pgssub), start -0.007000
    Metadata:
      title           : SDH
      BPS             : 15133
      DURATION        : 02:17:49.469000000
      NUMBER_OF_FRAMES: 1334
      NUMBER_OF_BYTES : 15643381
      SOURCE_ID       : 001201
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:9: Attachment: none, start -0.007000
    Metadata:
      filename        : av1an-09-28-2024-22-09-50.txt
      mimetype        : text/plain
Stream mapping:
  Stream #0:0 (libaom-av1) -> subtitles:default
  subtitles:default -> Stream #0:0 (mpeg2video)
  Stream #0:0 -> #0:1 (av1 (libaom-av1) -> mpeg2video (native))
  Stream #0:1 -> #0:2 (eac3 (native) -> ac3 (native))
Press [q] to stop, [?] for help
[Parsed_subtitles_0 @ 0000026388228480] libass API version: 0x1704000
[Parsed_subtitles_0 @ 0000026388228480] libass source: commit: 0.17.4-13-ge4215b0d175a5a340c0dbd7a990df82f07d71a34
[Parsed_subtitles_0 @ 0000026388228480] Shaper: FriBidi 1.0.16 (SIMPLE) HarfBuzz-ng 11.2.1 (COMPLEX)
[matroska,webm @ 00000263870de2c0] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 00000263870de2c0] Could not find codec parameters for stream 9 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[Parsed_subtitles_0 @ 0000026388228480] Using font provider directwrite (with GDI)
[opus @ 00000263870cd5c0] Error parsing Opus packet header.
Output #0, vob, to 'test.mpg':
  Metadata:
    title           : 2001: A Space Odyssey (1968) [dAV1nci]
    encoder         : Lavf62.1.103
  Chapters:
    Chapter #0:0: start 0.007000, end 177.100583
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 177.100583, end 279.035750
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 279.035750, end 699.872833
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 699.872833, end 1017.898875
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 1017.898875, end 1192.948750
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 1192.948750, end 1528.951083
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 1528.951083, end 1658.080083
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 1658.080083, end 1769.441333
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 1769.441333, end 2026.781750
      Metadata:
        title           : Chapter 09
    Chapter #0:9: start 2026.781750, end 2468.556417
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 2468.556417, end 2737.408333
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 2737.408333, end 3056.477083
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 3056.477083, end 3281.702083
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 3281.702083, end 3513.642125
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 3513.642125, end 3835.964125
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 3835.964125, end 3965.218250
      Metadata:
        title           : Chapter 16
    Chapter #0:16: start 3965.218250, end 4330.583250
      Metadata:
        title           : Chapter 17
    Chapter #0:17: start 4330.583250, end 4731.775708
      Metadata:
        title           : Chapter 18
    Chapter #0:18: start 4731.775708, end 4981.441792
      Metadata:
        title           : Chapter 19
    Chapter #0:19: start 4981.441792, end 5222.140583
      Metadata:
        title           : Chapter 20
    Chapter #0:20: start 5222.140583, end 5269.187583
      Metadata:
        title           : Chapter 21
    Chapter #0:21: start 5269.187583, end 5407.659250
      Metadata:
        title           : Chapter 22
    Chapter #0:22: start 5407.659250, end 5570.780542
      Metadata:
        title           : Chapter 23
    Chapter #0:23: start 5570.780542, end 5915.499917
      Metadata:
        title           : Chapter 24
    Chapter #0:24: start 5915.499917, end 6047.006292
      Metadata:
        title           : Chapter 25
    Chapter #0:25: start 6047.006292, end 6335.461125
      Metadata:
        title           : Chapter 26
    Chapter #0:26: start 6335.461125, end 6581.456875
      Metadata:
        title           : Chapter 27
    Chapter #0:27: start 6581.456875, end 6919.586333
      Metadata:
        title           : Chapter 28
    Chapter #0:28: start 6919.586333, end 7026.067708
      Metadata:
        title           : Chapter 29
    Chapter #0:29: start 7026.067708, end 7288.121167
      Metadata:
        title           : Chapter 30
    Chapter #0:30: start 7288.121167, end 7893.309083
      Metadata:
        title           : Chapter 31
    Chapter #0:31: start 7893.309083, end 8277.526250
      Metadata:
        title           : Chapter 32
    Chapter #0:32: start 8277.526250, end 8433.348583
      Metadata:
        title           : Chapter 33
    Chapter #0:33: start 8433.348583, end 8931.751000
      Metadata:
        title           : Chapter 34
  Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, progressive), 1920x872 [SAR 1:1 DAR 240:109], q=2-31, 200 kb/s, 23.98 fps, 90k tbn
    Metadata:
      encoder         : Lavc62.8.100 mpeg2video
    Side data:
      cpb: bitrate max/min/avg: 89000000/0/200000 buffer size: 7000000 vbv_delay: N/A
  Stream #0:1: Video: mpeg2video (Main), yuv420p(tv, progressive), 1920x872 [SAR 1:1 DAR 240:109], q=2-31, 200 kb/s, 23.98 fps, 90k tbn (default)
    Metadata:
      encoder         : Lavc62.8.100 mpeg2video
      title           : dAV1nci
      BPS             : 2784064
      DURATION        : 02:28:51.715000000
      NUMBER_OF_FRAMES: 214147
      NUMBER_OF_BYTES : 3108308515
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Side data:
      cpb: bitrate max/min/avg: 89000000/0/200000 buffer size: 7000000 vbv_delay: N/A
  Stream #0:2(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)
    Metadata:
      encoder         : Lavc62.8.100 ac3
      title           : English 5.1 (EAC3 320 kbps) - Restored
      BPS             : 320000
      DURATION        : 02:28:51.744000000
      NUMBER_OF_FRAMES: 279117
      NUMBER_OF_BYTES : 357269760
      _STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-09-29 12:15:06
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
frame=  244 fps= 95 q=1.0 q=1.0 size=    1024KiB time=00:00:10.13 bitrate= 827.7kbits/s speed=3.94x elapsed=0:00:02.57  frame=  545 fps=176 q=1.0 q=1.0 size=    2304KiB time=00:00:22.68 bitrate= 831.9kbits/s speed=7.34x elapsed=0:00:03.09  frame=  846 fps=235 q=1.0 q=1.0 size=    3584KiB time=00:00:35.24 bitrate= 833.1kbits/s speed=9.77x elapsed=0:00:03.60  frame= 1147 fps=278 q=1.0 q=1.0 size=    4864KiB time=00:00:47.79 bitrate= 833.6kbits/s speed=11.6x elapsed=0:00:04.12  frame= 1449 fps=313 q=1.0 q=1.0 size=    6144KiB time=00:01:00.39 bitrate= 833.4kbits/s speed=  13x elapsed=0:00:04.63  [out#0/vob @ 0000026388228c00] video:5728KiB audio:1728KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 1.533944%
frame= 1765 fps=341 q=1.0 Lq=1.0 size=    7570KiB time=00:01:13.57 bitrate= 842.9kbits/s speed=14.2x elapsed=0:00:05.17 
Exiting normally, received signal 2.
Hope this helps...
User avatar
mik_s
Moderator
Posts: 1766
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: UMS and PS3 , subtitles issues with mkv

Post by mik_s »

Yeah that looks good and confirms what I was seeing.


I think this may have be the cause of some problems some others reported in v14 that I was unable to track down, I never thought about running this in the command line at the time. I'll have to find that thread and go over it again to see how similar the results were.
IIRC I think it was happening on Anime and that sometimes has dual audio and it seemed to just stop too in the logs like it did in yours.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
User avatar
mik_s
Moderator
Posts: 1766
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: UMS and PS3 , subtitles issues with mkv

Post by mik_s »

The fix for this is done and should be in the next release 15.2
The cause was an unaccounted change in how the FFmpeg command line works.

For a temporary workaround you could download an old version of FFmpeg here (ffmpeg-2023-07-02-git-50f34172e0-essentials_build.zip)
Extract it and rename it to ffmpeg-old.exe then save in the bin folder of the UMS installation which probably is "C:\Program Files\Universal Media Server\bin\"
Then when UMS is not running edit "C:\ProgramData\UMS\UMS.conf" to change

Code: Select all

ffmpeg_path =
to

Code: Select all

ffmpeg_path = C:\\Program Files\\Universal Media Server\\bin\\ffmpeg-old.exe
So the old version will be used when you next run UMS.
Once you get 15.2 then you can revert this change.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
CaptainTom25
Posts: 11
Joined: Mon Sep 15, 2025 5:06 am

Re: UMS and PS3 , subtitles issues with mkv

Post by CaptainTom25 »

OK thank you, I was expecting a long wait :p I will try the workaround
CaptainTom25
Posts: 11
Joined: Mon Sep 15, 2025 5:06 am

Re: UMS and PS3 , subtitles issues with mkv

Post by CaptainTom25 »

For some reasons, it s not working for most videos.

It worked for old mkv 2001, space Odyssey (not affected by the susbtitle bug, where only one occurrence would be display) , but not for Impossible mission ( It has multiple subtitles, but only English forced is displayed, )

I also played some random videos, and none worked... see dbg file attached.

Any news concerning the subtitle not displaying bug, it was my original report ? Then the ffmpeg issue came to your attention !
Attachments
ums_dbg_2025-10-26-18-40.zip
(1.08 MiB) Downloaded 767 times
Post Reply