FAQ  •  Register  •  Login

Serviio 1.2.1 no support for external subtitles

<<

Clouseau

Serviio newbie

Posts: 3

Joined: Wed May 01, 2013 6:57 pm

Post Wed May 01, 2013 7:10 pm

Serviio 1.2.1 no support for external subtitles

Hi.

I have serviio 1.2.1 installed on my Arch linux machine. In Serviio console I have disabled transcoding, in subtitle section I have enabled only the first option - Enable subtitles. With that option, Serviio doesn't read srt files of mkv videos. Subtitles are in the right format, they have the same name as the movie and are in the same folder. I can see in DEBUG log that serviio is not providing subtitle, only mkv.

If I enable all options in Subtitle section in serviio console, the behaviour is the same. Only and I mean only when I put "Enable burned-in subtitles" on "Always", serviio is registering the subtitles BUT that triggers the transcoding which I don't want.

Can serviio stream mkv and external srt at the same time without transcoding?In DEBUG log I can see that

I have panasonic g30, which can play mkv files with external subtitles from usb disk plugged in the TV. I bet it can read srt over DLNA but I need a media server which can send srt files without transcoding.

After all the trying, I have deleted the Transcoding section in Panasonic render profile in Profile.xml. Nothing changed. Also I have deleted Transcoding secion in General DLNA profile, nothing change. Serviio just doesn't read srt files if the transcodin is set to off... He only reads them when is doing transcoding...

Any help appreciated :)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed May 01, 2013 7:56 pm

Re: Serviio 1.2.1 no support for external subtitles

Serviio should serve them. Post detailed log of playing the file with burned subs off.
<<

Clouseau

Serviio newbie

Posts: 3

Joined: Wed May 01, 2013 6:57 pm

Post Thu May 02, 2013 8:12 am

Re: Serviio 1.2.1 no support for external subtitles

Here it is, with original no modified profile.xml. There is no srt in the log. If I enable "Enable burned-in subtitles" on "Always" that triggers transcoding and the SubtitleService, which pickups the srt, is shown in the DEBUG log. But that is going to ffmpeg which then burnes them in on the fly...

serviio.log
(54.23 KiB) Downloaded 430 times


Btw. everything is OK with the movie file and srt, this is the behaviour on all of my movies. Nevertheless, they all play on my Panasonic from USB drive, with external subs in the same directory.

I see that others have problems too:

http://forum.serviio.org/viewtopic.php?f=13&t=9814
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri May 03, 2013 9:30 am

Re: Serviio 1.2.1 no support for external subtitles

It's not in the log, but the file is added as a resource for the TV to request. Can you try if it forks with other file types (eg avi, mp4)?
<<

Clouseau

Serviio newbie

Posts: 3

Joined: Wed May 01, 2013 6:57 pm

Post Sun May 05, 2013 10:21 am

Re: Serviio 1.2.1 no support for external subtitles

I have played AVi with external srt file and there is a log entry in DEBUG log - SubtitleService. When playing mkv and external srt files there is no SubtitleService entry so the TV can't see the srt files maybe because serviio doesn't serve them? Or SubtitleService entry means that the TV triggers subtitle and serviio than delivers them through subtitle service? I don't know when the SubtitleService gets registered in the log, is it when the TV requests the file or when the serviio detects it and send it to the TV? I played AVI without subtitles enabled on TV, and there is also an entry in DEBUG log that states SubtitleService... So I can't tell how the SubtitleService works, is ti triggered from TV side or Serviio side?

Can I somehow in profiles.xml file make the mkv file pretend to be divx/avi file so the TV could see it like is divx? I would like to try that, maybe it could work...

2013-05-05 12:15:17,551 DEBUG [ResourceDeliveryProcessor] Request for resource 1 and type 'MEDIA_ITEM' received
2013-05-05 12:15:17,551 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1 (local)
2013-05-05 12:15:17,551 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1)
2013-05-05 12:15:17,551 DEBUG [VideoDAOImpl] Reading a Video (id = 1)
2013-05-05 12:15:17,552 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1, format AVI and profile Panasonic Vier
a G/GT/DT/UT/VT (2011/2012)
2013-05-05 12:15:17,552 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1 (local)
2013-05-05 12:15:17,552 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1)
2013-05-05 12:15:17,553 DEBUG [VideoDAOImpl] Reading a Video (id = 1)
2013-05-05 12:15:17,554 DEBUG [VideoDeliveryEngine] Delivering item '1' for client 'Identifier=192.168.1.2, Profile=Panasonic Viera G
/GT/DT/UT/VT (2011/2012)'
2013-05-05 12:15:17,554 DEBUG [VideoDeliveryEngine] Delivering file 'The Tenant.avi' in native format
2013-05-05 12:15:17,554 DEBUG [MediaItemDAOImpl] Getting file of media item 1
2013-05-05 12:15:17,555 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 1) as read
2013-05-05 12:15:17,558 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2013-05-05 12:15:17,558 DEBUG [GETMethodProcessor] Stream entity has length: 732649472
2013-05-05 12:15:17,558 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/divx,Co
ntent-Length: 732649472,Date: Sun, 05 May 2013 10:15:17 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.2.1,Cache-control: no-cac
he,Content-Range: bytes 0-732649471/732649472,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-05-05 12:15:17,572 DEBUG [ServiioHttpService] Incoming request from /192.168.1.2:59255: GET /resource/1/SUBTITLE.srt HTTP/1.1, h
eaders = [User-Agent: Panasonic MIL DLNA CP UPnP/1.0 DLNADOC/1.50,Host: 192.168.1.4:8895]]
2013-05-05 12:15:17,572 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.2
2013-05-05 12:15:17,573 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.2
2013-05-05 12:15:17,573 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.1.2, Profile=Pa
nasonic Viera G/GT/DT/UT/VT (2011/2012)'
2013-05-05 12:15:17,574 DEBUG [ResourceDeliveryProcessor] Request for resource 1 and type 'SUBTITLE' received
2013-05-05 12:15:17,574 DEBUG [VideoDAOImpl] Reading a Video (id = 1)
2013-05-05 12:15:17,575 DEBUG [MediaItemDAOImpl] Getting file of media item 1
2013-05-05 12:15:17,576 DEBUG [SubtitlesService] Found external subtitle file: /home/davor/Video/DVD_Divx/Roman.Polanski.The.Tenant/T
he Tenant.srt
2013-05-05 12:15:17,576 DEBUG [SubtitlesRetrievalStrategy] Retrieving info of Subtitles for media item with id 1
2013-05-05 12:15:17,576 DEBUG [VideoDAOImpl] Reading a Video (id = 1)
2013-05-05 12:15:17,577 DEBUG [MediaItemDAOImpl] Getting file of media item 1
2013-05-05 12:15:17,578 DEBUG [SubtitlesService] Found external subtitle file: /home/davor/Video/DVD_Divx/Roman.Polanski.The.Tenant/T
he Tenant.srt
2013-05-05 12:15:17,578 DEBUG [SubtitlesRetrievalStrategy] Retrieving Subtitles for media item with id 1
2013-05-05 12:15:17,578 DEBUG [GETMethodProcessor] Stream entity has length: 65063
2013-05-05 12:15:17,579 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: text/srt,Content-Length: 6
5063,Date: Sun, 05 May 2013 10:15:17 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.2.1,Cache-control: no-cache,transferMode.dln
a.org: Interactive,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-05-05 12:15:17,639 DEBUG [ServiioHttpService] Incoming request from /192.168.1.2:18837: GET /resource/1/MEDIA_ITEM/AVI-0/ORIGINA
L HTTP/1.1, headers = [Host: 192.168.1.4:8895,Range: bytes=726874282-,Connection: keep-alive]]
2013-05-05 12:15:17,640 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.2
2013-05-05 12:15:17,641 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.2
2013-05-05 12:15:17,642 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.1.2, Profile=Pa
nasonic Viera G/GT/DT/UT/VT (2011/2012)'
2013-05-05 12:15:17,642 DEBUG [ResourceDeliveryProcessor] Request for resource 1 and type 'MEDIA_ITEM' received
2013-05-05 12:15:17,642 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1 (local)
2013-05-05 12:15:17,642 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue May 07, 2013 8:58 am

Re: Serviio 1.2.1 no support for external subtitles

It's possible that the TV doesn't support external subs with mkv. The Viera profile already has a setting to use hardsubs for mp4, you can add mkv to it. Then in the console set Hardsubs only when needed, and they will be burned in only for the 2 containers and AVI will use external subs as usual.
<<

sebh

Serviio newbie

Posts: 3

Joined: Sat Jun 22, 2013 1:01 pm

Post Sat Jun 22, 2013 1:50 pm

Re: Serviio 1.2.1 no support for external subtitles

Hi there,

I have the exact same problem. Here is the context:
  • I have two Upnp renderers: 1 Android tablet running UPnPlay and using MX Player (or VLC) to play videos, and one Internet Box (freebox) using both the Generic DLNA profile. I have a video-projector so no TV firmware problem...
  • I have Serviio installed on a FreeBSD server, using the exact same ffmpeg version (1.1.1) and compiled with the same options as those indicated in the Serviio wiki.
    I have minidlna installed on the same platform, so I am sure that my test files (1 mkv, 1 avi and 1 mp4 files with external srt) work perfectly with my renderers without any transcoding.
  • All features are working except for subtitles based on external files . There are no trace of error in log files. I have tried all possible configurations into the Serviio console as well as several versions of ffmpeg and several compilation configurations, but I can't figure out where the problem is.
Interesting fact: when I turn subtitles hardcoding on with the option "only when needed", subtitles are OK (but my processor is too slow to provide a descent frame rate, so I cannot use that solution). So maybe the profile I use (Generic DLNA profile) does not allow subtitles with external srt files?

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 74 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.