FAQ  •  Register  •  Login

[SOLVED] PS3 .mkv file h264/AVC?

<<

femxiii

Serviio newbie

Posts: 1

Joined: Thu Oct 25, 2012 4:01 pm

Post Thu Oct 25, 2012 4:37 pm

[SOLVED] PS3 .mkv file h264/AVC?

Hello everyone!

I am having some trouble playing these specific mkv files on my Playstation 3, it tries to play but just pops up saying "The data type is not supported". I have not changed anything from the default profiles.

I have manged to get around this for now by adding <Matches container="matroska" vCodec="h264" /> to the PlayStation profile (as shown below), but from what I guess, now I'm transcoding all h264 files and I shouldn't really need to right?

  Code:
         
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.1" />
            <Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.1" />
            <Matches container="avi" vCodec="dvvideo" />
            <Matches container="matroska" vCodec="vp8" />
                                <Matches container="matroska" vCodec="h264" /> <!-- This line fixes the problem -->
</Video>


I've tried to include all the information I can here:

Mediainfo
  Code:
General
Complete name                            : N:\mediastore\TV\True.Blood.S04.720p.BluRay.X264-REWARD\True.Blood.S04.720p.BluRay.X264-REWARD\True.Blood.S04E07.720p.BluRay.X264-REWARD.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 2.65 GiB
Duration                                 : 57mn 51s
Overall bit rate                         : 6 549 Kbps
Writing application                      : x264.exe
Writing library                          : mkv2rls v1.4 (date: 2011 mar 29)

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 57mn 51s
Bit rate                                 : 5 033 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.228
Stream size                              : 1.98 GiB (75%)
Writing library                          : x264 core 124 r2197 69a0443
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=5033 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Mode                                     : 16
Format settings, Endianness              : Big
Codec ID                                 : A_DTS
Duration                                 : 57mn 51s
Bit rate mode                            : Constant
Bit rate                                 : 1 509 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossy
Stream size                              : 624 MiB (23%)
Language                                 : English
Default                                  : Yes
Forced                                   : No

Text #1
ID                                       : 3
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : English
Default                                  : Yes
Forced                                   : No

Text #2
ID                                       : 4
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : English
Default                                  : No
Forced                                   : No

Menu
00:00:00.000                             : en:00:00:00.000
00:03:15.779                             : en:00:03:15.779
00:09:45.460                             : en:00:09:45.460
00:20:07.623                             : en:00:20:07.623
00:30:17.899                             : en:00:30:17.899
00:40:23.004                             : en:00:40:23.004
00:49:30.593                             : en:00:49:30.593
00:56:42.357                             : en:00:56:42.357



FFMPEG -i
  Code:
C:\Program Files\Serviio\lib>ffmpeg.exe -i n:\mediastore\TV\True.Blood.S04.720p.
BluRay.X264-REWARD\True.Blood.S04.720p.BluRay.X264-REWARD\True.Blood.S04E01.720p
.BluRay.X264-REWARD.mkv
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 10 2012 03:40:45 with gcc 4.6.3
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
  libavutil      51. 64.100 / 51. 64.100
  libavcodec     54. 33.100 / 54. 33.100
  libavformat    54. 15.102 / 54. 15.102
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  1.100 /  3.  1.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
Input #0, matroska,webm, from 'n:\mediastore\TV\True.Blood.S04.720p.BluRay.X264-
REWARD\True.Blood.S04.720p.BluRay.X264-REWARD\True.Blood.S04E01.720p.BluRay.X264
-REWARD.mkv':
  Duration: 00:56:15.16, start: 0.000000, bitrate: 5559 kb/s
    Chapter #0.0: start 0.000000, end 296.963000
    Metadata:
      title           : 00:00:00.000
    Chapter #0.1: start 296.963000, end 560.685000
    Metadata:
      title           : 00:04:56.963
    Chapter #0.2: start 560.685000, end 1234.233000
    Metadata:
      title           : 00:09:20.685
    Chapter #0.3: start 1234.233000, end 1798.714000
    Metadata:
      title           : 00:20:34.233
    Chapter #0.4: start 1798.714000, end 2183.515000
    Metadata:
      title           : 00:29:58.714
    Chapter #0.5: start 2183.515000, end 2764.637000
    Metadata:
      title           : 00:36:23.515
    Chapter #0.6: start 2764.637000, end 3306.595000
    Metadata:
      title           : 00:46:04.637
    Chapter #0.7: start 3306.595000, end 3375.164000
    Metadata:
      title           : 00:55:06.595
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 2
3.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), s16, 1536 kb/s (def
ault)
    Stream #0:2(eng): Subtitle: text


Debug log
  Code:
2012-10-25 17:14:27,483 DEBUG [WebServer] Incoming connection from /192.168.0.50:54585
2012-10-25 17:14:27,484 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.50
2012-10-25 17:14:27,484 DEBUG [ResourceTransportRequestHandler] GET /resource/5975/MEDIA_ITEM/AVC_TS_MP_HD_AC3_ISO-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.0.10:8895,User-Agent: PLAYSTATION 3,Connection: Keep-Alive,Accept-Encoding: identity,transferMode.dlna.org: Streaming,X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment"; mn="PLAYSTATION 3"; mv="1.0";,TimeSeekRange.dlna.org: npt=0.000-]]
2012-10-25 17:14:27,484 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.50
2012-10-25 17:14:27,484 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.0.50, Profile=Playstation 3'
2012-10-25 17:14:27,485 DEBUG [ResourceDeliveryProcessor] Request for resource 5975 and type 'MEDIA_ITEM' received
2012-10-25 17:14:27,486 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 5975 (local)
2012-10-25 17:14:27,486 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 5975)
2012-10-25 17:14:27,486 DEBUG [VideoDAOImpl] Reading a Video (id = 5975)
2012-10-25 17:14:27,487 DEBUG [VideoDeliveryEngine] Delivering item '5975' for client 'IPAddress=/192.168.0.50, Profile=Playstation 3'
2012-10-25 17:14:27,487 DEBUG [VideoDeliveryEngine] Delivering file 'True.Blood.S04E01.720p.BluRay.X264-REWARD.mkv' using transcoding
2012-10-25 17:14:27,487 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.0.50, Profile=Playstation 3'
2012-10-25 17:14:27,488 DEBUG [MediaItemDAOImpl] Getting file of media item 5975
2012-10-25 17:14:27,488 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: N:\mediastore\TV\True.Blood.S04.720p.BluRay.X264-REWARD\True.Blood.S04.720p.BluRay.X264-REWARD\True.Blood.S04E01.720p.BluRay.X264-REWARD.mkv
2012-10-25 17:14:27,488 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -fflags +genpts -i N:\mediastore\TV\True.Blood.S04.720p.BluRay.X264-REWARD\True.Blood.S04.720p.BluRay.X264-REWARD\True.Blood.S04E01.720p.BluRay.X264-REWARD.mkv -y -copyts -c:v copy -vbsf h264_mp4toannexb -c:a ac3 -b:a 384k -ac 6 -map 0:0 -map 0:1 -sn -f mpegts c:\transcode\Serviio\transcoding-temp-5975-4-ORIGINAL.stf
2012-10-25 17:14:29,222 DEBUG [FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2012-10-25 17:14:29,223 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file True.Blood.S04E01.720p.BluRay.X264-REWARD.mkv: AVC_TS_MP_HD_AC3_ISO
2012-10-25 17:14:29,223 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 5975) as read
2012-10-25 17:14:29,245 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2012-10-25 17:14:29,246 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 50000000000
2012-10-25 17:14:29,246 DEBUG [ResourceDeliveryProcessor] Sending file back
2012-10-25 17:14:29,246 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2012-10-25 17:14:29,246 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,TimeSeekRange.dlna.org: npt=0.0-3375.0/3375,Date: Thu, 25 Oct 2012 16:14:29 GMT,Server: Windows NT (unknown), UPnP/1.0 DLNADOC/1.50, Serviio/1.0.1,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2012-10-25 17:14:29,345 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:InternetGatewayDevice:1 from address /192.168.0.114:53433


FFMPEG commandline test:
  Code:
C:\Program Files\Serviio\lib>ffmpeg.exe -fflags +genpts -i N:\mediastore\TV\True
.Blood.S04.720p.BluRay.X264-REWARD\True.Blood.S04.720p.BluRay.X264-REWARD\True.B
lood.S04E01.720p.BluRay.X264-REWARD.mkv -y -copyts -c:v copy -vbsf h264_mp4toann
exb -c:a ac3 -b:a 384k -ac 6 -map 0:0 -map 0:1 -sn -f mpegts c:\transcode\Servii
o\test.stf
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 10 2012 03:40:45 with gcc 4.6.3
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
  libavutil      51. 64.100 / 51. 64.100
  libavcodec     54. 33.100 / 54. 33.100
  libavformat    54. 15.102 / 54. 15.102
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  1.100 /  3.  1.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
Input #0, matroska,webm, from 'N:\mediastore\TV\True.Blood.S04.720p.BluRay.X264-
REWARD\True.Blood.S04.720p.BluRay.X264-REWARD\True.Blood.S04E01.720p.BluRay.X264
-REWARD.mkv':
  Duration: 00:56:15.16, start: 0.000000, bitrate: 5559 kb/s
    Chapter #0.0: start 0.000000, end 296.963000
    Metadata:
      title           : 00:00:00.000
    Chapter #0.1: start 296.963000, end 560.685000
    Metadata:
      title           : 00:04:56.963
    Chapter #0.2: start 560.685000, end 1234.233000
    Metadata:
      title           : 00:09:20.685
    Chapter #0.3: start 1234.233000, end 1798.714000
    Metadata:
      title           : 00:20:34.233
    Chapter #0.4: start 1798.714000, end 2183.515000
    Metadata:
      title           : 00:29:58.714
    Chapter #0.5: start 2183.515000, end 2764.637000
    Metadata:
      title           : 00:36:23.515
    Chapter #0.6: start 2764.637000, end 3306.595000
    Metadata:
      title           : 00:46:04.637
    Chapter #0.7: start 3306.595000, end 3375.164000
    Metadata:
      title           : 00:55:06.595
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 2
3.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), s16, 1536 kb/s (def
ault)
    Stream #0:2(eng): Subtitle: text
[graph 0 input from stream 0:1 @ 030BD880] tb:1/48000 samplefmt:s16 samplerate:4
8000 chlayout:0x60f
[auto-inserted resampler 0 @ 033CF960] chl:5.1(side) fmt:s16 r:48000Hz -> chl:5.
1 fmt:flt r:48000Hz
[mpegts @ 0150E020] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every
40 pkts
Output #0, mpegts, to 'c:\transcode\Serviio\test.stf':
  Metadata:
    encoder         : Lavf54.15.102
    Chapter #0.0: start 0.000000, end 296.963000
    Metadata:
      title           : 00:00:00.000
    Chapter #0.1: start 296.963000, end 560.685000
    Metadata:
      title           : 00:04:56.963
    Chapter #0.2: start 560.685000, end 1234.233000
    Metadata:
      title           : 00:09:20.685
    Chapter #0.3: start 1234.233000, end 1798.714000
    Metadata:
      title           : 00:20:34.233
    Chapter #0.4: start 1798.714000, end 2183.515000
    Metadata:
      title           : 00:29:58.714
    Chapter #0.5: start 2183.515000, end 2764.637000
    Metadata:
      title           : 00:36:23.515
    Chapter #0.6: start 2764.637000, end 3306.595000
    Metadata:
      title           : 00:46:04.637
    Chapter #0.7: start 3306.595000, end 3375.164000
    Metadata:
      title           : 00:55:06.595
    Stream #0:0(eng): Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31,
 23.98 fps, 90k tbn, 23.98 tbc (default)
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1, flt, 384 kb/s (default)
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (dca -> ac3)
Press [q] to stop, [?] for help
frame=  247 fps=0.0 q=-1.0 size=   15675kB time=00:00:10.21 bitrate=12567.0kbits
...
...   [etc]
...
frame=80924 fps=584 q=-1.0 Lsize= 1992065kB time=00:56:15.02 bitrate=4835.2kbits
/s
video:1667841kB audio:158205kB subtitle:0 global headers:0kB muxing overhead 9.0
91761%


Any help would be greatly appreciated.

FEMXIII
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Oct 25, 2012 7:06 pm

Re: PS3 .mkv file h264/AVC?

You can create a new PS3 custom profile that you can select when you have problem with some mkv file.
This custom profile inherite of the original profile with specific custom transcoding settings:
(copy/past on profiles.xml file just before the last "</Profiles>" element)
  Code:
   <Profile id="PS3custom" name="Playstation 3 * " extendsProfileId="4">
      <Transcoding>
         <!-- all other unplayable files just transcode to mpeg2 -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="matroska" vCodec="h264" />
         </Video>
      </Transcoding>
   </Profile>
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

stv

User avatar

Serviio newbie

Posts: 11

Joined: Fri Jul 27, 2012 11:17 am

Location: France

Post Sat Nov 10, 2012 1:41 pm

Re: PS3 .mkv file h264/AVC?

Merci beaucoup Illico pour ce profile. Solution idéale au problème que je rencontrais aussi. Efficace comme d'hab' ;)
SONY KDL-46D3500 | PS3 |TVBOXPLAY | LIVEBOXPLAY | WINDOWS 7 x64 I serviio 1.6 pro
<<

serviio19

Serviio newbie

Posts: 1

Joined: Sat Feb 02, 2013 6:43 pm

Post Sat Feb 02, 2013 6:45 pm

Re: [SOLVED] PS3 .mkv file h264/AVC?

Do I copy and paste this into the profiles.xml file or create a brand new one??

Thanks.

<Profile id="PS3custom" name="Playstation 3 * " extendsProfileId="4">
<Transcoding>
<!-- all other unplayable files just transcode to mpeg2 -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
<Matches container="matroska" vCodec="h264" />
</Video>
</Transcoding>
</Profile>
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Feb 03, 2013 8:25 am

Re: [SOLVED] PS3 .mkv file h264/AVC?

serviio19 wrote:Do I copy and paste this into the profiles.xml file or create a brand new one??

Copy/past the section on existing profiles.xml file, just before the last "</Profiles>" element. That will create a new profile entry on serviio console. Then you can manually select it, when you have problem with specific file.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator

Return to Sony

Who is online

Users browsing this forum: No registered users and 4 guests

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