Page 1 of 1

[SOLVED].mkv not working on PS3 after upgrade to 1.0.1

PostPosted: Sun Aug 12, 2012 11:30 pm
by xs2inattar
None of my mkv files are working on PS3 after upgrade 1.0.1.

mkv files that were working fine on PS3 with 1.0 stopped working on 1.0.1.

log is as follows.

  Code:
2012-08-12 19:19:27,047 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.8
2012-08-12 19:19:27,049 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.1.8, Profile=Playstation 3'
2012-08-12 19:19:27,078 DEBUG [ResourceDeliveryProcessor] Request for resource 2356 and type 'MEDIA_ITEM' received
2012-08-12 19:19:27,110 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 2356 (local)
2012-08-12 19:19:27,110 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 2356)
2012-08-12 19:19:27,112 DEBUG [VideoDAOImpl] Reading a Video (id = 2356)
2012-08-12 19:19:27,115 DEBUG [VideoDeliveryEngine] Delivering item '2356' for client 'IPAddress=/192.168.1.8, Profile=Playstation 3'
2012-08-12 19:19:27,116 DEBUG [VideoDeliveryEngine] Delivering file 'Awara Paagal Deewana (2002).mkv' using transcoding
2012-08-12 19:19:27,117 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.1.8, Profile=Playstation 3'
2012-08-12 19:19:27,120 DEBUG [MediaItemDAOImpl] Getting file of media item 2356
2012-08-12 19:19:27,123 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /volume1/video/Movies/Awara Paagal Deewana (2002)/Awara Paagal Deewana (2002).mkv
2012-08-12 19:19:27,124 DEBUG [ProcessExecutor] Starting /volume1/@appstore/Serviio/bin/ffmpeg -fflags +genpts -i /volume1/video/Movies/Awara Paagal Deewana (2002)/Awara Paagal Deewana (2002).mkv -y -copyts -c:v copy -vbsf h264_mp4toannexb -c:a ac3_fixed -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /.tmp/Serviio/transcoding-temp-2356-4-ORIGINAL.stf
2012-08-12 19:19:27,250 WARN  [ProcessExecutor] Process /volume1/@appstore/Serviio/bin/ffmpeg has a return code of 1! This is a possible error.
2012-08-12 19:19:27,251 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2012-08-12 19:19:34,767 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file '/.tmp/Serviio/transcoding-temp-2356-4-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file '/.tmp/Serviio/transcoding-temp-2356-4-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
   at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
   at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:125)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:95)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:120)
   at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:84)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:79)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
   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:191)
2012-08-12 19:19:34,775 DEBUG [WebServer] Incoming connection from /192.168.1.8:53050
2012-08-12 19:19:34,775 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.8
2012-08-12 19:19:34,777 DEBUG [ResourceTransportRequestHandler] GET /resource/2356/MEDIA_ITEM/AVC_TS_MP_SD_AC3_ISO-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.1.11: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-08-12 19:19:34,778 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.8
2012-08-12 19:19:34,779 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.1.8, Profile=Playstation 3'
2012-08-12 19:19:34,783 DEBUG [ResourceDeliveryProcessor] Request for resource 2356 and type 'MEDIA_ITEM' received
2012-08-12 19:19:34,783 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 2356 (local)
2012-08-12 19:19:34,783 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 2356)
2012-08-12 19:19:34,785 DEBUG [VideoDAOImpl] Reading a Video (id = 2356)
2012-08-12 19:19:34,788 DEBUG [VideoDeliveryEngine] Delivering item '2356' for client 'IPAddress=/192.168.1.8, Profile=Playstation 3'
2012-08-12 19:19:34,789 DEBUG [VideoDeliveryEngine] Delivering file 'Awara Paagal Deewana (2002).mkv' using transcoding
2012-08-12 19:19:34,790 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.1.8, Profile=Playstation 3'
2012-08-12 19:19:34,790 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file '/.tmp/Serviio/transcoding-temp-2356-4-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file '/.tmp/Serviio/transcoding-temp-2356-4-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
   at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
   at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:125)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:95)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:120)
   at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:84)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:79)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
   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:191)



Running ffmpeg command from the log also fails.
  Code:
RR-DS212plus> /volume1/@appstore/Serviio/bin/ffmpeg -fflags +genpts -i /volume1/video/Movies/Awara Paagal Deewana (2002)/Awara Paagal Deewana (2002).mkv -y -
copyts -c:v copy -vbsf h264_mp4toannexb -c:a ac3_fixed -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /.tmp/Serviio/transcoding-temp-2356-4-ORIGINAL.stf
-ash: syntax error: unexpected "("


But when i put the input file name in quotes ffmepg works fine.
  Code:
RR-DS212plus> /volume1/@appstore/Serviio/bin/ffmpeg -fflags +genpts -i "/volume1/video/Movies/Awara Paagal Deewana (2002)/Awara Paagal Deewana (2002).mkv" -y
 -copyts -c:v copy -vbsf h264_mp4toannexb -c:a ac3_fixed -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /.tmp/Serviio/transcoding-temp-2356-4-ORIGINAL.stf
ffmpeg version N-42368-gbf53863-Serviio Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 11 2012 01:45:53 with gcc 4.2.3
  configuration: --arch=arm --enable-armv5te --prefix=/opt --extra-cflags=-I/opt/include --extra-ldflags=-L/tmp/lib --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-pthreads --enable-libmp3lame --enable-librtmp --extra-version=Serviio
  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 '/volume1/video/Movies/Awara Paagal Deewana (2002)/Awara Paagal Deewana (2002).mkv':
  Metadata:
    creation_time   : 2009-07-24 14:28:51
  Duration: 02:44:02.83, start: 0.000000, bitrate: 761 kb/s
    Chapter #0.0: start 0.097000, end 9842.832000
    Metadata:
      title           : 00:00:00.097
    Stream #0:0(eng): Video: h264 (Main), yuv420p, 608x256 [SAR 1:1 DAR 19:8], 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
    Stream #0:1(hin): Audio: aac, 48000 Hz, stereo, s16 (default)
    Stream #0:2(eng): Subtitle: text (default)
[graph 0 input from stream 0:1 @ 0xf90140] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
[mpegts @ 0xfaeda0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/.tmp/Serviio/transcoding-temp-2356-4-ORIGINAL.stf':
  Metadata:
    encoder         : Lavf54.15.102
    Chapter #0.0: start 0.097000, end 9842.832000
    Metadata:
      title           : 00:00:00.097
    Stream #0:0(eng): Video: h264, yuv420p, 608x256 [SAR 1:1 DAR 19:8], q=2-31, 29.97 fps, 90k tbn, 29.97 tbc (default)
    Stream #0:1(hin): Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s (default)
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (aac -> ac3_fixed)
Press [q] to stop, [?] for help
frame=  321 fps= 65 q=-1.0 Lsize=    1540kB time=00:00:10.71 bitrate=1178.2kbits/s
video:845kB audio:507kB subtitle:0 global headers:0kB muxing overhead 13.907222%
Received signal 2: terminating.


Please take a look at this as for now i am unable to play any mkv file on PS3

Re: .mkv not working on PS3 after upgrade to 1.0.1

PostPosted: Mon Aug 13, 2012 6:29 pm
by zip
run this

  Code:
ffmpeg -fflags +genpts -i "/volume1/video/Movies/Awara Paagal Deewana (2002)/Awara Paagal Deewana (2002).mkv" -y -copyts -c:v copy -vbsf h264_mp4toannexb -c:a ac3_fixed -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /.tmp/Serviio/transcoding-temp-2356-4-ORIGINAL.stf


I don't see any change there from what was in 1.0 and FFmpeg is the same. Are you using Synology build?

Re: .mkv not working on PS3 after upgrade to 1.0.1

PostPosted: Mon Aug 13, 2012 6:56 pm
by xs2inattar
Yes I am using the synology build.

ffmpeg output is as follows.

  Code:
RR-DS212plus> ffmpeg -fflags +genpts -i "/volume1/video/Movies/Awara Paagal Deewana (2002)/Awara Paagal Deewana (2002).mkv" -y -copyts -c:v copy -vbsf h264_m
p4toannexb -c:a ac3_fixed -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /.tmp/Serviio/transcoding-temp-2356-4-ORIGINAL.stf
ffmpeg version N-42368-gbf53863-Serviio Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 11 2012 01:45:53 with gcc 4.2.3
  configuration: --arch=arm --enable-armv5te --prefix=/opt --extra-cflags=-I/opt/include --extra-ldflags=-L/tmp/lib --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-pthreads --enable-libmp3lame --enable-librtmp --extra-version=Serviio
  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 '/volume1/video/Movies/Awara Paagal Deewana (2002)/Awara Paagal Deewana (2002).mkv':
  Metadata:
    creation_time   : 2009-07-24 14:28:51
  Duration: 02:44:02.83, start: 0.000000, bitrate: 761 kb/s
    Chapter #0.0: start 0.097000, end 9842.832000
    Metadata:
      title           : 00:00:00.097
    Stream #0:0(eng): Video: h264 (Main), yuv420p, 608x256 [SAR 1:1 DAR 19:8], 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
    Stream #0:1(hin): Audio: aac, 48000 Hz, stereo, s16 (default)
    Stream #0:2(eng): Subtitle: text (default)
[graph 0 input from stream 0:1 @ 0xf90140] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
[mpegts @ 0xfaeda0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/.tmp/Serviio/transcoding-temp-2356-4-ORIGINAL.stf':
  Metadata:
    encoder         : Lavf54.15.102
    Chapter #0.0: start 0.097000, end 9842.832000
    Metadata:
      title           : 00:00:00.097
    Stream #0:0(eng): Video: h264, yuv420p, 608x256 [SAR 1:1 DAR 19:8], q=2-31, 29.97 fps, 90k tbn, 29.97 tbc (default)
    Stream #0:1(hin): Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s (default)
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (aac -> ac3_fixed)
Press [q] to stop, [?] for help
frame=  251 fps= 74 q=-1.0 Lsize=    1209kB time=00:00:08.37 bitrate=1182.5kbits/s
video:656kB audio:405kB subtitle:0 global headers:0kB muxing overhead 13.964253%
Received signal 2: terminating.

Re: .mkv not working on PS3 after upgrade to 1.0.1

PostPosted: Mon Aug 13, 2012 7:00 pm
by zip
weird, manually works but via Serviio fails? Are you sure it uses the same FFmpeg?

Re: .mkv not working on PS3 after upgrade to 1.0.1

PostPosted: Mon Aug 13, 2012 7:05 pm
by Illico
Check that serviio service have permission access to the tmp folder.

[SOLVED] .mkv not working on PS3 after upgrade to 1.0.1

PostPosted: Mon Aug 13, 2012 7:41 pm
by xs2inattar
Cant believe this happened again.

I ran into the same problem when upgraded to 1.0. The problem was fixed when I deleted the tmp directory and let the new version create the directory.

Samething happened with 1.0.1 as well. after the tmp directory was deleted. 1.0.1 created the new directory and everything started working fine.

Re: [SOLVED].mkv not working on PS3 after upgrade to 1.0.1

PostPosted: Mon Aug 13, 2012 11:18 pm
by patters
By default, the Synology package uses /volume1/@tmp as the transcoding temp location. This is DSM's own temp folder, and it's only limited in size by your disk. The syno will purge this every time it boots too. Don't use /tmp because this seems to be a very small partition.

Re: [SOLVED].mkv not working on PS3 after upgrade to 1.0.1

PostPosted: Tue Aug 14, 2012 12:56 am
by xs2inattar
patters wrote:By default, the Synology package uses /volume1/@tmp as the transcoding temp location. This is DSM's own temp folder, and it's only limited in size by your disk. The syno will purge this every time it boots too. Don't use /tmp because this seems to be a very small partition.


I am using /.tmp as my temp folder. It is a folder that i created myself just to be used by serviio.

Re: [SOLVED].mkv not working on PS3 after upgrade to 1.0.1

PostPosted: Fri Aug 24, 2012 10:09 am
by jamitupya
Hi,
i seem to be having the same issue however

i have attached the 2 log files incase this helps.... i also deleted the old logs and re-started so its a bit simpler to see.....

any thoughts?

Re: [SOLVED].mkv not working on PS3 after upgrade to 1.0.1

PostPosted: Fri Aug 24, 2012 10:31 am
by Illico
jamitupya wrote:i seem to be having the same issue however?

This is not the same issue:
In the log there are some Broken pipe errors, that basically meant the renderer/TV closes the connection for whatever reason. That might be that your lan/wi-fi connection failed or the file is corrupted or unplayable by the renderer/tv.

Re: [SOLVED].mkv not working on PS3 after upgrade to 1.0.1

PostPosted: Fri Aug 24, 2012 11:56 pm
by jamitupya
thanks,
im connected via wired lan into a cisco 3851 so im guessing its a renderer issue. the only issue i have with this is these same files worked last week prior to the 1.0.1 patch.

oh well, thanks anyway