Wednesday, January 28, 2009

House Music - Mediatomb and PS3 Update

Having used a Mediatomb server with a Sony Play Station 3 client for awhile now, I have a few observations...

* Video is tricky to setup. Getting the contents of a DVD into a form that can be steamed to your PS3 is not documented nor easy. It does work, if you are persistent, and get the right software. There are legal grey areas here.

* I have two DVDs from which I could not create an AVI file that the PS3 would play. In both cases, the PS3 would act like it was indeed playing the stream, but there would be no picture nor sound. This did not appear to be related to the bit rate, frame rate or any other setting I adjusted (using dvd::rip) so I have no explanation. Other DVDs I have tried worked fine. Although me sample is small, just 6 or 7 discs.

* One other problem I had with one single disc was that the stream resulted an incorrect aspect ratio. Actually, the video was cut off at the top and bottom and all I got was a very, very narrow band in the middle of the film. Strange. No explanation. Oh, and with another disc, the AVI video froze near the end, while the soundtrack continued. When the content was over, the sound ended normally, but several minuted of video werethus missing. A lot of wierd things happen with this stuff.

* It is possible to get quite good video and sound quality in about a 2-3 GB AVI file. But the quality is not perfect, and there are occasional artifacts. The sound (in MP3) is likewise good, but not as good as it can be. So, as far as video goes, I will not be using the media server for more than a convenience. I can't see converting a library of DVDs to AVI.

* Music playlists work fine, but Mediatomb does not pick up new M3U files when it is set for a timed rescan of a directory containing such files. When it does a timed rescan, the playlist entry appears in the Mediatomb log output and, if you happen to catch it, in the web application's status line. However, the playlist is never made available in the database to select and play, and indeed does not appear in the database section of the web application. Playlists are added to Mediatomb with no trouble when they are individually added with the "add" link, rather than by using a timed scan.

* Scans that Mediatomb does on startup take quite a long time (on my system, I have a lot of content). It would be nice if this could be controlled, and also triggered manually when I know I've changed something.

* On the PS3 side, it would be nice if I could navigate in a more flexible manner by arist and album (such as when I'm playing a file from a playlist, and I'd like to see and play other tracks by that artist or the particular album).

* Also, the PS3 takes quite awhile to transfer complete information from the server when opening a media category. For example, when a playlist contains a couple thousand items, you have to select it, then wait until the PS3 has the entire list transfered. It does not cache this information at all. If you have a large music collection, then opening artists, for example, and browsing for something, is completely impractical.

* If you select a playlist to play before the entire list is transfered, then the PS3 will only play the selections that got transfered up to that point.

* There are three visualizations available on the PS3 for music. Although they are all interesting at first, just having three makes me wish "plain black screen with the track information at the bottom" was one of the choices.

* This setup provides no way to edit M3U files from the M3U. An alternative would be to store media on the PS3 and use it's playlists, but that doesn't give me the distributed interface I want.

* It would be nice if Mediatomb output information about what it is streaming. This would allow me to build alternative interfaces on the server side for playlist control.

* Multi-channel (more than stereo) soundtracks work fine.

* The PS3 will display thumbnail artwork embedded in MP3 files.

* Photos work fine, but the interface is not very robust. I'll stick with Google's Picasa, although leaving my photos volume up to date in Mediatomb's database certainly does no harm and the PS3 provides a good way to show photos to a group.

* I have not experimented with any formats other than AVI and MP3.

On the whole, the Mediatomb/PS3 (Ubuntu 8.10 server) is quite usable, as far as it goes. It doesn't do everything I want, but it's useful enough to keep installed. Next up, I plan to experiment with a streaming server, adding that stream to a Mediatomb playlist. By controlling the stream on the server, I'll have the control I want over what plays. And I'll be able to build a web interface for that control. The downside is that doing that will give up the PS3's ability to do that control 0 the stream will act just like an "internet radio station". But maybe with the combination of both approaches available, I can get (a little closer) to where I want to be.

4 comments:

Anonymous said...

Hi Jeff,

How are you creating and importing your playlists? I recently switched from streaming via WMP and an always-on PC to an UnSlung Linksys NSLU2 with attached External HD and this is the one thing thats driving me nuts trying to get working.

elgintime said...

Hi -

I originally had been using a web-based application of my own to maintain a music database. The database provided "playlists" in that it provided to a custom player each next file to play. I have been wanting to move toward a more off-the-shelf system.

To answer your question, I am currently using fapg (Fast Audio Playlist Generator) to create m3u files from my original file lists, extracted from my original database server (running on Sybase ASE).

Anonymous said...

OK, I've now managed to create an m3u playlist - how do I get it to appear in MediaTomb? I've navigated to it via the FileSystem browser and clicked on the plus. Nothing happens. Any help greatly appreciated.

elgintime said...

See new post...
http://jsexton0.blogspot.com/2009/01/mediatomb-and-playlists.html

Jeff Sexton

007 1:144 Scale 1:350 Enterprise 10 Barrel Brewing 14 1856 2001 A Space Odyssey 3D modeling 40and20 4th of July 78 RPM Abyss Adam West Advertising Agora Models Air Canada Airline Airways Brewing Alan Bennett Alaska Alberta Alberta Street Pub Alfa Romeo Spider Touring Gran Sport Amati Amazon Amnesia Brewing AMT Analog signal Android Anomalies and Alternative Science Antiques Apache Apollo Apple Apple Stores Art Artisanal Beer Works Assembly Brewing Aston Martin Astoria Asus Atlas Audrey Augmented reality Aurora Famous Fighters auto-awesome Automobile Autos Aviary Aviation Backups Baelic Brewing Bale Breaker Brewing Bandai Barack Obama Barley Brown's Beer Bars Base Camp Brewing Batman Battery Beards Beer Beer Bar Bell System Bellwether Berkshire Hathaway Betty White Beyond the Fringe Bigfoot Bikes Bill Clinton Bird Food Bird Toys Birds Birthdays Bleriot Bleriot XI Block 15 Brewing Blogger Bojack Horseman Bolton Landing Brewing Boltons Boneyard Brewing Books Boxer Ramen Boxer Ramon Breakside Brewing Brian Eno Build Management Buoy Brewing Burger King Business and Economy Business Process Execution Language Bye & Bye Byte-order mark Canadian Carrot Cats Chex Mix Chihuly Chipmonk Christmas Civil Defense Clinton Clocks Closet Doors CNN Cockatiels Cocktails Collections Columbia Grafonola Columbia River George Columbia River Gorge Corners Corvallis County Cork Crooked Stave Brewing Crows Crux Brewing Cuisinart Culmination Brewing David Byne DB5 Dear Jane Debian Deschutes Brewing DFW C.V Diabetes Dick Curtis Digital Living Network Alliance Digital television Dinosaurs Disney Doll House Don the Beachcomber Double Mountain Brewing Dow Jones Industrial Average Dragons Dudley Moore Duesenburg SJ Roadster Durham University DVD E-mail address E9 Eagle Eagle Creek Fire Eaglemoss Easter ebauche Ecliptic Economics Ed Ed and Olive Eels EJB Elgin Elysian Brewing Energy development Enterprise Enterprise JavaBean ESP Evergreen Air Museum Everybody's Brewing Ex Novo Brewing F-84G Thunderjet Facebook Family Photos Fathers Day Fearless Brewing Fedora Ferment Brewing Ferns Festival of The Dark Arts Filesharing Finance Finger Firesign Theater Fireworks Flowers Flying Sub Food Ford Fort George Brewing Fossil fuel Free House Garfield James Abram Garfield Minus Garfield Gateway Brewing Gene Sexton Gene Wilder George Carlin Gigantic Brewing Gilgamesh Brewing Glass Glassfish Global warming Golden Arches Goldfinger Goofy Google Google Assistant Google Buzz Google Docs Google Home Google Lively Google Photos Google Reader Google Wave Google+ Goose Graffiti Grammar Gravy Great Divide Brewing Great Notion Brewing Greek Festival Greenhouse gas Gruen GT40 H. G. Wells Half-Life 2 Halloween Harlan Hawaii Helbros High-definition television Hilo Hilo Brewing History Ho 229 Hollywood Theater Hopworks Urban Brewery Horizon Models HP Hybrid electric vehicle IBM Impala Inner city Instagram Insulin Investing IPMS Iris Irony J.C. Penny James Bond Jane Austen Java Java Architecture for XML Binding JC Penny JDBC Jeannine Stahltaube Jeff's! Jim Davis joe the plumber John McCain Jonathan Miller Jubelale Kapaau Karma Kauai Kay Thompson Kermit the Frog Keys Keys Lounge Kids and Teens Kona LA Auto Show Labrewtory Larry King Laser Laserdisc Leavenworth Wenatchee River Level Brewing Lilly Tomlin linux Little Beast Brewing Lloyd Center Logging Lowry Sexton LPs Lucky Lab Magnets Mark Cuban Market trends Martin Mull Maytag McDonald Mediatomb Meier and Frank Mel Brooks Mercury Microsoft Microsoft Windows Migration Brewing Mobius Models modern Times Brewing Money Monkey monsters Moon MOUNT HOOD Mount Tabor Movie Reviews Multnomah Falls Music Music industry Muxtape MySQL NetBeans Netflix Nikon Nikon Z50 Ninkasi Brewing Nintendo Nissan Cube Norm Coleman North Bar Nuclear fallout Nuclear warfare Nuggest Nuts OBF Office Depot Offshoot Beer Co Oktoberfest Ola Brewing Old Town Brewing Olive Open ESB Oracle Corporation Orca Oregon Orion Space Clipper Otto Owls Pacific Ocean Packard Boattail Pam American Parrots Patio Sale PDX Pearl District Pearl District Portland Oregon Peppers Performance Review Peter Cook Peter Iredale Pets Pfriem Brewing Philip K Dick Phone Book photography Pizza Plank Town Brewing Play Station PlayStation 3 pluspora Pocher Podcast Poke Pokémon HeartGold and SoulSilver Polar Lights Politics Pono Brewing Portal Portland Portland Development Commission Presidents Pride and Prejudice Programming Projects PS3 PS4 Pumpkins Quotation Marks Rad Power Radio Radio Room Ramen Ramon Recipes Recording Industry Association of America Renewable energy Reservoir Reuben's Brewing Reubens Brewing RIAA Richmond Pub Robot Chicken Rock-paper-scissors Rogue Brewing Round 2 Sales San Francisco Santa Sarcasm Sasquatch Brewing SATA Science fiction film Sea Quake Brewing Seattle Selfie Serbia Service-oriented architecture Seward Shelby Cobra Shipwreck Shopping Signs Silver Moon Brewing Slide Rule Snow Soap Soap Cutter Social Security Social Studies Society6 Sony Sopwith F.1 Camel BR.1 Soviet Space 1999 Space Race Spad XIII Speaker Repair Spirit of St. Louis Spitfire SQL Squirrel's St Patricks Day Stanford Hospital Star Trek Star Wars Starbucks Stock market Storm Breaker Strip search Stripes Studebaker Studellac Sun Microsystems Supernatural T-Mobile Tablet Tamiya Tamiya Spitfire Taube TechCrunch Technical Television Terminal Gravity Thanksgiving The Producers ThinkGeek Three Creeks Brewing Thunder Island Brewing Tiki Time Bandits Toaster Tom Peterson Tools Top Ferment Total Recall Transportation Security Administration Trumpeter Tubboat Tyco UFOs Unicode United States United States Department of Homeland Security Universal Plug and Play Unknown Primates USB USS Yorktown Valcom Van Gilder Hotel Vegetable garden VHS Victoria Video Video game Vintage Images Vintage Vintage! Virtual world Volcano Hawaii Volvo C70 Voyage to the Bottom of the Sea Wall Street War of the Worlds Warren Buffett Warrenton watches Watercolor Wayfinder Brewing We Can Remember It for You Wholesale Web service Web Services Description Language Whiskey Wii Windows 7 Windows Phone 7 Windows Vista Windows XP Windy Wingnut Wings Wood Worthy Brewing WWI WWII X-Files X-ray vision XML XML Schema Y2K Yeti YouTube Yugo Zero Mostel Zima Zoom H2n