MKV embedded subs stopped working in UMS 4.1.2

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
Post Reply
pen
Posts: 60
Joined: Mon Sep 02, 2013 11:47 pm

MKV embedded subs stopped working in UMS 4.1.2

Post by pen »

I have encontered problems with mkv embedded subtitles in UMS 4.1.2. It works fine if I revert back to UMS 3.6.5. It seems like the ffmpeg command is not accepted because there is an unknown option "si" (appended to the file).

Code: Select all

DEBUG 2014-10-20 09:22:00.613 [ffmpeg-9] Starting /usr/local/bin/UMS/linux/ffmpeg -y -loglevel verbose -i /mnt/Paros/Downloads/Complete/The.Hunt.JAKTEN.2012.ENG.DUT.DAN.FRE.SWESUB.BRRip.x264.AAC.little_devil/The.Hunt.JAKTEN.2012.ENG.DUT.DAN.FRE.SWESUB.BRRip.x264.AAC.little_devil.mkv -filter_complex subtitles=/mnt/Paros/Downloads/Complete/The.Hunt.JAKTEN.2012.ENG.DUT.DAN.FRE.SWESUB.BRRip.x264.AAC.little_devil/The.Hunt.JAKTEN.2012.ENG.DUT.DAN.FRE.SWESUB.BRRip.x264.AAC.little_devil.mkv:si=1 -bufsize 12500000 -maxrate 11000000 -crf 16 -ab 448k -c:a ac3 -c:v libx264 -preset superfast -level 31 -pix_fmt yuv420p -f mpegts pipe:
DEBUG 2014-10-20 09:22:00.624 [ffmpeg-9-2] ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
DEBUG 2014-10-20 09:22:00.624 [ffmpeg-9-2]   built on Mar 21 2014 14:55:04 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
DEBUG 2014-10-20 09:22:00.624 [ffmpeg-9-2]   configuration: --prefix=/home/admin/Projects/ffmpeg/ffmpeg_build --extra-cflags=-I/home/admin/Projects/ffmpeg/ffmpeg_build/include --extra-ldflags=-L/home/admin/Projects/ffmpeg/ffmpeg_build/lib --bindir=/home/admin/bin --extra-libs=-ldl --enable-static --disable-shared --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-librtmp --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-libfreetype --enable-fontconfig --enable-openssl --disable-yasm
DEBUG 2014-10-20 09:22:00.624 [ffmpeg-9-2]   libavutil      52. 66.101 / 52. 66.101
DEBUG 2014-10-20 09:22:00.624 [ffmpeg-9-2]   libavcodec     55. 52.102 / 55. 52.102
DEBUG 2014-10-20 09:22:00.625 [ffmpeg-9-2]   libavformat    55. 34.101 / 55. 34.101
DEBUG 2014-10-20 09:22:00.625 [ffmpeg-9-2]   libavdevice    55. 11.100 / 55. 11.100
DEBUG 2014-10-20 09:22:00.625 [ffmpeg-9-2]   libavfilter     4.  3.100 /  4.  3.100
DEBUG 2014-10-20 09:22:00.625 [ffmpeg-9-2]   libswscale      2.  5.101 /  2.  5.101
DEBUG 2014-10-20 09:22:00.625 [ffmpeg-9-2]   libswresample   0. 18.100 /  0. 18.100
DEBUG 2014-10-20 09:22:00.625 [ffmpeg-9-2]   libpostproc    52.  3.100 / 52.  3.100
DEBUG 2014-10-20 09:22:00.634 [ffmpeg-9-2] Input #0, matroska,webm, from '/mnt/Paros/Downloads/Complete/The.Hunt.JAKTEN.2012.ENG.DUT.DAN.FRE.SWESUB.BRRip.x264.AAC.little_devil/The.Hunt.JAKTEN.2012.ENG.DUT.DAN.FRE.SWESUB.BRRip.x264.AAC.little_devil.mkv':
DEBUG 2014-10-20 09:22:00.634 [ffmpeg-9-2]   Metadata:
DEBUG 2014-10-20 09:22:00.634 [ffmpeg-9-2]     encoder         : libebml v1.3.0 + libmatroska v1.4.0
DEBUG 2014-10-20 09:22:00.634 [ffmpeg-9-2]     creation_time   : 2013-05-10 19:37:16
DEBUG 2014-10-20 09:22:00.634 [ffmpeg-9-2]     TITLE           : 
DEBUG 2014-10-20 09:22:00.634 [ffmpeg-9-2]     ARTIST          : 
DEBUG 2014-10-20 09:22:00.634 [ffmpeg-9-2]     COMPOSER        : 
DEBUG 2014-10-20 09:22:00.635 [ffmpeg-9-2]     SYNOPSIS        : 
DEBUG 2014-10-20 09:22:00.635 [ffmpeg-9-2]     DATE_RELEASED   : 
DEBUG 2014-10-20 09:22:00.635 [ffmpeg-9-2]     GENRE           : 
DEBUG 2014-10-20 09:22:00.635 [ffmpeg-9-2]   Duration: 01:55:28.04, start: 0.000000, bitrate: 630 kb/s
DEBUG 2014-10-20 09:22:00.635 [ffmpeg-9-2]     Stream #0:0(swe): Subtitle: subrip (default)
DEBUG 2014-10-20 09:22:00.635 [ffmpeg-9-2]     Stream #0:1(dan): Subtitle: subrip
DEBUG 2014-10-20 09:22:00.635 [ffmpeg-9-2]     Stream #0:2(fre): Subtitle: subrip
DEBUG 2014-10-20 09:22:00.635 [ffmpeg-9-2]     Stream #0:3(dut): Subtitle: subrip
DEBUG 2014-10-20 09:22:00.635 [ffmpeg-9-2]     Stream #0:4(eng): Subtitle: subrip
DEBUG 2014-10-20 09:22:00.635 [ffmpeg-9-2]     Stream #0:5(eng): Video: h264 (Main), yuv420p(tv, bt709), 688x288, SAR 1:1 DAR 43:18, 24 fps, 24 tbr, 1k tbn, 180k tbc (default)
DEBUG 2014-10-20 09:22:00.635 [ffmpeg-9-2]     Stream #0:6: Audio: aac, 48000 Hz, stereo, fltp (default)
DEBUG 2014-10-20 09:22:00.635 [ffmpeg-9-2] [Parsed_subtitles_0 @ 0x3704be0] Option 'si' not found
DEBUG 2014-10-20 09:22:00.635 [ffmpeg-9-2] [AVFilterGraph @ 0x3798ee0] Error initializing filter 'subtitles' with args '/mnt/Paros/Downloads/Complete/The.Hunt.JAKTEN.2012.ENG.DUT.DAN.FRE.SWESUB.BRRip.x264.AAC.little_devil/The.Hunt.JAKTEN.2012.ENG.DUT.DAN.FRE.SWESUB.BRRip.x264.AAC.little_devil.mkv:si=1'
DEBUG 2014-10-20 09:22:00.635 [ffmpeg-9-2] Error configuring filters.
Notably, I'm using exactly the same ffmpeg for UMS 4.1.2 and 3.6.5. What could be wrong?

Pen
Attachments
ums_subproblem_dbg.zip
(82.77 KiB) Downloaded 396 times
Server Ubuntu 12.04, Renderer Samsung 46D6300
User avatar
valib
Developer
Posts: 699
Joined: Fri Feb 08, 2013 3:11 am

Re: MKV embedded subs stopped working in UMS 4.1.2

Post by valib »

You need the latest FFmpeg build to make the option "si" working or you can try the latest UMS release where that option was temporarily removed until FFmpeg will make it 100% working.
Post Reply