FAQ  •  Register  •  Login

One MKV plays on PS3, the other data type is not supported

<<

waterlooalex

Serviio newbie

Posts: 10

Joined: Fri Oct 03, 2014 9:01 pm

Post Fri Oct 03, 2014 9:07 pm

One MKV plays on PS3, the other data type is not supported

Generally Serviio seems to be setup and working well with my PS3, transcoding seems to work (some MKV files play, debug logs from serviio show transcoding happening).

I have 2 MKV files of Fargo tv show, s01e01 and s01e02, e01 plays on the PS3, e02 doesn't.

This one plays:

  Code:
General
Complete name                            : \\nas\videos\Fargo.S01E01.720p.HDTV.x264-REMARKABLE.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 2.62 GiB
Duration                                 : 1h 8mn
Overall bit rate                         : 5 461 Kbps
Writing application                      : mkvmerge v5.7.0 ('The Whirlwind') built on Jul 8 2012 20:08:51
Writing library                          : libebml v0.7.7 + libmatroska v0.8.1

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                                 : 1h 8mn
Bit rate                                 : 4 969 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.225
Stream size                              : 2.38 GiB (91%)
Writing library                          : x264 core 142 r2409 d6b4e63
Encoding settings                        : cabac=1 / ref=5 / deblock=1:-2:-2 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.05: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=18 / lookahead_threads=3 / 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=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:0.65
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 1h 8mn
Bit rate mode                            : Constant
Bit rate                                 : 384 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 188 MiB (7%)
Language                                 : English
Default                                  : Yes
Forced                                   : No



This one doesn't:

  Code:
General
Unique ID                                : 121173099302006606500006621113520925755 (0x5B29170CDC6EACC9F5D6827A437EAC3B)
Complete name                            : \\nas\videos\fargo.s01e02.720p.hdtv.x264-killers.mkv
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 2.24 GiB
Duration                                 : 48mn 46s
Overall bit rate                         : 6 588 Kbps
Encoded date                             : UTC 2014-04-23 03:11:37
Writing application                      : mkvmerge v6.0.0 ('Coming Up For Air') built on Jan 20 2013 10:28:01
Writing library                          : libebml v1.3.0 + libmatroska v1.4.0

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                                 : 48mn 46s
Bit rate                                 : 6 073 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.275
Stream size                              : 2.07 GiB (92%)
Writing library                          : x264 core 142 r2409 d6b4e63
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=18 / lookahead_threads=3 / 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=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 48mn 46s
Bit rate mode                            : Constant
Bit rate                                 : 384 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 134 MiB (6%)
Default                                  : Yes
Forced                                   : No


Here is debug log output from Serviio, seems to say its happily transcoding both of these

  Code:
2014-10-03 13:43:15,410 DEBUG [ServiioHttpService] Incoming request from /192.168.0.100:56009: GET /resource/1969/MEDIA_ITEM/AVC_TS_MP_HD_AC3_ISO-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.0.101: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-]]
2014-10-03 13:43:15,412 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.100
2014-10-03 13:43:15,416 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.100
2014-10-03 13:43:15,434 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.0.100, Profile=Playstation 3'
2014-10-03 13:43:15,435 DEBUG [ResourceDeliveryProcessor] Request for resource 1969 and type 'MEDIA_ITEM' received
2014-10-03 13:43:15,435 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1969 (local)
2014-10-03 13:43:15,436 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1969)
2014-10-03 13:43:15,443 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2014-10-03 13:43:15,633 DEBUG [VideoDAOImpl] Reading a Video (id = 1969)
2014-10-03 13:43:15,637 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1969, format AVC_TS_MP_HD_AC3_ISO and profile Playstation 3
2014-10-03 13:43:15,638 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file Fargo.S01E01.720p.HDTV.x264-REMARKABLE.mkv
2014-10-03 13:43:15,659 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Fargo.S01E01.720p.HDTV.x264-REMARKABLE.mkv: AVC_TS_MP_HD_AC3_ISO
2014-10-03 13:43:15,663 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1969 (local)
2014-10-03 13:43:15,663 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1969)
2014-10-03 13:43:15,666 DEBUG [VideoDAOImpl] Reading a Video (id = 1969)
2014-10-03 13:43:15,710 DEBUG [VideoDeliveryEngine] Delivering item '1969' for client 'Identifier=192.168.0.100, Profile=Playstation 3'
2014-10-03 13:43:15,711 DEBUG [VideoDeliveryEngine] Delivering file 'Fargo.S01E01.720p.HDTV.x264-REMARKABLE.mkv' using transcoding
2014-10-03 13:43:15,713 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=192.168.0.100, Profile=Playstation 3'
2014-10-03 13:43:15,716 DEBUG [MediaItemDAOImpl] Getting file of media item 1969
2014-10-03 13:43:15,744 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /share/videos/Fargo.S01E01.720p.HDTV.x264-REMARKABLE.mkv
2014-10-03 13:43:15,748 DEBUG [ProcessExecutor] Starting /root/.serviio/opt/bin/ffmpeg -fflags +genpts -threads 1 -i /share/videos/Fargo.S01E01.720p.HDTV.x264-REMARKABLE.mkv -y -threads 1 -c:v copy -bsf:v h264_mp4toannexb -c:a copy -map 0:0 -map 0:1 -sn -f mpegts /root/.serviio/tmp/Serviio/transcoding-temp-1969-4-ORIGINAL.stf
2014-10-03 13:43:16,781 DEBUG [FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2014-10-03 13:43:16,786 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Fargo.S01E01.720p.HDTV.x264-REMARKABLE.mkv: AVC_TS_MP_HD_AC3_ISO
2014-10-03 13:43:16,787 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 1969) as read
2014-10-03 13:43:17,019 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2014-10-03 13:43:17,020 DEBUG [GETMethodProcessor] Stream entity has length: 50000000000
2014-10-03 13:43:17,021 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2014-10-03 13:43:17,022 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Fri, 03 Oct 2014 20:43:17 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.4.1.2,Cache-control: no-cache,TimeSeekRange.dlna.org: npt=0-4115/4115,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2014-10-03 13:43:17,414 INFO  [PluginCompilerThread] Added Web Resouce plugin OppetArkiv (OppetArkiv.groovy), version: 6
2014-10-03 13:43:17,415 DEBUG [PluginCompilerThread] Starting plugin Orf.groovy compilation
2014-10-03 13:43:18,934 INFO  [PluginCompilerThread] Added Feed plugin Orf (Orf.groovy), version: 1
2014-10-03 13:43:18,935 DEBUG [PluginCompilerThread] Starting plugin TurboTVTamil.groovy compilation
2014-10-03 13:43:20,227 INFO  [PluginCompilerThread] Added Web Resouce plugin tamiltv.tv (TurboTVTamil.groovy), version: 1
2014-10-03 13:43:20,228 DEBUG [PluginCompilerThread] Starting plugin BillboardTop20.groovy compilation
2014-10-03 13:43:20,503 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2014-10-03 13:43:21,060 DEBUG [WebServer] I/O error: Broken pipe
2014-10-03 13:43:21,075 DEBUG [ServiioHttpService] Incoming request from /192.168.0.100:56008: GET /resource/1969/MEDIA_ITEM/AVC_TS_MP_HD_AC3_ISO-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.0.101:8895,User-Agent: PLAYSTATION 3,Connection: Keep-Alive,Accept-Encoding: identity,TimeSeekRange.dlna.org: npt=0.000-,transferMode.dlna.org: Streaming,X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment"; mn="PLAYSTATION 3"; mv="1.0";]]
2014-10-03 13:43:21,076 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.100
2014-10-03 13:43:21,078 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.100
2014-10-03 13:43:21,101 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.0.100, Profile=Playstation 3'
2014-10-03 13:43:21,101 DEBUG [ResourceDeliveryProcessor] Request for resource 1969 and type 'MEDIA_ITEM' received
2014-10-03 13:43:21,101 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1969 (local)
2014-10-03 13:43:21,102 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1969)
2014-10-03 13:43:21,111 DEBUG [VideoDAOImpl] Reading a Video (id = 1969)
2014-10-03 13:43:21,115 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1969, format AVC_TS_MP_HD_AC3_ISO and profile Playstation 3
2014-10-03 13:43:21,116 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file Fargo.S01E01.720p.HDTV.x264-REMARKABLE.mkv
2014-10-03 13:43:21,117 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Fargo.S01E01.720p.HDTV.x264-REMARKABLE.mkv: AVC_TS_MP_HD_AC3_ISO
2014-10-03 13:43:21,117 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1969 (local)
2014-10-03 13:43:21,118 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1969)
2014-10-03 13:43:21,150 DEBUG [VideoDAOImpl] Reading a Video (id = 1969)
2014-10-03 13:43:21,154 DEBUG [VideoDeliveryEngine] Delivering item '1969' for client 'Identifier=192.168.0.100, Profile=Playstation 3'
2014-10-03 13:43:21,155 DEBUG [VideoDeliveryEngine] Delivering file 'Fargo.S01E01.720p.HDTV.x264-REMARKABLE.mkv' using transcoding
2014-10-03 13:43:21,156 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'Identifier=192.168.0.100, Profile=Playstation 3'
2014-10-03 13:43:21,157 DEBUG [FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2014-10-03 13:43:21,157 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Fargo.S01E01.720p.HDTV.x264-REMARKABLE.mkv: AVC_TS_MP_HD_AC3_ISO
2014-10-03 13:43:21,158 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 1969) as read
2014-10-03 13:43:21,219 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2014-10-03 13:43:21,219 DEBUG [GETMethodProcessor] Stream entity has length: 50000000000
2014-10-03 13:43:21,220 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2014-10-03 13:43:21,221 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Fri, 03 Oct 2014 20:43:21 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.4.1.2,Cache-control: no-cache,TimeSeekRange.dlna.org: npt=0-4115/4115,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2014-10-03 13:43:21,923 INFO  [PluginCompilerThread] Added Web Resouce plugin BillboardTop20 (BillboardTop20.groovy), version: 6
2014-10-03 13:43:21,923 DEBUG [PluginCompilerThread] Starting plugin WimpCom.groovy compilation
2014-10-03 13:43:22,443 DEBUG [WebServer] I/O error: Broken pipe
2014-10-03 13:43:22,444 INFO  [PluginCompilerThread] Added Feed plugin WimpCom (WimpCom.groovy), version: 1
2014-10-03 13:43:22,444 DEBUG [PluginCompilerThread] Starting plugin hdhomerun.groovy compilation
2014-10-03 13:43:22,660 DEBUG [ServiioHttpService] Incoming request from /192.168.0.100:56007: GET /resource/1543/COVER_IMAGE HTTP/1.1, headers = [Host: 192.168.0.101:8895,User-Agent: PLAYSTATION 3,Connection: Keep-Alive,Accept-Encoding: identity,transferMode.dlna.org: Interactive,X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment"; mn="PLAYSTATION 3"; mv="1.0";]]
2014-10-03 13:43:22,660 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.100
2014-10-03 13:43:22,662 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.100
2014-10-03 13:43:22,664 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.0.100, Profile=Playstation 3'
2014-10-03 13:43:22,665 DEBUG [ResourceDeliveryProcessor] Request for resource 1543 and type 'COVER_IMAGE' received
2014-10-03 13:43:22,665 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 1543)
2014-10-03 13:43:22,680 DEBUG [CoverImageRetrievalStrategy] Retrieving info of Cover image with id 1543
2014-10-03 13:43:22,681 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 1543)
2014-10-03 13:43:22,683 DEBUG [CoverImageRetrievalStrategy] Retrieving Cover image (SD) with id 1543
2014-10-03 13:43:22,701 DEBUG [GETMethodProcessor] Stream entity has length: 2265
2014-10-03 13:43:22,702 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: image/jpeg,Content-Length: 2265,Date: Fri, 03 Oct 2014 20:43:22 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.4.1.2,Cache-control: no-cache,transferMode.dlna.org: Interactive,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2014-10-03 13:43:23,166 INFO  [PluginCompilerThread] Added Web Resouce plugin HDHomeRun (hdhomerun.groovy), version: 4
2014-10-03 13:43:23,166 DEBUG [PluginCompilerThread] Starting plugin RadioBremen.groovy compilation
2014-10-03 13:43:23,720 INFO  [PluginCompilerThread] Added Feed plugin Radio Bremen RSS Extractor (RadioBremen.groovy), version: 1
2014-10-03 13:43:23,720 DEBUG [PluginCompilerThread] Starting plugin GameTrailers.groovy compilation
2014-10-03 13:43:24,264 INFO  [PluginCompilerThread] Added Feed plugin GameTrailers (GameTrailers.groovy), version: 2
2014-10-03 13:43:24,264 DEBUG [PluginCompilerThread] Starting plugin Coolsport.groovy compilation
2014-10-03 13:43:25,483 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2014-10-03 13:43:26,380 INFO  [PluginCompilerThread] Added Web Resouce plugin coolsport (Coolsport.groovy), version: 21
2014-10-03 13:43:26,380 DEBUG [PluginCompilerThread] Starting plugin APVideo.groovy compilation
2014-10-03 13:43:26,819 DEBUG [ServiioHttpService] Incoming request from /192.168.0.100:56006: GET /resource/1970/MEDIA_ITEM/AVC_TS_MP_HD_AC3_ISO-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.0.101: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-]]
2014-10-03 13:43:26,820 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.100
2014-10-03 13:43:26,840 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.100
2014-10-03 13:43:26,845 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.0.100, Profile=Playstation 3'
2014-10-03 13:43:26,845 DEBUG [ResourceDeliveryProcessor] Request for resource 1970 and type 'MEDIA_ITEM' received
2014-10-03 13:43:26,846 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1970 (local)
2014-10-03 13:43:26,850 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1970)
2014-10-03 13:43:26,861 DEBUG [VideoDAOImpl] Reading a Video (id = 1970)
2014-10-03 13:43:26,886 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1970, format AVC_TS_MP_HD_AC3_ISO and profile Playstation 3
2014-10-03 13:43:26,909 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file fargo.s01e02.720p.hdtv.x264-killers.mkv
2014-10-03 13:43:26,930 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file fargo.s01e02.720p.hdtv.x264-killers.mkv: AVC_TS_MP_HD_AC3_ISO
2014-10-03 13:43:26,930 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1970 (local)
2014-10-03 13:43:26,930 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1970)
2014-10-03 13:43:26,933 DEBUG [VideoDAOImpl] Reading a Video (id = 1970)
2014-10-03 13:43:26,936 DEBUG [VideoDeliveryEngine] Delivering item '1970' for client 'Identifier=192.168.0.100, Profile=Playstation 3'
2014-10-03 13:43:26,937 DEBUG [VideoDeliveryEngine] Delivering file 'fargo.s01e02.720p.hdtv.x264-killers.mkv' using transcoding
2014-10-03 13:43:27,009 DEBUG [AbstractTranscodingDeliveryEngine] No other client uses transcoding job of file 'transcoding-temp-1969-4-ORIGINAL.stf', will stop the job
2014-10-03 13:43:27,009 DEBUG [AbstractTranscodingDeliveryEngine] Stopping previous transcoding job of file 'transcoding-temp-1969-4-ORIGINAL.stf'
2014-10-03 13:43:27,010 DEBUG [ProcessExecutor] Stopping external process: Thread[Thread-80,5,main]
2014-10-03 13:43:27,018 DEBUG [ProcessUtils] Sending kill -9 to the Unix process: 14598
2014-10-03 13:43:27,040 DEBUG [ProcessExecutor] Starting kill -9 14598
2014-10-03 13:43:27,099 DEBUG [TranscodingJobListener] Transcoding finished; successful: true
2014-10-03 13:43:27,359 DEBUG [TranscodingJobListener] Deleted temp file '/root/.serviio/tmp/Serviio/transcoding-temp-1969-4-ORIGINAL.stf': true
2014-10-03 13:43:27,359 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=192.168.0.100, Profile=Playstation 3'
2014-10-03 13:43:27,360 DEBUG [MediaItemDAOImpl] Getting file of media item 1970
2014-10-03 13:43:27,381 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /share/videos/fargo.s01e02.720p.hdtv.x264-killers.mkv
2014-10-03 13:43:27,382 DEBUG [ProcessExecutor] Starting /root/.serviio/opt/bin/ffmpeg -fflags +genpts -threads 1 -i /share/videos/fargo.s01e02.720p.hdtv.x264-killers.mkv -y -threads 1 -c:v copy -bsf:v h264_mp4toannexb -c:a copy -map 0:0 -map 0:1 -sn -f mpegts /root/.serviio/tmp/Serviio/transcoding-temp-1970-4-ORIGINAL.stf
2014-10-03 13:43:28,601 DEBUG [FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2014-10-03 13:43:28,603 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file fargo.s01e02.720p.hdtv.x264-killers.mkv: AVC_TS_MP_HD_AC3_ISO
2014-10-03 13:43:28,604 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 1970) as read
2014-10-03 13:43:28,607 WARN  [OutputTextReader] Error reading output of an external command:Stream closed
2014-10-03 13:43:28,669 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2014-10-03 13:43:28,669 DEBUG [GETMethodProcessor] Stream entity has length: 50000000000
2014-10-03 13:43:28,671 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2014-10-03 13:43:28,672 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Fri, 03 Oct 2014 20:43:28 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.4.1.2,Cache-control: no-cache,TimeSeekRange.dlna.org: npt=0-2926/2926,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2014-10-03 13:43:29,003 INFO  [PluginCompilerThread] Added Web Resouce plugin APVideo (APVideo.groovy), version: 5
2014-10-03 13:43:29,003 DEBUG [PluginCompilerThread] Starting plugin ComedyCentral.groovy compilation
2014-10-03 13:43:30,436 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2014-10-03 13:43:31,175 DEBUG [WebServer] I/O error: Broken pipe
2014-10-03 13:43:31,811 INFO  [PluginCompilerThread] Added Web Resouce plugin ComedyCentral (ComedyCentral.groovy), version: 1
2014-10-03 13:43:31,811 DEBUG [PluginCompilerThread] Starting plugin USTREAM.groovy compilation
2014-10-03 13:43:32,670 INFO  [PluginCompilerThread] Added Web Resouce plugin ustream.tv (USTREAM.groovy), version: 1
2014-10-03 13:43:32,670 DEBUG [PluginCompilerThread] Starting plugin NBA.groovy compilation
2014-10-03 13:43:33,196 INFO  [PluginCompilerThread] Added Feed plugin NBA (NBA.groovy), version: 1
2014-10-03 13:43:33,196 DEBUG [PluginCompilerThread] Starting plugin ESPN Radio.groovy compilation
2014-10-03 13:43:33,480 INFO  [PluginCompilerThread] Added Feed plugin ReutersCom (ESPN Radio.groovy), version: 1
2014-10-03 13:43:33,481 DEBUG [PluginCompilerThread] Starting plugin TrailerAddict.groovy compilation
2014-10-03 13:43:35,365 INFO  [PluginCompilerThread] Added Web Resouce plugin TrailerAddict (TrailerAddict.groovy), version: 15
2014-10-03 13:43:35,366 DEBUG [PluginCompilerThread] Starting plugin Castalba.groovy compilation
2014-10-03 13:43:35,412 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2014-10-03 13:43:36,299 INFO  [PluginCompilerThread] Added Web Resouce plugin Castalba (Castalba.groovy), version: 5
2014-10-03 13:43:36,299 DEBUG [PluginCompilerThread] Starting plugin HaHaSport.groovy compilation
<<

waterlooalex

Serviio newbie

Posts: 10

Joined: Fri Oct 03, 2014 9:01 pm

Post Fri Oct 03, 2014 9:40 pm

Re: One MKV plays on PS3, the other data type is not support

After reading more I switched to use this profile:

  Code:
<Profile id="ps3_custom" name="Playstation 3 - h264" extendsProfileId="4">
      <Transcoding>
         <!-- Transcode all h264 video tracks -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" forceVTranscoding="true" targetACodec="ac3" aBitrate="384">
            <Matches container="*" vCodec="h264" />
         </Video>
      </Transcoding>
   </Profile>


This enables the file to play, but it stutters incredibly, I am guessing my QNAP TS-119P is not up to the task of transcoding. Are there other NAS devices that are?
<<

waterlooalex

Serviio newbie

Posts: 10

Joined: Fri Oct 03, 2014 9:01 pm

Post Fri Oct 03, 2014 10:56 pm

Re: One MKV plays on PS3, the other data type is not support

Huh, if I transcode it ahead of time to MP4 (just a container switch I think) then it plays fine. Is there a way to get Serviio to do this?

  Code:
ffmpeg -y -i fargo.s01e02.720p.hdtv.x264-killers.mkv -c copy fargo2.mp4
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Mon Oct 06, 2014 11:30 am

Re: One MKV plays on PS3, the other data type is not support

No there is no way to transcode to MP4 on the fly.

My guess is there is something not liked in the S01E02 MKV container - you may be able to fix it by remuxing it (this simply copies the streams into a new MKV container):

  Code:
ffmpeg -i fargo.s01e02.720p.hdtv.x264-killers.mkv -c copy -map 0 fargo2.mkv
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

waterlooalex

Serviio newbie

Posts: 10

Joined: Fri Oct 03, 2014 9:01 pm

Post Mon Oct 06, 2014 3:53 pm

Re: One MKV plays on PS3, the other data type is not support

DenyAll wrote:No there is no way to transcode to MP4 on the fly.

My guess is there is something not liked in the S01E02 MKV container - you may be able to fix it by remuxing it (this simply copies the streams into a new MKV container):

  Code:
ffmpeg -i fargo.s01e02.720p.hdtv.x264-killers.mkv -c copy -map 0 fargo2.mkv


I don't think the command I used above transcodes to MP4. Instead it simply changes the container. Well, simply copying the streams into a MP4 container fixed it.

Is there a way to remux it on the fly?
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Tue Oct 07, 2014 12:02 pm

Re: One MKV plays on PS3, the other data type is not support

No - my understanding is you cannot remux or transcode to MP4 and stream it on the fly.

My layman's understanding - a standard MP4 container contains critical information stored at the end of the file - so effectively you would have to read the end of the file first in order to play it. This isnt a problem when the MP4 file already exists - but doesn't work if you are trying to play the file as it is being created (which is what you are trying to do when transcoding or remuxing on the fly). The remux command you are using copies the video stream(s) and audio stream(s) and then writes this critical information which it derives from these streams at the end of the MP4 container.

There are methods to move this critical data to the front of the file - this allows MP4 to be used for streaming via progressive download (which is what happens when you stream an MP4 from the web). But once again, the file must be created first and this critical info then moved to the front of the file... it cannot be done on the fly.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

waterlooalex

Serviio newbie

Posts: 10

Joined: Fri Oct 03, 2014 9:01 pm

Post Tue Oct 07, 2014 3:15 pm

Re: One MKV plays on PS3, the other data type is not support

Interesting, thanks for the info.

In that case it'd be useful if Serviio could either:
1. Change the container to be MP4, then play the MP4 file (it takes ~7s or so to change the container), I'd be happy waiting 7s before my video starts
2. Had a feature to pre-change videos once and cache the result for future plays

Or... is there a way for Serviio to just do the right thing, eg fixup the MKVs as necessary so that they can play.

DenyAll wrote:No - my understanding is you cannot remux or transcode to MP4 and stream it on the fly.

My layman's understanding - a standard MP4 container contains critical information stored at the end of the file - so effectively you would have to read the end of the file first in order to play it. This isnt a problem when the MP4 file already exists - but doesn't work if you are trying to play the file as it is being created (which is what you are trying to do when transcoding or remuxing on the fly). The remux command you are using copies the video stream(s) and audio stream(s) and then writes this critical information which it derives from these streams at the end of the MP4 container.

There are methods to move this critical data to the front of the file - this allows MP4 to be used for streaming via progressive download (which is what happens when you stream an MP4 from the web). But once again, the file must be created first and this critical info then moved to the front of the file... it cannot be done on the fly.

Return to Sony

Who is online

Users browsing this forum: No registered users and 41 guests

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