PDA

View Full Version : ASS subtitles are getting cut...



Solrac Smartypants
March 7th, 2015, 11:54 AM
I have this LG TV 42LM-5800-UC, which I had to create a new profile for. Everything but a few files seem to work awesome but when it comes down to burned in subtitles, well... sometimes we have problems...

In some MKV files, ASS subtitles extracted as KRR_??_???.krrs saved at C:\Users\<user>\AppData\Local\Temp contains only 99 lines and then they end the file with a NULL value.


So I did the whole process "outside" of Kooraroo:

- I extracted those ASS subtitles from the MKV using mkvtoolnix.
- I ran the transcoding process using the original MKV + my new subtitles using:

"C:\Program Files\KooRaRoo Media\ffmpeg.exe" -i "my_file.mkv" -y -c:v libx264 -b:v 3182161 -bt
318216 -r 23.98 -level 51 -profile:v high -filter:v "yadif, format=yuv420p, subtitles="f=my_subtitles.krrs"" -map 0:0 -c:a ac3_fixed -b:a 64000 -ar 48000 -ac
2 -map 0:1 -sn -dn -f matroska -threads 0 -crf 23 -preset superfast -map_metadata -1 "my_output_file.krrv"
- I tested my transcoded file and got full subtitles working.


This ain't an encoding problem as the first 100 lines are correctly displayed its more like the subs parser is configured to parse only 100 lines of text OR it is in "trial mode"???

No idea but it's getting anoying... I hope you guys can help me with it.

BTW. This is my TV profile:


<Device ID="E8DB15A3-D4C5-47f0-938B-E878D3AF506E">
<Description manufacturer="LG" model="42LM-5800" system="PAL|NTSC">
<Details>This device profile should be used with LG Smart TVs.</Details>
<Identity useragent="LG NetCast.TV|.*\[TV\]\[LG\].*" name="LG DLNA DMC v0.1" krr="WINDOWS/6.1 UPnP/1.0 DLNADOC/1.50 Nero-MediaHome/4.5.9.104" />
<Advanced type="lg" sizetrick="1" multiplestreams="0" fileext="1" sizetrickvideo="6" dlnaci="0" />
<Subtitles external="SRT|SMI|SUB" />
</Description>
<Video>
<Format id="mpeg2" format="mpeg" dlna="MPEG_PS_PAL|MPEG_PS_NTSC" encode="1" dlnaflags="01700000000000000000000000000000">
<Codec id="mpeg2_pal|mpeg2_ntsc" />
<Codec id="mpeg4_divx" />
<Codec id="mpeg4_xvid" />
<Codec id="ac3" />
<Codec id="mp2" />"
<Codec id="lpcm16" />
</Format>
<Format id="mpegts_h264" format="mpegts" dlna="AVC_TS_HD_EU_ISO|AVC_TS_HD_NA_ISO" encode="1" dlnaflags="01700000000000000000000000000000">
<Codec id="h264_level51high" minlevel="31" />
<Codec id="ac3" />
<Codec id="mp2" />
</Format>
<Format id="mpegts_mpeg" format="mpegts" dlna="MPEG_TS_SD_EU|MPEG_TS_SD_NA" encode="1" dlnaflags="01700000000000000000000000000000">
<Codec id="mpeg2_pal" />

<Codec id="ac3" />
<Codec id="mp2" />
</Format>
<Format id="h264" format="mov,mp4,m4a,3gp,3g2,mj2" encode="0" exclude="qt" dlnaflags="01700000000000000000000000000000">
<Codec id="h264_level51high" minlevel="30" />
<Codec id="mp3" />

</Format>
<Format id="avi" format="avi" encode="1" dlnaflags="01700000000000000000000000000000">
<Codec id="mpeg4_divx" />
<Codec id="mpeg4_xvid" />
<Codec id="mpeg4" />
<Codec id="wmv3" />
<Codec id="ac3" />
<Codec id="mp3" />
</Format>
<Format id="matroska" format="matroska,webm" encode="1" default="1" dlnaflags="01700000000000000000000000000000">
<Codec id="h264_level51high" minlevel="30" />
<Codec id="mpeg4_divx" />
<Codec id="mpeg4_xvid" />
<Codec id="ac3" />
<Codec id="mp2" />
<Codec id="mp3" />
</Format>
<Format id="asfvideo" format="asf" encode="1" dlnaflags="01700000000000000000000000000000">
<Codec id="vc1" />
<Codec id="wmv2" />
<Codec id="wmv3" />
<Codec id="wmav2" />
</Format>
</Video>
<Video>
<Format id="mpeg2" format="mpeg" dlna="MPEG_PS_PAL|MPEG_PS_NTSC" encode="1">
<Codec id="mpeg2_pal|mpeg2_ntsc" />
<Codec id="ac3" />
<Codec id="mp2" />"
<Codec id="lpcm16" />
</Format>
<Format id="mpegts_h264" format="mpegts" dlna="AVC_TS_HD_EU_ISO|AVC_TS_HD_NA_ISO" encode="1" default="1">
<Codec id="h264_level51high" minlevel="31" />
<Codec id="ac3" />
<Codec id="mp2" />
<Codec id="mp3" />
</Format>
<Format id="mpegts_mpeg" format="mpegts" dlna="MPEG_TS_SD_EU|MPEG_TS_SD_NA" encode="1">
<Codec id="mpeg2_pal" />
<Codec id="ac3" />
<Codec id="mp2" />
<Codec id="mp3" />
</Format>
<Format id="h264" format="mov,mp4,m4a,3gp,3g2,mj2" encode="0">
<Codec id="h264_level51high" minlevel="30" />
<Codec id="aac" />
<Codec id="mp3" />
</Format>
<Format id="matroska" format="matroska,webm" dlna="MKV" encode="1">
<Codec id="h264_level51high" minlevel="30" />
<Codec id="mpeg4_divx" />
<Codec id="aac" />
<Codec id="ac3" />
<Codec id="mp3" />
</Format>
<Format id="asfvideo" format="asf" encode="0">
<Codec id="vc1" />
<Codec id="wmav2" />
</Format>
</Video>
<Audio>
<Format id="mp3" format="mp3" dlna="MP3" encode="1">
<Codec id="mp3" />
</Format>
</Audio>
<Image>
<Format id="jpeg" format="jpeg" dlna="JPEG_LRG" encode="1" default="1">
<Codec id="jpeg_4096x4096" />
</Format>
<Format id="jpeg_tn" format="jpeg" dlna="JPEG_TN" encode="1" special="thumbnail">
<Codec id="jpeg_160x160" />
</Format>
</Image>
</Device>

KRR Team
March 7th, 2015, 01:53 PM
Hi Solrac Smartypants

We will try to recreate this.
Please allow 2 days for investigation.

Dean

KRR Team
March 9th, 2015, 07:21 AM
Hi Again,

You wrote this happens only in some cases, may I ask on which files did you encountered this issue?
Have you tried to burn the subtitles using KRR interface for this device?

Solrac Smartypants
March 12th, 2015, 02:12 AM
I have experienced this problem ONLY with this kind of files (taken from WMPC properties):


General
Unique ID : 179691486280074363796977198849616771878 (0x872F52487043E168A0D9518E1423FB26)
Complete name : H:\Anime\Dantalian no Shoka [inshuheki]\[inshuheki] Dantalian no Shoka 01 [Hi10P][CB5CE8DD].mkv
Format : Matroska
Format version : Version 2
File size : 510 MiB
Duration : 22mn 51s
Overall bit rate : 3 118 Kbps
Encoded date : UTC 2011-08-04 20:40:35
Writing application : mkvmerge v4.4.0 ('Die Wiederkehr') realizado en Oct 31 2010 21:52:48
Writing library : libebml v1.0.0 + libmatroska v1.0.0
Attachment : Yes

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 10@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 22mn 51s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Scan type : Progressive
Writing library : x264 core 116 r2037+602 fbce75d
Encoding settings : cabac=1 / ref=4 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / fade_compensate=0.00 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=6,6 / fast_pskip=0 / chroma_qp_offset=-2 / threads=5 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=1 / bframes=12 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.10 / aq=1:1.00
Default : Yes
Forced : No

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 22mn 51s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Default : Yes
Forced : No

Text
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Default : Yes
Forced : No

Menu
00:00:00.000 : es:Dantalian no Shoka 01 - Parte 01 / es:Dantalian no Shoka 01 - Ending
00:10:38.929 : es:Dantalian no Shoka 01 - Parte 02
00:22:34.895 : es:Dantalian no Shoka 01 - Preview


General
Unique ID : 250264831500388766297842154160292966148 (0xBC4740D85BABD5F7B4526DAF6C252F04)
Complete name : H:\Anime\Gosick [AU]\[AU] Gosick 01 [41E6DD99].mkv
Format : Matroska
Format version : Version 2
File size : 411 MiB
Duration : 24mn 19s
Overall bit rate : 2 361 Kbps
Encoded date : UTC 2011-01-14 01:38:48
Writing application : mkvmerge v4.4.0 ('Die Wiederkehr') realizado en Oct 31 2010 21:52:48
Writing library : libebml v1.0.0 + libmatroska v1.0.0
Attachment : Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.0
Format settings, CABAC : Yes
Format settings, ReFrames : 16 frames
Muxing mode : Header stripping
Codec ID : V_MPEG4/ISO/AVC
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Original frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Title : [AU] Gosick 01
Writing library : x264 core 112 r1834 a51816a
Encoding settings : cabac=1 / ref=16 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=16 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=16.8 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : Japanese
Default : Yes
Forced : No

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 24mn 19s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Title : AAC-LC 2.0 128kbps
Language : Japanese
Default : Yes
Forced : No

Text
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Title : Sub Esp
Language : Spanish
Default : Yes
Forced : No

Menu
00:00:00.000 : :Intro
00:00:44.920 : :OP
00:02:14.926 : :Parte A
00:12:20.782 : :Parte B
00:22:57.334 : :ED
00:24:04.735 : :Preview

Both have ASS subs and they were made with Advanced SubStation Alpha. The thing is, we used to stop the playback, delete the transcoded file and then transcode it again using KRR and in some cases it would work.
In this new version I tryed so many times to do the same with no success that I had to dig deeper into it, and that's when I wrote to you guys :)

Let me know if I can help you with logs or anything.

KRR Team
March 16th, 2015, 09:49 PM
We are not aware of any limitation. To solve it we need to analyze and debug the specific ASS file and see what the problem.
If it happens only with this 1 file, I see no reasons to further investigate.
Else, please keep us updated.

kanwal g
March 20th, 2015, 08:40 PM
I have tried posting on the Facebook and on here. I have sent emails to the support@kooraroo.com and have not received any response yet.

What is going on. Please let us know. It took over a week to get any kind of response to the Version update and finally saw the change log on Version 2.5.0.0 yesterday.

What is going on with KooRaRoo? Has the company folded and no one letting us know?

Please respond...






________________
http://www.solitairecardgame.info/ (http://www.solitairecardgame.info/)

KRR Team
March 21st, 2015, 06:42 PM
Hi

We have replied your messages on March 16 on this page and via email (check your spam).

Release notes for the new version were published a few weeks ago on this forum (when the new version was available).

I'm sorry you feel that way, we are going through changes in Kooraroo, more on that very soon.

We are doing our best to help and will be happy to review any request.

Dude
April 8th, 2015, 08:58 AM
I have the same problem, all ASS subs in MKVs stop working after a few minutes. My profile is Sony Bravia 2012, here's how a file looks:


Video, DB: 154, Thumb: 630
S [h264, 28], bitrate: 0, framerate: 23.98, level: 41, profile: 100, flags: 0x0, flags2: 0x0


------------------------

ffmpeg version N-60988-g52d928d Copyright (c) 2000-2014 the FFmpeg developers
built on Mar 1 2014 10:34:03 with gcc 4.8.0 (GCC)
configuration: --disable-shared --enable-static --arch=x86_64 --target-os=mingw32 --cross-prefix=/home/dennis/cc/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-libopenjpeg --enable-libfreetype --enable-fontconfig --enable-libass --disable-w32threads --enable-bzlib --enable-libbluray --enable-dxva2 --enable-memalign-hack --enable-avresample --enable-runtime-cpudetect --extra-cflags=-DPTW32_STATIC_LIB --enable-libvpx
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libavresample 1. 2. 0 / 1. 2. 0
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, matroska,webm, from 'D:\Downloads\BitTorrent\House.of.Cards.2013.S01.1 080p.BluRay.DTS.x264-NTb\House.of.Cards.2013.S01E01.1080p.BluRay.DTS.x2 64-NTb.mkv':
Metadata:
encoder : libebml v1.3.0 + libmatroska v1.4.0
creation_time : 2013-06-16 12:39:17
Duration: 00:55:57.36, start: 0.000000, bitrate: 12235 kb/s
Chapter #0.0: start 0.000000, end 299.299000
Metadata:
title : 00:00:00.000
Chapter #0.1: start 299.299000, end 688.062000
Metadata:
title : 00:04:59.299
Chapter #0.2: start 688.062000, end 1200.908000
Metadata:
title : 00:11:28.062
Chapter #0.3: start 1200.908000, end 1852.559000
Metadata:
title : 00:20:00.908
Chapter #0.4: start 1852.559000, end 2410.158000
Metadata:
title : 00:30:52.559
Chapter #0.5: start 2410.158000, end 2995.451000
Metadata:
title : 00:40:10.158
Chapter #0.6: start 2995.451000, end 3223.554000
Metadata:
title : 00:49:55.451
Chapter #0.7: start 3223.554000, end 3357.355000
Metadata:
title : 00:53:43.554
Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x960, SAR 1:1 DAR 2:1, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
Stream #0:2(eng): Subtitle: subrip
Stream #0:3(eng): Subtitle: subrip
Metadata:
title : SDH
At least one output file must be specified


General
Unique ID : 170427088768848982809826363359062307543 (0x803710385375B98ABBAD948A0D12B2D7)
Complete name : D:\House.of.Cards.2013.S01.1080p.BluRay.DTS.x264-NTb\House.of.Cards.2013.S01E01.1080p.BluRay.DTS.x2 64-NTb.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 4.78 GiB
Duration : 55mn 57s
Overall bit rate : 12.2 Mbps
Encoded date : UTC 2013-06-16 12:39:17
Writing application : mkvmerge v6.2.0 ('Promised Land') built on Apr 28 2013 12:22:01
Writing library : libebml v1.3.0 + libmatroska v1.4.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Bit rate : 10.5 Mbps
Width : 1 920 pixels
Height : 960 pixels
Display aspect ratio : 2.000
Frame rate mode : Variable
Original frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Writing library : x264 core 133 r2334+704+50 a7549b7 tMod [8-bit@4:2:0 X86]
Encoding settings : cabac=1 / ref=4 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=10 / psy=1 / fade_compensate=0.00 / psy_rd=1.08:0.05 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=175 / rc=crf / mbtree=1 / crf=16.0000 / qcomp=0.80 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=50000 / vbv_bufsize=62500 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.20 / aq=3:0.55 / aq-sensitivity=10.00 / aq-factor=1.00:1.00:1.00 / aq2=0 / aq3=0
Language : English
Default : Yes
Forced : No

Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Mode : 16
Format settings, Endianness : Big
Codec ID : A_DTS
Duration : 55mn 57s
Bit rate mode : Constant
Bit rate : 1 509 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 604 MiB (12%)
Language : English
Default : Yes
Forced : No

Text #1
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English
Default : No
Forced : No

Text #2
ID : 4
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : SDH
Language : English
Default : No
Forced : No

Menu
00:00:00.000 : en:00:00:00.000
00:04:59.299 : en:00:04:59.299
00:11:28.062 : en:00:11:28.062
00:20:00.908 : en:00:20:00.908
00:30:52.559 : en:00:30:52.559
00:40:10.158 : en:00:40:10.158
00:49:55.451 : en:00:49:55.451
00:53:43.554 : en:00:53:43.554

Dude
May 26th, 2015, 06:44 AM
Month and a half and no reply here? What's going on?

Solrac Smartypants
June 5th, 2015, 02:17 PM
Sorry about my late reply but real life got me for a while :(

The thing is, this happends with a lot of files and I can upload a couple if you need me to. Someone else pointed out to have the same problem as me so it is clearly a bug.

I'm going to uninstall and reinstall from scratch to see if I can get kooraroo working.