310 likes | 400 Views
Explore the process of working with phpMotion, from installation to design, programming, testing, and distribution. phpMotion is a CMS that offers video sharing capabilities, similar to YouTube, as an open-source platform. Learn about required servers, installation packages, media toolkits, and PHP configuration settings for optimal performance. Discover how to manage video files, upload and convert formats automatically to FLV using ffmpeg application. Enhance phpMotion by integrating additional applications and developing in Objective-C for iOS compatibility. Utilize Xcode for debugging and testing on simulators and physical devices, securing necessary certificates, and managing memory efficiently. Unlock the full potential of e-learning through mobile technology advancements.
E N D
ขั้นตอนการดำเนินงาน • Install phpMotion • Design & Programming • Testing & Distributing
phpMotion phpMotion คือ CMS ที่ให้บริการวิดีโอบนเว็บเป็นหลัก (share clips) สามารถสร้าง Video Streaming ได้คล้ายๆ YouTube เป็น Open Source สามารถแก้ไขและใช้งานได้อย่างถูกกฏหมายและไม่มีค่าใช้จ่าย
Severs -Linux/Unix server • PHP 4.3 or above (includeing support of CLI) • MySQL database server • LAME MP3 Encoder • Libogg + Libvorbis • Mencoder and Mplayer • FFMpeg-PHP • GD Library 2 or higher • CGI-BIN
Install Package • ติดตั้ง apache : php, mysql , phpmyadmin • ติดตั้งชุด media : mplayer, ffmpeg flvtool, mencoder • ติดตั้งชุด Audio : fvec • ติดตั้งชุดเสริม php library : phpshield,ffmpeg-php
Configuration php.ini • open_basedir= (no value) • post_max_size = 1500 • upload_max_filesize = 100 M • session.gc_maxlifetime = 14000 • safe_mode = off • Thread saftery = disable • enable_dl = on
Create Theme Text
ระบบบริหารจัดการไฟล์ ระบบบริหารจัดการไฟล์
Files Type on phpMotion • การ อัพโหลดวิิดีโอให้เป็น Format ต่างๆ ระบบจะแปลงไฟล์ให้อัตโนมัติ เป็น FLV • ใช้ ffmpeg (Application ใน server) ทำหน้าที่แปลงเป็น mp4 สำหรับใช้ใน iOS
เขียน Application เพิ่มใน phpMotion แยกแสดงไฟล์วิดิีโอเฉพาะไฟล์วิดีโอ ชนิด
Simulator • Physical Device