Saturday, January 30, 2010

video encoding

I've been playing with encoding.

Partly because of the html5 video tag fight, partly because I bought a set of leapfrog dvd's for my 2.5 yro that require you to watch 5+ mins of ads before you can view the paid for content...

So I started with dvd::rip. I made some traditional xvid/mp3 encoded stuff. The I took the vobs into avidemux. I ended up encoding using x264/faac/mkv encoding.

Then I started playing with all my old mpeg4/avi stuff.

I ended up using avidemux for generating the h264/aac/mkv content and handbrake for trying theora/vorbis/mkv content.

I had ben-hur encoded xvid/ac3/avi to files adding up to almost 3GB. I decided to re encode over to a single 800MB mkv. I used avidemux with h264 and aac @96 kb/s for testing and decided an 800MB encode looked most reasonable (no resize).

I then used handbrake svn on linux to encode to theora/vorbis (1.1).

Most obvious vorbis problem: "block lag"

- initial change of scene may have visible blocks before sharpening up. I noticed this for about the first 5s or so of the overture screen.
- dark areas have this "block lag". The beginning scene with the bright star in the sky moving over bethlehem to shine on the inn...the sky is blocky, the star shows block lag, the initial light shining on the inn is blocked.

time to encode is bad...currently single threaded. x264 works all 8 cores to 80% on my system.

No comments:

Post a Comment