MythTV and PS3: problems with formats

Michael Fox has commented on the reasonable UPnP client in the PS3 and its interactions with MythTV, and I think he's helped me work out why I've been having some problems. It seems Myth is recording in different formats, for what reason I don't know. So when MythTV offers them over UPnP, some of them play and others just don't.

For example the output from file:

1010_20090217175500.mpg: MPEG transport stream data
1020_20090216233000.mpg: data
1020_20090217172200.mpg: data
1020_20090217190000.mpg: data
1020_20090217192700.mpg: data
1020_20090217212700.mpg: MPEG transport stream data
1020_20090217223000.mpg: TeX font metric data (\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377

Dunno about the TeX font metric data, but there's some that are MPEG and others that are just "data". On that first item (identified as MPEG TS by file), mplayer reports:

VIDEO MPEG2(pid=512) AUDIO MPA(pid=650) NO SUBS (yet)!  PROGRAM N. 1
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  9000.0 kbps (1125.0 kbyte/s)

The second one is reported as

VIDEO MPEG2(pid=2314) AUDIO A52(pid=2315) NO SUBS (yet)!  PROGRAM N. 1
VIDEO:  MPEG2  1280x720  (aspect 3)  50.000 fps  9600.0 kbps (1200.0 kbyte/s)

So the first file is MPEG2, 576i with MPEG audio. The second is MPEG2, 720p with A/52 (AC-3) audio. Trouble is, the next one that file identified as MPEG TS is also 720p MPEG2 video with A/52 audio.

Is the problem, perhaps, just that MythTV is a bit sloppy about writing MPEG TS to the disk and just writes whatever crap is coming down the aerial, regardless of whether it's a valid MPEG header? I seem to recall a rather obscure option in the MythTV settings to wait until some kind of start thing ("Wait for SEQ"?). Will try that out tonight.

A couple of questions, dear lazyweb. Can anyone suggest some better tools to analyse these files? And how do I match these programmes up with their equivalent recordings in MythTV, so I can see if it's perhaps a specific tuner or channel that's causing problems?

MythTV and PS3

After my recent hardware woes, I've had a little more success getting MythTV back up and running. I bought another cheap Dell workstation to act as my new Myth server. After a little fiddling, it's up and running just fine, with three tuners and so far 600 gigs of SATA drives (to be upgraded to 1.6TB tonight when I buy another SATA interface card). It's also hosting SqueezeCenter which drives all my Squeezeboxen for music around the house.

Previously I had a fanless, diskless front-end in the lounge room, using a Via EPIA board with video decompression done on its video chips. This worked fine and was beautifully silent, but doesn't support high definition, and I now have a high definition telly. The telly came with a "free" (really $300) Playstation 3, but the MythTV client on PS3 is being held up by Sony blocking hardware access to the video decoding hardware in third-party operating systems. That's a real shame.

What I've discovered is that the PS3 is a very powerful UPnP client, and MythTV makes its recordings available over that protocol. So the PS3 is able to play back 1080i recordings taken over the air without any problem.

Downsides of doing it this way are that you lose some functionality. The UI is just a list of recordings, without the cool context you get in the Mythfrontend. You can't delete recordings, you can't schedule (though I suppose the PS3 web browser pointed at Mythweb will do that) and features like commercial skipping aren't supported. UPnP effectively treats the MythTV server as a file share of video files. Hopefully at some point in the future the PS3 will natively run a Myth frontend, but for now this works pretty well.

I'm also sharing out my music and other video files from the server using the MediaTomb UPnP server. It's quite flexible, and explicitely supports PS3. A nice feature of it is you can transcode anything on-the-fly for cases where a media type isn't supported. For example, PS3 doesn't support OGG, FLAC or Matroska. So you can set up a rule in MediaTomb to transcode these into something the PS3 does support. Quite neat!

IBM PSU not standard

System board connections of IBM Intellistation M Pro Type 6233 and 6850

Following advice from Graeme and Grant, I bought and tried out an ordinary ATX PSU to solve my PSU problem but unfortunately it hasn't worked out. It fits in reasonably well, with three of the screws able to go in, and only a small gap, but it's not got what I need.

The IBM system has two additional "AUX" power connectors, with eight and ten pins each. But standard ATX PSUs only have a single AUX connector, with only four pins.

Fortunately Adelong Computers have a 7 day return policy, so I can take the PSU back in on Monday. I'll take the IBM PSU in with me and see what they can suggest.

Is this some standard PSU?

24P6820

So the power supply on my MythTV server died last weekend with a bang. I'm hoping it didn't take all the other hardware with it, but first I need to get a replacement PSU in there. One nice thing about IBM hardware is the extensive documentation which tells me the power supply is Field Replaceable Unit (FRU) 24R2555 or 24P6820. All well and good, except the places selling these things online either don't ship to Australia or insist on maximum-cost couriers like UPS or Fedex, so a US$20 part ends up costing well over US$100. An eBay seller in the UK changed his mind and cancelled the sale after discovering postage was going to be £60 rather than the £25.90 he'd quoted me.

So can anyone, perhaps someone who knows their way around the bowels of IBM documentation better than me, tell me if this power supply follows some kind of standard I can source somewhere other than official Big Blue? It doesn't follow the same form factor

Pro-censorship Morans

You really couldn't make this up. The pro-censorship brains trust has descended on article about a death threat received by an anti-censorship campaigner.

SALLY of TOOWOOMBA Posted at 12:54pm today

PORNAGRAPHY IS A SIN AGAINST GOD AND JESUS AND WE NEED THIS FILTER TO PROTECT OUR CHILDREN FROM THE INTERNET. THE INTERNET IS CORRUPTING OUR CHILDREN WITH ALL THE PORNAGRAPHIES AND THE WEBSIGHTS. ONLY THRUOGH GOD CAN WE BE SAVED. IF YOU LOOK AT PORNAGRAPHIES YOU WILL NOT BE ACCEPTID INTO GODS KINGDOM. THE FILTER NEEDS TO STOP ALL BAD WEBSIGHTS, AND IT SHOULD STOP COMPUTER GAMES TOO. GO READ A BOOK INSTEAD, MORANS. OR READ THE ONLY TRUE BOOK, THE BIBLE.

Fixing a laptop cooler

Laptop cooler similar to the one I bought

Our laptop had some problems with heat in the recent spate of Summer temperatures. I pulled it apart and gave it a vacuum. Sure enough, lots of dust and a fair few dead cockroaches. To prevent a recurrence, I bought one of those "laptop cooler" products which prop the laptop up and blow air up and over it.

Problem is, the one I bought had little blue "bling" LEDs and really loud fans. The LEDs make me feel like one of those pindicks from the suburbs with a Honda Civic that goes Uuntz Uuntz Uuntz, with a spoiler and an exhaust pipe that leaves you in no doubt where my own anatomy is deficient. The fans were just annoying. Any time I was using the laptop late at night, it annoyed me: bright lights that really wasn't needed, and a bit of a low roar from the fans.

Kneel before my 31337 soldering skillz

So I snipped off the wires leading to the LEDs, which solved that problem. And I put a little variable resistor into the path of the fans, so I can control the speed. I used a 50K logarithmic pot, and now think I should have used a lower value or a linear. Still, works fine.

So now no bling lights, and the fans are dialed down to not make much noise but still move plenty of air. All for the price of a variable resistor, which was about $2.50.

Bling free