Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxÏÂffmpeg ÊÖ»úÊÓÆµ×ª»»×ܽá

ffmpeg°æ±¾:0.5.1 flv -> mp4  ->3gp
#½ØÍ¼£º
./ffmpeg -i ÊÓÆµÎļþ -y -ss ½ØÍ¼Ê±¼ä -vframes 1 -f image2 -s 128x96 Ä¿±êÎļþÃû;
#Éú³ÉÔ¤ÀÀ°æ£º
./ffmpeg -i out.3gp -ss 00:00:00 -t 00:00:10 -s qcif -acodec copy -vcodec copy -y preview.3gp
#ת»»16:9 flvÊÓÆµµ½ 4:3µÄmp4ÊÓÆµ
ffmpeg -i src.flv -vcodec libx264 -vpre normal -vpre baseline -coder 0 -threads 4 -s 320*180 -b 128k -r 15 -padbottom 30 -padtop 30 -f mp4 -y out.mp4
×¢£º
    Õ⼸¸ö²ÎÊý±£Ö¤Äܹ»ÔÚÊÖ»úÉÏÃæ²¥·Å£¨±ØÐëÖ¸¶¨h264½âÂëÆ÷£©£º
-vcodec libx264 -vpre normal -vpre baseline -coder 0
¾ßÌ庬ÒåÏê¼ûhttp://rob.opendot.cl/index.php/useful-stuff/ffmpeg-x264-encoding-guide/
    ÕâÁ½¸ö²ÎÊýÓÃÓÚÔö¼ÓºÚ±ß
-padbottom 30 -padtop 30
#mp4ת»»Îª3gp
./ffmpeg -i test.mp4 -s qcif -ar 8000 -ac 1 -ab 12.2k -f 3gp -y test.3gp
ÖÁÓÚffmpegµÄ°²×°
¿ÉÒԲο¼http://www.code-life.com/read.php?61
аæµÄamr¿âÔÚÕâÀïhttp://opencore-amr.sourceforge.net/
±àÒëÑ¡ÏîÌæ»»Îª
--enable-libopencore-amrnb
--enable-libopencore-amrwb
×î½üµÄffmpeg°æ±¾²»ÖªµÀΪʲômakeµÄʱºò »á±¨´í
ûÓÐ×Ðϸ¿´£¬Ö»ÊǰÑÏÂÃæÕâ¶Î×¢Ê͵ô£¬¾¹È»Ò²¿ÉÒÔÓÃ....
#ifndef V
#Q      = @
#ECHO   = printf "$(1)\t%s\n" $(2)
#BRIEF  = CC AS YASM AR LD HOSTCC STRIP CP
#SILENT = DEPCC YASMDEP RM RANLIB
#MSG    = $@
#M      = @$(call ECHO,$(TAG),$@);
#$(foreach VAR,$(BRIEF), \
#    $(eval $(VAR) = @$$(call ECHO,$(VAR),$$(MSG)); $($(VAR))))
#$(foreach VAR,$(SILENT),$(eval $(VAR) = @$($(VAR))))
#$(eval INSTALL = @$(call ECHO,INSTALL,$$(^:$(SRC_DIR)/%=%)); $(INSTALL))
#endif


Ïà¹ØÎĵµ£º

linuxϵͳ¹ÜÀí

½ø³Ì¹ÜÀí£º
×Ô¶¯Ö´Ðнø³ÌµÄÃüÁatºÍbatch¡£ÆäÖÐatÖÆ¶¨½ø³ÌÖ´ÐеÄʱ¼ä£¬batchÔÚϵͳ¿ÕÏÐʱ×Ô¶¯Ö´ÐС£crontab¿ÉÒÔÖÜÆÚÐÔµÄÖ´Ðнø³Ì£¬±ÈÈçÈÃij½Å±¾ÖÜÆÚÐÔµÄÖ´ÐУ¬³£ÓÃÓÚϵͳ¼à²â¡£ËüµÄÃüÁî¸ñʽÈçÏ£º
ʱ³Ì±íµÄ¸ñʽÈçÏÂ
:
f1 f2 f3 f4 f5 program
ÆäÖÐ f1 ÊDZíʾ·ÖÖÓ£¬f2 ±íʾСʱ£¬f3 ±íʾһ¸öÔ·ÝÖеĵڼ¸ÈÕ£¬f4 ±íÊ ......

linux³£ÓÃÃüÁîСȫ

1.±ä¸üÓû§£º su root   »ò su - ×¢Ò⣨ÈôÖ»ÓÃsu£¬ÔòÖ»»»Óû§£¬²»»»shell£©¡£
2.´´½¨Îļþ¼Ð£º mkdir -m777 tool ´´½¨too²¢ÉèÖÃȨÏÞ mkdir -p tool2/tool3 Á¬¼¶´´½¨Îļþ¼Ð¡£
3.ɾ³ýÎļþ»òÎļþ¼Ð£º rm -r  tool2 µÝ¹éɾ³ý£¬Á¬Í¬×ÓĿ¼һÆðɾ³ý¡£ rm -fr ²»ÓÃÌáʾ£¬Ö±½ÓÇ¿ÖÆµÝ¹éɾ³ý¡£
4.ÒÆ¶¯Ä¿Â¼£º mv -iv ......

linuxµÄ´¥ÃþÆÁÖ®¶þ£ºÊÖ¹¤µ÷ÊÔ

£¨1£©¼òÊö£ºÔÚ±àÒëºÃÁ˵ÄANDROID¸ùÎļþϵͳµÄsystem/etc/pointercalÕâ¸öÎļþÄÚ£¬´æ·Å×Å7¸öÊý£¬Õâ7¸öÊý¾ÍÊÇ¡¶linuxµÄ´¥ÃþÆÁÖ®Ò»¡·Ëù½²µÄa,b,c,d,e,f,s¡£±ÈÈçÎÒÔÚ×Ô¼ºµÄMIDÉϲ鿴µÄÊýֵΪ£º4933 -5 -15710176 -95 -4961 56071328 65536¡£
£¨2£©´¦Àí˵Ã÷£º“system/etc/pointercal”Õâ¸öÎļþÊDZ»java³ÌÐò¶ÁȡʹÓÃµÄ ......

Linux/Unix WebÓ¦Ó÷þÎñÆ÷°²×°ÅäÖÃ

      ¸ù¾Ý¹¤×÷»·¾³µÄÐèÇó£¬ÐèÒªÕÆÎÕLinux/Unix»·¾³Ï½øÐÐÈí¼þ°²×°Î¬»¤ÒÔ¼°Ïà¹ØÅäÖõȼ¼ÄÜ¡£ÕâÀォÎÒµÄʹÓÃÐĵüǼÏÂÀ´¸ú´ó¼Ò·ÖÏíһϡ£ÉÏһƪÖ÷Òª½²½âÁËÊý¾Ý¿âµÄ°²×°(postgresql)¡£ÏÖÔÚ¾ÍWebÓ¦Ó÷þÎñÆ÷[Apache]µÄ°²×°½øÐн²½â(×¢£ºÒÔÉϰ²×°¾ùÒÔÔ´´úÂ뷽ʽ½øÐа²×°)¡£ÒÔÏÂʹÓõÄLinuxϵͳÊǰ²×°Ô ......

LinuxÉ϶ÔÄÚ´æÐ¹Â¶µÄ²âÊÔ

http://www.ibm.com/developerworks/cn/linux/l-cn-memleak/ ½éÉÜÁË»ù±¾µÄ²âÊÔÀàÐͺÍÔ­Àí
http://blog.csdn.net/rufeng18/archive/2008/11/17/3322099.aspx
http://www.ibm.com/developerworks/cn/linux/l-pow-debug/
http://xueyueming.blog.163.com/blog/static/60411785200981045547110/
http://zhangyafeikimi.java ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ