Page 1 of 2
PS3 Serviio Media Server Error

Posted:
Tue Dec 27, 2011 12:56 am
by jsuthers
Just bought myself a new PS3 and I used serviio before for my xbox 360 it seemed to work just fine, However with the PS3 it doesn't seem to want to play.
Below I have attached the serviio.log (debug)
PS3 firmware version - 4.00
Thank you for your help!
Re: PS3 Serviio Media Server Error

Posted:
Tue Dec 27, 2011 10:52 am
by NX3
So Serviio see's the PS3 but the file isn't playing ? Just to confirm.
Check in Serviio console, it recognised you have a PS3 and it has a green/amber icon next to it ?
Do any files play or just this one doesn't ?
Re: PS3 Serviio Media Server Error

Posted:
Tue Dec 27, 2011 12:21 pm
by moltra
- Code:
2011-12-26 18:50:12,089 DEBUG [VideoDeliveryEngine] Delivering item '3' for client 'IPAddress=/192.168.1.115, Profile=Playstation 3'
2011-12-26 18:50:12,089 DEBUG [VideoDeliveryEngine] Delivering file 'Almost Heroes.mkv' using transcoding
2011-12-26 18:50:12,089 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.1.115, Profile=Playstation 3'
2011-12-26 18:50:12,089 DEBUG [MediaItemDAOImpl] Getting file of media item 3
2011-12-26 18:50:12,090 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: E:\Almost Heroes.mkv
2011-12-26 18:50:12,090 DEBUG [ProcessExecutor] Starting C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe -i E:\Almost Heroes.mkv -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec ac3 -ab 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-3-MPEG2TS.stf
2011-12-26 18:50:12,132 WARN [ProcessExecutor] Process cmd has a return code of 1! This is a possible error.
2011-12-26 18:50:12,132 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2011-12-26 18:50:12,590 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
at org.serviio.delivery.resource.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:117)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:93)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:121)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:116)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:187)
2011-12-26 18:50:12,595 DEBUG [WebServer] Incoming connection from /192.168.1.115:59149
2011-12-26 18:50:12,595 DEBUG [ResourceTransportRequestHandler] GET /resource/3/MEDIA_ITEM/AVC_TS_MP_SD_AC3_ISO$0 HTTP/1.1, headers = [Host: 192.168.1.114: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-]]
Try running the follow command from a windows command prompt and see what happens. Post any errors here.
- Code:
C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe -i E:\Almost Heroes.mkv -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec ac3 -ab 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-3-MPEG2TS.stf
Re: PS3 Serviio Media Server Error

Posted:
Tue Dec 27, 2011 12:21 pm
by jsuthers
Correct. It recognizes the PS3 and has an amber colored icon next to it and all files I try to play it does this, doesn't matter which format.
Re: PS3 Serviio Media Server Error

Posted:
Tue Dec 27, 2011 8:14 pm
by Cerberus
is the PS3 profile assigned to the device in consoel or the generic profile?
http://wiki.serviio.org/doku.php?id=ser ... _explained
Re: PS3 Serviio Media Server Error

Posted:
Tue Dec 27, 2011 9:57 pm
by jsuthers
moltra wrote:- Code:
2011-12-26 18:50:12,089 DEBUG [VideoDeliveryEngine] Delivering item '3' for client 'IPAddress=/192.168.1.115, Profile=Playstation 3'
2011-12-26 18:50:12,089 DEBUG [VideoDeliveryEngine] Delivering file 'Almost Heroes.mkv' using transcoding
2011-12-26 18:50:12,089 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.1.115, Profile=Playstation 3'
2011-12-26 18:50:12,089 DEBUG [MediaItemDAOImpl] Getting file of media item 3
2011-12-26 18:50:12,090 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: E:\Almost Heroes.mkv
2011-12-26 18:50:12,090 DEBUG [ProcessExecutor] Starting C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe -i E:\Almost Heroes.mkv -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec ac3 -ab 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-3-MPEG2TS.stf
2011-12-26 18:50:12,132 WARN [ProcessExecutor] Process cmd has a return code of 1! This is a possible error.
2011-12-26 18:50:12,132 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2011-12-26 18:50:12,590 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
at org.serviio.delivery.resource.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:117)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:93)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:121)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:116)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:187)
2011-12-26 18:50:12,595 DEBUG [WebServer] Incoming connection from /192.168.1.115:59149
2011-12-26 18:50:12,595 DEBUG [ResourceTransportRequestHandler] GET /resource/3/MEDIA_ITEM/AVC_TS_MP_SD_AC3_ISO$0 HTTP/1.1, headers = [Host: 192.168.1.114: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-]]
Try running the follow command from a windows command prompt and see what happens. Post any errors here.
- Code:
C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe -i E:\Almost Heroes.mkv -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec ac3 -ab 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-3-MPEG2TS.stf
Error I'm getting.

Edit: fixed image
Re: PS3 Serviio Media Server Error

Posted:
Tue Dec 27, 2011 9:57 pm
by jsuthers
the PS3 profile is assigned
Re: PS3 Serviio Media Server Error

Posted:
Tue Dec 27, 2011 10:01 pm
by moltra
jsuthers wrote:- Code:
C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe -i E:\Almost Heroes.mkv -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec ac3 -ab 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-3-MPEG2TS.stf
Error I'm getting.

[/quote]
I cannot see the image that you posted. Can you verify that it is correct.
Also run the following from a command prompt and post the results here. You might have to navigate to the serviio\bin\lib prompt to run it.
Re: PS3 Serviio Media Server Error

Posted:
Tue Dec 27, 2011 10:12 pm
by jsuthers
Image fixed.
and when I try to run that command it just says it can't find the specified path.
Re: PS3 Serviio Media Server Error

Posted:
Tue Dec 27, 2011 10:17 pm
by will
If the file has spaces then you must use quotes eg
ffmpeg.exe -i "c:\media files\my file.avi"
Are you in the directory which contains ffmpeg.exe?
Re: PS3 Serviio Media Server Error

Posted:
Tue Dec 27, 2011 10:20 pm
by jsuthers
will wrote:If the file has spaces then you must use quotes eg
ffmpeg.exe -i "c:\media files\my file.avi"
I did
Re: PS3 Serviio Media Server Error

Posted:
Tue Dec 27, 2011 10:21 pm
by will
See my edit for second question
Re: PS3 Serviio Media Server Error

Posted:
Tue Dec 27, 2011 10:28 pm
by jsuthers
I thought I was but I guess I missed it somehow... lol go me!
Here is the error I get now----
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Jeff>cd "C:\Program Files (x86)\Serviio\lib"
C:\Program Files (x86)\Serviio\lib>ffmpeg.exe -i
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-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-mingw32- --pkg-config=pkg-co
nfig
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
ffmpeg.exe: missing argument for option 'i'
C:\Program Files (x86)\Serviio\lib>
Re: PS3 Serviio Media Server Error

Posted:
Tue Dec 27, 2011 11:01 pm
by moltra
ok now try it again with the file name and post the results here.
- Code:
ffmpeg.exe -i "E:\Almost Heroes.mkv"
Re: PS3 Serviio Media Server Error

Posted:
Tue Dec 27, 2011 11:05 pm
by jsuthers
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Jeff>cd "C:\Program Files (x86)\Serviio\lib"
C:\Program Files (x86)\Serviio\lib>ffmpeg.exe -i "E:\Almost Heroes.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-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-mingw32- --pkg-config=pkg-co
nfig
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 @ 01848b00] Estimating duration from bitrate, this may be inaccur
ate
Seems stream 0 codec frame rate differs from container frame rate: 180000.00 (18
0000/1) -> 23.98 (24000/1001)
Input #0, matroska,webm, from 'E:\Almost Heroes.mkv':
Duration: 01:30:13.15, start: 0.000000, bitrate: N/A
Stream #0.0(eng): Video: h264 (Main), yuv420p, 704x400 [PAR 1:1 DAR 44:25],
23.98 fps, 23.98 tbr, 1k tbn, 180k tbc (default)
Stream #0.1: Audio: aac, 48000 Hz, stereo, s16 (default)
At least one output file must be specified
C:\Program Files (x86)\Serviio\lib>
Re: PS3 Serviio Media Server Error

Posted:
Wed Dec 28, 2011 12:38 am
by Cerberus
can you run mediainfo on the file aswell please:
http://wiki.serviio.org/doku.php?id=mediainfo
Re: PS3 Serviio Media Server Error

Posted:
Wed Dec 28, 2011 1:16 am
by jsuthers
General
Unique ID : 41775935580685000149497901831401882298 (0x1F6DC0A5BCF6D7A274F826DF7BEDC2BA)
Complete name : E:\Almost Heroes.mkv
Format : Matroska
Format version : Version 2
File size : 911 MiB
Duration : 1h 30mn
Overall bit rate : 1 412 Kbps
Writing application : HandBrake 0.9.5
Writing library : libmkv 0.6.4.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 30mn
Width : 704 pixels
Height : 400 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Writing library : x264 core 112
Encoding settings : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=2 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=0 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=3 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No
Color primaries : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 1h 30mn
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Default : Yes
Forced : No
Re: PS3 Serviio Media Server Error

Posted:
Wed Dec 28, 2011 1:27 am
by Cerberus
ok so its remuxed
can you turn on debug logging (see signiture for how to) and then find the line that serviio uses to play the file and execute it manualy and see if the file then plays if you add it to the library.
Re: PS3 Serviio Media Server Error

Posted:
Wed Dec 28, 2011 3:22 am
by moltra
I pulled this line out of the
debug log earlier.
moltra wrote:- Code:
C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe -i E:\Almost Heroes.mkv -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec ac3 -ab 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-3-MPEG2TS.stf
Re: PS3 Serviio Media Server Error

Posted:
Wed Dec 28, 2011 3:25 am
by Cerberus
i know but user hasnt confirmed if it worked or not if it doesnt then i suspect a broken file.