Video: Elementary Streams

Add debian-multimedia to your /etc/apt/sources.list:
deb http://ftp.debian-multimedia.org wheezy main non-free
Update to learn about debian-multimedia, then install the keys, then update again (somehow makes the keys active), all so you can verify signatures of the packages:
# apt-get update
# apt-get install xxx
# apt-get update
# apt-get install tstools ffmpeg handbrake-gtk
$ handbrake-gtk
$ ffmpeg -i testclip.m4v -vcodec copy -acodec copy -vbsf h264_mp4toannexb testclip.ts
$ ts2es testclip.ts  testclip.es