FAQ  •  Register  •  Login

Subtitle doesn't show with Generic DLNA Profile.

<<

verahert

Serviio newbie

Posts: 17

Joined: Sat Feb 05, 2011 3:39 pm

Post Sat Feb 05, 2011 3:57 pm

Subtitle doesn't show with Generic DLNA Profile.

Hi All,

Well i have a LG 42LD650, When i'm using the Generic DLNA Profile, with this profile can't show subtitles, the files are .mkv with DTS and ac3 dolby. On the other hand if i select the profile LG BD Player the subs are showed but the problem is the audio, the tv cannot support DTS but if i transcode to AC3 the file can't be opened.

In Conslusion:

Generic DLNA Profile + MKV + DTS + AC3 + SRT = NO SUBS

LG BD Player + MKV + DTS + SRT = Show subs but NO AUDIO

If i transcode the audio:

LG BD Player + MKV + DTS + AC3 + SRT = can not open

Regards,

Nicolás.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17056

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Feb 06, 2011 11:43 am

Re: Subtitle doesn't show with Generic DLNA Profile.

So we have to create a new profile for the TV. Start with a really simple one (just extends from Generic) and add the subtitle bit. Like:

  Code:
<Profile id="14" name="LG TV" extendsProfileId="1">
  <SubtitlesMimeType>text/srt</SubtitlesMimeType>      
</Profile>


Other possibility is to use LG BD profile and disable transcoding in the console.
<<

verahert

Serviio newbie

Posts: 17

Joined: Sat Feb 05, 2011 3:39 pm

Post Mon Feb 07, 2011 1:35 pm

Re: Subtitle doesn't show with Generic DLNA Profile.

Finally works =) many thanks! another question is it possible to trancode DTS to AC3? because i have to transcode with "MKV Audioconverter" all my DTS mkv files to play in my LG TV, is another way to play DTS in LG TV?

Regards, Nicolás.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17056

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Feb 07, 2011 1:50 pm

Re: Subtitle doesn't show with Generic DLNA Profile.

try asdding this into your new profile

  Code:
<Transcoding>           
  <Video targetContainer="mpegts" targetACodec="mp3">
     <Matches container="matroska" aCodec="dca" />
  </Video>
</Transcoding>
<<

verahert

Serviio newbie

Posts: 17

Joined: Sat Feb 05, 2011 3:39 pm

Post Mon Feb 07, 2011 2:38 pm

Re: Subtitle doesn't show with Generic DLNA Profile.

sorry but why is targetACodec="mp3" instead of targetACodec="ac3" or "acc" =/
<<

verahert

Serviio newbie

Posts: 17

Joined: Sat Feb 05, 2011 3:39 pm

Post Mon Feb 07, 2011 3:04 pm

Re: Subtitle doesn't show with Generic DLNA Profile.

It doesn't work "this file is not valid" =/
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17056

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Feb 07, 2011 3:14 pm

Re: Subtitle doesn't show with Generic DLNA Profile.

could be either of the codecs, you can try....
can you post detailed log of trying to play the file?
<<

verahert

Serviio newbie

Posts: 17

Joined: Sat Feb 05, 2011 3:39 pm

Post Mon Feb 07, 2011 3:33 pm

Re: Subtitle doesn't show with Generic DLNA Profile.

sorry i'm a newbie in this, How I look at the log?
<<

verahert

Serviio newbie

Posts: 17

Joined: Sat Feb 05, 2011 3:39 pm

Post Mon Feb 07, 2011 3:56 pm

Re: Subtitle doesn't show with Generic DLNA Profile.

C:\Program Files (x86)\Serviio\lib>ffmpeg.exe -i "F:\Cars\Cars.mkv"
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 10 2011 21:46:22 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-shared --disable-ffplay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --arch=x86 --enable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i686-mingw32-
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.72. 0 / 1.72. 0
libswscale 0.12. 0 / 0.12. 0
[matroska,webm @ 0128bb10] max_analyze_duration reached
[matroska,webm @ 0128bb10] Estimating duration from bitrate, this may be inaccurate Seems stream 0 codec frame rate differs from container frame rate: 47.95 (5000000/104271) -> 23.98 (5000000/208542)
Input #0, matroska,webm, from 'F:\Cars\Cars.mkv':
Duration: 01:56:36.00, start: 0.000000, bitrate: 1536 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 1920x800, PAR 1:1 DAR 12:5, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Metadata:
title : x264 - crf encode
Stream #0.1(eng): Audio: dca, 48000 Hz, 5.1, s16, 1536 kb/s
Metadata:
title : DTS - 1536 kbit/sec
Stream #0.2(eng): Subtitle: [0][0][0][0] / 0x0000
Stream #0.3(dut): Subtitle: [0][0][0][0] / 0x0000
At least one output file must be specified
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17056

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Feb 07, 2011 5:57 pm

Re: Subtitle doesn't show with Generic DLNA Profile.

<<

verahert

Serviio newbie

Posts: 17

Joined: Sat Feb 05, 2011 3:39 pm

Post Mon Feb 07, 2011 6:36 pm

Re: Subtitle doesn't show with Generic DLNA Profile.

Here is the detailed log:

  Code:
2011-02-07 15:03:05,824 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 109)
2011-02-07 15:03:05,824 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 109)
2011-02-07 15:03:05,824 DEBUG [VideoDAOImpl] Reading a Video (id = 109)
2011-02-07 15:03:05,824 DEBUG [VideoDAOImpl] Reading a Video (id = 109)
2011-02-07 15:03:05,824 DEBUG [VideoDeliveryEngine] Delivering item '109' for client 'IPAddress=/192.168.1.35, Profile=LG TV'
2011-02-07 15:03:05,824 DEBUG [VideoDeliveryEngine] Delivering item '109' for client 'IPAddress=/192.168.1.35, Profile=LG TV'
2011-02-07 15:03:05,824 DEBUG [VideoDeliveryEngine] Delivering file 'Cars.mkv' using transcoding
2011-02-07 15:03:05,824 DEBUG [VideoDeliveryEngine] Delivering file 'Cars.mkv' using transcoding
2011-02-07 15:03:05,824 DEBUG [VideoDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.1.35, Profile=LG TV'
2011-02-07 15:03:05,824 DEBUG [MediaItemDAOImpl] Getting file of media item 109
2011-02-07 15:03:05,840 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode file: F:\Cars\Cars.mkv
2011-02-07 15:03:05,840 DEBUG [ProcessExecutor] Starting C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe -i F:\Cars\Cars.mkv -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec libmp3lame -ab 192k -ac 6 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-109-MPEG2TS.stf
2011-02-07 15:03:05,949 WARN  [ProcessExecutor] Process C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe has a return code of 1! This is a possible error.
2011-02-07 15:03:05,949 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2011-02-07 15:03:13,562 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.VideoDeliveryEngine.retrieveTranscodedResource(VideoDeliveryEngine.java:160)
   at org.serviio.delivery.resource.VideoDeliveryEngine.retrieveTranscodedResource(VideoDeliveryEngine.java:54)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:90)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:116)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:126)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:52)
   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:187)
2011-02-07 15:03:13,562 DEBUG [VideoDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.1.35, Profile=LG TV'
2011-02-07 15:03:13,562 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.VideoDeliveryEngine.retrieveTranscodedResource(VideoDeliveryEngine.java:160)
   at org.serviio.delivery.resource.VideoDeliveryEngine.retrieveTranscodedResource(VideoDeliveryEngine.java:54)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:90)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:116)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:126)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:52)
   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:187)
2011-02-07 15:03:15,824 DEBUG [WebServer] Incoming connection from /192.168.1.35:50661
2011-02-07 15:03:15,824 DEBUG [ResourceTransportRequestHandler] GET /resource/109/MEDIA_ITEM/AVC_TS_MP_HD_MPEG1_L3_ISO HTTP/1.1, headers = [Host: 192.168.1.33: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-2010)]]
2011-02-07 15:03:15,824 DEBUG [WebServer] Incoming connection from /192.168.1.35:50662
2011-02-07 15:03:15,824 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.35
2011-02-07 15:03:15,824 DEBUG [ResourceTransportRequestHandler] GET /resource/109/MEDIA_ITEM/AVC_TS_MP_HD_MPEG1_L3_ISO HTTP/1.1, headers = [Host: 192.168.1.33: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-2010)]]
2011-02-07 15:03:15,824 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.35
2011-02-07 15:03:15,824 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.35, Profile=LG TV'
2011-02-07 15:03:15,824 DEBUG [ResourceTransportRequestHandler] Request for resource 109 and type 'MEDIA_ITEM' received
2011-02-07 15:03:15,824 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.35, Profile=LG TV'
2011-02-07 15:03:15,824 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 109)
2011-02-07 15:03:15,824 DEBUG [ResourceTransportRequestHandler] Request for resource 109 and type 'MEDIA_ITEM' received
2011-02-07 15:03:15,824 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 109)
2011-02-07 15:03:15,840 DEBUG [VideoDAOImpl] Reading a Video (id = 109)
2011-02-07 15:03:15,840 DEBUG [VideoDAOImpl] Reading a Video (id = 109)
2011-02-07 15:03:15,840 DEBUG [VideoDeliveryEngine] Delivering item '109' for client 'IPAddress=/192.168.1.35, Profile=LG TV'
2011-02-07 15:03:15,840 DEBUG [VideoDeliveryEngine] Delivering file 'Cars.mkv' using transcoding
2011-02-07 15:03:15,840 DEBUG [VideoDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.1.35, Profile=LG TV'
2011-02-07 15:03:15,840 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.VideoDeliveryEngine.retrieveTranscodedResource(VideoDeliveryEngine.java:160)
   at org.serviio.delivery.resource.VideoDeliveryEngine.retrieveTranscodedResource(VideoDeliveryEngine.java:54)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:90)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:116)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:126)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:52)
   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:187)
2011-02-07 15:03:15,840 DEBUG [VideoDeliveryEngine] Delivering item '109' for client 'IPAddress=/192.168.1.35, Profile=LG TV'
2011-02-07 15:03:15,840 DEBUG [VideoDeliveryEngine] Delivering file 'Cars.mkv' using transcoding
2011-02-07 15:03:15,840 DEBUG [VideoDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.1.35, Profile=LG TV'
2011-02-07 15:03:15,840 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.VideoDeliveryEngine.retrieveTranscodedResource(VideoDeliveryEngine.java:160)
   at org.serviio.delivery.resource.VideoDeliveryEngine.retrieveTranscodedResource(VideoDeliveryEngine.java:54)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:90)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:116)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:126)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:52)
   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:187)
<<

Illico

User avatar

DLNA master

Posts: 4645

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Feb 07, 2011 7:33 pm

Re: Subtitle doesn't show with Generic DLNA Profile.

Could you execute locally this command line and check the result?
ffmpeg.exe -i "F:\Cars\Cars.mkv" -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec libmp3lame -ab 192k -ac 6 -map 0:0 -map 0:1 -sn -f mpegts Output.ts
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
<<

verahert

Serviio newbie

Posts: 17

Joined: Sat Feb 05, 2011 3:39 pm

Post Mon Feb 07, 2011 8:08 pm

Re: Subtitle doesn't show with Generic DLNA Profile.

C:\Program Files (x86)\Serviio\lib>ffmpeg.exe -i "F:\Cars\Cars.mkv" -y -vcodec c
opy -vbsf h264_mp4toannexb -copyts -acodec libmp3lame -ab 192k -ac 6 -map 0:0 -m
ap 0:1 -sn -f mpegts Output.ts
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 10 2011 21:46:22 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-shared --disable-ffp
lay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --arch=x86 --e
nable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i
686-mingw32-
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.72. 0 / 1.72. 0
libswscale 0.12. 0 / 0.12. 0
[matroska,webm @ 02af1b40] max_analyze_duration reached
[matroska,webm @ 02af1b40] Estimating duration from bitrate, this may be inaccur
ate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (500000
0/104271) -> 23.98 (5000000/208542)
Input #0, matroska,webm, from 'F:\Cars\Cars.mkv':
Duration: 01:56:36.00, start: 0.000000, bitrate: 1536 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 1920x800, PAR 1:1 DAR 12:5, 23.98 fp
s, 23.98 tbr, 1k tbn, 47.95 tbc
Metadata:
title : x264 - crf encode
Stream #0.1(eng): Audio: dca, 48000 Hz, 5.1, s16, 1536 kb/s
Metadata:
title : DTS - 1536 kbit/sec
Stream #0.2(eng): Subtitle: [0][0][0][0] / 0x0000
Stream #0.3(dut): Subtitle: [0][0][0][0] / 0x0000
Output #0, mpegts, to 'Output.ts':
Stream #0.0(eng): Video: [0][0][0][0] / 0x0000, yuv420p, 1920x800 [PAR 1:1 D
AR 12:5], q=2-31, 90k tbn, 23.98 tbc
Metadata:
title : x264 - crf encode
Stream #0.1(eng): Audio: libmp3lame, 48000 Hz, 5.1, s16, 192 kb/s
Metadata:
title : DTS - 1536 kbit/sec
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Error while opening encoder for output stream #0.1 - maybe incorrect parameters
such as bit_rate, rate, width or height

C:\Program Files (x86)\Serviio\lib>dir
<<

Illico

User avatar

DLNA master

Posts: 4645

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Feb 07, 2011 8:16 pm

Re: Subtitle doesn't show with Generic DLNA Profile.

Could you try this:
  Code:
C:\Program Files (x86)\Serviio\lib>ffmpeg.exe -i "F:\Cars\Cars.mkv" -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec libmp3lame -ab 384k -ac 6 -map 0:0 -map 0:1 -sn -f mpegts Output.ts

or this
  Code:
C:\Program Files (x86)\Serviio\lib>ffmpeg.exe -i "F:\Cars\Cars.mkv" -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec ac3 -ab 384k -ac 6 -map 0:0 -map 0:1 -sn -f mpegts Output.ts

Thks
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
<<

verahert

Serviio newbie

Posts: 17

Joined: Sat Feb 05, 2011 3:39 pm

Post Mon Feb 07, 2011 8:26 pm

Re: Subtitle doesn't show with Generic DLNA Profile.

let me check
<<

verahert

Serviio newbie

Posts: 17

Joined: Sat Feb 05, 2011 3:39 pm

Post Mon Feb 07, 2011 8:41 pm

Re: Subtitle doesn't show with Generic DLNA Profile.

i don't know why but the ffmpeg.exe has 0kB and when i run this commands appear an error window: is not a valid win32 applications :S
<<

verahert

Serviio newbie

Posts: 17

Joined: Sat Feb 05, 2011 3:39 pm

Post Mon Feb 07, 2011 8:50 pm

Re: Subtitle doesn't show with Generic DLNA Profile.

C:\Program Files (x86)\Serviio\lib>ffmpeg.exe -i "F:\Cars\Cars.mkv" -y -vcodec c
opy -vbsf h264_mp4toannexb -copyts -acodec ac3 -ab 384k -ac 6 -map 0:0 -map 0:1
-sn -f mpegts Output.ts
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 10 2011 21:46:22 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-shared --disable-ffp
lay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --arch=x86 --e
nable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i
686-mingw32-
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.72. 0 / 1.72. 0
libswscale 0.12. 0 / 0.12. 0
[matroska,webm @ 02931b40] max_analyze_duration reached
[matroska,webm @ 02931b40] Estimating duration from bitrate, this may be inaccur
ate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (500000
0/104271) -> 23.98 (5000000/208542)
Input #0, matroska,webm, from 'F:\Cars\Cars.mkv':
Duration: 01:56:36.00, start: 0.000000, bitrate: 1536 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 1920x800, PAR 1:1 DAR 12:5, 23.98 fp
s, 23.98 tbr, 1k tbn, 47.95 tbc
Metadata:
title : x264 - crf encode
Stream #0.1(eng): Audio: dca, 48000 Hz, 5.1, s16, 1536 kb/s
Metadata:
title : DTS - 1536 kbit/sec
Stream #0.2(eng): Subtitle: [0][0][0][0] / 0x0000
Stream #0.3(dut): Subtitle: [0][0][0][0] / 0x0000
[mpegts @ 04090050] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every
40 pkts
Output #0, mpegts, to 'Output.ts':
Metadata:
encoder : Lavf52.92.0
Stream #0.0(eng): Video: [0][0][0][0] / 0x0000, yuv420p, 1920x800 [PAR 1:1 D
AR 12:5], q=2-31, 90k tbn, 23.98 tbc
Metadata:
title : x264 - crf encode
Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, flt, 384 kb/s
Metadata:
title : DTS - 1536 kbit/sec
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 2605 fps=743 q=-1.0 size= 80782kB time=108.57 bitrate=6095.5kbits/s
frame= 2844 fps=710 q=-1.0 size= 106902kB time=118.54 bitrate=7388.0kbits/s
frame= 3050 fps=579 q=-1.0 size= 126263kB time=127.13 bitrate=8136.4kbits/s
frame= 3292 fps=571 q=-1.0 size= 150593kB time=137.22 bitrate=8990.3kbits/s
frame= 3527 fps=563 q=-1.0 size= 174993kB time=147.02 bitrate=9750.5kbits/s
frame= 3764 fps=556 q=-1.0 size= 200015kB time=156.91 bitrate=10442.6kbits/s
frame= 4002 fps=550 q=-1.0 size= 224229kB time=166.83 bitrate=11010.3kbits/s
frame= 4261 fps=548 q=-1.0 size= 245066kB time=177.64 bitrate=11301.7kbits/s
frame= 4541 fps=549 q=-1.0 size= 265011kB time=189.31 bitrate=11467.5kbits/s
frame= 4785 fps=545 q=-1.0 size= 289283kB time=199.49 bitrate=11879.2kbits/s
frame= 5070 fps=547 q=-1.0 size= 307286kB time=211.38 bitrate=11909.0kbits/s
frame= 5346 fps=547 q=-1.0 size= 325692kB time=222.89 bitrate=11970.3kbits/s
frame= 5366 fps=546 q=-1.0 Lsize= 326582kB time=223.72 bitrate=11958.3kbits/s

video:291016kB audio:10494kB global headers:0kB muxing overhead 8.315410%
Received signal 2: terminating.


Finally I think its working :)
<<

verahert

Serviio newbie

Posts: 17

Joined: Sat Feb 05, 2011 3:39 pm

Post Mon Feb 07, 2011 9:49 pm

Re: Subtitle doesn't show with Generic DLNA Profile.

how can i implement this in Serviio?
<<

Illico

User avatar

DLNA master

Posts: 4645

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Feb 08, 2011 7:58 am

Re: Subtitle doesn't show with Generic DLNA Profile.

Check "keep original" audio channels on Transcoding console Tab
  Code:
<Transcoding>           
  <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
     <Matches container="matroska" aCodec="dca" />
  </Video>
</Transcoding>
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
<<

verahert

Serviio newbie

Posts: 17

Joined: Sat Feb 05, 2011 3:39 pm

Post Tue Feb 08, 2011 4:02 pm

Re: Subtitle doesn't show with Generic DLNA Profile.

It doesn't work "this file is not valid" here the log:

  Code:
2011-02-08 12:18:42,691 DEBUG [VideoDeliveryEngine] Delivering item '109' for client 'IPAddress=/192.168.1.35, Profile=LG 42LD650 TV'
2011-02-08 12:18:42,691 DEBUG [VideoDeliveryEngine] Delivering file 'Cars.mkv' using transcoding
2011-02-08 12:18:42,691 DEBUG [VideoDeliveryEngine] Delivering item '109' for client 'IPAddress=/192.168.1.35, Profile=LG 42LD650 TV'
2011-02-08 12:18:42,691 DEBUG [VideoDeliveryEngine] Delivering file 'Cars.mkv' using transcoding
2011-02-08 12:18:42,692 DEBUG [VideoDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.1.35, Profile=LG 42LD650 TV'
2011-02-08 12:18:42,692 DEBUG [MediaItemDAOImpl] Getting file of media item 109
2011-02-08 12:18:42,694 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode file: F:\Cars\Cars.mkv
2011-02-08 12:18:42,694 DEBUG [ProcessExecutor] Starting C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe -i F:\Cars\Cars.mkv -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec ac3 -ab 384k -ac 6 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-109-MPEG2TS.stf
2011-02-08 12:18:43,194 DEBUG [VideoDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.1.35, Profile=LG 42LD650 TV'
2011-02-08 12:18:43,195 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Cars.mkv: AVC_TS_MP_HD_AC3_ISO
2011-02-08 12:18:43,195 DEBUG [VideoDeliveryEngine] Sending transcoding stream
2011-02-08 12:18:43,195 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 109) as read
2011-02-08 12:18:43,203 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Cars.mkv: AVC_TS_MP_HD_AC3_ISO
2011-02-08 12:18:43,203 DEBUG [VideoDeliveryEngine] Sending transcoding stream
2011-02-08 12:18:43,203 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 109) as read
2011-02-08 12:18:43,205 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-02-08 12:18:43,207 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-02-08 12:18:43,208 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 9000000000
2011-02-08 12:18:43,208 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2011-02-08 12:18:43,208 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-02-08 12:18:43,208 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Tue, 08 Feb 2011 15:18:43 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.5,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2011-02-08 12:18:43,208 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 9000000000
2011-02-08 12:18:43,208 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2011-02-08 12:18:43,208 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-02-08 12:18:43,208 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Tue, 08 Feb 2011 15:18:43 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.5,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2011-02-08 12:18:43,237 DEBUG [WebServer] I/O error: Software caused connection abort: socket write error
2011-02-08 12:18:43,238 DEBUG [WebServer] Incoming connection from /192.168.1.35:48693
2011-02-08 12:18:43,239 DEBUG [ResourceTransportRequestHandler] GET /resource/109/MEDIA_ITEM/AVC_TS_MP_HD_AC3_ISO HTTP/1.1, headers = [Host: 192.168.1.33: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,Range: bytes=4611686018427371520-,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-2010)]]
2011-02-08 12:18:43,239 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.35
2011-02-08 12:18:43,239 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.35, Profile=LG 42LD650 TV'
2011-02-08 12:18:43,240 DEBUG [ResourceTransportRequestHandler] Request for resource 109 and type 'MEDIA_ITEM' received
2011-02-08 12:18:43,240 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 109)
2011-02-08 12:18:43,240 DEBUG [VideoDAOImpl] Reading a Video (id = 109)
2011-02-08 12:18:43,241 DEBUG [VideoDeliveryEngine] Delivering item '109' for client 'IPAddress=/192.168.1.35, Profile=LG 42LD650 TV'
2011-02-08 12:18:43,241 DEBUG [VideoDeliveryEngine] Delivering file 'Cars.mkv' using transcoding
2011-02-08 12:18:43,242 DEBUG [VideoDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.1.35, Profile=LG 42LD650 TV'
2011-02-08 12:18:43,242 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Cars.mkv: AVC_TS_MP_HD_AC3_ISO
2011-02-08 12:18:43,242 DEBUG [VideoDeliveryEngine] Sending transcoding stream
2011-02-08 12:18:43,242 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: -4611686009427371520
2011-02-08 12:18:43,242 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2011-02-08 12:18:43,242 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-02-08 12:18:43,242 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/mpeg,Content-Range: bytes 4611686018427371520-8999999999/9000000000,Date: Tue, 08 Feb 2011 15:18:43 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.5,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2011-02-08 12:18:46,098 DEBUG [WebServer] I/O error: Software caused connection abort: socket write error
2011-02-08 12:19:10,502 DEBUG [WebServer] Incoming connection from /192.168.1.35:48696
2011-02-08 12:19:10,503 DEBUG [ServiceEventSubscriptionRequestHandler] ServiceEvent unsubscription request received for service ContentDirectory and subscription uuid:0044bb63-5371-4b71-9f24-82b2e6d9bcae
2011-02-08 12:19:10,503 DEBUG [ServiceEventSubscriptionRequestHandler] Event subscription (uuid=0044bb63-5371-4b71-9f24-82b2e6d9bcae) removed for service urn:upnp-org:serviceId:ContentDirectory
2011-02-08 12:19:10,506 DEBUG [WebServer] Incoming connection from /192.168.1.35:48697
2011-02-08 12:19:10,506 DEBUG [ServiceEventSubscriptionRequestHandler] ServiceEvent unsubscription request received for service ConnectionManager and subscription uuid:edf46638-0449-416a-95e2-0502d3545638
2011-02-08 12:19:10,506 DEBUG [ServiceEventSubscriptionRequestHandler] Event subscription (uuid=edf46638-0449-416a-95e2-0502d3545638) removed for service urn:upnp-org:serviceId:ConnectionManager
2011-02-08 12:19:20,061 INFO  [ServiioConsole] Leaving Serviio Console
2011-02-08 12:19:20,073 DEBUG [ActionsServerResource] Action with name 'exitServiio' was requested
2011-02-08 12:19:20,077 INFO  [LibraryAdditionsCheckerThread] Finished looking for newly added files
2011-02-08 12:19:20,275 DEBUG [DiscoveryManager] UPNP device 7c244fb3-0b22-3d10-94e6-71e4e0006f49 (192.168.1.33) is unavailable
2011-02-08 12:19:20,275 INFO  [EventDispatcher] Leaving EventDispatcher
2011-02-08 12:19:20,282 INFO  [DiscoveryAdvertisementNotifier] Leaving DiscoveryAdvertisementNotifier
2011-02-08 12:19:20,282 DEBUG [WebServer] Socket closed
2011-02-08 12:19:20,282 INFO  [WebServer] WebServer shutting down
2011-02-08 12:19:20,282 INFO  [EventSubscriptionExpirationChecker] Leaving EventSubscriptionExpirationChecker, removing all event subscriptions
2011-02-08 12:19:20,535 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP byebye using interface eth3 (Atheros L1 Gigabit Ethernet 10/100/1000Base-T Controller) and address PC-Nico, timeout = 0
2011-02-08 12:19:20,536 INFO  [DiscoverySSDPMessageListener] Leaving DiscoverySSDPMessageListener
2011-02-08 12:19:20,537 INFO  [DatabaseManager] Shutting down database
Next

Return to LG

Who is online

Users browsing this forum: No registered users and 3 guests

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