Re: Subtitle doesn't show with Generic DLNA Profile.
Hey zip, nice work. Serviio is the best DLNA server I've tried thus far on my LG LD550 LCD TV. Thanks for everything!
Here's the log from a clean/original profiles.xml:
Here's my config profile I've pieced together:
FWIW,
I have the same issue with transcoding as mentioned in the post http://forum.serviio.org/viewtopic.php?f=12&t=546&start=40
Thanks!
Here's the log from a clean/original profiles.xml:
- Code:
2011-02-21 19:50:29,156 DEBUG [ApplicationInstanceManager] Listening for application instances on socket 44331
2011-02-21 19:50:29,206 INFO [MediaServer] ------------------------------------------------------------------------
2011-02-21 19:50:29,206 INFO [MediaServer] Serviio DLNA media streaming server v 0.5 (rev. 975aa458693c)
2011-02-21 19:50:29,206 INFO [MediaServer] Petr Nejedly 2009-2011
2011-02-21 19:50:29,206 INFO [MediaServer] http://www.serviio.org
2011-02-21 19:50:29,206 INFO [MediaServer]
2011-02-21 19:50:29,206 INFO [MediaServer] Java 1.6.0_22-Sun Microsystems Inc.
2011-02-21 19:50:29,206 INFO [MediaServer] OS Linux amd64 2.6.35-25-generic
2011-02-21 19:50:29,206 INFO [MediaServer] File encoding: UTF-8
2011-02-21 19:50:29,206 INFO [MediaServer] ------------------------------------------------------------------------
2011-02-21 19:50:29,403 INFO [RestletServer] Starting Restlet server exposed on localhost:23423
2011-02-21 19:50:29,478 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2011-02-21 19:50:29,507 DEBUG [DBLogDAOImpl] Checking if script 'script-0.1.sql' has been run
2011-02-21 19:50:30,830 DEBUG [DBLogDAOImpl] Checking if script 'script-0.1.1.sql' has been run
2011-02-21 19:50:30,831 DEBUG [DBLogDAOImpl] Checking if script 'script-0.2.sql' has been run
2011-02-21 19:50:30,831 DEBUG [DBLogDAOImpl] Checking if script 'script-0.3.1.sql' has been run
2011-02-21 19:50:30,832 DEBUG [DBLogDAOImpl] Checking if script 'script-0.4.sql' has been run
2011-02-21 19:50:30,832 DEBUG [DBLogDAOImpl] Checking if script 'script-0.4.1.sql' has been run
2011-02-21 19:50:30,833 DEBUG [DBLogDAOImpl] Checking if script 'script-0.4.2.sql' has been run
2011-02-21 19:50:30,833 DEBUG [DBLogDAOImpl] Checking if script 'script-0.5.sql' has been run
2011-02-21 19:50:31,202 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2011-02-21 19:50:31,227 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 1
2011-02-21 19:50:31,519 INFO [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2011-02-21 19:50:31,520 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 2
2011-02-21 19:50:31,630 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2011-02-21 19:50:31,631 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 3
2011-02-21 19:50:31,668 INFO [ProfilesDefinitionParser] Added profile 'XBox 360' (id=3)
2011-02-21 19:50:31,669 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 4
2011-02-21 19:50:31,692 INFO [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2011-02-21 19:50:31,693 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 5
2011-02-21 19:50:31,725 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2011-02-21 19:50:31,726 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 6
2011-02-21 19:50:31,750 INFO [ProfilesDefinitionParser] Added profile 'DirecTV HD-DVR' (id=6)
2011-02-21 19:50:31,751 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 7
2011-02-21 19:50:31,788 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV / player (C-series)' (id=7)
2011-02-21 19:50:31,789 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 8
2011-02-21 19:50:31,807 INFO [ProfilesDefinitionParser] Added profile 'LG BD player' (id=8)
2011-02-21 19:50:31,808 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 9
2011-02-21 19:50:31,898 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV' (id=9)
2011-02-21 19:50:31,899 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 10
2011-02-21 19:50:32,105 INFO [ProfilesDefinitionParser] Added profile 'Sony BD Player (EU)' (id=10)
2011-02-21 19:50:32,106 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 11
2011-02-21 19:50:32,347 INFO [ProfilesDefinitionParser] Added profile 'Sony BD Player (US)' (id=11)
2011-02-21 19:50:32,348 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 12
2011-02-21 19:50:32,387 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera' (id=12)
2011-02-21 19:50:32,389 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 13
2011-02-21 19:50:32,465 INFO [ProfilesDefinitionParser] Added profile 'Toshiba Rezga' (id=13)
2011-02-21 19:50:32,467 DEBUG [FFMPEGWrapper] Invoking FFMPEG to check if it exists of path ffmpeg
2011-02-21 19:50:32,468 DEBUG [ProcessExecutor] Starting ffmpeg
2011-02-21 19:50:32,565 INFO [VideoDeliveryEngine] Cleaning transcode engine and its data
2011-02-21 19:50:32,567 DEBUG [ConfigEntryDAOImpl] Reading all ConfigEntries
2011-02-21 19:50:32,602 DEBUG [VideoDeliveryEngine] Deleting temporary transcoded files from: /tmp/Serviio
2011-02-21 19:50:32,602 INFO [WebServer] Socket buffer set to 65535 bytes
2011-02-21 19:50:32,658 INFO [WebServer] WebServer starting on port 8895
2011-02-21 19:50:32,676 INFO [Device] Created UPnP Device with UUID: b8788ec1-4308-32fc-a48f-2532c9b147a9, bound address: 192.168.2.4
2011-02-21 19:50:32,708 INFO [CompositeCacheManager] Creating cache manager from config file: /cache.ccf
2011-02-21 19:50:32,713 INFO [ThreadPoolManager] thread_pool.default PoolConfiguration = useBoundary = [true] boundarySize = [2000] maximumPoolSize = [150] minimumPoolSize = [4] keepAliveTime = [300000] whenBlockedPolicy = [RUN] startUpSize = [4]
2011-02-21 19:50:32,716 INFO [CompositeCacheConfigurator] Setting default auxiliaries to null
2011-02-21 19:50:32,716 INFO [CompositeCacheConfigurator] No special CompositeCacheAttributes class defined for key [jcs.default.cacheattributes], using default class.
2011-02-21 19:50:32,717 INFO [CompositeCacheConfigurator] setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 100, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2011-02-21 19:50:32,717 INFO [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.default.elementattributes], using default class.
2011-02-21 19:50:32,717 INFO [CompositeCacheConfigurator] setting defaultElementAttributes to [ IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE = true, IS_ETERNAL = true, MaxLifeSeconds = -1, IdleTime = -1, CreateTime = 1298343032717, LastAccessTime = 1298343032717, getTimeToLiveSeconds() = -1, createTime = 1298343032717 ]
2011-02-21 19:50:32,719 INFO [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.region.local_resetafterplay.elementattributes], using default class.
2011-02-21 19:50:32,727 INFO [LRUMemoryCache] initialized LRUMemoryCache for local_resetafterplay
2011-02-21 19:50:32,727 INFO [CompositeCache] Constructed cache with name [local_resetafterplay] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2011-02-21 19:50:32,727 INFO [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.region.local_default.elementattributes], using default class.
2011-02-21 19:50:32,727 INFO [LRUMemoryCache] initialized LRUMemoryCache for local_default
2011-02-21 19:50:32,727 INFO [CompositeCache] Constructed cache with name [local_default] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2011-02-21 19:50:32,727 INFO [CompositeCacheConfigurator] Parsed regions [local_resetafterplay, local_default]
2011-02-21 19:50:32,727 INFO [CompositeCacheConfigurator] Finished configuration in 13 ms.
2011-02-21 19:50:32,728 DEBUG [DiscoveryManager] UPNP device b8788ec1-4308-32fc-a48f-2532c9b147a9 (192.168.2.4) is available
2011-02-21 19:50:32,729 INFO [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2011-02-21 19:50:32,730 INFO [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface eth0 (eth0) and address 192.168.2.4, timeout = 0
2011-02-21 19:50:32,730 INFO [EventDispatcher] Starting EventDispatcher
2011-02-21 19:50:32,733 INFO [RendererSearchSender] Searching for Renderer devices
2011-02-21 19:50:32,733 INFO [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2011-02-21 19:50:32,733 INFO [RendererExpirationChecker] Starting RendererExpirationChecker
2011-02-21 19:50:32,734 DEBUG [RendererSearchSender] Multicasting SSDP M-SEARCH using interface eth0 (eth0) and address 192.168.2.4, timeout = 0
2011-02-21 19:50:32,737 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eth0 (eth0) and address 192.168.2.4, timeout = 0
2011-02-21 19:50:32,744 DEBUG [RendererSearchSender] Sending 1 'm-search' messages
2011-02-21 19:50:32,744 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device b8788ec1-4308-32fc-a48f-2532c9b147a9
2011-02-21 19:50:32,749 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:MediaRenderer:1 from address /192.168.2.4:39176
2011-02-21 19:50:32,751 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:MediaRenderer:1 from address /192.168.2.4:39176
2011-02-21 19:50:32,751 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:MediaRenderer:1 from address /192.168.2.4:39176
2011-02-21 19:50:34,548 DEBUG [DiscoveryAdvertisementNotifier] Will advertise again in 00:00:10
2011-02-21 19:50:35,962 DEBUG [WebServer] Incoming connection from /192.168.2.211:57421
2011-02-21 19:50:35,965 DEBUG [DeviceDescriptionRequestHandler] DeviceDescription request received for device b8788ec1-4308-32fc-a48f-2532c9b147a9 from 192.168.2.211 (headers = [Cache-Control: no-cache,Connection: Close,Pragma: no-cache,Accept: text/xml, application/xml,Host: 192.168.2.4:8895,User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7600.16385 DLNADOC/1.50])
2011-02-21 19:50:35,965 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.2.211
2011-02-21 19:50:35,997 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.2.211
2011-02-21 19:50:36,155 DEBUG [DeviceDescriptionRequestHandler] Sending DeviceDescription XML back using profile 'Generic DLNA profile'
2011-02-21 19:50:36,249 DEBUG [WebServer] Incoming connection from /192.168.2.211:57422
2011-02-21 19:50:36,249 DEBUG [UPnPIconRequestHandler] UPnP icon request received for icon smallPNG
2011-02-21 19:50:38,754 DEBUG [RendererSearchSender] Finished searching for Renderer devices
2011-02-21 19:50:44,549 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eth0 (eth0) and address 192.168.2.4, timeout = 0
2011-02-21 19:50:44,550 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device b8788ec1-4308-32fc-a48f-2532c9b147a9
2011-02-21 19:50:46,353 DEBUG [DiscoveryAdvertisementNotifier] Will advertise again in 00:00:10
2011-02-21 19:50:56,353 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eth0 (eth0) and address 192.168.2.4, timeout = 0
2011-02-21 19:50:56,354 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device b8788ec1-4308-32fc-a48f-2532c9b147a9
2011-02-21 19:50:58,157 DEBUG [DiscoveryAdvertisementNotifier] Will advertise again in 00:13:06
2011-02-21 19:51:11,701 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:MediaServer:1 from address /192.168.2.56:60195
2011-02-21 19:51:11,702 DEBUG [DiscoverySearchResponder] Sending 1 M-SEARCH response message(s) to /192.168.2.56:60195
2011-02-21 19:51:12,203 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:MediaServer:1 from address /192.168.2.56:60195
2011-02-21 19:51:12,203 DEBUG [DiscoverySearchResponder] Sending 1 M-SEARCH response message(s) to /192.168.2.56:60195
2011-02-21 19:51:16,715 DEBUG [WebServer] Incoming connection from /192.168.2.56:40704
2011-02-21 19:51:16,717 DEBUG [DeviceDescriptionRequestHandler] DeviceDescription request received for device b8788ec1-4308-32fc-a48f-2532c9b147a9 from 192.168.2.56 (headers = [HOST: 192.168.2.4:8895,DATE: Tue, 22 Feb 2011 02:48:21 GMT,USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0,friendlyName.dlna.org: LG DLNA DMP DEVICE])
2011-02-21 19:51:16,718 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.2.56
2011-02-21 19:51:16,719 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.2.56
Here's my config profile I've pieced together:
- Code:
<Profile id="14" name="LG LD550 LCD TV" extendsProfileId="1">
<Detection>
<!--
headers = [HOST: 192.168.2.4:8895, DATE: Thu, 01 Jan 1970 00:00:16 GMT,USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0,friendlyName.dlna.org: LG DLNA DMP DEVICE])
headers = [Host: 192.168.2.4:8895,Pragma: no-cache,Cache-Control: no-cache,Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, text/html, text/xml, text/plain, application/json, application/atom+xml, */*,Accept-Language: ko-kr, ko;q=0.8, en-us;q=0.5, en;q=0.3,Connection: Close,User-Agent: Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; LG_UA; AD_LOGON=LGE.NET; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; LG_UA; AD_LOGON=LGE.NET; LG NetCast.TV-2010)]]
<HttpHeaders>
<User-Agent>*LG NetCast\.TV\-2010*</User-Agent>
</HttpHeaders>
-->
<UPnPSearch>
<FriendlyName>LG DLNA DMP DEVICE</FriendlyName>
</UPnPSearch>
</Detection>
<!--
From: http://lgknowledgebase.com/kb/index.php?View=entry&EntryID=6460#formats
Video
Video Codecs: DivX, Xvid, H.264, AVC, MPEG2
Audio Codecs: AC3, ACC, WMA, MP3, DD
File Extensions: MP4, MKV, DIVX, AVI, MPEG, MPG, VOB
Music
Audio Codecs: WMA, MP3 (8-320 kbps)
File Extensions: WMA, MP3
Photos
Codecs: JPEG, PNG
File Extensions: JPG, JPEG, PNG
-->
<SubtitlesMimeType>text/srt</SubtitlesMimeType>
<Transcoding>
<!-- remux to mpeg-ts and transcode audio -->
<Video targetContainer="mpeg" targetACodec="mp3">
<!-- <Video targetContainer="mpegts" targetACodec="ac3"> -->
<!--
remove all matroska transcoding matches if you stream over a wired connection and want mkv subtitle support and alt audio
tracks
-->
<Matches container="matroska" aCodec="dca" />
<Matches container="mp4" vCodec="h264" />
</Video>
<!-- unsupported codecs will be transcoded into mpeg-ts, mpeg2 video and ac3 audio -->
<!-- <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="mp3"> -->
<Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
<!-- Valid vCodec - [vc1, mpeg4, msmpeg4, mpeg2video, mpeg1video, h264, wmv2, mjpeg, flv, vp6] -->
<Matches container="asf" />
<Matches container="flv" />
<!-- digital camera video formats -->
<Matches container="avi" vCodec="mjpeg" />
<Matches container="mp4" vCodec="mjpeg" />
</Video>
</Transcoding>
<AutomaticImageRotation>true</AutomaticImageRotation>
<LimitImageResolution>true</LimitImageResolution>
</Profile>
FWIW,
I have the same issue with transcoding as mentioned in the post http://forum.serviio.org/viewtopic.php?f=12&t=546&start=40
Thanks!