Textt

  • Textt
  • ブログ
  • ユーザー登録
  • ログイン

mapi tech memo

  • ustream live rec

    http://cdngw.ustream.tv/Viewer/getStream/1/1041782.amf?pageUrl=http%3A%2F%2Fwww%2Eustream%2Etv%2Fchannel%2Ftowerbridge&locale=ja%5FJP&encoded=1

    あたま http://cdngw.ustream.tv/Viewer/getStream/
    ch番号(?) 1
    ストリーミング(ユーザー?)のUID 1041782
    おしり .amf

    パラメーターは渡さなくても大丈夫だった
    ?pageUrl=http%3A%2F%2Fwww%2Eustream%2Etv%2Fchannel%2Ftowerbridge&locale=ja%5FJP&encoded=1

    UIDは録画したいチャンネルのページのhtmlに書いてあったりする


    wget http://cdngw.ustream.tv/Viewer/getStream/1/1041782.amf
    これからrtmpサーバーのアドレスを探す
    rtmp://flash56.ustream.tv/ustreamVideo/1041782

    URLがわかったらrtmpdumpに突っ込んでダウンロード
    rtmpdump -q -v -r "rtmp://flash56.ustream.tv:1935/ustreamVideo/1041782" -a "ustreamVideo/1041782" -f "LNX 10,0,45,2" -y "streams/live" -o rec.flv

    2010/10/18 mapi
© Textt / GreenSpace