wiki:TipAndDoc/multimedia

  • windows 8 - How to run Google Chrome with NVIDIA card (Optimus)? - Super User

    I figured out a workaround for this, if you create a hard-link to chrome.exe in the same directory, you can set a profile for that executable independently.

    C:\Program Files (x86)\Google\Chrome\Application>mklink /H gpu-chrome.exe chrome.exe
    Hardlink created for gpu-chrome.exe <<===>> chrome.exe
    

    Now I can run gpu-chrome.exe and have full 3D acceleration from my dedicated card.

    • Windows 7でも同様

netradio

  • Aの個人メモ: らじる★らじるを中国から聞いてみる
    ラジオ第1: http://mfile.akamai.com/129931/live/reflector:46032.asx 
    ラジオ第2: http://mfile.akamai.com/129932/live/reflector:46056.asx 
    NHK-FM:  http://mfile.akamai.com/129933/live/reflector:46051.asx 
    
  • IT Junk Box at September, 2011 (2011-09) NHK のネットラジオ「らじる★らじる」を聞いてみた [Net] [Radio] [Linux]

    よく見ると Windows Media Player があれば、 ./wmp_'+ch+'.html を閲覧するようになっています。で、R1, R2, FM を見ると mplayer プラグインで聞くことができました。

    $ mplayer -playlist http://mfile.akamai.com/129931/live/reflector:46032.asx
    $ mplayer -playlist http://mfile.akamai.com/129932/live/reflector:46056.asx
    $ mplayer -playlist http://mfile.akamai.com/129933/live/reflector:46051.asx
    

    下記のようなおまじないで FM 放送を60分保存できます。

    $ mimms -q -t 60 mms://a52.l12993346051.c129933.g.lm.akamaistream.net/D/52/129933/v0001/reflector:46051 nhkfm.wma
    
  • らじるらじるをrtmpdumpで録音する — Gist
    # RTMPEのtype9 handshakeに対応している必要があるのでRTMPDump v2.4必須
    # CentOS5 32bitのさくらVPS、OSX Lionで動作確認。(OSX LionではRTMPDumpを32bitでビルド)
    
    # ラジオ第1
    rtmpdump --rtmp "rtmpe://netradio-r1-flash.nhk.jp" \
             --playpath 'NetRadio_R1_flash@63346' \
             --app "live" \
             -W http://www3.nhk.or.jp/netradio/files/swf/rtmpe.swf \
             --live \
             -o r1.m4a
    
    #ラジオ第2
    rtmpdump --rtmp "rtmpe://netradio-r2-flash.nhk.jp" \
             --playpath 'NetRadio_R2_flash@63342' \
             --app "live" \
             -W http://www3.nhk.or.jp/netradio/files/swf/rtmpe.swf \
             --live \
             -o r2.m4a
    
    #NHK-FM
    rtmpdump --rtmp "rtmpe://netradio-fm-flash.nhk.jp" \
             --playpath 'NetRadio_FM_flash@63343' \
             --app "live" \
             -W http://www3.nhk.or.jp/netradio/files/swf/rtmpe.swf \
             --live \
             -o fm.m4a
    

MML

ImageMagick

  • Windowsには「convert」というFAT ボリュームを NTFS に変換するプログラムが既にあり、名前が干渉するので、適当に「iconvert」等にrenameしないと面倒。
  • ScanSnapで取り込んだ、マルチページ画像pdfを8bitインデックスカラーpngの形で展開する
    convert original.pdf -format png -type Palette -define png:color-type=3 -define png:bit-depths=8 "extracted-%02d.png"
    
    • extracted-00.png, extracted-01.png, ....

Abobe Flash

VFAPI Reader Codec

x64

  • Windows 7 x64でVFAPI Reader Codecを用いる

  • VFAPI Codec Problems
    Open a command promt with administrative rights (type cmd in the start menue and hit Ctrl+Shift+Enter).
    Navigate to the %SystemRoot%\SysWOW64 folder (that's where all the 32-bit stuff is stored - ingenious of Microsoft to name the folder SysWOW64, isn't it?  ).
    then type rundll32.exe advpack.dll,LaunchINFSection C:\Your_Path\vifp.inf,DefaultInstall and you're done.
    Substitute C:\Your_Path with the path to your vfip.inf, but note that you can't use placeholders like "*" to shorten the folder names or you'll get an error message stating the inf could not be found...
    
    1. vifpset.batを編集
      -rundll32.exe advpack.dll,LaunchINFSection vifp.inf,DefaultInstall
      +rundll32.exe advpack.dll,LaunchINFSection C:\PATH\to\VFAPICodec\vifp.inf,DefaultInstall
      
    2. sudo cmd.exe
    3. cd %SystemRoot%\SysWOW64
    4. C:\Windows\SysWOW64> C:\PATH\to\VFAPICodec\vifpset.bat
      C:\Windows\SysWOW64>rundll32.exe advpack.dll,LaunchINFSection C:\Programs\VFAPICodec\vifp.inf,DefaultInstall
      
    • これで、AviUTLなどで、VFAPI Reader Codec経由で動画ファイルが開けるようになる
      • AVIコンテナDV形式 -> TMPGEnc -> tprファイル -> VFAPI Reader Codec -> 参照形式aviファイル
Last modified 8 years ago Last modified on Mar 14, 2016 10:50:19 PM