Jez Higgins

Freelance software generalist
software created
extended or repaired


Older posts are available in the archive or through tags.

Feed

Follow me on Twitter
My code on GitHub

Contact
About

Thursday 02 May 2013 The Forest Road Reader, No 40

Brownhills Bob strolls around and around new New Street. Craig Hamilton does likewise and is startled - The layout of the city as I've known it all my life had changed.

Quick Tip: DLNA Server on Linux (Ubuntu 12.04 Precise Pangolin) - this is what I did, exactly as he describes. Took under five minutes, works like a charm.

To transcode video to something the DVR is willing to play, I'm using HandBrake, wrapped up in this script

  filename=`basename "$1"`
  rootname=${filename%.*}
  newname=$rootname.mp4

  HandBrakeCLI -i "$1" -o mpeg.mp4 -e x264 -q 20.0 -a 1,1 -E faac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 -f mp4 --detelecine --decomb --loose-anamorphic -m -x b-adapt=2:rc-lookahead=50

  mv mpeg.mp4 "$newname"
Running it like this ./mp4swiz a-video.avi will, after a while, spit out a file called a-video.mp4. It hasn't choked on anything I've fed it so far. The script uses HandBrake's preset for High Profile H.264 video, with all the bells and whistles. I actually have no idea what that means, but to my eye everything looks fine. Of course if the DVR ran Android ... mutter, mutter

Music By Programmers is electronica created by software developers to raise £5,000 for maths workshops at Bletchley Park and a programming club at The National Museum Of Computing.


Tagged birmingham, and ubuntu


Jez Higgins

Freelance software generalist
software created
extended or repaired

Older posts are available in the archive or through tags.

Feed

Follow me on Twitter
My code on GitHub

Contact
About