1) Install TiVo File Decoder
Download source from http://sourceforge.net/projects/tivodecode/files/ the 0.2pre4 version works fine for me. Extract the source and build it.
./configure
make
sudo make install
Use "which tivodecode" to make sure it was installed properly in /ur/local/bin
2) Install Mencoder
Enable Medibuntu https://help.ubuntu.com/community/Medibuntu
sudo apt-get install mencoder
Saturday, August 21, 2010
Convert TiVo video to iPad video in Linux
Steps in General
1) Download the Video
2) Decode the Video
3) Re-encode the Video
Steps in Detail
1) Find the URL for the TiVo file however you like. Find your TiVos MAK however you like. Set the output file location.
curl '$url' --digest -k -u tivo:$mak -c /tmp/cookies.txt --retry 12 --retry-delay 10 -o $target
$c = "";
$c .= "curl '$url' "; //source
$c .= "--digest -k "; //tivo needs these??
$c .= "-u tivo:$mak "; //username and password
$c .= "-c /tmp/cookies.txt "; //storing cookies is necessary, we just don't want them.
$c .= "--retry 12 --retry-delay 10 "; //help retry??
$c .= "-o $target"; //output
2) Find your TiVos MAK however you like. Set the input file location. Set the output file location.
tivodecode $input -m $mak -o $output
$d = "";
$d .= "tivodecode $input ";
$d .= "-m $mak ";
$d .= "-o $output ";
3) Set the input file location. Set the output file location.
$m = "";
$m .= "mencoder $input -o '$output' ";
$m .= "-ss 00:00:02 ";
$m .= "-ovc x264 ";
$m .= "-x264encopts qcomp=0.8:nocabac:level_idc=30:bframes=0:global_header:threads=auto:bitrate=1200 ";
$m .= "-vf pp=lb,scale=1024:-10,harddup ";
$m .= "-oac faac ";
$m .= "-faacopts mpeg=4:object=2:raw:br=128 ";
$m .= "-af volnorm=1 ";
$m .= "-of lavf ";
$m .= "-lavfopts format=mp4";
UPDATE: Normalized Audio.
1) Download the Video
2) Decode the Video
3) Re-encode the Video
Steps in Detail
1) Find the URL for the TiVo file however you like. Find your TiVos MAK however you like. Set the output file location.
curl '$url' --digest -k -u tivo:$mak -c /tmp/cookies.txt --retry 12 --retry-delay 10 -o $target
$c = "";
$c .= "curl '$url' "; //source
$c .= "--digest -k "; //tivo needs these??
$c .= "-u tivo:$mak "; //username and password
$c .= "-c /tmp/cookies.txt "; //storing cookies is necessary, we just don't want them.
$c .= "--retry 12 --retry-delay 10 "; //help retry??
$c .= "-o $target"; //output
2) Find your TiVos MAK however you like. Set the input file location. Set the output file location.
tivodecode $input -m $mak -o $output
$d = "";
$d .= "tivodecode $input ";
$d .= "-m $mak ";
$d .= "-o $output ";
3) Set the input file location. Set the output file location.
mencoder $input -o '$output' -ss 00:00:02 -ovc x264 -x264encopts qcomp=0.8:nocabac:level_idc=30:bframes=0:global_header:threads=auto:bitrate=1200 -vf pp=lb,scale=1024:-10,harddup -oac faac -faacopts mpeg=4:object=2:raw:br=128 -af volnorm=1 -of lavf -lavfopts format=mp4
$m = "";
$m .= "mencoder $input -o '$output' ";
$m .= "-ss 00:00:02 ";
$m .= "-ovc x264 ";
$m .= "-x264encopts qcomp=0.8:nocabac:level_idc=30:bframes=0:global_header:threads=auto:bitrate=1200 ";
$m .= "-vf pp=lb,scale=1024:-10,harddup ";
$m .= "-oac faac ";
$m .= "-faacopts mpeg=4:object=2:raw:br=128 ";
$m .= "-af volnorm=1 ";
$m .= "-of lavf ";
$m .= "-lavfopts format=mp4";
UPDATE: Normalized Audio.
Monday, March 8, 2010
My Review of Sharpie Retractable Porous Point Pen
Originally submitted at Discount Office Items.com
Sharpie Retractable Pen features a soft grip for added writing comfort and fine point tip size for everyday writing and precise lines. Quick-drying ink prevents smearing. Water-resistant, acid-free ink is permanent on paper and won't bleed through paper. Color indicator on plunger helps disting...
A good Sharpie Pen
By Jim from Beaver Dam, WI on 3/8/2010
4out of 5
Pros: Ink Dries Quickly
Describe Yourself: Value Oriented
Primary use: Business
This is basically a very thin tip Sharpie marker that is retractable instead of having a cap. It has an extra long plunger because of the different mechanism to keep it from drying out.
(legalese)
Wednesday, February 17, 2010
P3P Explained: Compact Privacy Policies in 2010
Your first point of reference for P3P should be the wikipedia page. It'll give you a good overview. Here's the basics:
In PHP:
<?php header('P3P: CP="JUNK DATA"'); >
- Microsoft helped pay for it.
- Microsoft browsers are the only browsers that still use it.
- Microsoft browsers have never used it correctly.
In PHP:
<?php header('P3P: CP="JUNK DATA"'); >
Wednesday, December 9, 2009
gPhoto2 Image Capture on the Mac.
This is a good place to start
gPhoto Primer.
gPhoto Primer.
Installation:
- Install X11 and the Developer Tools from the OS Install Disc
- Download the Most Recent MacPorts for your Platform (It used to be called DarwinPorts) and install.
- Install gPhoto
sudo port install gphoto2
- Install proctools
sudo port install proctools
- I didn't bother with trying to upgrade gPhoto to the most recent version.
Installation:
- Make sure nothing else has access to the camera, and kill any other possible gphoto instances.
pkill PTP
pkill gphoto2
Setup Camera:
gphoto2 --set-config capture=On
gphoto2 --set-config whitebalance=4
gphoto2 --set-config zoom=5
gphoto2 --set-config assistlight=Off
gphoto2 --set-config iso=0
gphoto2 --set-config canonflashmode=off
gphoto2 --set-config focusingpoint=0
For Testing Purposes
gphoto2 --set-config canonimgquality=0
gphoto2 --set-config canonimgsize=3
For Production
gphoto2 --set-config shootingmode=3
gphoto2 --set-config aperture=18
gphoto2 --set-config shutterspeed=25
gphoto2 --set-config iso=0
gphoto2 --set-config canonimgquality=1
gphoto2 --set-config canonimgsize=1
Toggle Focus
gphoto2 --set-config focuslock=on
gphoto2 --set-config focuslock=off
Take Infinite Photos Every 2 Minutes
gphoto2 --capture-image --interval=180 --frames=0
Wednesday, November 11, 2009
Upgrade Flash Player in Ubuntu
Download some kind of thing from Adobe.
(There are lots of options)
Find a libflashplayer.so somewhere in the archives you downloaded.
Replace the copy of libflashplayer.so in /home/user/.mozilla/plugins
(There are lots of options)
Find a libflashplayer.so somewhere in the archives you downloaded.
Replace the copy of libflashplayer.so in /home/user/.mozilla/plugins
Thursday, August 20, 2009
Subscribe to:
Posts (Atom)