FAQ  •  Register  •  Login

subtitle display problem in avi files

<<

abubin

Serviio lover

Posts: 80

Joined: Tue Jul 26, 2011 3:54 pm

Post Sat Aug 06, 2011 2:00 pm

subtitle display problem in avi files

I am doing more test with serviio with my panasonic led tv.

I have 2 avi files and somehow one will display subtitle and another doesn't. Would appreciate if someone could provide some guidance to fix this. Both subtitle is external srt file.

Panasonic TV profile:
  Code:
        <Profile id="12" name="Panasonic Viera" extendsProfileId="1">
                <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.PanasonicDLNAMessageBuilder</ContentDirectoryMessageBuilder>
                <SubtitlesMimeType>text/srt</SubtitlesMimeType>
                <MediaFormatProfiles>
                        <MediaFormatProfile mime-type="video/divx">AVI</MediaFormatProfile>
                </MediaFormatProfiles>
                <Transcoding>
                         <!-- remux DTS in MKV to AC3 -->
                     <Video targetContainer="mpegts" targetACodec="ac3">
                                <Matches container="matroska" vCodec="h264" aCodec="dca" />
                        </Video>
                        <!-- Remux all h264 video to MPEG-TS stream -->
                <Video targetContainer="mpegts">
                                <Matches container="avi" vCodec="h264" />
                                <Matches container="mp4" vCodec="h264" />
                                <Matches container="matroska" vCodec="h264" />
                 </Video>
                 <Audio targetContainer="mp3">
                                <Matches container="mp4" />
                                <Matches container="flac" />
                                <Matches container="ogg" />
                        </Audio>
                </Transcoding>
        </Profile>



Movie 1 (subtitle doesn't work)
  Code:
Input #0, avi, from 'Watchmen.2009.Ultimate.Cut.DVDrip[vice].avi':
  Metadata:
    encoder         : MEncoder Sherpya-SVN-r27811-4.2.5
  Duration: 03:35:25.59, start: 0.000000, bitrate: 647 kb/s
    Stream #0.0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 480x234 [PAR 1:1 DAR 80:39], PAR 39936:39935 DAR 16384:7987, 25 tbr, 25 tbn, 25 tbc
    Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 32 kb/s



Movie 2 (subtitle works)
  Code:
[mpeg4 @ 0x97c31c0] Invalid and inefficient vfw-avi packed B frames detected

Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (2997/125)
Input #0, avi, from 'ginji-dd-cd2.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.2 (build 2540/release)
  Duration: 01:04:45.88, start: 0.000000, bitrate: 1513 kb/s
    Stream #0.0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 640x272 [PAR 1:1 DAR 40:17], 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
Last edited by abubin on Sat Aug 06, 2011 2:30 pm, edited 3 times in total.
<<

abubin

Serviio lover

Posts: 80

Joined: Tue Jul 26, 2011 3:54 pm

Post Sat Aug 06, 2011 2:15 pm

Re: subtitle display problem in avi files

Movie 1 (subtitle doesn't work)
  Code:
2011-08-06 21:39:44,803 DEBUG [FolderDAOImpl] Getting number of VIDEO sub-folders and media items in folder 5
2011-08-06 21:39:44,804 DEBUG [LocalContentCacheDecorator] Stored entry in the cache (local_default), returning it
2011-08-06 21:39:44,816 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2011-08-06 21:39:44,973 DEBUG [WebServer] Incoming connection from /192.168.10.241:25274
2011-08-06 21:39:44,974 DEBUG [ResourceTransportRequestHandler] GET /resource/31/COVER_IMAGE HTTP/1.1, headers = [User-Agent: Panasonic MIL DLNA CP UPnP/1.0 DLNADOC/1.50,Host: 192.168.10.223:8895,tran$
2011-08-06 21:39:44,974 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.241
2011-08-06 21:39:44,976 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-08-06 21:39:44,976 DEBUG [ResourceTransportRequestHandler] Request for resource 31 and type 'COVER_IMAGE' received
2011-08-06 21:39:44,977 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 31)
2011-08-06 21:39:44,977 DEBUG [CoverImageRetrievalStrategy] Retrieving Cover image with id 31
2011-08-06 21:39:44,977 DEBUG [ResourceTransportRequestHandler] Entity will be consumed till the end
2011-08-06 21:39:44,977 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: -1
2011-08-06 21:39:44,978 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-08-06 21:39:44,978 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: image/jpeg,Date: Sat, 06 Aug 2011 13:39:44 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/$
2011-08-06 21:39:45,687 DEBUG [WebServer] Incoming connection from /192.168.10.241:13566
2011-08-06 21:39:45,689 DEBUG [ResourceTransportRequestHandler] GET /resource/27/MEDIA_ITEM/AVI$0 HTTP/1.1, headers = [Host: 192.168.10.223:8895,Range: bytes=0-,transferMode.dlna.org: Streaming,Connec$
2011-08-06 21:39:45,689 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.241
2011-08-06 21:39:45,690 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-08-06 21:39:45,690 DEBUG [ResourceTransportRequestHandler] Request for resource 27 and type 'MEDIA_ITEM' received
2011-08-06 21:39:45,690 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 27)
2011-08-06 21:39:45,691 DEBUG [VideoDAOImpl] Reading a Video (id = 27)
2011-08-06 21:39:45,692 DEBUG [VideoDeliveryEngine] Delivering item '27' for client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-08-06 21:39:45,692 DEBUG [VideoDeliveryEngine] Delivering file 'Watchmen.2009.Ultimate.Cut.DVDrip[vice].avi' in native format
2011-08-06 21:39:45,693 DEBUG [MediaItemDAOImpl] Getting file of media item 27
2011-08-06 21:39:45,694 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 27) as read
2011-08-06 21:39:45,728 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-08-06 21:39:45,728 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 1045546730
2011-08-06 21:39:45,728 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-08-06 21:39:45,728 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/divx,Content-Range: bytes 0-1045546729/1045546730,Content-Length: 10455467$
2011-08-06 21:39:45,751 DEBUG [WebServer] I/O error: Broken pipe
2011-08-06 21:39:45,760 DEBUG [WebServer] Incoming connection from /192.168.10.241:31644
2011-08-06 21:39:45,761 DEBUG [ResourceTransportRequestHandler] GET /resource/27/MEDIA_ITEM/AVI$0 HTTP/1.1, headers = [Host: 192.168.10.223:8895,Range: bytes=0-,transferMode.dlna.org: Streaming,Connec$
2011-08-06 21:39:45,761 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.241
2011-08-06 21:39:45,762 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-08-06 21:39:45,763 DEBUG [ResourceTransportRequestHandler] Request for resource 27 and type 'MEDIA_ITEM' received
2011-08-06 21:39:45,763 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 27)
2011-08-06 21:39:45,764 DEBUG [VideoDAOImpl] Reading a Video (id = 27)
2011-08-06 21:39:45,764 DEBUG [VideoDeliveryEngine] Delivering item '27' for client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-08-06 21:39:45,765 DEBUG [VideoDeliveryEngine] Delivering file 'Watchmen.2009.Ultimate.Cut.DVDrip[vice].avi' in native format
2011-08-06 21:39:45,765 DEBUG [MediaItemDAOImpl] Getting file of media item 27
2011-08-06 21:39:45,766 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 27) as read
2011-08-06 21:39:45,786 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-08-06 21:39:45,786 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 1045546730
2011-08-06 21:39:45,786 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-08-06 21:39:45,786 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/divx,Content-Range: bytes 0-1045546729/1045546730,Content-Length: 10455467$
2011-08-06 21:39:45,859 DEBUG [WebServer] Incoming connection from /192.168.10.241:54984
2011-08-06 21:39:45,860 DEBUG [ResourceTransportRequestHandler] GET /resource/27/MEDIA_ITEM/AVI$0 HTTP/1.1, headers = [Host: 192.168.10.223:8895,Range: bytes=1032459762-,transferMode.dlna.org: Streami$
2011-08-06 21:39:45,860 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.241
2011-08-06 21:39:45,862 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-08-06 21:39:45,862 DEBUG [ResourceTransportRequestHandler] Request for resource 27 and type 'MEDIA_ITEM' received
2011-08-06 21:39:45,862 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 27)
2011-08-06 21:39:45,864 DEBUG [VideoDAOImpl] Reading a Video (id = 27)
2011-08-06 21:39:45,865 DEBUG [VideoDeliveryEngine] Delivering item '27' for client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-08-06 21:39:45,866 DEBUG [VideoDeliveryEngine] Delivering file 'Watchmen.2009.Ultimate.Cut.DVDrip[vice].avi' in native format
2011-08-06 21:39:45,866 DEBUG [MediaItemDAOImpl] Getting file of media item 27
2011-08-06 21:39:45,868 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 13086968
2011-08-06 21:39:45,869 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-08-06 21:39:45,869 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/divx,Content-Range: bytes 1032459762-1045546729/1045546730,Content-Length:$
2011-08-06 21:39:52,283 DEBUG [WebServer] Incoming connection from /192.168.10.241:45150
2011-08-06 21:39:52,283 DEBUG [ResourceTransportRequestHandler] GET /resource/27/SUBTITLE.srt HTTP/1.1, headers = [Host: 192.168.10.223:8895,Connection: keep-alive]]
2011-08-06 21:39:52,284 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.241
2011-08-06 21:39:52,284 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-08-06 21:39:52,285 DEBUG [ResourceTransportRequestHandler] Request for resource 27 and type 'SUBTITLE' received
2011-08-06 21:39:52,287 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 27)
2011-08-06 21:39:52,288 DEBUG [MediaItemDAOImpl] Getting file of media item 27
2011-08-06 21:39:52,289 DEBUG [SubtitlesService] Found subtitle file: /raid2/M7/video/zFather/Watchmen.2009.Ultimate-Cut.DVDrip[vice]/Watchmen.2009.Ultimate.Cut.DVDrip[vice].srt
2011-08-06 21:39:52,293 DEBUG [SubtitlesRetrievalStrategy] Retrieving Subtitles for media item with id 27
2011-08-06 21:39:52,298 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 178417
2011-08-06 21:39:52,298 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-08-06 21:39:52,298 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: text/srt,Content-Length: 178417,Date: Sat, 06 Aug 2011 13:39:52 GMT,Server: Linux, UPnP/1.0 D$
2011-08-06 21:39:52,586 DEBUG [WebServer] Incoming connection from /192.168.10.241:47596
2011-08-06 21:39:52,586 DEBUG [ResourceTransportRequestHandler] GET /resource/27/MEDIA_ITEM/AVI$0 HTTP/1.1, headers = [Host: 192.168.10.223:8895,Range: bytes=4104-1032459761,transferMode.dlna.org: Str$
2011-08-06 21:39:52,587 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.241
2011-08-06 21:39:52,588 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-08-06 21:39:52,588 DEBUG [ResourceTransportRequestHandler] Request for resource 27 and type 'MEDIA_ITEM' received
2011-08-06 21:39:52,588 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 27)
2011-08-06 21:39:52,589 DEBUG [VideoDAOImpl] Reading a Video (id = 27)
2011-08-06 21:39:52,590 DEBUG [VideoDeliveryEngine] Delivering item '27' for client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-08-06 21:39:52,590 DEBUG [VideoDeliveryEngine] Delivering file 'Watchmen.2009.Ultimate.Cut.DVDrip[vice].avi' in native format
2011-08-06 21:39:52,590 DEBUG [MediaItemDAOImpl] Getting file of media item 27
2011-08-06 21:39:52,592 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 1032455658
2011-08-06 21:39:52,592 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-08-06 21:39:52,592 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/divx,Content-Range: bytes 4104-1032459761/1045546730,Content-Length: 10324$
2011-08-06 21:40:02,953 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eth0 (eth0) and address 192.168.10.223, timeout = 0
2011-08-06 21:40:02,954 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device c6e1ab71-6371-30ee-b769-dc7b425a8e3e



Movie 2 (subtitle works)
  Code:
2011-08-06 21:40:24,202 DEBUG [SubtitlesService] Found subtitle file: /raid2/M7/video/Detective.Dee-ginji/ginji-dd-cd2.srt
2011-08-06 21:40:24,202 DEBUG [VideoDAOImpl] Reading a Video (id = 29)
2011-08-06 21:40:24,203 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 29 and profile Panasonic Viera
2011-08-06 21:40:24,203 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 33)
2011-08-06 21:40:24,204 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 29)
2011-08-06 21:40:24,204 DEBUG [MediaItemDAOImpl] Getting file of media item 29
2011-08-06 21:40:24,205 DEBUG [SubtitlesService] Found subtitle file: /raid2/M7/video/Detective.Dee-ginji/ginji-dd-cd2.srt
2011-08-06 21:40:24,205 DEBUG [FolderDAOImpl] Getting number of VIDEO sub-folders and media items in folder 7
2011-08-06 21:40:24,207 DEBUG [LocalContentCacheDecorator] Stored entry in the cache (local_default), returning it
2011-08-06 21:40:24,216 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2011-08-06 21:40:24,389 DEBUG [WebServer] Incoming connection from /192.168.10.241:47653
2011-08-06 21:40:24,389 DEBUG [ResourceTransportRequestHandler] GET /resource/34/COVER_IMAGE HTTP/1.1, headers = [User-Agent: Panasonic MIL DLNA CP UPnP/1.0 DLNADOC/1.50,Host: 192.168.10.223:8895,tran$
2011-08-06 21:40:24,389 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.241
2011-08-06 21:40:24,390 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-08-06 21:40:24,390 DEBUG [ResourceTransportRequestHandler] Request for resource 34 and type 'COVER_IMAGE' received
2011-08-06 21:40:24,391 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 34)
2011-08-06 21:40:24,391 DEBUG [CoverImageRetrievalStrategy] Retrieving Cover image with id 34
2011-08-06 21:40:24,391 DEBUG [ResourceTransportRequestHandler] Entity will be consumed till the end
2011-08-06 21:40:24,391 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: -1
2011-08-06 21:40:24,392 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-08-06 21:40:24,392 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: image/jpeg,Date: Sat, 06 Aug 2011 13:40:24 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/$
2011-08-06 21:40:24,408 DEBUG [WebServer] Incoming connection from /192.168.10.241:35041
2011-08-06 21:40:24,409 DEBUG [ResourceTransportRequestHandler] GET /resource/33/COVER_IMAGE HTTP/1.1, headers = [User-Agent: Panasonic MIL DLNA CP UPnP/1.0 DLNADOC/1.50,Host: 192.168.10.223:8895,tran$
2011-08-06 21:40:24,410 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.241
2011-08-06 21:40:24,410 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-08-06 21:40:24,410 DEBUG [ResourceTransportRequestHandler] Request for resource 33 and type 'COVER_IMAGE' received
2011-08-06 21:40:24,410 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 33)
2011-08-06 21:40:24,411 DEBUG [CoverImageRetrievalStrategy] Retrieving Cover image with id 33
2011-08-06 21:40:24,411 DEBUG [ResourceTransportRequestHandler] Entity will be consumed till the end
2011-08-06 21:40:24,411 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: -1
2011-08-06 21:40:24,411 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-08-06 21:40:24,411 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: image/jpeg,Date: Sat, 06 Aug 2011 13:40:24 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/$
2011-08-06 21:40:26,250 DEBUG [WebServer] Incoming connection from /192.168.10.241:16707
2011-08-06 21:40:26,251 DEBUG [ResourceTransportRequestHandler] GET /resource/29/MEDIA_ITEM/AVI$0 HTTP/1.1, headers = [Host: 192.168.10.223:8895,Range: bytes=0-,transferMode.dlna.org: Streaming,Connec$
2011-08-06 21:40:26,251 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.241
2011-08-06 21:40:26,252 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-08-06 21:40:26,252 DEBUG [ResourceTransportRequestHandler] Request for resource 29 and type 'MEDIA_ITEM' received
2011-08-06 21:40:26,252 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 29)
2011-08-06 21:40:26,254 DEBUG [VideoDeliveryEngine] Delivering item '29' for client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-08-06 21:40:26,254 DEBUG [VideoDeliveryEngine] Delivering file 'ginji-dd-cd2.avi' in native format
2011-08-06 21:40:26,254 DEBUG [MediaItemDAOImpl] Getting file of media item 29
2011-08-06 21:40:26,255 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 29) as read
2011-08-06 21:40:26,279 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-08-06 21:40:26,279 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 735098880
2011-08-06 21:40:26,279 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-08-06 21:40:26,280 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/divx,Content-Range: bytes 0-735098879/735098880,Content-Length: 735098880,$
2011-08-06 21:40:33,417 DEBUG [WebServer] Incoming connection from /192.168.10.241:35248
2011-08-06 21:40:33,418 DEBUG [ResourceTransportRequestHandler] GET /resource/29/MEDIA_ITEM/AVI$0 HTTP/1.1, headers = [Host: 192.168.10.223:8895,Range: bytes=0-,transferMode.dlna.org: Streaming,Connec$
2011-08-06 21:40:33,418 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.241
2011-08-06 21:40:33,419 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-08-06 21:40:33,419 DEBUG [ResourceTransportRequestHandler] Request for resource 29 and type 'MEDIA_ITEM' received
2011-08-06 21:40:33,419 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 29)
2011-08-06 21:40:33,420 DEBUG [VideoDAOImpl] Reading a Video (id = 29)
2011-08-06 21:40:33,421 DEBUG [VideoDeliveryEngine] Delivering item '29' for client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-08-06 21:40:33,421 DEBUG [VideoDeliveryEngine] Delivering file 'ginji-dd-cd2.avi' in native format
2011-08-06 21:40:33,421 DEBUG [MediaItemDAOImpl] Getting file of media item 29
2011-08-06 21:40:33,423 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 29) as read
2011-08-06 21:40:33,438 DEBUG [WebServer] I/O error: Broken pipe
2011-08-06 21:40:33,446 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-08-06 21:40:33,446 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 735098880
2011-08-06 21:40:33,447 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-08-06 21:40:33,447 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/divx,Content-Range: bytes 0-735098879/735098880,Content-Length: 735098880,$
2011-08-06 21:40:34,183 DEBUG [WebServer] Incoming connection from /192.168.10.241:31463
2011-08-06 21:40:34,185 DEBUG [ResourceTransportRequestHandler] GET /resource/29/MEDIA_ITEM/AVI$0 HTTP/1.1, headers = [Host: 192.168.10.223:8895,Range: bytes=732116394-,transferMode.dlna.org: Streamin$
2011-08-06 21:40:34,185 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.241
2011-08-06 21:40:34,186 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-08-06 21:40:34,186 DEBUG [ResourceTransportRequestHandler] Request for resource 29 and type 'MEDIA_ITEM' received
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Aug 06, 2011 6:04 pm

Re: subtitle display problem in avi files

you not sure it's not the other way around? in the first example i can see the TV asks for the srt file and serviio delivers it

  Code:
2011-08-06 21:39:52,298 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: text/srt,Content-Length: 178417,Date: Sat, 06 Aug 2011 13:39:52 GMT,Server: Linux, UPnP/1.0 D$


In the second example this line is missing, but maybe it's further down / up in the log.

Anyway, the first should work, as the file is read and delivered. Check the file has no embedded subtitles (just to see if it's interfering). Also sometimes srt files might be 'corrupted' for a TV, caused by wrong encoding or sequence of bytes at the beginning of the file. Try to back up the srt file and create a new one (or copy an existing working srt) with the same name and try to play that.
<<

abubin

Serviio lover

Posts: 80

Joined: Tue Jul 26, 2011 3:54 pm

Post Sun Aug 07, 2011 6:42 am

Re: subtitle display problem in avi files

Yes I am sure movie 1 is the one with subtitle problem. I tried playing it using pc and the subtitle works.

The header also looks fine. Here is extract of the header
  Code:
1
00:00:22,063 --> 00:00:24,023
[KETTLE WHISTLING]

2
00:00:24,190 --> 00:00:25,941
MAN 1 [ON TV]:
Wrong, as usual.

3
00:00:26,109 --> 00:00:29,236
The United States' lack of action
in Eastern Europe...

4
00:00:29,404 --> 00:00:33,824
...proves that the Soviet Union's aggression
at the Afghan border...

5
00:00:33,992 --> 00:00:37,161
...will not be opposed publicly
by the United States.

6
00:00:37,328 --> 00:00:38,620
[WHISTLING STOPS]

7
00:00:39,205 --> 00:00:44,543
Issue: The Soviet Union continued
its recent series of military exercises...
Last edited by abubin on Sun Aug 07, 2011 10:43 am, edited 1 time in total.
<<

trampas

Serviio lover

Posts: 67

Joined: Mon Aug 23, 2010 8:23 am

Post Sun Aug 07, 2011 6:51 am

Re: subtitle display problem in avi files

This happened to me (Viera D25 TV) and was caused by the 'wrong' encoding for the text in the .srt file. I used SRTWiz (google for it) to fix the .srt, then it worked fine.
<<

abubin

Serviio lover

Posts: 80

Joined: Tue Jul 26, 2011 3:54 pm

Post Sun Aug 07, 2011 1:14 pm

Re: subtitle display problem in avi files

trampas wrote:This happened to me (Viera D25 TV) and was caused by the 'wrong' encoding for the text in the .srt file. I used SRTWiz (google for it) to fix the .srt, then it worked fine.


It works after using srtwiz. Thanks!!

Return to Panasonic

Who is online

Users browsing this forum: No registered users and 8 guests

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