FAQ  •  Register  •  Login

[SOLVED] error 500 with subtitle

<<

thenamelessthing

User avatar

DLNA master

Posts: 126

Joined: Tue Dec 04, 2012 4:45 am

Location: Canada

Post Tue Mar 05, 2013 2:56 am

[SOLVED] error 500 with subtitle

Hi, when I activate embedded subtitle the file is impossible to play and I obtain this error in the log..



2013-03-04 21:53:37,254 DEBUG [WebServer] Incoming connection from /192.168.1.134:17518
2013-03-04 21:53:37,255 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.134
2013-03-04 21:53:37,255 DEBUG [ResourceTransportRequestHandler] GET /resource/6833/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.1.3:8895,TimeSeekRange.dlna.org: npt=00:00:00.000-,transferMode.dlna.org: Streaming,Connection: keep-alive]]
2013-03-04 21:53:37,256 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.134
2013-03-04 21:53:37,256 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.1.134, Profile=Panasonic Viera E/S/ST/VT (2011)'
2013-03-04 21:53:37,256 DEBUG [ResourceDeliveryProcessor] Request for resource 6833 and type 'MEDIA_ITEM' received
2013-03-04 21:53:37,257 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 6833 (local)
2013-03-04 21:53:37,257 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 6833)
2013-03-04 21:53:37,257 DEBUG [VideoDAOImpl] Reading a Video (id = 6833)
2013-03-04 21:53:37,257 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 6833, format MPEG_PS_NTSC and profile Panasonic Viera E/S/ST/VT (2011)
2013-03-04 21:53:37,258 DEBUG [MediaItemDAOImpl] Getting file of media item 6833
2013-03-04 21:53:37,259 DEBUG [SubtitlesService] Found external subtitle file: /data/Teleseries/Revolution/Saison 01/Revolution.S01E01.VOSTFR.720p.WEBDL.AVC.AC3-BiG.srt
2013-03-04 21:53:37,259 DEBUG [MediaItemDAOImpl] Getting file of media item 6833
2013-03-04 21:53:37,260 DEBUG [SubtitlesService] Found external subtitle file: /data/Teleseries/Revolution/Saison 01/Revolution.S01E01.VOSTFR.720p.WEBDL.AVC.AC3-BiG.srt
2013-03-04 21:53:37,260 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file Revolution.S01E01.VOSTFR.720p.WEBDL.AVC.AC3-BiG.mkv
2013-03-04 21:53:37,260 DEBUG [MediaItemDAOImpl] Getting file of media item 6833
2013-03-04 21:53:37,261 DEBUG [SubtitlesService] Found external subtitle file: /data/Teleseries/Revolution/Saison 01/Revolution.S01E01.VOSTFR.720p.WEBDL.AVC.AC3-BiG.srt
2013-03-04 21:53:37,261 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Revolution.S01E01.VOSTFR.720p.WEBDL.AVC.AC3-BiG.mkv: MPEG_PS_PAL
2013-03-04 21:53:37,261 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Revolution.S01E01.VOSTFR.720p.WEBDL.AVC.AC3-BiG.mkv: MPEG_PS_NTSC
2013-03-04 21:53:37,261 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 6833 (local)
2013-03-04 21:53:37,261 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 6833)
2013-03-04 21:53:37,262 DEBUG [VideoDAOImpl] Reading a Video (id = 6833)
2013-03-04 21:53:37,262 DEBUG [VideoDeliveryEngine] Delivering item '6833' for client 'Identifier=192.168.1.134, Profile=Panasonic Viera E/S/ST/VT (2011)'
2013-03-04 21:53:37,263 DEBUG [MediaItemDAOImpl] Getting file of media item 6833
2013-03-04 21:53:37,263 DEBUG [SubtitlesService] Found external subtitle file: /data/Teleseries/Revolution/Saison 01/Revolution.S01E01.VOSTFR.720p.WEBDL.AVC.AC3-BiG.srt
2013-03-04 21:53:37,263 DEBUG [MediaItemDAOImpl] Getting file of media item 6833
2013-03-04 21:53:37,263 DEBUG [SubtitlesService] Found external subtitle file: /data/Teleseries/Revolution/Saison 01/Revolution.S01E01.VOSTFR.720p.WEBDL.AVC.AC3-BiG.srt
2013-03-04 21:53:37,263 DEBUG [VideoDeliveryEngine] Delivering file 'Revolution.S01E01.VOSTFR.720p.WEBDL.AVC.AC3-BiG.mkv' using transcoding
2013-03-04 21:53:37,263 DEBUG [MediaItemDAOImpl] Getting file of media item 6833
2013-03-04 21:53:37,264 DEBUG [SubtitlesService] Found external subtitle file: /data/Teleseries/Revolution/Saison 01/Revolution.S01E01.VOSTFR.720p.WEBDL.AVC.AC3-BiG.srt
2013-03-04 21:53:37,264 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'Identifier=192.168.1.134, Profile=Panasonic Viera E/S/ST/VT (2011)'
2013-03-04 21:53:37,264 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:47)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:131)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:100)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:120)
at org.serviio.delivery.GETMethodProcessor.retrieveResource(GETMethodProcessor.java:120)
at org.serviio.delivery.GETMethodProcessor.buildDeliveryContainer(GETMethodProcessor.java:48)
at org.serviio.delivery.AbstractMethodProcessor.handleRequest(AbstractMethodProcessor.java:100)
at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:80)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:86)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:192)



My ffmpeg version is:

ffmpeg version git-2013-03-04-393dcbf Copyright (c) 2000-2013 the FFmpeg developers
built on Mar 3 2013 22:13:07 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx --enable-librtmp --enable-libxvid
libavutil 52. 17.103 / 52. 17.103
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.102 / 54. 63.102
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 41.100 / 3. 41.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'
My Setup : BDT220 Panasonic Bluray player, TC-L55ET5 and TC-L42ET5 Panasonic TV. My home media server run Serviio 1.4.2 Pro under GNU/Linux Ubuntu 14.04 LTS server x64 and the hardware is Amd 1045t Phenom II X6, 6Gb DDR3 1333 mhz on SSD and data on soft raid 5 (3x1tb).
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Mar 05, 2013 7:59 am

Re: error 500 with subtitle

Could you check your srt file ?
/data/Teleseries/Revolution/Saison 01/Revolution.S01E01.VOSTFR.720p.WEBDL.AVC.AC3-BiG.srt

with the SrtWiz windows tool.
viewtopic.php?f=17&t=2971
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

jk50

Serviio lover

Posts: 57

Joined: Mon Jan 09, 2012 9:53 am

Post Tue Mar 05, 2013 11:58 am

Re: error 500 with subtitle

Your ffmpeg was compiled without support for subtitles.
It looks like you followed the Serviio wiki to compile ffmpeg on linux.
The instructions there don't seem include support for subtitles.

Install these additional libraries

libass
libass-dev
libfreetype
libfreetype-dev
fontconfig
libfontconfig-dev

Recompile ffmpeg, adding this to your previous ./configure step

--enable-libass --enable-libfreetype --enable-fontconfig
<<

thenamelessthing

User avatar

DLNA master

Posts: 126

Joined: Tue Dec 04, 2012 4:45 am

Location: Canada

Post Tue Mar 05, 2013 4:00 pm

Re: error 500 with subtitle

Your ffmpeg was compiled without support for subtitles.
It looks like you followed the Serviio wiki to compile ffmpeg on linux.
The instructions there don't seem include support for subtitles.



Your right! I will do it this evening. I post after if it solve or not my problem!


Thanks you!
My Setup : BDT220 Panasonic Bluray player, TC-L55ET5 and TC-L42ET5 Panasonic TV. My home media server run Serviio 1.4.2 Pro under GNU/Linux Ubuntu 14.04 LTS server x64 and the hardware is Amd 1045t Phenom II X6, 6Gb DDR3 1333 mhz on SSD and data on soft raid 5 (3x1tb).
<<

thenamelessthing

User avatar

DLNA master

Posts: 126

Joined: Tue Dec 04, 2012 4:45 am

Location: Canada

Post Wed Mar 06, 2013 1:15 am

Re: error 500 with subtitle

Where I can find installation instruction (repo) for these library?

libass libfreetype libfreetype-dev
My Setup : BDT220 Panasonic Bluray player, TC-L55ET5 and TC-L42ET5 Panasonic TV. My home media server run Serviio 1.4.2 Pro under GNU/Linux Ubuntu 14.04 LTS server x64 and the hardware is Amd 1045t Phenom II X6, 6Gb DDR3 1333 mhz on SSD and data on soft raid 5 (3x1tb).
<<

jk50

Serviio lover

Posts: 57

Joined: Mon Jan 09, 2012 9:53 am

Post Wed Mar 06, 2013 1:56 am

Re: error 500 with subtitle

open a console and run this command

  Code:
sudo apt-get install fontconfig libfontconfig1-dev libfreetype6 libfreetype6-dev libass4 libass-dev


should do it for you
<<

thenamelessthing

User avatar

DLNA master

Posts: 126

Joined: Tue Dec 04, 2012 4:45 am

Location: Canada

Post Thu Mar 07, 2013 3:28 pm

Re: error 500 with subtitle

It's working! Thanks you very much! Now I can enjoy my tv show! Any volunters for updating the wiki for Ubuntu 12.04??
My Setup : BDT220 Panasonic Bluray player, TC-L55ET5 and TC-L42ET5 Panasonic TV. My home media server run Serviio 1.4.2 Pro under GNU/Linux Ubuntu 14.04 LTS server x64 and the hardware is Amd 1045t Phenom II X6, 6Gb DDR3 1333 mhz on SSD and data on soft raid 5 (3x1tb).

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 32 guests

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