$file = ‘/path/to/your/movie.flv’;
$movie = new ffmpeg_movie($file);
$height = $movie->getFrameHeight();
$width = $movie->getFrameWidth();
$size = filesize($file);
Source(s):
http://ffmpeg-php.sourceforge.net/doc/api/ffmpeg_movie.php
ความรู้ในอินเทอร์เน็ตมีมากมาย ทั้งใช้ได้และใช้ไม่ได้, หวังว่าควา่มรู้ที่รวบรวมมาไว้ที่นี่ คงเป็นประโยชน์ต่อทุกท่าน
คุณาวุฒิ สืบเสน
$file = ‘/path/to/your/movie.flv’;
$movie = new ffmpeg_movie($file);
$height = $movie->getFrameHeight();
$width = $movie->getFrameWidth();
$size = filesize($file);
Linux doesn’t have a separate threads per process limit, just a limit on the total number of processes on the system (threads are essentially just processes with a shared address space on Linux) which you can view like this:
cat /proc/sys/kernel/threads-max
The default is the number of memory pages/4. You can increase this like:
echo 100000 > /proc/sys/kernel/threads-max
There is also a limit on the number of processes (an hence threads) that a single user may create, seeulimit/getrlimit for details regarding these limits.
Edited for eQSO, from an article by Peter, G4KQU, with his kind permission.
An interface unit allows one to transmit and receive digital modes using a computer sound card. Conveniently, the interfaces below were designed to operate without an external power supply, so before rushing out and spending a fortune on a commercial interface with features you will probably never need or use, consider building your own! I have included here some simple designs that I have built, tested and which work very well considering their simplicity and economy. These circuits will perform well if you intend to run an Internet gateway using the eQSO or EchoLink software. Parts for these circuits (or complete kits) can be obtained from www.modecomponents.co.uk
Continue reading »
New and Improved Sound Card Packet Interface ver2
now with CW and tested with PSK31, and APRS
by KD5ZUG
Most of the digital communications used in the amateur bands use some form of tone translation. One tone will represent a high and another tone will represent a low, and by shifting between tones data can be transmitted and received. The data is then fed to a computer program that decodes the data in to understandable language or pictures. Early on the tone decoding was done by a device called a TNC (terminal node controller), which is synonymous with a computer modem used on a wire line or telephone network. In fact the early TNC were modified computer modems. Now that most computers come with very advanced soundcards it is possible to connect your radio directly to your PC without a TNC by using the computers sound card and additional software. The following circuit is a description of the circuit and software needed to make the connections between your computer and your radio. I built this circuit to do APRS (automatic positioning and reporting system) on 144.390 MHz, and most recently have used it for PSK31 on 20 and 40 meters. Please refer to http://www.kc2rlm.info/soundcardpacket for a very good and complete discussion on sound card packet radio.
Please refer to the diagrams for the following procedure.
Many of you have heard some of us talking about packet radio. For the “OM’s” they may think “That’s so old, and I tought packet died!” Well, not really. Sure there is other stuff out there that is “better?”, but, packet radio is getting a good makeover, and is a great “last mile” messaging system. Interested? read on…this page is going to give you tips, links, setup and the in’s and out’s of what’s new in packet radio!http://www.patmedia.net/ralphmilnes/soundcardpacket/ .
เครื่องมือซ่อมแซมกล่องจดหมายเข้า
ถ้าคุณไม่สามารถเปิดแฟ้มโฟลเดอร์ส่วนบุคคล (.pst) หรือแฟ้มโฟลเดอร์ออฟไลน์ (.ost) ของคุณได้ หรือคุณสงสัยว่าแฟ้มข้อมูล .pst หรือ .ost ของคุณเกิดการเสียหาย คุณสามารถใช้เครื่องมือซ่อมแซมกล่องจดหมายเข้า (Scanpst.exe) เพื่อทำการวินิจฉัยและแก้ไขข้อผิดพลาดในแฟ้มได้ เครื่องมือซ่อมแซมกล่องจดหมายเข้าจะสแกนเฉพาะแฟ้ม .pst หรือ .ost เท่านั้น ไม่ใช่กล่องจดหมายของคุณบนเซิร์ฟเวอร์ที่ติดตั้ง Microsoft Exchange โดยเครื่องมือนี้จะพิจารณาว่าโครงสร้างแฟ้มยังคงสมบูรณ์อยู่หรือไม่ ถ้าโครงสร้างแฟ้มไม่สมบูรณ์ เครื่องมือซ่อมแซมกล่องจดหมายเข้าจะทำการตั้งค่าโครงสร้างแฟ้มของคุณใหม่และสร้างส่วนหัวของแฟ้มขึ้นใหม่
เครื่องมือซ่อมแซมกล่องจดหมายเข้าทำงานได้กับทั้ง Microsoft Outlook 97-2002 Personal Folders File (.pst) ใน Microsoft Outlook 97-2002 และแฟ้มข้อมูลของ Office Outlook Personal Folders File (.pst) Office Outlook ใน Microsoft Office Outlook 2003 และ Microsoft Office Outlook 2007
Scanpst.exe จะถูกติดตั้งขณะที่คุณติดตั้ง Outlook โดยจะอยู่ที่
ไดรฟ์:\Program Files\Microsoft Office\OFFICE12
คือผมต้องการพิมพ์ บาร์โค๊ตเพื่อจ่ายเงินผ่านธนาคารโดยต้องมีคำสั่ง CR(Carriage Return) = Chr(13)
มันดันกลายมาพิมพ์ออกมาเป็นแบบ 2 บรรทัดเลยยิงไม่ได้เลย แต่บัตรตัวอย่างที่เขาให้มาเป็นแค่บรรทัดเดียวยิงออกมาได้ปกติครับข้อมูลเป็นดังนี้ครับ
‘|’+'TAX ID13 หลัก’+'00′+’Ref No.1 18หลัก’+chr(13)+’Ref No.2 18หลัก+chr(13)+’Amount 10 หลัก’+chr(13)
วิธีติดตั้ง VHCS2 บน Debian 4.0
ผมเองก็ไม่ค่อยเก่งหรอกนะเท่าที่ผมลองทำก็มีเท่านี้นะครับ (ลองเอาไปแปลงๆ ดูสำหรับมือใหม่ทุนน้อย ประหยัดค่า CP ไปได้พอควร)
# apt-get update
# apt-get upgrade
# apt-get dist-upgrade
# apt-get install apache2 apache2-mpm-prefork bind9 bzip2 courier-authdaemon courier-base courier-imap courier-maildrop courier-pop dialog diff gzip iptables libapache2-mod-php5 libberkeleydb-perl libcrypt-blowfish-perl libcrypt-cbc-perl libcrypt-passwdmd5-perl libdate-calc-perl libdate-manip-perl libdbd-mysql-perl libdbi-perl libio-stringy-perl libmail-sendmail-perl libmailtools-perl libmcrypt4 libmd5-perl libmime-perl libnet-dns-perl libnet-netmask-perl libnet-perl libnet-smtp-server-perl libperl5.8 libsasl2-modules libsasl2 libsnmp-session-perl libterm-readkey-perl libterm-readpassword-perl libtimedate-perl make mysql-client mysql-common mysql-server original-awk patch perl perl-base perl-modules php5 php5-mcrypt php5-mysql php5-gd postfix postfix-tls procmail proftpd-mysql sasl2-bin tar wget gcc libc6-dev php5-dev subversion php5-cli
Create directories for web-based administration ? เลือก yes
เลือก Ok
General type of configuration? เลือก Internet Site
Mail name? เลือก Ok
Run proftpd from inetd or standalone? เลือก standalone# nano /etc/mysql/my.cnfค า ถ า โ พ ธิ บ า ท
บูระพารัสมิง พระพุทธะคุณัง
บูรพารัสมิง พระธัมเมตัง
บูรพารัสมิง พระสังฆานัง
ทุกขะโรคะภะยัง วิวัญชัยเย
สัพพะทุกข์ สัพพะโศก สัพพะโรค สัพพะภัย
สัพพะเคราะห์ เสนียดจัญไร วิวัญชัยเย
สัพพะลาภัง ภะวันตุเม รักขันตุ สุรักขันตุ
หมายเหตุ เที่ยวต่อไปเปลี่ยนจาก บูรพารัสมิง เป็น
อาคะเนยรัสมิง – ทักษิณรัสมิง – หรดีรัสมิง
ปัจจิมรัสมิง – พายัพรัสมิง – อุดรรัสมิง
อิสาณรัสมิง – ปฐวีรัสมิง – อากาศรัสมิง
………………………………………………………..
คาถาโพธิบาท ( คาถาป้องกันภัยสิบทิศ )
คาถาโพธิบาทคือ พระคาถาป้องกันภัยโดยการสวดระลึกถึง
พระพุทธคุณ พระธรรมคุณ พระสังฆคุณไปในทิศต่างๆ
ขออานุภาพของพระพุทธคุณ พระธรรมคุณ พระสังฆคุณขจัด โรคภัย ทุกข์ และเคราะห์ทั้งหลาย
บางแห่งมีเรียกว่า คาถาป้องกันภัยสิบทิศ และบางแห่งเรียกว่าคาถา สะเดาะเคราะห์ ก็มี
เป็นพระคาถาป้องกันภยันตรายต่างๆ เวลาออกเดินทางไกล หรืออยู่ภายในบ้าน
Recent Comments