No Playback of mkv and avi+srt

For help and support with issues specific to Linux/Unix
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

No Playback of mkv and avi+srt

Postby Floyd » Sun May 31, 2009 8:35 pm

First, great program!!!

After serious problems all works fine except streaming MKV and AVI with external subtitles (SRT). When i am playing an avi+srt i got this in the debug.log:

Code: Select all
[Thread-262] DEBUG 21:25:21.460 Opened handler on socket Socket[addr=/192.168.10.20,port=54746,localport=5001]
[Thread-262] DEBUG 21:25:21.461 Received on socket: GET /description/fetch HTTP/1.1
[Thread-262] DEBUG 21:25:21.461 Received on socket: Host: 192.168.10.2:5001
[Thread-262] DEBUG 21:25:21.461 Received on socket: Date: Sun, 31 May 2009 19:25:52 GMT
[Thread-262] DEBUG 21:25:21.461 Received on socket: User-Agent: UPnP/1.0
[Thread-262] DEBUG 21:25:21.461 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[Thread-262] INFO  21:25:21.478 HTTP: description/fetch / 0-0
[Thread-262] DEBUG 21:25:21.479 Wrote on socket: HTTP/1.1 200 OK
[Thread-262] DEBUG 21:25:21.479 Wrote on socket: Content-Type: text/xml
[Thread-262] DEBUG 21:25:21.479 Wrote on socket: Cache-Control: no-cache
[Thread-262] DEBUG 21:25:21.479 Wrote on socket: Expires: 0
[Thread-262] DEBUG 21:25:21.479 Wrote on socket: Accept-Ranges: bytes
[Thread-262] DEBUG 21:25:21.479 Wrote on socket: Connection: keep-alive
[Thread-262] DEBUG 21:25:21.483 Wrote on socket: Server: Linux-amd64-2.6.18-128.1.10.el5.centos.plusxen, UPnP/1.0, PMS/1.10.5
[Thread-262] DEBUG 21:25:21.483 Available Content-Length: 1781
[Thread-262] DEBUG 21:25:21.483 Wrote on socket: Content-Length: 1781
[Thread-262] DEBUG 21:25:21.483 Wrote on socket:
[Thread-262] DEBUG 21:25:21.484 Sending stream: 1781 bytes of description/fetch
[Thread-262] DEBUG 21:25:21.484 Close Connection
[Thread-14] DEBUG 21:25:21.666 Receiving a NOTIFY from [192.168.10.2:38971]
[Thread-14] DEBUG 21:25:22.006 Receiving a NOTIFY from [192.168.10.2:38971]
[Thread-263] DEBUG 21:25:31.409 Opened handler on socket Socket[addr=/192.168.10.20,port=54745,localport=5001]
[Thread-263] DEBUG 21:25:31.410 Received on socket: POST /upnp/control/content_directory HTTP/1.1
[Thread-263] DEBUG 21:25:31.410 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[Thread-264] DEBUG 21:25:31.426 Opened handler on socket Socket[addr=/192.168.10.20,port=54744,localport=5001]
[Thread-264] DEBUG 21:25:31.426 Received on socket: HEAD /get/0$0$4$9$2/video.avi HTTP/1.0
[Thread-264] DEBUG 21:25:31.426 Received on socket: Host: 192.168.10.2:5001
[Thread-264] DEBUG 21:25:31.426 Received on socket: User-Agent: PLAYSTATION 3
[Thread-263] DEBUG 21:25:31.431 Received on socket: Host: 192.168.10.2:5001
[Thread-263] DEBUG 21:25:31.431 Received on socket: User-Agent: UPnP/1.0 DLNADOC/1.50
[Thread-263] DEBUG 21:25:31.436 Received on socket: Content-Length: 276
[Thread-263] DEBUG 21:25:31.436 Received on socket: Content-Type: text/xml; charset="utf-8"
[Thread-263] DEBUG 21:25:31.436 Received on socket: SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#GetSystemUpdateID"
[Thread-263] INFO  21:25:31.436 HTTP: upnp/control/content_directory / 0-0
[Thread-263] DEBUG 21:25:31.436 Wrote on socket: HTTP/1.1 200 OK
[Thread-263] DEBUG 21:25:31.437 Wrote on socket: CONTENT-TYPE: text/xml; charset="utf-8"
[Thread-263] DEBUG 21:25:31.437 Wrote on socket: Server: Linux-amd64-2.6.18-128.1.10.el5.centos.plusxen, UPnP/1.0, PMS/1.10.5
[Thread-263] DEBUG 21:25:31.437 Wrote on socket: Content-Length: 335
[Thread-263] DEBUG 21:25:31.437 Wrote on socket:
[Thread-263] DEBUG 21:25:31.438 Close Connection
[Thread-265] DEBUG 21:25:31.440 Opened handler on socket Socket[addr=/192.168.10.20,port=54743,localport=5001]
[Thread-265] DEBUG 21:25:31.440 Received on socket: POST /upnp/control/content_directory HTTP/1.1
[Thread-265] DEBUG 21:25:31.441 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[Thread-264] DEBUG 21:25:31.443 Received on socket: Connection: close
[Thread-264] DEBUG 21:25:31.444 Received on socket: Accept-Encoding: identity
[Thread-264] DEBUG 21:25:31.444 Received on socket: Cache-Control: no-cache
[Thread-264] INFO  21:25:31.444 HTTP: get/0$0$4$9$2/video.avi / 0-0
[Thread-264] DEBUG 21:25:31.444 Wrote on socket: HTTP/1.0 200 OK
[Thread-264] DEBUG 21:25:31.444 Searching for objectId: 0$0$4$9$2 with children option: false
[Thread-264] DEBUG 21:25:31.445 Asked stream chunk [0-0] timeseek: 0.0 of video.avi and player MEncoder
[Thread-264] TRACE 21:25:31.445 Starting transcode/remux of video.avi
[Thread-264] DEBUG 21:25:31.446 Searching an audio track with lang: ger
[Thread-264] DEBUG 21:25:31.451 Searching an audio track with lang: eng
[Thread-264] DEBUG 21:25:31.454 Choosed a default audio track: Audio: MP3 / lang: und / ID: 1
[Thread-264] DEBUG 21:25:31.455 Found subtitles track : Sub: SubRip / lang: und / ID: 100 / FILE: /data5/video/Serien/Supernatural/video.srt
[Thread-264] DEBUG 21:25:31.456 Found external file : /data5/video/Serien/Supernatural/video.srt
[Thread-265] DEBUG 21:25:31.459 Received on socket: Host: 192.168.10.2:5001
[Thread-265] DEBUG 21:25:31.459 Received on socket: User-Agent: UPnP/1.0 DLNADOC/1.50
[Thread-265] DEBUG 21:25:31.459 Received on socket: Content-Length: 907
[Thread-265] DEBUG 21:25:31.460 Received on socket: Content-Type: text/xml; charset="utf-8"
[Thread-265] DEBUG 21:25:31.460 Received on socket: SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
[Thread-265] INFO  21:25:31.460 HTTP: upnp/control/content_directory / 0-0
[Thread-265] DEBUG 21:25:31.460 Wrote on socket: HTTP/1.1 200 OK
[Thread-265] DEBUG 21:25:31.460 Wrote on socket: CONTENT-TYPE: text/xml; charset="utf-8"
[Thread-265] DEBUG 21:25:31.460 Searching for objectId: 0$0$4$9 with children option: false
[Thread-265] DEBUG 21:25:31.461 Search extension for video.srt
[Thread-265] DEBUG 21:25:31.462 Search extension for Supernatural.S04E21.HDTV.XviD-FQM.srt
[Thread-265] DEBUG 21:25:31.464 Wrote on socket: Server: Linux-amd64-2.6.18-128.1.10.el5.centos.plusxen, UPnP/1.0, PMS/1.10.5
[Thread-265] DEBUG 21:25:31.464 Wrote on socket: Content-Length: 859
[Thread-265] DEBUG 21:25:31.464 Wrote on socket:
[Thread-265] DEBUG 21:25:31.464 Close Connection
[mkfifo] INFO  21:25:31.545 Starting mkfifo --mode=777 /tmp/javaps3media/mencoder1243797931545
[mencoder] INFO  21:25:31.606 Starting mencoder -ss 0 -quiet /data5/video/Serien/Supernatural/video.avi -quiet -quiet -oac lavc -of mpeg -lavfopts format=asf -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 6 -lavdopts debug=0:threads=3 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=384:threads=3:keyint=1:vqscale=1:vqmin=2 -ass -nofontconfig -subcp cp1252 -ass-color ffffff00 -ass-border-color 00000000 -ass-font-scale 1.0 -ass-force-style FontName=Arial,Outline=1,Shadow=1,MarginV=10 -quiet -quiet -sid 100 -quiet -quiet -ofps 24000/1001 -sub /data5/video/Serien/Supernatural/video.srt -mc 0.1 -af lavcresample=48000 -srate 48000 -o /tmp/javaps3media/mencoder1243797931545
[mencoder] INFO  21:25:31.627 Reading pipe: /tmp/javaps3media/mencoder1243797931545
[mencoder] DEBUG 21:25:31.628 Opening file /tmp/javaps3media/mencoder1243797931545 for reading...
[Thread-264] DEBUG 21:25:37.726 Wrote on socket: Content-Type: video/mpeg
[Thread-264] DEBUG 21:25:37.727 Wrote on socket: Connection: keep-alive
[Thread-264] DEBUG 21:25:37.728 Wrote on socket: Server: Linux-amd64-2.6.18-128.1.10.el5.centos.plusxen, UPnP/1.0, PMS/1.10.5
[Thread-264] DEBUG 21:25:37.728 Wrote on socket: Content-Length: 0
[Thread-264] DEBUG 21:25:37.728 Wrote on socket:
[Thread-264] DEBUG 21:25:37.728 Close Connection
[Thread-269] DEBUG 21:25:37.733 Opened handler on socket Socket[addr=/192.168.10.20,port=54742,localport=5001]
[Thread-269] DEBUG 21:25:37.734 Received on socket: GET /get/0$0$4$9$2/video.avi HTTP/1.1
[Thread-269] DEBUG 21:25:37.734 Received on socket: Host: 192.168.10.2:5001
[Thread-269] DEBUG 21:25:37.734 Received on socket: User-Agent: PLAYSTATION 3
[Thread-269] DEBUG 21:25:37.753 Received on socket: Connection: Keep-Alive
[Thread-269] DEBUG 21:25:37.753 Received on socket: Accept-Encoding: identity
[Thread-269] DEBUG 21:25:37.753 Received on socket: transferMode.dlna.org: Streaming
[Thread-269] DEBUG 21:25:37.753 Received on socket: TimeSeekRange.dlna.org: npt=0.000-
[Thread-269] INFO  21:25:37.753 HTTP: get/0$0$4$9$2/video.avi / 0-0
[Thread-269] DEBUG 21:25:37.754 Wrote on socket: HTTP/1.1 200 OK
[Thread-269] DEBUG 21:25:37.754 Searching for objectId: 0$0$4$9$2 with children option: false
[Thread-269] DEBUG 21:25:37.754 Asked stream chunk [0-0] timeseek: 0.0 of video.avi and player MEncoder
[Thread-269] DEBUG 21:25:37.754 Wrote on socket: Content-Type: video/mpeg
[Thread-269] DEBUG 21:25:37.755 Wrote on socket: Connection: keep-alive
[Thread-269] DEBUG 21:25:37.755 Wrote on socket: Server: Linux-amd64-2.6.18-128.1.10.el5.centos.plusxen, UPnP/1.0, PMS/1.10.5
[Thread-269] DEBUG 21:25:37.755 Wrote on socket: Content-Length: 0
[Thread-269] DEBUG 21:25:37.755 Wrote on socket:
[Thread-269] DEBUG 21:25:37.755 Close Connection


Without the srt all works fine!


When i am playing an MKV i got this in the debug.log:

Code: Select all
[Thread-39] DEBUG 21:33:37.677 Opened handler on socket Socket[addr=/192.168.10.20,port=54697,localport=5001]
[Thread-39] DEBUG 21:33:37.678 Received on socket: GET /description/fetch HTTP/1.1
[Thread-39] DEBUG 21:33:37.678 Received on socket: Host: 192.168.10.2:5001
[Thread-39] DEBUG 21:33:37.678 Received on socket: Date: Sun, 31 May 2009 19:34:09 GMT
[Thread-39] DEBUG 21:33:37.678 Received on socket: User-Agent: UPnP/1.0
[Thread-39] DEBUG 21:33:37.678 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[Thread-39] INFO  21:33:37.701 HTTP: description/fetch / 0-0
[Thread-39] DEBUG 21:33:37.702 Wrote on socket: HTTP/1.1 200 OK
[Thread-39] DEBUG 21:33:37.702 Wrote on socket: Content-Type: text/xml
[Thread-39] DEBUG 21:33:37.703 Wrote on socket: Cache-Control: no-cache
[Thread-39] DEBUG 21:33:37.703 Wrote on socket: Expires: 0
[Thread-39] DEBUG 21:33:37.703 Wrote on socket: Accept-Ranges: bytes
[Thread-39] DEBUG 21:33:37.703 Wrote on socket: Connection: keep-alive
[Thread-39] DEBUG 21:33:37.706 Wrote on socket: Server: Linux-amd64-2.6.18-128.1.10.el5.centos.plusxen, UPnP/1.0, PMS/1.10.5
[Thread-39] DEBUG 21:33:37.706 Available Content-Length: 1781
[Thread-39] DEBUG 21:33:37.706 Wrote on socket: Content-Length: 1781
[Thread-39] DEBUG 21:33:37.706 Wrote on socket:
[Thread-39] DEBUG 21:33:37.707 Sending stream: 1781 bytes of description/fetch
[Thread-39] DEBUG 21:33:37.707 Close Connection
[Thread-40] DEBUG 21:33:45.954 Opened handler on socket Socket[addr=/192.168.10.20,port=54696,localport=5001]
[Thread-40] DEBUG 21:33:45.955 Received on socket: POST /upnp/control/content_directory HTTP/1.1
[Thread-40] DEBUG 21:33:45.955 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[Thread-41] DEBUG 21:33:45.956 Opened handler on socket Socket[addr=/192.168.10.20,port=54695,localport=5001]
[Thread-41] DEBUG 21:33:45.957 Received on socket: HEAD /get/0$0$7/video.mkv HTTP/1.0
[Thread-41] DEBUG 21:33:45.957 Received on socket: Host: 192.168.10.2:5001
[Thread-41] DEBUG 21:33:45.957 Received on socket: User-Agent: PLAYSTATION 3
[Thread-41] DEBUG 21:33:45.978 Received on socket: Connection: close
[Thread-41] DEBUG 21:33:45.978 Received on socket: Accept-Encoding: identity
[Thread-41] DEBUG 21:33:45.978 Received on socket: Cache-Control: no-cache
[Thread-41] INFO  21:33:45.978 HTTP: get/0$0$7/video.mkv / 0-0
[Thread-41] DEBUG 21:33:45.978 Wrote on socket: HTTP/1.0 200 OK
[Thread-41] DEBUG 21:33:45.979 Searching for objectId: 0$0$7 with children option: false
[Thread-41] DEBUG 21:33:45.979 Asked stream chunk [0-0] timeseek: 0.0 of video.mkv and player MEncoder
[Thread-41] TRACE 21:33:45.981 Starting transcode/remux of video.mkv
[Thread-41] DEBUG 21:33:45.981 Searching an audio track with lang: ger
[Thread-40] DEBUG 21:33:45.993 Received on socket: Host: 192.168.10.2:5001
[Thread-40] DEBUG 21:33:45.993 Received on socket: User-Agent: UPnP/1.0 DLNADOC/1.50
[Thread-40] DEBUG 21:33:45.993 Received on socket: Content-Length: 276
[Thread-40] DEBUG 21:33:45.994 Received on socket: Content-Type: text/xml; charset="utf-8"
[Thread-40] DEBUG 21:33:45.994 Received on socket: SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#GetSystemUpdateID"
[Thread-40] INFO  21:33:45.994 HTTP: upnp/control/content_directory / 0-0
[Thread-40] DEBUG 21:33:45.994 Wrote on socket: HTTP/1.1 200 OK
[Thread-40] DEBUG 21:33:45.994 Wrote on socket: CONTENT-TYPE: text/xml; charset="utf-8"
[Thread-40] DEBUG 21:33:45.995 Wrote on socket: Server: Linux-amd64-2.6.18-128.1.10.el5.centos.plusxen, UPnP/1.0, PMS/1.10.5
[Thread-40] DEBUG 21:33:45.995 Wrote on socket: Content-Length: 335
[Thread-40] DEBUG 21:33:45.995 Wrote on socket:
[Thread-40] DEBUG 21:33:45.995 Close Connection
[Thread-42] DEBUG 21:33:45.999 Opened handler on socket Socket[addr=/192.168.10.20,port=54694,localport=5001]
[Thread-42] DEBUG 21:33:46.000 Received on socket: POST /upnp/control/content_directory HTTP/1.1
[Thread-42] DEBUG 21:33:46.000 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[Thread-41] DEBUG 21:33:46.007 Searching an audio track with lang: eng
[Thread-41] DEBUG 21:33:46.013 Choosed a default audio track: Audio: AC3 / lang: und / ID: 0
[Thread-41] DEBUG 21:33:46.015 Searching a subtitle track with lang: ger
[Thread-41] DEBUG 21:33:46.015 Searching a subtitle track with lang: eng
[Thread-41] INFO  21:33:46.016 Starting ffmpeg -vframes 1 -i /data5/video/video.mkv -vcodec copy -f h264 -vbsf h264_mp4toannexb -an -y pipe:
[Thread-42] DEBUG 21:33:46.051 Received on socket: Host: 192.168.10.2:5001
[Thread-42] DEBUG 21:33:46.052 Received on socket: User-Agent: UPnP/1.0 DLNADOC/1.50
[Thread-42] DEBUG 21:33:46.052 Received on socket: Content-Length: 903
[Thread-42] DEBUG 21:33:46.052 Received on socket: Content-Type: text/xml; charset="utf-8"
[Thread-42] DEBUG 21:33:46.053 Received on socket: SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
[Thread-42] INFO  21:33:46.053 HTTP: upnp/control/content_directory / 0-0
[Thread-42] DEBUG 21:33:46.054 Wrote on socket: HTTP/1.1 200 OK
[Thread-42] DEBUG 21:33:46.054 Wrote on socket: CONTENT-TYPE: text/xml; charset="utf-8"
[Thread-42] DEBUG 21:33:46.054 Searching for objectId: 0$0 with children option: false
[Thread-42] DEBUG 21:33:46.057 Wrote on socket: Server: Linux-amd64-2.6.18-128.1.10.el5.centos.plusxen, UPnP/1.0, PMS/1.10.5
[Thread-42] DEBUG 21:33:46.058 Wrote on socket: Content-Length: 843
[Thread-42] DEBUG 21:33:46.058 Wrote on socket:
[Thread-41] INFO  21:33:46.058 Attaching thread: ffmpeg
[Thread-42] DEBUG 21:33:46.058 Close Connection
[Thread-44] DEBUG 21:33:46.060 FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2006 Fabrice Bellard, et al.
[Thread-44] DEBUG 21:33:46.060   configuration:  --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include/ffmpeg --extra-cflags=-fPIC --enable-mp3lame --enable-libogg --enable-vorbis --enable-faad --enable-faac --enable-libgsm --enable-xvid --enable-x264 --enable-a52 --enable-a52bin --enable-dts --enable-pp --enable-shared --enable-pthreads --enable-gpl --disable-strip
[Thread-44] DEBUG 21:33:46.061   libavutil version: 49.1.0
[Thread-44] DEBUG 21:33:46.061   libavcodec version: 51.26.0
[Thread-44] DEBUG 21:33:46.061   libavformat version: 51.6.0
[Thread-44] DEBUG 21:33:46.061   built on Dec 19 2006 01:12:34, gcc: 3.4.4 20050721 (Red Hat 3.4.4-2)
[Thread-44] DEBUG 21:33:46.061 [matroska @ 0x3a9d37c040]Ignoring seekhead entry for ID=0x1549a966
[Thread-44] DEBUG 21:33:46.061 [matroska @ 0x3a9d37c040]Ignoring seekhead entry for ID=0x1654ae6b
[Thread-44] DEBUG 21:33:46.061 [matroska @ 0x3a9d37c040]Ignoring seekhead entry for ID=0x114d9b74
[Thread-44] DEBUG 21:33:46.061 [matroska @ 0x3a9d37c040]Unknown entry 0x73a4 in info header
[Thread-44] DEBUG 21:33:46.061 [matroska @ 0x3a9d37c040]Unknown track header entry 0x55aa - ignoring
[Thread-44] DEBUG 21:33:46.061 [matroska @ 0x3a9d37c040]Unknown track header entry 0x23314f - ignoring
[Thread-44] DEBUG 21:33:46.061 [matroska @ 0x3a9d37c040]Unknown track header entry 0x55ee - ignoring
[Thread-44] DEBUG 21:33:46.061 [matroska @ 0x3a9d37c040]Unknown track header entry 0xaa - ignoring
[Thread-44] DEBUG 21:33:46.061 [matroska @ 0x3a9d37c040]Unknown track header entry 0x55aa - ignoring
[Thread-44] DEBUG 21:33:46.061 [matroska @ 0x3a9d37c040]Unknown track header entry 0x23314f - ignoring
[Thread-44] DEBUG 21:33:46.064 Input #0, matroska, from '/data5/video/video.mkv':
[Thread-44] DEBUG 21:33:46.064   Duration: 00:48:23.2, bitrate: N/A
[Thread-44] DEBUG 21:33:46.064   Stream #0.0: Video: h264, yuv420p, 960x720, 25.00 fps(r)
[Thread-44] DEBUG 21:33:46.064   Stream #0.1: Audio: ac3, 48000 Hz, stereo
[Thread-44] DEBUG 21:33:46.064   Stream #0.2: Audio: ac3, 48000 Hz, 5:1
[Thread-44] DEBUG 21:33:46.064 Unkown bitstream filter h264_mp4toannexb
[Thread-41] DEBUG 21:33:46.066 EOF
[Thread-41] TRACE 21:33:46.066 Process ffmpeg has a return code of 1! Maybe an error occured... check the log file
[Thread-41] DEBUG 21:33:46.070 Ready to Stop: true
[mkfifo] INFO  21:33:46.127 Starting mkfifo --mode=777 /tmp/javaps3media/mencoder1243798426127
[mencoder] INFO  21:33:46.186 Starting mencoder -ss 0 -quiet /data5/video/video.mkv -quiet -quiet -oac lavc -of mpeg -lavfopts format=asf -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 6 -lavdopts debug=0:threads=3 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=384:threads=3:keyint=1:vqscale=1:vqmin=2 -quiet -nofontconfig -subcp cp1252 -ass-color ffffff00 -ass-border-color 00000000 -ass-font-scale 1.0 -ass-force-style FontName=Arial,Outline=1,Shadow=1,MarginV=10 -aid 0 -subdelay 20000 -quiet -quiet -ofps 24000/1001 -quiet -quiet -mc 0 -noskip -af lavcresample=48000 -srate 48000 -o /tmp/javaps3media/mencoder1243798426127
[mencoder] INFO  21:33:46.199 Reading pipe: /tmp/javaps3media/mencoder1243798426127
[mencoder] DEBUG 21:33:46.199 Opening file /tmp/javaps3media/mencoder1243798426127 for reading...
[Thread-47] INFO  21:33:48.585 Stopping process: ffmpeg
[Thread-47] DEBUG 21:33:48.587 Killing the Unix process: 28469
[Thread-51] DEBUG 21:33:48.608 kill 28469: No such process
[Thread-47] INFO  21:33:48.610 Destroying buffer
[Thread-47] INFO  21:33:48.944 Destroying buffer
[Thread-43] INFO  21:33:49.134 Stopping process: ffmpeg
[Thread-43] DEBUG 21:33:49.134 Killing the Unix process: 28469
[Thread-53] DEBUG 21:33:49.256 kill 28469: No such process
[Thread-43] INFO  21:33:49.257 Destroying buffer
[Thread-41] DEBUG 21:33:52.306 Wrote on socket: Content-Type: video/mpeg
[Thread-41] DEBUG 21:33:52.306 Wrote on socket: Connection: keep-alive
[Thread-41] DEBUG 21:33:52.306 Wrote on socket: Server: Linux-amd64-2.6.18-128.1.10.el5.centos.plusxen, UPnP/1.0, PMS/1.10.5
[Thread-41] DEBUG 21:33:52.307 Wrote on socket: Content-Length: 0
[Thread-41] DEBUG 21:33:52.307 Wrote on socket:
[Thread-41] DEBUG 21:33:52.307 Close Connection
[Thread-55] DEBUG 21:33:52.312 Opened handler on socket Socket[addr=/192.168.10.20,port=54693,localport=5001]
[Thread-55] DEBUG 21:33:52.312 Received on socket: GET /get/0$0$7/video.mkv HTTP/1.1
[Thread-55] DEBUG 21:33:52.312 Received on socket: Host: 192.168.10.2:5001
[Thread-55] DEBUG 21:33:52.313 Received on socket: User-Agent: PLAYSTATION 3
[Thread-55] DEBUG 21:33:52.339 Received on socket: Connection: Keep-Alive
[Thread-55] DEBUG 21:33:52.339 Received on socket: Accept-Encoding: identity
[Thread-55] DEBUG 21:33:52.339 Received on socket: transferMode.dlna.org: Streaming
[Thread-55] DEBUG 21:33:52.339 Received on socket: TimeSeekRange.dlna.org: npt=0.000-
[Thread-55] INFO  21:33:52.340 HTTP: get/0$0$7/video.mkv / 0-0
[Thread-55] DEBUG 21:33:52.340 Wrote on socket: HTTP/1.1 200 OK
[Thread-55] DEBUG 21:33:52.340 Searching for objectId: 0$0$7 with children option: false
[Thread-55] DEBUG 21:33:52.340 Asked stream chunk [0-0] timeseek: 0.0 of video.mkv and player MEncoder
[Thread-55] DEBUG 21:33:52.341 Wrote on socket: Content-Type: video/mpeg
[Thread-55] DEBUG 21:33:52.341 Wrote on socket: Connection: keep-alive
[Thread-55] DEBUG 21:33:52.341 Wrote on socket: Server: Linux-amd64-2.6.18-128.1.10.el5.centos.plusxen, UPnP/1.0, PMS/1.10.5
[Thread-55] DEBUG 21:33:52.341 Wrote on socket: Content-Length: 0
[Thread-55] DEBUG 21:33:52.341 Wrote on socket:
[Thread-55] DEBUG 21:33:52.342 Close Connection


In both cases the PS3 says: "defect data!"
Please help.

cu Floyd
Floyd
 
Posts: 7
Joined: Sun May 31, 2009 8:11 pm
Location: Berlin, Germany

Re: No Playback of mkv and avi+srt

Postby shagrath » Mon Jun 01, 2009 12:29 pm

your ffmpeg version is too old (and I suspect mencoder as well)
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: No Playback of mkv and avi+srt

Postby Floyd » Mon Jun 01, 2009 6:52 pm

Thanks for the fast reply. I have downloaded the latest source for the two and build them:

Code: Select all
FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration:
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Jun  1 2009 19:14:15, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44)

MEncoder SVN-r29333-snapshot (C) 2000-2009 MPlayer Team


That solves only one of my problems. MKV-Files are now playing properly, thanks for that.

vi+srt do not:

Code: Select all
[Thread-78] DEBUG 19:50:21.924 Opened handler on socket Socket[addr=/192.168.10.22,port=57143,localport=5001]
[Thread-78] DEBUG 19:50:21.924 Received on socket: POST /upnp/control/content_directory HTTP/1.1
[Thread-78] DEBUG 19:50:21.925 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[Thread-78] DEBUG 19:50:21.942 Received on socket: Host: 192.168.10.2:5001
[Thread-78] DEBUG 19:50:21.943 Received on socket: User-Agent: UPnP/1.0 DLNADOC/1.50
[Thread-78] DEBUG 19:50:21.943 Received on socket: Content-Length: 276
[Thread-78] DEBUG 19:50:21.943 Received on socket: Content-Type: text/xml; charset="utf-8"
[Thread-78] DEBUG 19:50:21.943 Received on socket: SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#GetSystemUpdateID"
[Thread-78] INFO  19:50:21.943 HTTP: upnp/control/content_directory / 0-0
[Thread-78] DEBUG 19:50:21.943 Wrote on socket: HTTP/1.1 200 OK
[Thread-78] DEBUG 19:50:21.944 Wrote on socket: CONTENT-TYPE: text/xml; charset="utf-8"
[Thread-78] DEBUG 19:50:21.944 Wrote on socket: Server: Linux-amd64-2.6.18-128.1.10.el5.centos.plusxen, UPnP/1.0, PMS/1.10.5
[Thread-78] DEBUG 19:50:21.944 Wrote on socket: Content-Length: 335
[Thread-78] DEBUG 19:50:21.944 Wrote on socket:
[Thread-78] DEBUG 19:50:21.944 Close Connection
[Thread-79] DEBUG 19:50:21.945 Opened handler on socket Socket[addr=/192.168.10.22,port=57142,localport=5001]
[Thread-79] DEBUG 19:50:21.945 Received on socket: HEAD /get/0$0$4$9$2/video.avi HTTP/1.0
[Thread-79] DEBUG 19:50:21.945 Received on socket: Host: 192.168.10.2:5001
[Thread-79] DEBUG 19:50:21.945 Received on socket: User-Agent: PLAYSTATION 3
[Thread-80] DEBUG 19:50:21.947 Opened handler on socket Socket[addr=/192.168.10.22,port=57141,localport=5001]
[Thread-80] DEBUG 19:50:21.948 Received on socket: POST /upnp/control/content_directory HTTP/1.1
[Thread-80] DEBUG 19:50:21.948 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[Thread-79] DEBUG 19:50:21.966 Received on socket: Connection: close
[Thread-79] DEBUG 19:50:21.967 Received on socket: Accept-Encoding: identity
[Thread-79] DEBUG 19:50:21.967 Received on socket: Cache-Control: no-cache
[Thread-79] INFO  19:50:21.967 HTTP: get/0$0$4$9$2/video.avi / 0-0
[Thread-79] DEBUG 19:50:21.967 Wrote on socket: HTTP/1.0 200 OK
[Thread-79] DEBUG 19:50:21.967 Searching for objectId: 0$0$4$9$2 with children option: false
[Thread-79] DEBUG 19:50:21.967 Asked stream chunk [0-0] timeseek: 0.0 of video.avi and player MEncoder
[Thread-79] TRACE 19:50:21.968 Starting transcode/remux of video.avi
[Thread-79] DEBUG 19:50:21.968 Searching an audio track with lang: ger
[Thread-79] DEBUG 19:50:21.971 Searching an audio track with lang: eng
[Thread-80] DEBUG 19:50:21.973 Received on socket: Host: 192.168.10.2:5001
[Thread-80] DEBUG 19:50:21.973 Received on socket: User-Agent: UPnP/1.0 DLNADOC/1.50
[Thread-80] DEBUG 19:50:21.973 Received on socket: Content-Length: 907
[Thread-80] DEBUG 19:50:21.973 Received on socket: Content-Type: text/xml; charset="utf-8"
[Thread-80] DEBUG 19:50:21.973 Received on socket: SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
[Thread-80] INFO  19:50:21.974 HTTP: upnp/control/content_directory / 0-0
[Thread-79] DEBUG 19:50:21.974 Choosed a default audio track: Audio: MP3 / lang: und / ID: 1
[Thread-80] DEBUG 19:50:21.974 Wrote on socket: HTTP/1.1 200 OK
[Thread-80] DEBUG 19:50:21.974 Wrote on socket: CONTENT-TYPE: text/xml; charset="utf-8"
[Thread-80] DEBUG 19:50:21.974 Searching for objectId: 0$0$4$9 with children option: false
[Thread-79] DEBUG 19:50:21.975 Found subtitles track : Sub: SubRip / lang: und / ID: 100 / FILE: /data5/video/Serien/Supernatural/video.srt
[Thread-80] DEBUG 19:50:21.975 Search extension for video.srt
[Thread-79] DEBUG 19:50:21.975 Found external file : /data5/video/Serien/Supernatural/video.srt
[Thread-80] DEBUG 19:50:21.976 Search extension for Supernatural.S04E21.HDTV.XviD-FQM.srt
[Thread-80] DEBUG 19:50:21.977 Wrote on socket: Server: Linux-amd64-2.6.18-128.1.10.el5.centos.plusxen, UPnP/1.0, PMS/1.10.5
[Thread-80] DEBUG 19:50:21.977 Wrote on socket: Content-Length: 859
[Thread-80] DEBUG 19:50:21.977 Wrote on socket:
[Thread-80] DEBUG 19:50:21.978 Close Connection
[mkfifo] INFO  19:50:21.991 Starting mkfifo --mode=777 /tmp/javaps3media/mencoder1243878621991
[mencoder] INFO  19:50:22.046 Starting mencoder -ss 0 -quiet /data5/video/Serien/Supernatural/video.avi -quiet -quiet -oac lavc -of mpeg -lavfopts format=asf -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 6 -lavdopts debug=0:threads=3 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=384:threads=3:keyint=1:vqscale=1:vqmin=2 -ass -nofontconfig -subcp cp1252 -ass-color ffffff00 -ass-border-color 00000000 -ass-font-scale 1.0 -ass-force-style FontName=Arial,Outline=1,Shadow=1,MarginV=10 -quiet -quiet -sid 100 -quiet -quiet -ofps 24000/1001 -sub /data5/video/Serien/Supernatural/video.srt -mc 0.1 -af lavcresample=48000 -srate 48000 -o /tmp/javaps3media/mencoder1243878621991
[mencoder] INFO  19:50:22.070 Reading pipe: /tmp/javaps3media/mencoder1243878621991
[mencoder] DEBUG 19:50:22.071 Opening file /tmp/javaps3media/mencoder1243878621991 for reading...
[Thread-79] DEBUG 19:50:28.166 Wrote on socket: Content-Type: video/mpeg
[Thread-79] DEBUG 19:50:28.167 Wrote on socket: Connection: keep-alive
[Thread-79] DEBUG 19:50:28.167 Wrote on socket: Server: Linux-amd64-2.6.18-128.1.10.el5.centos.plusxen, UPnP/1.0, PMS/1.10.5
[Thread-79] DEBUG 19:50:28.168 Wrote on socket: Content-Length: 0
[Thread-79] DEBUG 19:50:28.168 Wrote on socket:
[Thread-79] DEBUG 19:50:28.168 Close Connection
[Thread-84] DEBUG 19:50:28.174 Opened handler on socket Socket[addr=/192.168.10.22,port=57140,localport=5001]
[Thread-84] DEBUG 19:50:28.174 Received on socket: GET /get/0$0$4$9$2/video.avi HTTP/1.1
[Thread-84] DEBUG 19:50:28.174 Received on socket: Host: 192.168.10.2:5001
[Thread-84] DEBUG 19:50:28.174 Received on socket: User-Agent: PLAYSTATION 3
[Thread-84] DEBUG 19:50:28.193 Received on socket: Connection: Keep-Alive
[Thread-84] DEBUG 19:50:28.194 Received on socket: Accept-Encoding: identity
[Thread-84] DEBUG 19:50:28.194 Received on socket: transferMode.dlna.org: Streaming
[Thread-84] DEBUG 19:50:28.194 Received on socket: TimeSeekRange.dlna.org: npt=0.000-
[Thread-84] INFO  19:50:28.194 HTTP: get/0$0$4$9$2/video.avi / 0-0
[Thread-84] DEBUG 19:50:28.194 Wrote on socket: HTTP/1.1 200 OK
[Thread-84] DEBUG 19:50:28.195 Searching for objectId: 0$0$4$9$2 with children option: false
[Thread-84] DEBUG 19:50:28.195 Asked stream chunk [0-0] timeseek: 0.0 of video.avi and player MEncoder
[Thread-84] DEBUG 19:50:28.195 Wrote on socket: Content-Type: video/mpeg
[Thread-84] DEBUG 19:50:28.195 Wrote on socket: Connection: keep-alive
[Thread-84] DEBUG 19:50:28.196 Wrote on socket: Server: Linux-amd64-2.6.18-128.1.10.el5.centos.plusxen, UPnP/1.0, PMS/1.10.5
[Thread-84] DEBUG 19:50:28.196 Wrote on socket: Content-Length: 0
[Thread-84] DEBUG 19:50:28.196 Wrote on socket:
[Thread-84] DEBUG 19:50:28.196 Close Connection


Do you have another hint?

Cu Floyd
Last edited by Floyd on Tue Jun 02, 2009 9:41 am, edited 1 time in total.
Floyd
 
Posts: 7
Joined: Sun May 31, 2009 8:11 pm
Location: Berlin, Germany

Re: No Playback of mkv and avi+srt

Postby shagrath » Mon Jun 01, 2009 7:41 pm

not really, try to launch the mencoder command line from the debug.log in a terminal, something wrong should be happenning
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: No Playback of mkv and avi+srt

Postby Floyd » Mon Jun 01, 2009 9:13 pm

Ahh yes. I have launched the command in a terminal:

Code: Select all
mencoder -ss 0 -quiet /data5/video/Serien/Supernatural/video.avi -quiet -quiet -oac lavc -of mpeg -lavfopts format=asf -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 6 -lavdopts debug=0:threads=3 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=384:threads=3:keyint=1:vqscale=1:vqmin=2 -ass -nofontconfig -subcp cp1252 -ass-color ffffff00 -ass-border-color 00000000 -ass-font-scale 1.0 -ass-force-style FontName=Arial,Outline=1,Shadow=1,MarginV=10 -quiet -quiet -sid 100 -quiet -quiet -ofps 24000/1001 -sub /data5/video/Serien/Supernatural/video.srt -mc 0.1 -af lavcresample=48000 -srate 48000 -o /tmp/javaps3media/mencoder1243878621991


All the "-ass" parameters are not supported parameters!!

Code: Select all
MEncoder SVN-r29333-snapshot (C) 2000-2009 MPlayer Team
-ass is not an MEncoder option


After i removed all the -ass*, the program thems to work fine. Ist there somewhere an option to to this?
Floyd
 
Posts: 7
Joined: Sun May 31, 2009 8:11 pm
Location: Berlin, Germany

Re: No Playback of mkv and avi+srt

Postby shagrath » Mon Jun 01, 2009 10:31 pm

you can try to disable ass subtitles in the server's mencoder config panel
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: No Playback of mkv and avi+srt

Postby Floyd » Thu Jun 04, 2009 9:15 pm

i have tried that, the '-ass' options are gone. But then there are others witch are also not supported by mencoder.
If i totally disable external subtitels, it work fine, but i think this is not the way.....

So my question is: Witch version /build do you use / do you recommend?

I have use this (latest source):
http://www.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2
Floyd
 
Posts: 7
Joined: Sun May 31, 2009 8:11 pm
Location: Berlin, Germany

Re: No Playback of mkv and avi+srt

Postby shagrath » Fri Jun 05, 2009 7:49 pm

last ones should work

my guess is you're using faulty configure/build options:

http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html#OSD/SUBTITLE OPTIONS
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: No Playback of mkv and avi+srt

Postby Morb » Sun Jun 07, 2009 11:02 am

Hello,

First time user around here :)
Loving the ps3mediaserver for windows :P
But... I've recently switched to dual boot with Linux Mint 7 (I believe this is based on Ubuntu?)and I'm now trying to get ps3mediaserver to work.

Everything works apart from the same issue as Floyd has.
I can't seem to solve this problem, but i'm really big noob in this linux environment as well :)

How can i check the version of FFmpeg? etc..
If check the package manger is says i have version 3:0.svn20090303-1..
Morb
 
Posts: 14
Joined: Sun Jun 07, 2009 10:54 am

Re: No Playback of mkv and avi+srt

Postby Floyd » Mon Jun 08, 2009 10:50 am

Just open a Terminal and type 'ffmeg' in there.
I didn't find any RPM with the actual Version, so i have to compile it myself.
http://ffmpeg.org/download.html

My output:
Code: Select all
[root@bedrock fred]# ffmpeg
FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration:
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Jun  1 2009 19:14:15, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44)
At least one output file must be specified
Floyd
 
Posts: 7
Joined: Sun May 31, 2009 8:11 pm
Location: Berlin, Germany

Next

Return to Linux/Unix Support

Who is online

Users browsing this forum: No registered users and 7 guests