![]() Below is the commands for MacPortsidīelow are the applescripts I wrote for the folder actions. For everything to work I had to rebuild FFMPEG to include codecs for aac, mp3, x264, and xvid. I then configured MediaTomb to scan the “compatible” folder every hour for new files and make them available to the PS3. Attached to that folder was an Applescript action that would tell FFMPEG to covert the file to a new format and save it in another folder called “compatible”. If I had a file that did not work then I moved it to a folder called “convert”. I was able to accomplish almost the same functionality using FFMPEG, folder actions, and MediaTomb’s built-in directory scan feature. In the event Vuze downloaded a file that wasn’t compatible with the PS3 it would re-encode the file completely and then share the new version instead of the non-compatible version. I stole the idea from Vuze, another bittorent client, which added its own UPnP server. I mentioned earlier that I had developed an alternative to MediaTomb’s built in transcoding feature for media files that didn’t play on the PS3. In the end I decided to take a different approach and setup folder actions to convert only files I wanted. Also, because the media files are being transcoded in real time I lost the ability to pause, fast forward, and rewind on the PS3. Using this feature required a lot of testing to work out settings the PowerMac could handle. In the event I had a file the PS3 could not play, a rule could be setup in the config file that would automatically convert the media to a more compatible format. With MediaTomb I could also enable the use of on-the-fly media transcoding. I also decided to disable the ability of my PS3 to see every folder on the server. All I had to do was uncomment the line that said. To do that there was a change I had to make to MediaTomb’s config file that was located in ~/.mediatomb. Using Safari or your browser of choice you can select what content you share with your media devicesįor my setup I wanted to stream content to my PS3. The output from the command will give you the web address to MediaTomb’s web interface.Once compiling is complete you can start MediaTomb by running the command “ mediatomb” (no su/sudo required).Wait for MediaTomb and all of its dependencies to finish compiling.Open a Terminal window and run all of the following commands as either “su” or “sudo”.Install the XCode Development tools from Apple.Being the person who liked to take the hard route sometimes I decided to skip all of those and go straight to MediaTomb, the open source alternative. There are several commercial products available that allows you create a UPnP server including MediaLink, EyeConnect, and Twonky. Devices, such as a PS3, can see the content on the server and play it without having to download and save locally. The concept was simple: music, pictures, and videos are stored on the server and shared over the UPnP network protocol. The coolest thing I’ve did with this project was setup a UPnP media server. ![]() Transmission was also a great choice for bittorrent client. I installed μTorrent so that I would have a way to download media off bittorrent. DISCLAIMER: Do not use file sharing to download copyrighted material.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |