PMS SubJunk Build

Download and discuss official beta builds here

Re: PMS SubJunk Build (Updated 10/01/2011)

Postby tomeko » Tue Jan 18, 2011 12:53 am

SubJunk wrote:
mazey wrote:hey subjunk

you can set mediainfo=true in the bravia5500.conf instead of false. works :) fixes mpg proper detection so it doesnt try to stream the wrong type and come up all blocky and broken. transcodes it instead unless its the mpg bravia likes :) should make the change in the official build also
OK, I have changed it for SB12 which I should release soon. Hopefully more people can test and confirm that it works before I apply it to the official build, because it's not something I can test :)

With mediainfo=true some mkv files (AVC 1080p/DTS) are displayed with many blocks (picture is broken). More test later. (BRAVIA 5500 / SB12)
tomeko
Project Member
 
Posts: 154
Joined: Sat Jun 06, 2009 11:02 am

Re: PMS SubJunk Build (Updated 10/01/2011)

Postby mazey » Tue Jan 18, 2011 1:18 am

tomeko wrote:
SubJunk wrote:
mazey wrote:hey subjunk

you can set mediainfo=true in the bravia5500.conf instead of false. works :) fixes mpg proper detection so it doesnt try to stream the wrong type and come up all blocky and broken. transcodes it instead unless its the mpg bravia likes :) should make the change in the official build also
OK, I have changed it for SB12 which I should release soon. Hopefully more people can test and confirm that it works before I apply it to the official build, because it's not something I can test :)

With mediainfo=true some mkv files (AVC 1080p/DTS) are displayed with many blocks (picture is broken). More test later. (BRAVIA 5500 / SB12)


did u test it with mediainfo=false aswell, it might be something else in sb12, either way it would be getting transcoded cuz its not supported with streaming so it shouldnt of made any difference. worst case we could just turn it back off, and i suggest adding mpg/mpeg to the transcoded list so alot of the mpgs dont play blocky/broken. i dont have any mkv files at all to test.
PMS 1.90.2 Snapshot - Intel Celeron G1840 2.8Ghz / Asus Z97m-plus / Corsair Vengeance 8GB / Windows 8.1 Pro (64 bit)
mazey
 
Posts: 783
Joined: Sat Oct 24, 2009 9:07 am

Re: PMS SubJunk Build (Updated 18/01/2011)

Postby sfievet » Tue Jan 18, 2011 9:53 am

mazey wrote:
you can set mediainfo=true in the bravia5500.conf instead of false. works :)


I have a w5500 and set "mediainfo=true" since v412. Works for me as well. :)

Also i have a request : playing DVD with PMS relies on the old and somewhat discontinued
"dvd://" Mplayer/Mencoder method. However, for sometime now Mplayer devs have suggested
to switch to "dvdnav://" instead. I own DVDs for which playback fails when started with dvd://[CHAPTER],
but works with dvdnav://[CHAPTER]. Would it be possible that PMS use of Mplayer/Mencoder
switches to dvdnav?

Thanks, Seb.
sfievet
 
Posts: 19
Joined: Sat Mar 13, 2010 7:42 pm

Re: PMS SubJunk Build (Updated 18/01/2011)

Postby mazey » Tue Jan 18, 2011 9:56 am

sfievet wrote:
mazey wrote:
you can set mediainfo=true in the bravia5500.conf instead of false. works :)


I have a w5500 and set "mediainfo=true" since v412. Works for me as well. :)


do u by any chance play mkv's its been reported they might not work properly with this setting, any feedback will be appreciated.
PMS 1.90.2 Snapshot - Intel Celeron G1840 2.8Ghz / Asus Z97m-plus / Corsair Vengeance 8GB / Windows 8.1 Pro (64 bit)
mazey
 
Posts: 783
Joined: Sat Oct 24, 2009 9:07 am

Re: PMS SubJunk Build (Updated 18/01/2011)

Postby Fixx » Tue Jan 18, 2011 8:40 pm

Great work, thanks SubJunk!
Fixx
 
Posts: 17
Joined: Sun Feb 28, 2010 10:23 am

Re: PMS SubJunk Build (Updated 18/01/2011)

Postby brotherjohn » Tue Jan 18, 2011 8:53 pm

Hi subjunk,
I installed the new SB12 build and uses the BraviaEx.conf and mp4 files don't work.
Here is the log from the log-tab:
Code: Select all
[Thread-157] TRACE 20:32:57.080 Starting transcode/remux of Polettos_Kochschule-Grundkurs_Spaghetti.mp4
[win32/tsMuxeR.exe] TRACE 20:33:17.587 Process C:\Program Files\PS3 Media Server\win32\tsMuxeR.exe has a return code of -2! Maybe an error occured... check the log file


and this is the content to the file of debug.log I found:
Code: Select all
[Thread-103] DEBUG 20:32:49.847 Input #0, flv, from 'I:\TV-Mediathek\Polettos Kochstudio\Polettos_Kochschule-Grundkurs_Spaghetti.mp4':
[Thread-103] DEBUG 20:32:49.847   Metadata:
[Thread-103] DEBUG 20:32:49.847     duration        : 2608
[Thread-103] DEBUG 20:32:49.847     moovPosition    : 32
[Thread-103] DEBUG 20:32:49.847     audiocodecid    : mp4a
[Thread-103] DEBUG 20:32:49.847     width           : 960
[Thread-103] DEBUG 20:32:49.847     height          : 544
[Thread-103] DEBUG 20:32:49.847     videocodecid    : avc1
[Thread-103] DEBUG 20:32:49.847     avcprofile      : 100
[Thread-103] DEBUG 20:32:49.847     avclevel        : 31
[Thread-103] DEBUG 20:32:49.847     aacaot          : 2
[Thread-103] DEBUG 20:32:49.847     audiosamplerate : 48000
[Thread-103] DEBUG 20:32:49.847     audiochannels   : 2
[Thread-103] DEBUG 20:32:49.847     videoframerate  : 25
[Thread-103] DEBUG 20:32:49.847   Duration: 00:43:27.67, start: 0.000000, bitrate: N/A
[Thread-103] DEBUG 20:32:49.847     Stream #0.0: Video: h264, yuv420p, 960x544 [PAR 1:1 DAR 30:17], 25 tbr, 1k tbn, 50 tbc
[Thread-103] DEBUG 20:32:49.847     Stream #0.1: Audio: aac, 48000 Hz, stereo, s16
[Thread-103] DEBUG 20:32:49.847 [buffer @ 03536f20] w:960 h:544 pixfmt:yuv420p
[Thread-103] DEBUG 20:32:49.847 [scale @ 03663980] w:960 h:544 fmt:yuv420p -> w:320 h:180 fmt:yuvj420p flags:0x4
[Thread-103] DEBUG 20:32:49.847 Output #0, image2, to 'pipe:':
[Thread-103] DEBUG 20:32:49.847   Metadata:
[Thread-103] DEBUG 20:32:49.847     duration        : 2608
[Thread-103] DEBUG 20:32:49.847     moovPosition    : 32
[Thread-103] DEBUG 20:32:49.847     audiocodecid    : mp4a
[Thread-103] DEBUG 20:32:49.847     width           : 960
[Thread-103] DEBUG 20:32:49.847     height          : 544
[Thread-103] DEBUG 20:32:49.847     videocodecid    : avc1
[Thread-103] DEBUG 20:32:49.847     avcprofile      : 100
[Thread-103] DEBUG 20:32:49.847     avclevel        : 31
[Thread-103] DEBUG 20:32:49.847     aacaot          : 2
[Thread-103] DEBUG 20:32:49.847     audiosamplerate : 48000
[Thread-103] DEBUG 20:32:49.847     audiochannels   : 2
[Thread-103] DEBUG 20:32:49.847     videoframerate  : 25
[Thread-103] DEBUG 20:32:49.847     encoder         : Lavf52.91.0
[Thread-103] DEBUG 20:32:49.847     Stream #0.0: Video: mjpeg, yuvj420p, 320x180 [PAR 135:136 DAR 30:17], q=2-31, 200 kb/s, 90k tbn, 25 tbc
[Thread-103] DEBUG 20:32:49.847 Stream mapping:
[Thread-103] DEBUG 20:32:49.847   Stream #0.0 -> #0.0
[Thread-103] DEBUG 20:32:49.847 Press [q] to stop encoding
[Thread-103] DEBUG 20:32:49.847 video:7kB audio:0kB global headers:0kB muxing overhead -100.298184%
[Thread-101] DEBUG 20:32:49.850 EOF
[Thread-101] DEBUG 20:32:49.850 Ready to Stop: true
[Thread-101] DEBUG 20:32:49.860 Wrote on socket: Server: Windows_7-x86-6.1, UPnP/1.0, PMS/1.20.441-SB12
[Thread-101] DEBUG 20:32:49.860 Available Content-Length: 7323
[Thread-101] DEBUG 20:32:49.860 Wrote on socket: Content-Length: 7323
[Thread-101] DEBUG 20:32:49.860 Wrote on socket:
[Thread-101] DEBUG 20:32:49.860 Sending stream: 7323 bytes of get/0$0$0$0/thumbnail0000Polettos_Kochschule-Grundkurs_Spaghetti.mp4
[Thread-101] DEBUG 20:32:49.860 Close Connection

[Thread-157] DEBUG 20:32:57.080 Opened handler on socket Socket[addr=/192.168.178.90,port=54058,localport=5001]
[Thread-157] INFO  20:32:57.080 Calling SetThreadExecutionState ES_SYSTEM_REQUIRED
[Thread-157] DEBUG 20:32:57.080 Received on socket: HEAD /get/0$0$0$0/Polettos_Kochschule-Grundkurs_Spaghetti.mp4 HTTP/1.1
[Thread-157] DEBUG 20:32:57.080 Received on socket: getcontentFeatures.dlna.org: 1
[Thread-157] DEBUG 20:32:57.080 Received on socket: Pragma: getIfoFileURI.dlna.org
[Thread-157] DEBUG 20:32:57.080 Received on socket: transferMode.dlna.org: Streaming
[Thread-157] DEBUG 20:32:57.080 Received on socket: X-AV-Physical-Unit-Info: pa="BRAVIA KDL-40EX505";
[Thread-157] DEBUG 20:32:57.080 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-40EX505"; mv="1.7";
[Thread-157] DEBUG 20:32:57.080 Received on socket: Host: 192.168.178.109:5001
[Thread-157] INFO  20:32:57.080 HTTP: get/0$0$0$0/Polettos_Kochschule-Grundkurs_Spaghetti.mp4 / 0-0
[Thread-157] DEBUG 20:32:57.080 Wrote on socket: HTTP/1.1 200 OK
[Thread-157] DEBUG 20:32:57.080 Searching for objectId: 0$0$0$0 with children option: false
[Thread-157] DEBUG 20:32:57.080 Wrote on socket: TransferMode.DLNA.ORG: Streaming
[Thread-157] DEBUG 20:32:57.080 Asked stream chunk [0-0] timeseek: 0.0 of Polettos_Kochschule-Grundkurs_Spaghetti.mp4 and player MEncoder
[Thread-157] TRACE 20:32:57.080 Starting transcode/remux of Polettos_Kochschule-Grundkurs_Spaghetti.mp4
[Thread-157] DEBUG 20:32:57.083 Searching an audio track with lang: ger
[Thread-157] DEBUG 20:32:57.085 Searching an audio track with lang: eng
[Thread-157] DEBUG 20:32:57.085 Choosed a default audio track: Audio: AAC / lang: und / ID: 0
[Thread-157] DEBUG 20:32:57.085 Search a match for: und with de and off
[Thread-157] DEBUG 20:32:57.085 Search a match for: und with eng and de
[Thread-157] DEBUG 20:32:57.088 Searching a subtitle track with lang: ger
[Thread-157] DEBUG 20:32:57.088 Searching a subtitle track with lang: eng
[Thread-157] DEBUG 20:32:57.125 Search a match for: und with de and off
[Thread-157] DEBUG 20:32:57.125 Search a match for: und with eng and de
[Thread-157] DEBUG 20:32:57.125 Searching a subtitle track with lang: ger
[Thread-157] DEBUG 20:32:57.125 Searching a subtitle track with lang: eng
[Thread-157] INFO  20:32:57.143 Creating pipe \\.\pipe\1295379177143ffmpegvideo
[Thread-157] INFO  20:32:57.145 Creating pipe \\.\pipe\1295379177143videoout

and
Code: Select all
[win32/mencoder.exe] INFO  20:32:57.248 Starting C:\Program Files\PS3 Media Server\win32\mencoder.exe -ss 0 I:\TV-Mediathek\Polettos Kochstudio\Polettos_Kochschule-Grundkurs_Spaghetti.mp4 -quiet -quiet -really-quiet -msglevel statusline=-1:mencoder=-1 -ovc copy -nosound -mc 0 -noskip -of rawvideo -o \\.\pipe\1295379177143ffmpegvideo
[win32/mencoder.exe] INFO  20:32:57.258 Attaching thread: win32/mencoder.exe
[win32/mencoder.exe] INFO  20:32:57.348 Starting C:\Program Files\PS3 Media Server\win32\mencoder.exe -ss 0 I:\TV-Mediathek\Polettos Kochstudio\Polettos_Kochschule-Grundkurs_Spaghetti.mp4 -quiet -quiet -really-quiet -msglevel statusline=-1:mencoder=-1 -channels 2 -ovc copy -of rawaudio -mc 0 -noskip -oac lavc -quiet -quiet -lavcopts acodec=ac3:abitrate=256 -af lavcresample=48000 -srate 48000 -quiet -quiet -o \\.\pipe\1295379177145ffmpegaudio01
[win32/mencoder.exe] INFO  20:32:57.353 Attaching thread: win32/mencoder.exe
[win32/tsMuxeR.exe] INFO  20:32:57.448 Starting C:\Program Files\PS3 Media Server\win32\tsMuxeR.exe C:\Users\Lutz\AppData\Local\Temp\javaps3media\pms-tsmuxer.meta \\.\pipe\1295379177148tsmuxerout.ts
[win32/tsMuxeR.exe] INFO  20:32:57.453 Reading pipe: \\.\pipe\1295379177148tsmuxerout.ts
[Thread-163] INFO  20:32:57.568 Result of \\.\pipe\1295379177145ffmpegaudio01 : true
[Thread-169] DEBUG 20:32:57.573 FFmpeg version SVN-r26112-Sherpya, Copyright (c) 2000-2010 the FFmpeg developers
[Thread-169] DEBUG 20:32:57.573   built on Dec 28 2010 04:54:02 with gcc 4.2.5 20090330 (prerelease) [Sherpya]
[Thread-169] DEBUG 20:32:57.573   libavutil     50.36. 0 / 50.36. 0
[Thread-169] DEBUG 20:32:57.573   libavcore      0.16. 0 /  0.16. 0
[Thread-169] DEBUG 20:32:57.573   libavcodec    52.100. 0 / 52.100. 0
[Thread-169] DEBUG 20:32:57.573   libavformat   52.91. 0 / 52.91. 0
[Thread-169] DEBUG 20:32:57.573   libavdevice   52. 2. 2 / 52. 2. 2
[Thread-169] DEBUG 20:32:57.573   libavfilter    1.72. 0 /  1.72. 0
[Thread-169] DEBUG 20:32:57.573   libswscale     0.12. 0 /  0.12. 0
[Thread-169] DEBUG 20:32:57.573   libpostproc   51. 2. 0 / 51. 2. 0
[Thread-169] DEBUG 20:32:57.573 [flv @ 016ed190] Estimating duration from bitrate, this may be inaccurate
[Thread-169] DEBUG 20:32:57.573 Input #0, flv, from 'I:\TV-Mediathek\Polettos Kochstudio\Polettos_Kochschule-Grundkurs_Bratkartoffeln-TV-20101010-1433-4601.hq.mp4':
[Thread-169] DEBUG 20:32:57.573   Metadata:
[Thread-169] DEBUG 20:32:57.573     duration        : 2617
[Thread-169] DEBUG 20:32:57.573     moovPosition    : 32
[Thread-169] DEBUG 20:32:57.573     audiocodecid    : mp4a
[Thread-169] DEBUG 20:32:57.573     width           : 960
[Thread-169] DEBUG 20:32:57.573     height          : 544
[Thread-169] DEBUG 20:32:57.573     videocodecid    : avc1
[Thread-169] DEBUG 20:32:57.573     avcprofile      : 100
[Thread-169] DEBUG 20:32:57.573     avclevel        : 31
[Thread-169] DEBUG 20:32:57.573     aacaot          : 2
[Thread-169] DEBUG 20:32:57.573     audiosamplerate : 48000
[Thread-169] DEBUG 20:32:57.573     audiochannels   : 2
[Thread-169] DEBUG 20:32:57.573     videoframerate  : 25
[Thread-169] DEBUG 20:32:57.573   Duration: 00:43:37.47, start: 0.000000, bitrate: N/A
[Thread-169] DEBUG 20:32:57.573     Stream #0.0: Video: h264, yuv420p, 960x544 [PAR 1:1 DAR 30:17], 25 tbr, 1k tbn, 50 tbc
[Thread-169] DEBUG 20:32:57.573     Stream #0.1: Audio: aac, 48000 Hz, stereo, s16
[Thread-169] DEBUG 20:32:57.573 [buffer @ 031c4f90] w:960 h:544 pixfmt:yuv420p
[Thread-169] DEBUG 20:32:57.573 [scale @ 034a6be0] w:960 h:544 fmt:yuv420p -> w:320 h:180 fmt:yuvj420p flags:0x4
[Thread-169] DEBUG 20:32:57.573 Output #0, image2, to 'pipe:':
[Thread-169] DEBUG 20:32:57.573   Metadata:
[Thread-169] DEBUG 20:32:57.573     duration        : 2617
[Thread-169] DEBUG 20:32:57.573     moovPosition    : 32
[Thread-169] DEBUG 20:32:57.573     audiocodecid    : mp4a
[Thread-169] DEBUG 20:32:57.573     width           : 960
[Thread-169] DEBUG 20:32:57.573     height          : 544
[Thread-169] DEBUG 20:32:57.573     videocodecid    : avc1
[Thread-169] DEBUG 20:32:57.573     avcprofile      : 100
[Thread-169] DEBUG 20:32:57.573     avclevel        : 31
[Thread-169] DEBUG 20:32:57.573     aacaot          : 2
[Thread-169] DEBUG 20:32:57.573     audiosamplerate : 48000
[Thread-169] DEBUG 20:32:57.573     audiochannels   : 2
[Thread-169] DEBUG 20:32:57.573     videoframerate  : 25
[Thread-169] DEBUG 20:32:57.573     encoder         : Lavf52.91.0
[Thread-169] DEBUG 20:32:57.573     Stream #0.0: Video: mjpeg, yuvj420p, 320x180 [PAR 135:136 DAR 30:17], q=2-31, 200 kb/s, 90k tbn, 25 tbc
[Thread-169] DEBUG 20:32:57.573 Stream mapping:
[Thread-169] DEBUG 20:32:57.573   Stream #0.0 -> #0.0
[Thread-169] DEBUG 20:32:57.573 Press [q] to stop encoding
[Thread-159] INFO  20:32:57.575 Result of \\.\pipe\1295379177143ffmpegvideo : true
[win32/tsMuxeR.exe] INFO  20:32:57.595 Attaching thread: win32/tsMuxeR.exe
[Timer-19] DEBUG 20:32:57.598 Buffered Space: 0 bytes / inputs: 0
[Thread-169] DEBUG 20:32:57.600 video:7kB audio:0kB global headers:0kB muxing overhead -100.291545%
[Thread-167] DEBUG 20:32:57.600 EOF
[Thread-167] DEBUG 20:32:57.600 Ready to Stop: true
[Thread-167] DEBUG 20:32:57.610 Wrote on socket: Server: Windows_7-x86-6.1, UPnP/1.0, PMS/1.20.441-SB12
[Thread-167] DEBUG 20:32:57.610 Available Content-Length: 7455
[Thread-167] DEBUG 20:32:57.610 Wrote on socket: Content-Length: 7455
[Thread-167] DEBUG 20:32:57.610 Wrote on socket:
[Thread-167] DEBUG 20:32:57.610 Sending stream: 7455 bytes of get/0$0$0$9/thumbnail0000Polettos_Kochschule-Grundkurs_Bratkartoffeln-TV-20101010-1433-4601.hq.mp4
[Thread-167] INFO  20:32:57.610 Calling SetThreadExecutionState ES_CONTINUOUS
[Thread-167] DEBUG 20:32:57.610 Close Connection

Please give me a feedback if you need more information. Thank you :)
brotherjohn
 
Posts: 146
Joined: Wed Sep 15, 2010 9:13 am

Re: PMS SubJunk Build (Updated 10/01/2011)

Postby tomeko » Tue Jan 18, 2011 9:41 pm

tomeko wrote:With mediainfo=true some mkv files (AVC 1080p/DTS) are displayed with many blocks (picture is broken). More test later. (BRAVIA 5500 / SB12)

When MediaInfo=true,
PMS transcode movies with audio like DTS as follows:
Code: Select all
mencoder_mt.exe -ss 0 -quiet G:\move.mkv -quiet -quiet -nosound -nosound -of rawvideo -quiet -quiet -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -vf expand=:::::16/9 -lavdopts debug=0:threads=4 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=256:threads=4:keyint=25:vqscale=1:vqmin=1:vrc_maxrate=20000:vrc_buf_size=1835 -ass -nofontconfig -spuaa 3 -subcp cp1250 -subfont C:\Windows\Fonts\Arial.ttf -ass-color ffff3300 -ass-border-color 00000000 -ass-font-scale 1.0 -ass-force-style FontName=Arial,Outline=5,Shadow=1,MarginV=10 -quiet -quiet -sid 100 -quiet -quiet -ofps 24000/1001 -sub G:\movie.txt -lavdopts fast -mc 0 -noskip -o \\.\pipe\1295378101438ffmpegvideo
mencoder.exe -ss 0 G:\movie.mkv -quiet -quiet -really-quiet -msglevel statusline=-1:mencoder=-1 -channels 2 -ovc copy -of rawaudio -mc 0 -noskip -aid 0 -oac pcm -af pan=2:1:0:0:1:1:0:0:1:0.707:0.707:1:1 -srate 48000 -o \\.\pipe\1295378101440ffmpegaudio01
tsMuxeR.exe pms-tsmuxer.meta \\.\pipe\1295378101427tsmuxerout.ts

where pms-tsmuxer.meta
Code: Select all
MUXOPT --no-pcr-on-video-pid --no-asyncio --new-audio-pes --vbr --vbv-len=500
V_MPEG-2, "\\.\pipe\1295379184875videoout", fps=23.976, level=4.1, insertSEI, contSPS, track=1
A_LPCM, "\\.\pipe\1295379184877audioout", track=2


when MediaInfo=false
Code: Select all
mencoder_mt.exe G:\video.mkv -quiet -quiet -oac lavc -of mpeg -quiet -quiet -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -vf expand=:::::16/9 -lavdopts debug=0:threads=4 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=256:threads=4:keyint=25:vqscale=1:vqmin=1:vrc_maxrate=20000:vrc_buf_size=1835 -ass -nofontconfig -spuaa 3 -subcp cp1250 -subfont C:\Windows\Fonts\Arial.ttf -ass-color ffff3300 -ass-border-color 00000000 -ass-font-scale 1.0 -ass-force-style FontName=Arial,Outline=5,Shadow=1,MarginV=10 -aid 0 -sid 100 -quiet -quiet -ofps 24000/1001 -sub G:\video.txt -lavdopts fast -af lavcresample=48000 -srate 48000 -o \\.\pipe\mencoder1295378205934


Both are send as MPEG_PS_NTSC. I don't think that tsMuxeR produce MPEG-PS stream, so renderer can't play it properly.
As workaround, remove lpcm from conf (but better fix issue, becouse BRAVIA can play video with LPCM stream):
Code: Select all
Supported = f:mpegps|mpegts    v:mpeg2|mp4|h264    a:ac3|aac|mpa   m:video/mpeg


Other thing to temporary remove, because BRAVIA cant play wav audio (only LPCM), and PMS at this moment can't produce LPCM audio (http://code.google.com/p/ps3mediaserver/issues/detail?id=457):
Code: Select all
#Supported = f:wav   m:audio/L16
tomeko
Project Member
 
Posts: 154
Joined: Sat Jun 06, 2009 11:02 am

Re: PMS SubJunk Build (Updated 18/01/2011)

Postby tomeko » Tue Jan 18, 2011 9:51 pm

brotherjohn wrote:Please give me a feedback if you need more information. Thank you :)

Change your conf to (i don't think that BRAVIA can play more over DLNA):
Code: Select all
# [Supported video formats]:
# temporary removed lpcm
#Supported = f:mpegps|mpegts v:mpeg2|h264 a:ac3|lpcm|aac|mpa m:video/mpeg
Supported = f:mpegps|mpegts v:mpeg2|h264 a:ac3|aac|mpa m:video/mpeg
#  Bravia can't play wav, only lpcm
#Supported = f:wav n:2 s:48000 m:audio/wav
Supported = f:mp3 n:2 m:audio/mpeg
Supported = f:jpg m:image/jpeg
tomeko
Project Member
 
Posts: 154
Joined: Sat Jun 06, 2009 11:02 am

Re: PMS SubJunk Build (Updated 10/01/2011)

Postby mazey » Tue Jan 18, 2011 11:31 pm

tomeko wrote:
tomeko wrote:With mediainfo=true some mkv files (AVC 1080p/DTS) are displayed with many blocks (picture is broken). More test later. (BRAVIA 5500 / SB12)

When MediaInfo=true,
PMS transcode movies with audio like DTS as follows:
Code: Select all
mencoder_mt.exe -ss 0 -quiet G:\move.mkv -quiet -quiet -nosound -nosound -of rawvideo -quiet -quiet -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -vf expand=:::::16/9 -lavdopts debug=0:threads=4 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=256:threads=4:keyint=25:vqscale=1:vqmin=1:vrc_maxrate=20000:vrc_buf_size=1835 -ass -nofontconfig -spuaa 3 -subcp cp1250 -subfont C:\Windows\Fonts\Arial.ttf -ass-color ffff3300 -ass-border-color 00000000 -ass-font-scale 1.0 -ass-force-style FontName=Arial,Outline=5,Shadow=1,MarginV=10 -quiet -quiet -sid 100 -quiet -quiet -ofps 24000/1001 -sub G:\movie.txt -lavdopts fast -mc 0 -noskip -o \\.\pipe\1295378101438ffmpegvideo
mencoder.exe -ss 0 G:\movie.mkv -quiet -quiet -really-quiet -msglevel statusline=-1:mencoder=-1 -channels 2 -ovc copy -of rawaudio -mc 0 -noskip -aid 0 -oac pcm -af pan=2:1:0:0:1:1:0:0:1:0.707:0.707:1:1 -srate 48000 -o \\.\pipe\1295378101440ffmpegaudio01
tsMuxeR.exe pms-tsmuxer.meta \\.\pipe\1295378101427tsmuxerout.ts

where pms-tsmuxer.meta
Code: Select all
MUXOPT --no-pcr-on-video-pid --no-asyncio --new-audio-pes --vbr --vbv-len=500
V_MPEG-2, "\\.\pipe\1295379184875videoout", fps=23.976, level=4.1, insertSEI, contSPS, track=1
A_LPCM, "\\.\pipe\1295379184877audioout", track=2


when MediaInfo=false
Code: Select all
mencoder_mt.exe G:\video.mkv -quiet -quiet -oac lavc -of mpeg -quiet -quiet -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -vf expand=:::::16/9 -lavdopts debug=0:threads=4 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=256:threads=4:keyint=25:vqscale=1:vqmin=1:vrc_maxrate=20000:vrc_buf_size=1835 -ass -nofontconfig -spuaa 3 -subcp cp1250 -subfont C:\Windows\Fonts\Arial.ttf -ass-color ffff3300 -ass-border-color 00000000 -ass-font-scale 1.0 -ass-force-style FontName=Arial,Outline=5,Shadow=1,MarginV=10 -aid 0 -sid 100 -quiet -quiet -ofps 24000/1001 -sub G:\video.txt -lavdopts fast -af lavcresample=48000 -srate 48000 -o \\.\pipe\mencoder1295378205934


Both are send as MPEG_PS_NTSC. I don't think that tsMuxeR produce MPEG-PS stream, so renderer can't play it properly.
As workaround, remove lpcm from conf (but better fix issue, becouse BRAVIA can play video with LPCM stream):
Code: Select all
Supported = f:mpegps|mpegts    v:mpeg2|mp4|h264    a:ac3|aac|mpa   m:video/mpeg


Other thing to temporary remove, because BRAVIA cant play wav audio (only LPCM), and PMS at this moment can't produce LPCM audio (http://code.google.com/p/ps3mediaserver/issues/detail?id=457):
Code: Select all
#Supported = f:wav   m:audio/L16


awesome post man so until a few of the issues get fixed then the bravia5500.conf would need some tweaking.

MediaInfo=true
# temporary removed lpcm
#Supported = f:mpegps|mpegts v:mpeg2|mp4|h264 a:ac3|lpcm|aac|mpa m:video/mpeg
Supported = f:mpegps|mpegts v:mpeg2|mp4|h264 a:ac3|aac|mpa m:video/mpeg
Supported = f:mp3 m:audio/mpeg
# Bravia can't play wav, only lpcm
#Supported = f:wav m:audio/L16
Supported = f:jpg m:image/jpeg

either that or i guess just turn mediainfo back off until those issues get fixed.
PMS 1.90.2 Snapshot - Intel Celeron G1840 2.8Ghz / Asus Z97m-plus / Corsair Vengeance 8GB / Windows 8.1 Pro (64 bit)
mazey
 
Posts: 783
Joined: Sat Oct 24, 2009 9:07 am

Re: PMS SubJunk Build (Updated 10/01/2011)

Postby tomeko » Wed Jan 19, 2011 10:16 am

mazey wrote:awesome post man so until a few of the issues get fixed then the bravia5500.conf would need some tweaking.

MediaInfo=true
# temporary removed lpcm
#Supported = f:mpegps|mpegts v:mpeg2|mp4|h264 a:ac3|lpcm|aac|mpa m:video/mpeg
Supported = f:mpegps|mpegts v:mpeg2|mp4|h264 a:ac3|aac|mpa m:video/mpeg
Supported = f:mp3 m:audio/mpeg
# Bravia can't play wav, only lpcm
#Supported = f:wav m:audio/L16
Supported = f:jpg m:image/jpeg

either that or i guess just turn mediainfo back off until those issues get fixed.

Or better:
Code: Select all
MediaInfo=true
# temporary removed lpcm
#Supported = f:mpegps|mpegts    v:mpeg2|h264    a:ac3|lpcm|aac|mpa   m:video/mpeg
Supported = f:mpegps|mpegts    v:mpeg2|h264    a:ac3|aac|mpa   m:video/mpeg
Supported = f:mp3   m:audio/mpeg
# Bravia can't play wav, only lpcm. PMS can't produce pcm at this moment.
#Supported = f:wav   m:audio/L16
Supported = f:jpg   m:image/jpeg

BRAVIA not support MPEG4 part 2 video
tomeko
Project Member
 
Posts: 154
Joined: Sat Jun 06, 2009 11:02 am

PreviousNext

Return to Beta Builds

Who is online

Users browsing this forum: No registered users and 2 guests