TV 天王大亂鬥  –  Tivo 篇 2009.02.26 Jacky Chu TaipeiMac Group Party Tivo, Apple TV & Slimdevice
Agenda <ul><li>認識 Tvio 的另一面 </li></ul><ul><li>Tivo 節目隨身看 </li></ul>
認識 Tvio 的另一面 <ul><li>用瀏覽器瀏覽 Tivo 錄製好的節目清單 </li></ul><ul><li>https://tivo.ip.address/ </li></ul><ul><ul><li>帳號: tivo </li><...
Tivo 節目隨身看 <ul><li>影片檔案下載 </li></ul><ul><li>影片格式轉換 </li></ul><ul><li>匯入 iTunes </li></ul>
影片檔案下載 <ul><li>手動下載 </li></ul><ul><li>批次下載 </li></ul><ul><ul><li>取得節目清單列表 </li></ul></ul><ul><ul><li>下載影片 </li></ul></ul>
取得節目清單列表 <ul><li>curl -s   'https:// tivo.ip.address /TiVoConnect?Command=QueryContainer&Container=%2FNowPlaying&Recurse=Y...
節目清單 XML
下載影片 <ul><li>curl   'http:// tivo.ip.address /download/ %E6%81%90%E9%BE%8D%E7%8E%8B .TiVo?Container=%2FNowPlaying&id= xxxx...
影片格式轉換 <ul><li>tivo  轉   mpeg2 </li></ul><ul><ul><li>tivodecoder </li></ul></ul><ul><li>mpeg2  轉   H.264 </li></ul><ul><ul...
tivo  轉   mpeg2 <ul><li>tivodecode  -n -m  $MAK   -o $filename.mpg   $filename.tivo </li></ul>
mpeg2  轉   H.264 <ul><li>mencoder -af volume=13:1 -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames ...
匯入 iTunes <ul><li>AppleScript </li></ul>tell application &quot;iTunes&quot; activate open(&quot; Videos:tivo:video:xxxx.mp...
<ul><li>The End </li></ul>Q & A
Upcoming SlideShare
Loading in...5
×

TaipeiMac 20090226

820

Published on

2009/02/26
TaipeiMac Group Party
TV天王大亂鬥 – Tivo篇

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
820
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

TaipeiMac 20090226

  1. 1. TV 天王大亂鬥 – Tivo 篇 2009.02.26 Jacky Chu TaipeiMac Group Party Tivo, Apple TV & Slimdevice
  2. 2. Agenda <ul><li>認識 Tvio 的另一面 </li></ul><ul><li>Tivo 節目隨身看 </li></ul>
  3. 3. 認識 Tvio 的另一面 <ul><li>用瀏覽器瀏覽 Tivo 錄製好的節目清單 </li></ul><ul><li>https://tivo.ip.address/ </li></ul><ul><ul><li>帳號: tivo </li></ul></ul><ul><ul><li>密碼: MAK </li></ul></ul>
  4. 4. Tivo 節目隨身看 <ul><li>影片檔案下載 </li></ul><ul><li>影片格式轉換 </li></ul><ul><li>匯入 iTunes </li></ul>
  5. 5. 影片檔案下載 <ul><li>手動下載 </li></ul><ul><li>批次下載 </li></ul><ul><ul><li>取得節目清單列表 </li></ul></ul><ul><ul><li>下載影片 </li></ul></ul>
  6. 6. 取得節目清單列表 <ul><li>curl -s 'https:// tivo.ip.address /TiVoConnect?Command=QueryContainer&Container=%2FNowPlaying&Recurse=Yes&AnchorOffset=0' -k --digest -u tivo:$MAK </li></ul>
  7. 7. 節目清單 XML
  8. 8. 下載影片 <ul><li>curl 'http:// tivo.ip.address /download/ %E6%81%90%E9%BE%8D%E7%8E%8B .TiVo?Container=%2FNowPlaying&id= xxxxxxxxxxx ' --digest -u tivo:$MAK -c /tmp/cookies.txt -o $filename.tivo </li></ul>
  9. 9. 影片格式轉換 <ul><li>tivo 轉 mpeg2 </li></ul><ul><ul><li>tivodecoder </li></ul></ul><ul><li>mpeg2 轉 H.264 </li></ul><ul><ul><li>mencoder </li></ul></ul>
  10. 10. tivo 轉 mpeg2 <ul><li>tivodecode -n -m $MAK -o $filename.mpg $filename.tivo </li></ul>
  11. 11. mpeg2 轉 H.264 <ul><li>mencoder -af volume=13:1 -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -demuxer lavf -lavfdopts probesize=128 -oac lavc -ovc lavc -lavcopts keyint=15:aglobal=1:vglobal=1:coder=1:vcodec=mpeg4:acodec=aac:vbitrate=1800:abitrate=128 -vf pp=lb,scale= 640:480 ,harddup -o $filename.mp4 $filename.mpg </li></ul>
  12. 12. 匯入 iTunes <ul><li>AppleScript </li></ul>tell application &quot;iTunes&quot; activate open(&quot; Videos:tivo:video:xxxx.mp4 &quot;) delay 90 stop update iPod end tell
  13. 13. <ul><li>The End </li></ul>Q & A
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×