Unsupported video codec on PS-51D6900?
I am owner of the PS-51D6900 Plasma TV, running Serviio on W7 64bit platform.
This is a standard profile settings which are provided in the final release of Serviio:
- Code:
<Profile id="7" name="Samsung TV / player (C/D-series)" extendsProfileId="2">
<Detection>
<UPnPSearch>
<FriendlyName>(^TV-\d{2}C\d{3}.*)|(^\[TV\][A-Z]{2}\d{2}D\d{3}.*)</FriendlyName>
<ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
</UPnPSearch>
<HttpHeaders>
<!-- for BD players -->
<User-Agent>(.*SEC_HHP_BD-[CD].*)|(.*SEC_HHP_\[HT\][CD].*)</User-Agent>
</HttpHeaders>
</Detection>
<DeviceDescription>
<ExtraElements>
<sec:ProductCap>smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec</sec:ProductCap>
<sec:X_ProductCap>smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec</sec:X_ProductCap>
</ExtraElements>
</DeviceDescription>
<ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.SamsungContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>
<Transcoding>
<!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192">
<Matches container="avi" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="avi" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="mpeg4" aCodec="lpcm" />
</Video>
<!-- transcode H264 MP4 files with LPCM audio -->
<Video targetContainer="mpegts" targetACodec="ac3">
<Matches container="mpegts" aCodec="mp2" />
<Matches container="mp4" aCodec="lpcm" />
<Matches container="flv" vCodec="h264" />
<Matches container="matroska" vCodec="h264" aCodec="flac" />
<Matches container="matroska" vCodec="h264" aCodec="vorbis" />
<Matches container="matroska" vCodec="vc1" />
<Matches container="ogg" vCodec="mpeg4" />
<Matches container="3gp" aCodec="amrnb" />
</Video>
<!-- transcode MKV with MPEG2 video, remux into mpeg2ts -->
<!-- transcode AVI with AVC video -->
<Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
<Matches container="matroska" vCodec="mpeg2video" />
<Matches container="avi" vCodec="h264" />
<Matches container="avi" vCodec="mjpeg" />
<Matches container="avi" vCodec="dvvideo" />
<Matches container="flv" />
<Matches container="ogg" />
</Video>
<!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
<Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true">
<Matches container="asf" vCodec="mpeg2video" />
</Video>
<Video targetContainer="mpegts">
<Matches container="wtv" />
</Video>
<!-- transcode audio only for wmv with wmapro -->
<Video targetContainer="asf" targetACodec="ac3" aBitrate="256">
<Matches container="asf" aCodec="wmapro" />
</Video>
<Audio targetContainer="lpcm">
<Matches container="mp4" />
<Matches container="flac" />
<Matches container="ogg" />
</Audio>
</Transcoding>
</Profile>
This is ffmpeg stats for file which is played fine on my TV (without transcoding!)
- Code:
E:\Movies HD>lib\ffmpeg.exe" -i "Blade I Uncut (HD DVD 720p, H264, AC3, Rus Goblin).mkv"
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 14 2011 23:37:53 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --en
able-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='-lrtmp -lpolarssl -l
ws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enable-pthreads --target-os=mingw3
2 --cross-prefix=i686-mingw32- --pkg-config=pkg-config
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 25. 0 / 2. 25. 0
libswscale 2. 0. 0 / 2. 0. 0
[matroska,webm @ 016d8f60] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from 'Blade I Uncut (HD DVD 720p, H264, AC3, Rus Goblin).mkv':
Duration: 02:00:14.52, start: 0.000000, bitrate: 384 kb/s
Stream #0.0(eng): Video: h264 (High), yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 fps,
23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0.1(rus): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s (default)
Metadata:
title : Goblin
At least one output file must be specified
Debug output (this file doesn't require transcoding):
- Code:
2011-12-17 03:09:58,528 DEBUG [VideoDeliveryEngine] Delivering file 'Blade I Uncut (HD DVD 720p, H264, AC3, Rus Goblin).mkv' in native format
2011-12-17 03:09:58,661 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/x-mkv,Content-Range: bytes 5549-4695732838/4695732839,Content-Length: 4695727290,Date: Sat, 17 Dec 2011 01:09:58 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.0.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MATROSKA;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming]]
This are ffmpeg stats for file which report "Unrecognized video codec" on my TV and could not be played. Moreover, according to debug stats it goes through transcoding while previous one being almost identical does not.
- Code:
E:\Movies HD>erviio\lib\ffmpeg.exe" -i "Aliens (HDRip 720p, H264, AC3-AAC, Rus-Eng).mkv"
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 14 2011 23:37:53 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --en
able-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='-lrtmp -lpolarssl -l
ws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enable-pthreads --target-os=mingw3
2 --cross-prefix=i686-mingw32- --pkg-config=pkg-config
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 25. 0 / 2. 25. 0
libswscale 2. 0. 0 / 2. 0. 0
[matroska,webm @ 01378f60] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from 'Aliens (HDRip 720p, H264, AC3-AAC, Rus-Eng).mkv':
Duration: 02:17:01.17, start: 0.000000, bitrate: 384 kb/s
Stream #0.0: Video: h264 (High), yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 fps, 23.98
tbr, 1k tbn, 47.95 tbc (default)
Stream #0.1(rus): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s (default)
Stream #0.2(eng): Audio: aac, 48000 Hz, 5.0, s16
At least one output file must be specified
Debug output:
- Code:
--- cut for brevity ---
2011-12-17 03:09:55,128 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file Aliens (HDRip 720p, H264, AC3-AAC, Rus-Eng).mkv
2011-12-17 03:10:05,106 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Aliens (HDRip 720p, H264, AC3-AAC, Rus-Eng).mkv: MPEG_TS_SD_EU_ISO
2011-12-17 03:10:05,106 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Aliens (HDRip 720p, H264, AC3-AAC, Rus-Eng).mkv: MPEG_TS_SD_NA_ISO
2011-12-17 03:10:05,106 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Aliens (HDRip 720p, H264, AC3-AAC, Rus-Eng).mkv: MPEG_TS_SD_KO_ISO
2011-12-17 03:09:54,237 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,TimeSeekRange.dlna.org: npt=0.0-8221.0/8221,Content-Length: 50000000000,Date: Sat, 17 Dec 2011 01:09:54 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.0.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_TS_SD_KO_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming,MediaInfo.sec: SEC_Duration=8221000;]]
2011-12-17 03:09:53,717 DEBUG [ProcessExecutor] Starting C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe -i E:\Movies HD\Aliens (HDRip 720p, H264, AC3-AAC, Rus-Eng).mkv -y -threads 4 -vcodec mpeg2video -sameq -r 24000/1001 -g 15 -copyts -acodec copy -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-29370-MPEG2TS.stf
--- cut for brevity ---
Could you please point me into the right direction to solve this? Both files looks identical to me from the video codec perspective. Thus, I do not understand what must be added to the profile of C/D series TV to make it work. Both are Matroska/MKV/H264/High Profile 5.1/720p...
So, why one file is played ok while other doesn't, reporting there's a problem with video codec????
MediaInfo files are attached for both movies.