FAQ  •  Register  •  Login

transcoding works but subtitle not and vice versa

<<

abubin

Serviio lover

Posts: 80

Joined: Tue Jul 26, 2011 3:54 pm

Post Wed Jul 27, 2011 5:56 pm

transcoding works but subtitle not and vice versa

I am new to serviio and found it to be amazing. It took me some time to get it to run transcoding of videos properly.

I am using Panasonic TH-L42E3K.

When I play videos such as mkv or x264 movies, serviio will transcode the videos however I do not have the option in my TV to select subtitle.

However, on certain AVI files, the srt subtitles will get pickup and I have the option of viewing the subtitle using the same "I-II" button.

Is that a feature limitation in the TV or the serviio or what?

Here is a sample of the mkv/x264 file that srt subtitle does NOT get pickup.

  Code:
2011-07-28 01:41:29,113 DEBUG [VideoDeliveryEngine] Delivering file 'Little.Black.Dress.2010.DVDrip.x264-ELITE1.mkv' using transcoding
2011-07-28 01:41:29,114 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-07-28 01:41:29,114 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Little.Black.Dress.2010.DVDrip.x264-ELITE1.mkv: AVC_TS_MP_HD_AAC_MULT5_ISO
2011-07-28 01:41:29,114 DEBUG [AbstractTranscodingDeliveryEngine] Transcoded file '/tmp/Serviio/transcoding-temp-82-MPEG2TS.stf' is complete, sending simple stream
2011-07-28 01:41:29,114 DEBUG [ResourceTransportRequestHandler] Unsupported time range request because bitrate is not available, sending back 406
2011-07-28 01:41:29,114 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 406 Not Acceptable, headers = [[Content-Type: video/mpeg]]
2011-07-28 01:41:29,123 DEBUG [WebServer] Incoming connection from /192.168.10.241:35452
2011-07-28 01:41:29,125 DEBUG [ResourceTransportRequestHandler] GET /resource/82/MEDIA_ITEM/AVC_TS_MP_HD_AAC_MULT5_ISO$0 HTTP/1.1, headers = [Host: 192.168.10.223:8895,transferMode.dlna.org: Streaming,Connection: keep-alive]]
2011-07-28 01:41:29,125 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.241
2011-07-28 01:41:29,126 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-07-28 01:41:29,126 DEBUG [ResourceTransportRequestHandler] Request for resource 82 and type 'MEDIA_ITEM' received
2011-07-28 01:41:29,126 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 82)
2011-07-28 01:41:29,126 DEBUG [VideoDAOImpl] Reading a Video (id = 82)
2011-07-28 01:41:29,127 DEBUG [VideoDeliveryEngine] Delivering item '82' for client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-07-28 01:41:29,127 DEBUG [VideoDeliveryEngine] Delivering file 'Little.Black.Dress.2010.DVDrip.x264-ELITE1.mkv' using transcoding
2011-07-28 01:41:29,127 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-07-28 01:41:29,127 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Little.Black.Dress.2010.DVDrip.x264-ELITE1.mkv: AVC_TS_MP_HD_AAC_MULT5_ISO
2011-07-28 01:41:29,127 DEBUG [AbstractTranscodingDeliveryEngine] Transcoded file '/tmp/Serviio/transcoding-temp-82-MPEG2TS.stf' is complete, sending simple stream
2011-07-28 01:41:29,127 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 82) as read
2011-07-28 01:41:29,165 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-07-28 01:41:29,165 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 9000000000
2011-07-28 01:41:29,165 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2011-07-28 01:41:29,166 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-07-28 01:41:29,166 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Wed, 27 Jul 2011 17:41:29 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/0.5.2,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2011-07-28 01:41:30,497 DEBUG [WebServer] Incoming connection from /192.168.10.241:16010
2011-07-28 01:41:30,498 DEBUG [ResourceTransportRequestHandler] GET /resource/82/MEDIA_ITEM/AVC_TS_MP_HD_AAC_MULT5_ISO$0 HTTP/1.1, headers = [Host: 192.168.10.223:8895,TimeSeekRange.dlna.org: npt=00:03:12.018-,transferMode.dlna.org: Streaming,Connection: keep-alive]]
2011-07-28 01:41:30,498 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.241
2011-07-28 01:41:30,499 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-07-28 01:41:30,499 DEBUG [ResourceTransportRequestHandler] Request for resource 82 and type 'MEDIA_ITEM' received
2011-07-28 01:41:30,499 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 82)
2011-07-28 01:41:30,500 DEBUG [VideoDAOImpl] Reading a Video (id = 82)
2011-07-28 01:41:30,501 DEBUG [VideoDeliveryEngine] Delivering item '82' for client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-07-28 01:41:30,501 DEBUG [VideoDeliveryEngine] Delivering file 'Little.Black.Dress.2010.DVDrip.x264-ELITE1.mkv' using transcoding
2011-07-28 01:41:30,501 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-07-28 01:41:30,501 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Little.Black.Dress.2010.DVDrip.x264-ELITE1.mkv: AVC_TS_MP_HD_AAC_MULT5_ISO
2011-07-28 01:41:30,501 DEBUG [AbstractTranscodingDeliveryEngine] Transcoded file '/tmp/Serviio/transcoding-temp-82-MPEG2TS.stf' is complete, sending simple stream
2011-07-28 01:41:30,501 DEBUG [ResourceTransportRequestHandler] Unsupported time range request because bitrate is not available, sending back 406
2011-07-28 01:41:30,501 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 406 Not Acceptable, headers = [[Content-Type: video/mpeg]]
2011-07-28 01:41:30,512 DEBUG [WebServer] Incoming connection from /192.168.10.241:29983
2011-07-28 01:41:30,514 DEBUG [ResourceTransportRequestHandler] GET /resource/82/MEDIA_ITEM/AVC_TS_MP_HD_AAC_MULT5_ISO$0 HTTP/1.1, headers = [Host: 192.168.10.223:8895,transferMode.dlna.org: Streaming,Connection: keep-alive]]
2011-07-28 01:41:30,514 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.241
2011-07-28 01:41:30,515 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-07-28 01:41:30,515 DEBUG [ResourceTransportRequestHandler] Request for resource 82 and type 'MEDIA_ITEM' received
2011-07-28 01:41:30,515 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 82)
2011-07-28 01:41:30,516 DEBUG [VideoDAOImpl] Reading a Video (id = 82)
2011-07-28 01:41:30,516 DEBUG [VideoDeliveryEngine] Delivering item '82' for client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-07-28 01:41:30,516 DEBUG [VideoDeliveryEngine] Delivering file 'Little.Black.Dress.2010.DVDrip.x264-ELITE1.mkv' using transcoding
2011-07-28 01:41:30,516 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-07-28 01:41:30,517 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Little.Black.Dress.2010.DVDrip.x264-ELITE1.mkv: AVC_TS_MP_HD_AAC_MULT5_ISO
2011-07-28 01:41:30,517 DEBUG [AbstractTranscodingDeliveryEngine] Transcoded file '/tmp/Serviio/transcoding-temp-82-MPEG2TS.stf' is complete, sending simple stream
2011-07-28 01:41:30,517 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 82) as read
2011-07-28 01:41:30,530 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-07-28 01:41:30,531 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 9000000000
2011-07-28 01:41:30,531 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2011-07-28 01:41:30,531 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-07-28 01:41:30,531 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Wed, 27 Jul 2011 17:41:30 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/0.5.2,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2011-07-28 01:41:32,067 DEBUG [WebServer] I/O error: Broken pipe
2011-07-28 01:41:42,433 DEBUG [WebServer] I/O error: Broken pipe
2011-07-28 01:41:43,377 DEBUG [WebServer] Incoming connection from /192.168.10.241:21840
2011-07-28 01:41:43,378 DEBUG [ResourceTransportRequestHandler] GET /resource/35/COVER_IMAGE HTTP/1.1, headers = [User-Agent: Panasonic MIL DLNA CP UPnP/1.0 DLNADOC/1.50,Host: 192.168.10.223:8895,transferMode.dlna.org: Interactive]]
2011-07-28 01:41:43,378 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.241
2011-07-28 01:41:43,379 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-07-28 01:41:43,379 DEBUG [ResourceTransportRequestHandler] Request for resource 35 and type 'COVER_IMAGE' received
2011-07-28 01:41:43,379 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 35)
2011-07-28 01:41:43,380 DEBUG [CoverImageRetrievalStrategy] Retrieving Cover image with id 35
2011-07-28 01:41:43,380 DEBUG [ResourceTransportRequestHandler] Entity will be consumed till the end
2011-07-28 01:41:43,380 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: -1
2011-07-28 01:41:43,380 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-07-28 01:41:43,380 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: image/jpeg,Date: Wed, 27 Jul 2011 17:41:43 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/0.5.2,Cache-control: no-cache,transferMode.dlna.org: Interactive]]
2011-07-28 01:41:43,398 DEBUG [WebServer] Incoming connection from /192.168.10.241:30763
2011-07-28 01:41:43,399 DEBUG [ResourceTransportRequestHandler] GET /resource/60/COVER_IMAGE HTTP/1.1, headers = [User-Agent: Panasonic MIL DLNA CP UPnP/1.0 DLNADOC/1.50,Host: 192.168.10.223:8895,transferMode.dlna.org: Interactive]]
2011-07-28 01:41:43,399 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.241
2011-07-28 01:41:43,400 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.241, Profile=Panasonic Viera'
2011-07-28 01:41:43,400 DEBUG [ResourceTransportRequestHandler] Request for resource 60 and type 'COVER_IMAGE' received
2011-07-28 01:41:43,400 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 60)
2011-07-28 01:41:43,401 DEBUG [CoverImageRetrievalStrategy] Retrieving Cover image with id 60
2011-07-28 01:41:43,401 DEBUG [ResourceTransportRequestHandler] Entity will be consumed till the end
2011-07-28 01:41:43,401 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: -1
2011-07-28 01:41:43,401 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-07-28 01:41:43,401 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: image/jpeg,Date: Wed, 27 Jul 2011 17:41:43 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/0.5.2,Cache-control: no-cache,transferMode.dlna.org: Interactive]]
2011-07-28 01:41:43,427 DEBUG [WebServer] Incoming connection from /192.168.10.241:31781


  Code:
ffmpeg -i Little.Black.Dress.2010.DVDrip.x264-ELITE1.mkv
ffmpeg version N-31641-g788d839, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 27 2011 03:06:43 with gcc 4.4.3
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-libmp3lame --enable-libvpx
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  9. 0 / 53.  9. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 27. 3 /  2. 27. 3
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[matroska,webm @ 0x987a380] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from 'Little.Black.Dress.2010.DVDrip.x264-ELITE1.mkv':
  Metadata:
    title           : Little Black Dress 2011 720p HDR WMV-HDiND
  Duration: 01:47:48.54, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264 (High), yuv420p, 1280x544 [PAR 1:1 DAR 40:17], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0.1: Audio: aac, 48000 Hz, stereo, s16 (default)
At least one output file must be specified


  Code:
2011-07-28 01:39:30,532 DEBUG [ProcessExecutor] Starting ffmpeg -i /raid2/M7/video/Little.Black.Dress.2010.DVDrip.x264-ELITE1.mkv -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec copy -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-82-MPEG2TS.stf
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Wed Jul 27, 2011 7:53 pm

Re: transcoding works but subtitle not and vice versa

limitation of the TV.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

abubin

Serviio lover

Posts: 80

Joined: Tue Jul 26, 2011 3:54 pm

Post Thu Jul 28, 2011 6:31 am

Re: transcoding works but subtitle not and vice versa

ahh...dang..I expected as much.

Thanks for the confirmation.

edit: BTW, is this something that can be fixed using firmware? If it can be fixed, then I want to send an email to Panasonic to request them fix the problem or add the feature.
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Thu Jul 28, 2011 11:32 am

Re: transcoding works but subtitle not and vice versa

abubin wrote:ahh...dang..I expected as much.

Thanks for the confirmation.

edit: BTW, is this something that can be fixed using firmware? If it can be fixed, then I want to send an email to Panasonic to request them fix the problem or add the feature.


maybe you'd have to ask them..
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

abubin

Serviio lover

Posts: 80

Joined: Tue Jul 26, 2011 3:54 pm

Post Thu Jul 28, 2011 4:48 pm

Re: transcoding works but subtitle not and vice versa

I have another question regarding this transcoding thingie.

If I read the profiles correctly, I am guessing that for video format that is not supported by the TV (such as MKV), Serviio will transcode it to MPEG2 (video DVD) format. That is why when I press the "I-II" button, I see a video menu instead of the one displayed when playing avi files. When playing AVI files, I press "I-II" and I can select to view external subtitle. So far am I correct?

If I am correct, then would it be possible to transcode the unsupported videos into AVI? That way, perhaps I can get subtitles displaying? Comments?
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Thu Jul 28, 2011 5:50 pm

Re: transcoding works but subtitle not and vice versa

abubin wrote:I have another question regarding this transcoding thingie.

If I read the profiles correctly, I am guessing that for video format that is not supported by the TV (such as MKV), Serviio will transcode it to MPEG2 (video DVD) format. That is why when I press the "I-II" button, I see a video menu instead of the one displayed when playing avi files. When playing AVI files, I press "I-II" and I can select to view external subtitle. So far am I correct?

If I am correct, then would it be possible to transcode the unsupported videos into AVI? That way, perhaps I can get subtitles displaying? Comments?


no there is only certain containers we can transcode into.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging

Return to Panasonic

Who is online

Users browsing this forum: No registered users and 12 guests

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