Archive for the ‘Multimedia’ Category

HDBaseT

Friday, July 2nd, 2010

The big story this week seems to be a new cable standard for high definition TV’s. “Valens, LG, Samsung and Sony teamed up to work on an entirely new cabling system named HDBaseT.Valens, LG, Samsung and Sony teamed up to work on an entirely new cabling system named HDBaseT.” (Tech.Blorge).

This is an ‘about time’ thing. The new standard uses existing and well proven Cat 5 network wiring. The interesting parts will be how they can run 100 watts over 24 gauge wires while still supporting extremely high data rates. EE Times indicates this may be a result of some DSP magic by Valens. A comment at Tech Reports illustrates the power feed problem, though.

Appliance Magazine says “The cornerstone of the technology is 5Play, a feature-set that converges uncompressed HD video, audio, 100BaseT Ethernet, high power over cable, and various control signals through a single 100-m/328-ft CAT5e/6 LAN cable.”

The comparison chart (PDF) indicates a data rate of nearly twice that of HDMI 1.4, cable lengths an order of magnitude longer, standard cable and connectors, power delivery sufficient for medium sized TV’s, and daisy chain, USB, and networking capabilities.

Engadget says this was introduced at CES 2009 so it’s taken a while to settle to the 1.0 specification.

The telephone company designed the twisted pair cable and the RJ connectors for low cost and reliability. Ethernet has used that technology successfully and enhanced data rates by improving cable quality. The key to this HDBaseT standard is in the interface chips that Valens is producing. If those chips can be provided at low cost and if clones can be developed, also at low cost, this new standard could indeed match its hype.

pi calculator and FOSS hero

Thursday, January 7th, 2010

You may have heard (PhysOrg

A computer scientist in France has broken all previous records for calculating Pi, using only a personal computer. The previous record was approximately 2.6 trillion digits, but the new record, set by Fabrice Bellard, now stands at almost 2.7 trillion decimal places.

Which is impressive but there is more in the story. For one, “Bellard has been following the records for calculating Pi to the maximum number of decimal places since he received his first book about Pi at the age of 14.” Then there are other projects Bellard has done.

M Bellard is perhaps best known as the writer of the open source project FFmpeg and processor emulator QEMU. He said he has no immediate plans to calculate Pi to further digits in the future, but may do, depending on his motivation and the availability of larger and faster storage. He intends to release open-source versions of his software for Linux and Windows to enable anyone who is interested in furthering the calculation to beat him to it.

If you’ve been doing video transcoding, then you’ve appreciated Bellard’s work. QEMU is a system emulator that creates an artificial hardware environment to allow running systems within systems.

The mathematical ideas behind pi are fascinating in themselves but then there is the math behind arbitrary precision numbers and the infinite series calculations and algorithms used to calculate values such as pi out to a precision that would take an entire bleeding edge hard drive to store in decimal notation.

And then to think that the computers that can do this sort of calculation in weeks are readily available to anyone.

Handbrake nine four

Monday, December 7th, 2009

HandBrake has just release version 0.9.4. It is one of the easiest ways to transcode recorded video or DVD’s to modern compressed multimedia files. This version supports 64 bit processors and narrows the focus somewhat towards m4v output with constant quality.

If you are copying your DVD collection to electronic storage for convenient use with a media player, you might want to change the default ‘normal’ preset to ‘high profile’ to take advantage of some of the extra goodies in the m4v format. For modern (post mid 90′s) movies with 5.1 channel surround sound, hit the audio tab and select the proper track for pass through. That often means a 400+ bit rate rather than a 200- rate. If there is a commentary track, you can add that as well. If you need subtitles, click on that tab and add them, too. These options do mean that you need a media player that can handle selecting these options. VLC and the Gnome Movie Player seem to meet this requirement.

Programs like HandBrake are good ways to learn about modern video technology. For instance, the ‘normal’ preset uses strict anamorphic scaling while ‘high profile’ uses loose. This seems backwards. It may be a bit of a trade-off. The idea is to take the original DVD 720×480 resolution coupled with the intended display resolution tied in with actual video aspect ratio to determine an output resolution that is adjusted slightly for optimum compression. The result may be something that is a bit better resolution than the original 480p often found on DVD’s due to pixel squashing.

When you transcode a DVD using the VIDEO_TS option, you may find titles not in the DVD menu. The Tolkien trilogy extended edition from New Line, for instance, has a couple of MTV items that really don’t fit into the tone expressed on the rest of the DVD set. They are available as Easter Eggs if you run the Windows software on the DVD’s. You’ll also find that some lead in and drop out video is on the disk as a short title, usually well under a minute in length. For the extended Tolkien, the lean in is the usual rating and license and the drop out is a fade to black with notice that you need to insert the next DVD for the rest of the movie.

It should also be noted that there is a bit of a discord in the matter of copying DVD’s for personal use. The recording industry seems to want to restrict your viewing of DVD’s to only when it comes off the original media. Some in the industry even want to allow only a certain number of viewings as well. The issue is playing out in the courts and in treaties and the fallout creates hoops and hurdles, and possibly penalties, for those who want to enjoy published media their own way.

In a 45′ bus

Wednesday, November 4th, 2009

The tour bus, which took 100 hours of design time and 300 hours of installation time to complete, has seven miles of of cabling from Liberty Cable, five miles of Cat5 wiring and 3,000 feet of CresNET. The pre-wiring was done before the walls on the tour bus went up, requiring large bulks of wiring in channels and luggage bays that run the length of the vehicle.

7 miles is more than 800 bus lengths. BB King obviously has a few gadgets in his motorhome! This is just for travel and office work because the coach is not used for sleeping,

Telecine soap opera and artifacts

Thursday, August 13th, 2009

There are some folks who prefer listening to vinyl records run through a tube amplifier rather than a CD with a modern amp. There is a similar situation with video that is starting to show up with high definition fast refresh displays. Help Key: Why 120Hz looks “weird” at Crunch Gear takes a look and, in the process, provides a good rundown on telecine and the problems inherent in the display of frame by frame video.

The problem is that video captures a time series of images. When these are displayed in sequence, your brain interpolates between them to help you see a continuous scene with motion. The display technologies do what they can to help your brain in its process of smoothing the transition from one image to the next. What is happening now is that there is a technology from 24 images per second movies to displays that can show 120 or more images every second.

TV was a step in this technology. It provided 60 images per second by each image was only half of a full image. That is where interlace technology was used.

A modern 120 Hz LCD TV can show five images in the time its source puts up one. What should it do? Show the same image five times and then switch to the next? Fade out one image and fade in the next? Insert a black image or two between successive images (like movie projectors do)? Use the new technologies inherent computing power to make a series of interpolations from one image to the next to smooth the transition?

This last option may smooth things out but it is different from what people are used to like vinyl records and tubes are different from modern sound systems. The smooth interpolation technique produces what is called a ‘soap opera’ effect. Things look just too good to be true.

The comments to the blog post have some other good thoughts about how media is changing. Going from film to electronic media gets into changes in film grain, gamma, depth of field, and all sorts of other things. That, in turn, requires media producers to think about things differently. That kind of different thinking is starting to show up in subtle ways that will influence viewers in different ways.

Looks like it’s time to buy the White Album, again

Tuesday, April 7th, 2009

The news headlines say Digitally remastered Beatles coming in September. This effort took four years and paid a lot of attention to preserving the original sound with few exceptions. Those exceptions were such things as obviously unintended artifacts such as electrical clicks, and mic pops and hisses (excess sibilance).

Prior to this effort, the Beatles digital media was created from rather straighforward ripping of published sources – the media masters were about as far upstream as the effort went. This effort gets back to the original mixing tapes and equipment then applies modern processing techniques that replicate some of the tricks applied to the original recordings that was unique to the equipment and media of the time.

Of course, this is also major media hype. There will be special packages and provenance add-ons and other stuff to try to sell more. Whatever. It will be interesting to just what 4 years of effort using modern tools will do to create a recording to sound just like it should have forty years ago.

Video transfer – how its done overview

Saturday, February 14th, 2009

This project started with a friend who wanted to upgrade his PC. He found a deal at $700 with a powerful CPU, lots of memory, good hard drive space, and multi-media capabilities. These multi-media capabilities included a TV card and a remote control. The software was the Windows Media Center in Vista. I got the TV card and remote control as he didn’t have any interest in those for his needs!

The TV cards have TV tuners and they also have composite and S video inputs. That means you can connect a video tape player output to them to capture taped video. The media center will write this video out as a file on the hard drive at the rate of several gigabytes per hour. Once you have this video file, you will want to edit it and then convert it to a format that uses less space and can be viewed on other devices.

The key concept with video files that you need to understand to get the best success in converting and editing them is that there are containers and codecs. Container formats specify how audio and video files work together. The codecs, or coder/decoder, describe the way the audio and video information is encoded as digital information.

There are scads of containers and codecs and figuring out which to use can be difficult. The standard movie on a DVD is good for DVD players but it is not highly compressed and contains many components that allow it to be put on older DVD media file systems.

Many DVD players can also play AVI files as long as they contain video in xVid format and audio in MP3 format. These codecs allow for much smaller video files than the ones standard DVD’s use. Modern AV equipment can also use more space efficient codecs and containers that also provide other features.

In order to convert the video from the TV card to something smaller and more useful, I use the following applications.

For editing – mainly cropping out advertisements and selecting clips – I use Avidemux. This can do transcoding but I use It mainly just for cropping.

For transcoding (making AVI files) I use HandBrake. This has a focus on converting DVD’s but also works well for converting the TV card video files to an AVI container with the proper codecs for my DVD player.

To create DVD’s I use DeVeDe. This program makes it easy to select video files into titles and set the various menu options for a standard DVD. It will also adjust compression ratios to fit the space available on a DVD.

The only problem is that these files take a lot of hard drive space. Now I have to shovel things around and make backups to DVD in order to get room to breathe.

DTV Transition FAQ

Sunday, December 21st, 2008

Tech Notes has a good 63 page PDF answering the common questions about the DTV Transition coming up in the US. Tech-Note – 141. Dec 17, 2008. It says it was written for the broadcast engineer and technician who will be dealing with the transition first hand. That means it answers some questions you don’t often find elsewhere. It does not get technical and is easy to read evwn if you are not an engineer or technician. There are also many good links to websites that can provide additional information.

The audio pipe

Wednesday, December 17th, 2008

What kind of audio connection do you have in your AV system? It will determine what you can get out of your audio experience.

There are three ways of hooking up your PS3 for audio: using RCA cables (red and white), using optical out, and using HDMI. I guess you could consider using a RF cable as a fourth choice, …

RCA cables only allow for Dolby Pro Logic, … It “simulates” having surround sound without actually providing true tracks for each speaker. …

Optical out can carry DD5.1 and DTS tracks to your receiver, providing a much clearer, enjoyable sound. I highly recommend using optical cable, as the results are VERY noticeable. Optical only has enough bandwidth for PCM 2.0 uncompressed, resulting in uncompressed stereo sound (stereo? Meh!). To get the full PCM 7.1 experience, you’ll need…

HDMI. This can carry the next gen audio formats such as DTS-HD MA, Dolby True-HD and uncompressed PCM 5.1-7.1 audio at a full bitrate. The only other method of getting these codecs is through analog out, which is not supported by any console on the market today (but is supported by stand alone HD-DVD and Blu-Ray players). [HOW TO: Get uncompressed PCM 5.1/7.1 audio from your PS3!]

The issues involve the basic fidelity of the recording, signal compression, signal packaging, and the number of channels. The fidelity in modern audio is a digital measure of both how many bits per sample and the frequency of sampling. Signal compression is used to minimize storage space and connection bandwidth.

The latest and greatest audio is 7.1 or 8 channel audio where one is an LFE or low frequency effects channel that doesn’t have the fidelity requirements of the other 7. The latest HDMI standard: “supports 8-channel, 192kHz, uncompressed digital audio and all currently-available compressed formats (such as Dolby Digital and DTS), HDMI 1.3 adds additional support for new lossless digital audio formats Dolby® TrueHD and DTS-HD Master Audio™ with bandwidth to spare to accommodate future enhancements and requirements.” [HDMI FAQ]. This is the latest HD resource such as is available on some Blue-Ray recordings.

The previous generation, standard DVD, used 5.1 audio in a compressed form that used S/PDIF connections (see Wikipedia).

Before that was the 2 channel stereo connection that uses techniques like Dolby Pro Logic to get surround sound.

The acceptance of MP3 audio players and the near equal quality of Dolby and DTS on DVD presentations indicates that 5.1 channel compressed audio is near the knee of the curve and improvements such as the 7.1 uncompressed extra depth audio are down in the noise of equipment choice and environment for most folks.

See also Swedish Radio What is multichannel sound and how does it work? – see the multichannel check for samples to test your system. -|- Spanner Works Dolby Digital, DTS and DVD: A History -|- Practical Home Dolby vs DTS – Which is Better? for more information about the history, the techniques, and what it is all about.

Is TV the right place to put your money?

Wednesday, December 10th, 2008

John C. Dvorak has a point with his essay It’s the TV Killing the Computer, Not Vice Versa. TV’s are the big ticket items at places like Costco but PC’s can be had for about the same price – and many of us spend more time with the PC than the TV. Then there is point about what you look at on the screen.

TV is designed for small screens. Through trial and error over the decades, the camera angles, shot selections, framing, and everything else about a TV show have evolved to maximize the impact on a 21-inch view space. This is not a lot of real estate. And blowing it up to a 42-to-60-inch image in a 16-by-9 widescreen format often ruins the impact.

There is change in the wind, though. The producers are beginning to find out what you can do with widescreen aspect ratios and HD. The audio part should also not be ignored as the trend is towards surround sound with significant detail there as well. The CSI shows are good examples of the experiments with high definition digital presentations.

In other words, it is not just the technology but how it is used.