Cannot Playback .ts file from Mac to Sony Bravia
I've recently started experimenting with Serviio - and I'm very impressed so far! Thanks to all those who have made it possible.
I'm running Serviio 0.5 on Mac OS X 10.6.6 into a Sony Bravia KDL-32EX403 via a wired home router connection; so far, the Bravia sees Serviio, and I appear to be able to play back H.264 / AAC files onto the Bravia successfully.
I was also hoping to play back some .ts files, saved from my Humax PVR-9200 DVB PVR machine; although the Bravia recognises the files (and displays an 'MPEG2' badge next to them), attempting to play them back results in a black screen and no audio output.
Please can you help me set this up?
Here is the result of ffmpeg for a sample file:
- Code:
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 12 2011 19:51:48 with gcc 4.0.1 (Apple Inc. build 5493)
configuration: --enable-static --disable-shared --bindir=/tmp/ffmpeg --disable-ffplay --disable-ffserver --enable-libmp3lame --enable-pthreads --disable-mmx --extra-ldflags=-L/tmp/static/lib --extra-cflags=-I/tmp/static/include
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
[mpeg2video @ 0x102ca00] mpeg_decode_postinit() failure
Last message repeated 1 times
[mpegts @ 0x1009600] max_analyze_duration reached
[NULL @ 0x1030200] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x1033a00] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x1035600] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x1037200] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x1038e00] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x103aa00] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x103c600] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x103e200] start time is not set in av_estimate_timings_from_pts
Input #0, mpegts, from '/Volumes/500GB FreeAgent HD/Humax/009_2010Dec04_2211_QI_XL.ts':
Duration: 00:45:12.18, start: 66579.257456, bitrate: 3240 kb/s
Program 4671
Program 4479
Program 4415
Program 4351
Program 4228
Stream #0.0[0x262]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x263](eng): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
Stream #0.2[0x264](eng): Audio: mp3, 0 channels, s16
Stream #0.3[0x267](eng): Subtitle: dvbsub
Stream #0.4[0x26b]: Data: [5][0][0][0] / 0x0005
Stream #0.5[0x28a]: Data: [11][0][0][0] / 0x000B
Stream #0.6[0x28b]: Data: [11][0][0][0] / 0x000B
Stream #0.7[0x28c]: Data: [11][0][0][0] / 0x000B
Stream #0.8[0x3f0]: Data: [11][0][0][0] / 0x000B
Stream #0.9[0x3f1]: Data: [11][0][0][0] / 0x000B
Stream #0.10[0x3f2]: Data: [11][0][0][0] / 0x000B
Program 4164
At least one output file must be specified
And here's the output from the DEBUG log:
- Code:
2011-02-03 23:07:33,401 DEBUG [WebServer] Incoming connection from /192.168.1.11:53207
2011-02-03 23:07:33,401 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.11:
2011-02-03 23:07:33,402 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.11
2011-02-03 23:07:33,409 DEBUG [ContentDirectory] Browse() called for profile Sony Bravia TV with parameters: objectID = 0, browseFlag = BrowseDirectChildren, filter = dc:title,av:mediaClass,dc:date,@childCount,res,upnp:class,res@resolution,upnp:album,upnp:genre,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID,dc:creator,res@size,res@duration,res@bitrate,res@protocolInfo, startIndex = 0, count = 10, sortCriteria =
2011-02-03 23:07:33,409 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2011-02-03 23:07:33,414 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2011-02-03 23:07:35,396 DEBUG [WebServer] Incoming connection from /192.168.1.11:53208
2011-02-03 23:07:35,397 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.11:
2011-02-03 23:07:35,397 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.11
2011-02-03 23:07:35,414 DEBUG [ContentDirectory] Browse() called for profile Sony Bravia TV with parameters: objectID = V, browseFlag = BrowseDirectChildren, filter = dc:title,av:mediaClass,dc:date,@childCount,res,upnp:class,res@resolution,upnp:album,upnp:genre,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID,dc:creator,res@size,res@duration,res@bitrate,res@protocolInfo, startIndex = 0, count = 10, sortCriteria =
2011-02-03 23:07:35,414 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2011-02-03 23:07:35,423 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2011-02-03 23:07:37,609 DEBUG [WebServer] Incoming connection from /192.168.1.11:53209
2011-02-03 23:07:37,616 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.11:
2011-02-03 23:07:37,617 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.11
2011-02-03 23:07:37,621 DEBUG [ContentDirectory] Browse() called for profile Sony Bravia TV with parameters: objectID = V_F, browseFlag = BrowseDirectChildren, filter = dc:title,av:mediaClass,dc:date,@childCount,res,upnp:class,res@resolution,upnp:album,upnp:genre,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID,dc:creator,res@size,res@duration,res@bitrate,res@protocolInfo, startIndex = 0, count = 10, sortCriteria =
2011-02-03 23:07:37,621 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2011-02-03 23:07:37,624 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2011-02-03 23:07:38,873 DEBUG [WebServer] Incoming connection from /192.168.1.11:53210
2011-02-03 23:07:38,874 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.11:
2011-02-03 23:07:38,874 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.11
2011-02-03 23:07:38,879 DEBUG [ContentDirectory] Browse() called for profile Sony Bravia TV with parameters: objectID = V_F#FOL_R2, browseFlag = BrowseDirectChildren, filter = dc:title,av:mediaClass,dc:date,@childCount,res,upnp:class,res@resolution,upnp:album,upnp:genre,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID,dc:creator,res@size,res@duration,res@bitrate,res@protocolInfo, startIndex = 0, count = 10, sortCriteria =
2011-02-03 23:07:38,879 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2011-02-03 23:07:38,918 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2011-02-03 23:07:39,077 DEBUG [WebServer] Incoming connection from /192.168.1.11:53211
2011-02-03 23:07:39,079 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.11:
2011-02-03 23:07:39,079 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.11
2011-02-03 23:07:39,084 DEBUG [ContentDirectory] Browse() called for profile Sony Bravia TV with parameters: objectID = V_F#FOL_R2, browseFlag = BrowseDirectChildren, filter = dc:title,av:mediaClass,dc:date,@childCount,res,upnp:class,res@resolution,upnp:album,upnp:genre,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID,dc:creator,res@size,res@duration,res@bitrate,res@protocolInfo, startIndex = 10, count = 10, sortCriteria =
2011-02-03 23:07:39,084 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2011-02-03 23:07:39,108 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2011-02-03 23:07:48,269 DEBUG [WebServer] Incoming connection from /192.168.1.11:53212
2011-02-03 23:07:48,270 DEBUG [ResourceTransportRequestHandler] HEAD /resource/210/MEDIA_ITEM/MPEG_TS_SD_NA_ISO HTTP/1.1, headers = [getcontentFeatures.dlna.org: 1,Pragma: getIfoFileURI.dlna.org,transferMode.dlna.org: Streaming,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-32EX403";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-32EX403"; mv="1.7";,Host: 192.168.1.10:8895]]
2011-02-03 23:07:48,270 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.11
2011-02-03 23:07:48,271 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.11, Profile=Sony Bravia TV'
2011-02-03 23:07:48,271 DEBUG [ResourceTransportRequestHandler] Request for resource 210 and type 'MEDIA_ITEM' received
2011-02-03 23:07:48,271 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 210)
2011-02-03 23:07:48,272 DEBUG [VideoDAOImpl] Reading a Video (id = 210)
2011-02-03 23:07:48,273 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 210, format MPEG_TS_SD_NA_ISO and profile Sony Bravia TV
2011-02-03 23:07:48,273 DEBUG [ResourceTransportRequestHandler] Sending HEAD response back
2011-02-03 23:07:48,273 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Content-Length: 1098573824,Date: Thu, 03 Feb 2011 23:07:48 GMT,Server: Mac OS X, UPnP/1.0 DLNADOC/1.50, Serviio/0.5,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_TS_SD_NA_ISO;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming]]
2011-02-03 23:07:48,290 DEBUG [WebServer] Incoming connection from /192.168.1.11:53213
2011-02-03 23:07:48,290 DEBUG [ResourceTransportRequestHandler] GET /resource/210/MEDIA_ITEM/MPEG_TS_SD_NA_ISO HTTP/1.1, headers = [Range: bytes=0-,getcontentFeatures.dlna.org: 1,Pragma: getIfoFileURI.dlna.org,transferMode.dlna.org: Streaming,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-32EX403";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-32EX403"; mv="1.7";,Host: 192.168.1.10:8895]]
2011-02-03 23:07:48,291 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.11
2011-02-03 23:07:48,291 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.11, Profile=Sony Bravia TV'
2011-02-03 23:07:48,292 DEBUG [ResourceTransportRequestHandler] Request for resource 210 and type 'MEDIA_ITEM' received
2011-02-03 23:07:48,292 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 210)
2011-02-03 23:07:48,292 DEBUG [VideoDAOImpl] Reading a Video (id = 210)
2011-02-03 23:07:48,293 DEBUG [VideoDeliveryEngine] Delivering item '210' for client 'IPAddress=/192.168.1.11, Profile=Sony Bravia TV'
2011-02-03 23:07:48,293 DEBUG [VideoDeliveryEngine] Delivering file '009_2010Dec04_2211_QI_XL.ts' in native format
2011-02-03 23:07:48,294 DEBUG [MediaItemDAOImpl] Getting file of media item 210
2011-02-03 23:07:48,295 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 210) as read
2011-02-03 23:07:48,299 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-02-03 23:07:48,299 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 1098573824
2011-02-03 23:07:48,300 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-02-03 23:07:48,300 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/mpeg,Content-Range: bytes 0-1098573823/1098573824,Content-Length: 1098573824,Date: Thu, 03 Feb 2011 23:07:48 GMT,Server: Mac OS X, UPnP/1.0 DLNADOC/1.50, Serviio/0.5,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_TS_SD_NA_ISO;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming]]
2011-02-03 23:07:51,500 DEBUG [WebServer] I/O error: Broken pipe
2011-02-03 23:07:51,504 DEBUG [WebServer] Incoming connection from /192.168.1.11:53214
2011-02-03 23:07:51,504 DEBUG [ResourceTransportRequestHandler] GET /resource/210/MEDIA_ITEM/MPEG_TS_SD_NA_ISO HTTP/1.1, headers = [Range: bytes=38453056-,getcontentFeatures.dlna.org: 1,Pragma: getIfoFileURI.dlna.org,transferMode.dlna.org: Streaming,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-32EX403";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-32EX403"; mv="1.7";,Host: 192.168.1.10:8895]]
2011-02-03 23:07:51,505 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.11
2011-02-03 23:07:51,505 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.11, Profile=Sony Bravia TV'
2011-02-03 23:07:51,505 DEBUG [ResourceTransportRequestHandler] Request for resource 210 and type 'MEDIA_ITEM' received
2011-02-03 23:07:51,506 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 210)
2011-02-03 23:07:51,506 DEBUG [VideoDAOImpl] Reading a Video (id = 210)
2011-02-03 23:07:51,507 DEBUG [VideoDeliveryEngine] Delivering item '210' for client 'IPAddress=/192.168.1.11, Profile=Sony Bravia TV'
2011-02-03 23:07:51,507 DEBUG [VideoDeliveryEngine] Delivering file '009_2010Dec04_2211_QI_XL.ts' in native format
2011-02-03 23:07:51,507 DEBUG [MediaItemDAOImpl] Getting file of media item 210
2011-02-03 23:07:51,509 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 1060120768
2011-02-03 23:07:51,509 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-02-03 23:07:51,509 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/mpeg,Content-Range: bytes 38453056-1098573823/1098573824,Content-Length: 1060120768,Date: Thu, 03 Feb 2011 23:07:51 GMT,Server: Mac OS X, UPnP/1.0 DLNADOC/1.50, Serviio/0.5,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_TS_SD_NA_ISO;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming]]
2011-02-03 23:07:59,429 DEBUG [WebServer] I/O error: Broken pipe
2011-02-03 23:08:05,260 DEBUG [ActionsServerResource] Action with name 'stopServer' was requested
2011-02-03 23:08:05,261 DEBUG [DiscoveryManager] UPNP device 8dee68fe-0370-3fc8-a5f5-ae4a1fb10a65 (192.168.1.10) is unavailable
2011-02-03 23:08:05,261 DEBUG [WebServer] Socket closed
2011-02-03 23:08:05,261 INFO [DiscoveryAdvertisementNotifier] Leaving DiscoveryAdvertisementNotifier
2011-02-03 23:08:05,261 INFO [WebServer] WebServer shutting down
2011-02-03 23:08:05,263 INFO [EventSubscriptionExpirationChecker] Leaving EventSubscriptionExpirationChecker, removing all event subscriptions
2011-02-03 23:08:05,263 INFO [EventDispatcher] Leaving EventDispatcher
2011-02-03 23:08:05,266 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP byebye using interface vnic1 (vnic1) and address 10.37.129.2, timeout = 0
2011-02-03 23:08:05,268 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP byebye using interface vnic0 (vnic0) and address 10.211.55.2, timeout = 0
2011-02-03 23:08:05,358 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP byebye using interface en0 (en0) and address claudia-x.home, timeout = 0
2011-02-03 23:08:05,360 INFO [DiscoverySSDPMessageListener] Leaving DiscoverySSDPMessageListener
2011-02-03 23:08:05,748 INFO [RendererExpirationChecker] Leaving RendererExpirationChecker
2011-02-03 23:08:10,495 DEBUG [ActionsServerResource] Action with name 'exitServiio' was requested
2011-02-03 23:08:10,498 INFO [LibraryAdditionsCheckerThread] Finished looking for newly added files
2011-02-03 23:08:10,700 INFO [DatabaseManager] Shutting down database
2011-02-03 23:08:10,701 DEBUG [DBConnectionPool] Closed connection for pool Serviio DB Pool
2011-02-03 23:08:10,701 DEBUG [DBConnectionPool] Closed connection for pool Serviio DB Pool
2011-02-03 23:08:10,701 DEBUG [DBConnectionPool] Closed connection for pool Serviio DB Pool
2011-02-03 23:08:10,702 DEBUG [DBConnectionPool] Closed connection for pool Serviio DB Pool
2011-02-03 23:08:10,702 DEBUG [DBConnectionPool] Closed connection for pool Serviio DB Pool
2011-02-03 23:08:10,737 DEBUG [DatabaseManager] DB shutdown returned: Derby system shutdown.
2011-02-03 23:08:10,737 INFO [VideoDeliveryEngine] Cleaning transcode engine and its data
2011-02-03 23:08:10,737 DEBUG [VideoDeliveryEngine] Deleting temporary transcoded files from: /var/folders/iQ/iQ4Sullk2RWewE+8ZME0bU+++TI/-Tmp-/Serviio
The KDL-32EX403 is running software PKG4.089EUL-0108.
If you can offer any guidance to help, I'd be really grateful!
Many thanks,
Pants.