如題, 有時從 youtube 抓下來的 mv 影片我們只需要 audio 的部份,
要達成這個目的可以使用 ffmpeg 或 MP4Box 來做到
2012-08-17
2012-08-16
LINUX - MediaInfo 使用筆記
mediainfo --help 的內容如下
--Inform=... Specify a template (BETA)
Usage: "MediaInfo --Inform=[xxx;]Text FileName"
xxx can be: General, Video, Audio, Text, Chapter, Image, Menu
Text can be the template text, or a filename
Filename must be in the form file://filename
See --Info-Parameters for available parameters in the text
(Parameters must be surrounded by "%" sign)
Example: "MediaInfo --Inform=Video;%AspectRatio% FileName"
Example: "MediaInfo --Inform=Video;file://Video.txt FileName"
and Video.txt contains
"%DisplayAspectRatio%" for Video Aspect Ratio.
Example: "MediaInfo --Inform=file://Text.txt FileName"
and Text.txt contains
"Video;%DisplayAspectRatio%" for Video Aspect Ratio.
"Audio;%Format%" for Audio Format.
2012-07-23
CODE - php xml to array
code as below
cf : http://jaspreetchahal.org/php-xml-to-array-simplest-way/
//$xml = implode('', $output);
$xmlObj = simplexml_load_string($xml);
$json = json_encode($xmlObj);
$arr = json_decode($json, true);
print_r($arr);
cf : http://jaspreetchahal.org/php-xml-to-array-simplest-way/
2012-07-17
LINUX - ssh login 時, 發生 Account locked due to 21 failed logins
ssh login 時發生 Account locked due to 21 failed logins 的訊息
看起來是密碼輸入錯誤太多次了
看起來是密碼輸入錯誤太多次了
2012-07-16
CODE - 讓單一網頁不被搜尋引擎 search 到的方法
在網頁加入以下這段
<meta Name="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
但這只能規範比較乖的 search engine,
碰到不遵守 robots.txt 及 meta 協議的 search engine 時, 就沒有用了
只防君子不防小人啊~
cf :
https://sites.google.com/site/csfinal2011/google-sou-xun-zhi-w...igoogle-sou-xun-de-wang-ye
http://productforums.google.com/forum/#!topic/websearch-zh-tw/B5YzxtSKIHk
http://lanlanlu.tw/document-files-google-search/
<meta Name="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
但這只能規範比較乖的 search engine,
碰到不遵守 robots.txt 及 meta 協議的 search engine 時, 就沒有用了
只防君子不防小人啊~
cf :
https://sites.google.com/site/csfinal2011/google-sou-xun-zhi-w...igoogle-sou-xun-de-wang-ye
http://productforums.google.com/forum/#!topic/websearch-zh-tw/B5YzxtSKIHk
http://lanlanlu.tw/document-files-google-search/
2012-07-06
訂閱:
文章 (Atom)
