taipeimac 20090226
DESCRIPTION
2009/02/26TaipeiMac Group PartyTV天王大亂鬥 – Tivo篇TRANSCRIPT
TV –
天王大亂鬥 Tivo篇
2009.02.26
Jacky Chu
TaipeiMac Group Party
Tivo, Apple TV & Slimdevice
Agenda
認識認識 TvioTvio的另一面的另一面
TivoTivo節目隨身看節目隨身看
認識 Tvio的另一面
用瀏覽器瀏覽用瀏覽器瀏覽 TivoTivo錄製好的節目清單錄製好的節目清單
https://tivo.ip.address/https://tivo.ip.address/
帳號:帳號: tivotivo
密碼:密碼: MAKMAK
Tivo節目隨身看
影片檔案下載影片檔案下載
影片格式轉換影片格式轉換
匯入匯入 iTunesiTunes
影片檔案下載
手動下載手動下載
批次下載批次下載
取得節目清單列表取得節目清單列表
下載影片下載影片
取得節目清單列表
curl -scurl -s 'https://'https://tivo.ip.addresstivo.ip.address/TiVoConnect?/TiVoConnect?Command=QueryContainer&Container=Command=QueryContainer&Container=%2FNowPlaying&Recurse=Yes&AnchorOffset=%2FNowPlaying&Recurse=Yes&AnchorOffset=0'0' -k --digest-k --digest -u tivo:$MAK-u tivo:$MAK
節目清單 XML
下載影片
curlcurl 'http://'http://tivo.ip.addresstivo.ip.address/download//download/%E6%81%90%E6%81%90%E9%BE%8D%E7%8E%8B%E9%BE%8D%E7%8E%8B.TiVo?Container=.TiVo?Container=%2FNowPlaying&id=%2FNowPlaying&id=xxxxxxxxxxxxxxxxxxxxxx'' --digest--digest -u -u tivo:$MAKtivo:$MAK -c /tmp/cookies.txt-c /tmp/cookies.txt -o $filename.tivo-o $filename.tivo
影片格式轉換
tivo tivo 轉 轉 mpeg2mpeg2
tivodecodertivodecoder
mpeg2 mpeg2 轉 轉 H.264H.264
mencodermencoder
tivo 轉 mpeg2
tivodecode -n -m tivodecode -n -m $MAK$MAK -o $filename.mpg-o $filename.mpg $filename.tivo$filename.tivo
mpeg2 轉 H.264
mencoder -af volume=13:1 -of lavf -lavfopts mencoder -af volume=13:1 -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_i_certify_that_my_video_stream_does_not_use_b_frames -demuxer lavf -lavfdopts b_frames -demuxer lavf -lavfdopts probesize=128 -oac lavc -ovc lavc -lavcopts probesize=128 -oac lavc -ovc lavc -lavcopts keyint=15:aglobal=1:vglobal=1:coder=1:vcodkeyint=15:aglobal=1:vglobal=1:coder=1:vcodec=mpeg4:acodec=aac:vbitrate=1800:abitratec=mpeg4:acodec=aac:vbitrate=1800:abitrate=128 -vf pp=lb,scale=e=128 -vf pp=lb,scale=640:480640:480,harddup ,harddup -o -o $filename.mp4$filename.mp4 $filename.mpg$filename.mpg
匯入 iTunes
AppleScriptAppleScript
tell application "iTunes" activate open("Videos:tivo:video:xxxx.mp4") delay 90 stop update iPodend tell
The End
Q & A