2011-03-01から1ヶ月間の記事一覧

mplayerを操作する

#include <stdio.h> #include <unistd.h> #include <string.h> #include <stdbool.h> static FILE *mplayer=NULL; #define FIFO "fifo" #define ERROR -1 #define SUCCESS 0 #define BUFSIZE 256 /** * 文字列があるか検索 */ bool find_str( const char *from , const char *pat ) { if( strlen( fro</stdbool.h></string.h></unistd.h></stdio.h>…

xbmcでAirPlay

Pythonだがソースもあるみたい。http://www.xbmcfreak.nl/en/airplay-on-xbmc/見てみると、Reverse HTTPなんだな。http://wiki.secondlife.com/wiki/Reverse_HTTP