"The data type is not supported"
"The data type is not supported"
If I change the playstation profile to the following, the .MKV" file plays with no errors:
From:
<Video targetContainer="mpegts" targetACodec="ac3">
To:
<Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
The problem is: I really do not want to transcode the file from x264 to MPEG2, because the movie is unwatchable (choppy), due to it stopping every three seconds. I want to play x264 ".MKV" files natively on the Playstation. Today, I downloaded a few more ".MKV" files and they play natively and do not require transcoding. Why do these .MKV" files play x264 natively and most of my other ".MKV" files need to be transcoded to MPEG2?
Is there something I'm missing (other than my brain - LOL)?
The following is my "Serviio.log" file (in DEBUG mode) after playing the "Crazy.Heart.2009.1080p.BluRay.x264.DTS-WiKi.mkv" file:
--------------------------------------------------------------------------------------------------------------------
2011-09-29 16:40:45,963 DEBUG [WebServer] Incoming connection from /192.168.1.123:57221
2011-09-29 16:40:45,967 DEBUG [ResourceTransportRequestHandler] GET /resource/1028/MEDIA_ITEM/AVC_TS_MP_HD_AC3_ISO$0 HTTP/1.1, headers = [Host: 192.168.1.247:8895,User-Agent: PLAYSTATION 3,Connection: Keep-Alive,Accept-Encoding: identity,transferMode.dlna.org: Streaming,TimeSeekRange.dlna.org: npt=0.000-]]
2011-09-29 16:40:45,967 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.123
2011-09-29 16:40:45,968 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.123, Profile=Playstation 3'
2011-09-29 16:40:45,968 DEBUG [ResourceTransportRequestHandler] Request for resource 1028 and type 'MEDIA_ITEM' received
2011-09-29 16:40:45,968 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1028)
2011-09-29 16:40:45,969 DEBUG [VideoDAOImpl] Reading a Video (id = 1028)
2011-09-29 16:40:45,970 DEBUG [VideoDeliveryEngine] Delivering item '1028' for client 'IPAddress=/192.168.1.123, Profile=Playstation 3'
2011-09-29 16:40:45,970 DEBUG [VideoDeliveryEngine] Delivering file 'Crazy.Heart.2009.1080p.BluRay.x264.DTS-WiKi.mkv' using transcoding
2011-09-29 16:40:45,988 DEBUG [AbstractTranscodingDeliveryEngine] Stopping previous transcoding job of file '/mnt/Media/var/tmp/Serviio/transcoding-temp-1042-MPEG2TS.stf'
2011-09-29 16:40:45,988 DEBUG [ProcessExecutor] Stopping external process: Thread[Thread-1331,5,main]
2011-09-29 16:40:45,988 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2011-09-29 16:40:45,990 WARN [OutputTextReader] Error reading output of an external command:Bad file descriptor
2011-09-29 16:40:45,994 DEBUG [AbstractTranscodingDeliveryEngine] Deleted temp file '/mnt/Media/var/tmp/Serviio/transcoding-temp-1042-MPEG2TS.stf': true
2011-09-29 16:40:45,994 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.1.123, Profile=Playstation 3'
2011-09-29 16:40:45,994 DEBUG [MediaItemDAOImpl] Getting file of media item 1028
2011-09-29 16:40:45,996 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /mnt/Media/Movies/DTS/Core (1.5Mbps)/Crazy.Heart.2009.1080p.BluRay.x264.DTS-WiKi/Crazy.Heart.2009.1080p.BluRay.x264.DTS-WiKi.mkv
2011-09-29 16:40:45,997 DEBUG [ProcessExecutor] Starting ffmpeg -i /mnt/Media/Movies/DTS/Core (1.5Mbps)/Crazy.Heart.2009.1080p.BluRay.x264.DTS-WiKi/Crazy.Heart.2009.1080p.BluRay.x264.DTS-WiKi.mkv -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec ac3 -ab 192k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /mnt/Media/var/tmp/Serviio/transcoding-temp-1028-MPEG2TS.stf
2011-09-29 16:40:46,848 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface em0 (em0) and address 192.168.1.247, timeout = 0
2011-09-29 16:40:46,849 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device 7e77d808-59f9-342a-8af9-5da50f774213
2011-09-29 16:40:47,647 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Crazy.Heart.2009.1080p.BluRay.x264.DTS-WiKi.mkv: AVC_TS_MP_HD_AC3_ISO
2011-09-29 16:40:47,648 DEBUG [AbstractTranscodingDeliveryEngine] Sending transcoding stream
2011-09-29 16:40:47,648 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 1028) as read
2011-09-29 16:40:48,028 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-09-29 16:40:48,029 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 9000000000
2011-09-29 16:40:48,029 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2011-09-29 16:40:48,029 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-09-29 16:40:48,029 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,TimeSeekRange.dlna.org: npt=0.0-6697.0/6697,Date: Thu, 29 Sep 2011 16:40:48 GMT,Server: FreeBSD, UPnP/1.0 DLNADOC/1.50, Serviio/0.5.2,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2011-09-29 16:40:48,515 DEBUG [WebServer] I/O error: Broken pipe
2011-09-29 16:40:48,708 DEBUG [WebServer] Incoming connection from /192.168.1.123:57220
2011-09-29 16:40:48,709 DEBUG [DeviceDescriptionRequestHandler] DeviceDescription request received for device 7e77d808-59f9-342a-8af9-5da50f774213 from 192.168.1.123 (headers = [Host: 192.168.1.247:8895,Date: Thu, 29 Sep 2011 16:44:24 GMT,User-Agent: UPnP/1.0,X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";])
2011-09-29 16:40:48,709 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.123
2011-09-29 16:40:48,710 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.123
2011-09-29 16:40:48,714 DEBUG [DeviceDescriptionRequestHandler] Sending DeviceDescription XML back using profile 'Playstation 3'
2011-09-29 16:40:48,827 DEBUG [DiscoveryAdvertisementNotifier] Will advertise again in 00:01:25
--------------------------------------------------------------------------------------------------------------------
The following are the results of a manually executed "ffmpeg" against the "Crazy.Heart.2009.1080p.BluRay.x264.DTS-WiKi.mkv" file.
ffmpeg -i "/mnt/Media/Movies/DTS/Core (1.5Mbps)/Crazy.Heart.2009.1080p.BluRay.x264.DTS-WiKi"
ffmpeg version 0.7.1, Copyright (c) 2000-2011 the FFmpeg developers
built on Aug 5 2011 08:24:08 with gcc 4.2.1 20070719 [FreeBSD]
configuration: --prefix=/usr/local --mandir=/usr/local/man --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-memalign-hack --enable-runtime-cpudetect --cc=cc --extra-cflags='-I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug --disable-sse --disable-mmx --disable-indev=alsa --disable-outdev=alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libcelt --disable-libdirac --disable-libfaac --enable-libfreetype --enable-frei0r --disable-libgsm --disable-libmp3lame --enable-libopencv --disable-libopenjpeg --disable-librtmp --enable-libschroedinger --disable-ffplay --disable-libspeex --enable-libtheora --disable-vaapi --disable-vdpau --disable-libvo-aacenc --disable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid
libavutil 50. 43. 0 / 50. 43. 0
libavcodec 52.122. 0 / 52.122. 0
libavformat 52.110. 0 / 52.110. 0
libavdevice 52. 5. 0 / 52. 5. 0
libavfilter 1. 80. 0 / 1. 80. 0
libswscale 0. 14. 1 / 0. 14. 1
libpostproc 51. 2. 0 / 51. 2. 0
/mnt/Media/Movies/DTS/Core (1.5Mbps)/Crazy.Heart.2009.1080p.BluRay.x264.DTS-WiKi: Invalid data found when processing input
Note: The "Core (1.5Mbps)" directory has spaces in it, so the path is encapsulated in quotes (above)
--------------------------------------------------------------------------------------------------------------------
