{"id":382,"date":"2013-01-01T11:07:57","date_gmt":"2013-01-01T17:07:57","guid":{"rendered":"http:\/\/www.goodjobsucking.com\/?p=382"},"modified":"2013-01-01T11:07:57","modified_gmt":"2013-01-01T17:07:57","slug":"ps3-media-server-and-the-xbox-360","status":"publish","type":"post","link":"http:\/\/www.goodjobsucking.com\/?p=382","title":{"rendered":"PS3 Media Server and the Xbox 360"},"content":{"rendered":"<p><a title=\"PS3 Media Server\" href=\"http:\/\/www.ps3mediaserver.org\/\">PS3 Media Server<\/a> is a <a title=\"DLNA\/uPnP\" href=\"http:\/\/en.wikipedia.org\/wiki\/Digital_Living_Network_Alliance\">DLNA <\/a>server capable of, among other things, streaming and transcoding local media files to Digital Media Players.\u00a0 While this includes the PS3, it also includes the Xbox 360, which makes a pretty decent media player, and the server handles things like subtitles rather neatly.<\/p>\n<p>Transcoding means the server can handle converting, for example, mkv video files on-the-fly, obviating any need to convert them before viewing.\u00a0 However, my initial experiments with mkv files showed the following error in the debug log:<\/p>\n<pre>[wmav2 @ 0x33e4946240] output buffer size is too small<\/pre>\n<p>However, looking at the command issued to <a title=\"MPlayer\" href=\"http:\/\/www.mplayerhq.hu\/design7\/news.html\">mencoder<\/a> by PS3 Media Server, there were no knobs to increase the buffer size beyond what was already specified&#8230;\u00a0 And only the Xbox 360 had this issue, as other devices did not require wmav2\/asf.<\/p>\n<p>Counterintuitively, the solution was to upgrade <a title=\"ffmpeg\" href=\"http:\/\/ffmpeg.org\/\">ffmpeg<\/a> to 1.0.1.\u00a0 While ffmpeg transcoding worked perfectly well, its libavformat and libavcodec libraries are used by mencoder to transcode to wmav2, and something between mplayer\/mencoder and the older version of ffmpeg led to the error.<\/p>\n<p>On a Gentoo box, this stack works well:<\/p>\n<address>PS3 Media Server 1.72<\/address>\n<address>MPlayer 1.1<\/address>\n<address>ffmpeg 1.0.1<\/address>\n","protected":false},"excerpt":{"rendered":"<p>PS3 Media Server is a DLNA server capable of, among other things, streaming and transcoding local media files to Digital Media Players.\u00a0 While this includes the PS3, it also includes the Xbox 360, which makes a pretty decent media player, and the server handles things like subtitles rather neatly. Transcoding \u2026 <a class=\"continue-reading-link\" href=\"http:\/\/www.goodjobsucking.com\/?p=382\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[170,173,172,174,168,175,171,169],"_links":{"self":[{"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts\/382"}],"collection":[{"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=382"}],"version-history":[{"count":2,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts\/382\/revisions"}],"predecessor-version":[{"id":384,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts\/382\/revisions\/384"}],"wp:attachment":[{"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=382"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}