Su dung module flashvideo tren Windows

Flashvideo la mot Drupal module ho tro viec dang tai video dua tren node. Module nay co the su dung thu vien ffmpeg cai tren web server de thuc hien tu dong viec chuyen doi cac dinh dang video khac ve flv, tu do, video co the de dang nhung vao cac flash player.

Truong hop ban su dung mot linux server thi chuyen don gian, cai ffmpeg de, lenh de flashvideo thuc thi cho viec chuyen doi dinh dang cung duoc viet san, ... Nhung neu su dung Windows thi co ve hoi phien phuc hon mot chut -- ffmpeg.org khong co ban phan phoi cho Windows, tai lieu huong dan ngheo nan, ...

Xin mach vai nuoc sau de cai dat va su dung:

a. Tai module flashvideo ve, giai nen vao /sites/all/modules/

b. Kich hoat module upload (core), sau do kich hoat module flashvideo.

c. Tao mot content type la 'video', co bat tinh nang upload.

d. Dinh vi kich ban ffmpeg.exe: lay file nay ve (ban phan phoi khong chinh thuc cua ffmpeg cho Windows), roi dat o C:\ffmpeg.exe (that ra o dau cung duoc).

e. Cau hinh chung cho module ffmpeg doi voi tat ca cac module tai form /admin/settings/flashvideo/edit/global >> FFMPEG setting >> ffmpeg Path, nhap vao 'C:\ffmpeg.exe' (khong co dau nhay don) >> Save.

f. Cau hinh module flashvideo cho content type 'video' (cac field khong de cap, nen de nguyen)

>> Chon "Enable the FlashVideo for this Node Type"
>> Khong chon "Convert videos immediately"
>> Window Mode, chon 'transparent'
>> FFMPEG Settings
>>>> Video Default Size: Thay doi gia tri tuy theo nhu cau
>>>> Thumbnail Size: Thay doi gia tri tuy theo nhu cau (nen tao anh lon, sau do ket hop voi module imagecache de tao cac co anh khac nhau)

Chu y, toi co thu chay doan code sau
C:\ffmpeg.exe -y -i "C:\xampp\htdocs\drupal5/sites/toila.net/files/6_BobBoynton_savecomputer2125.wmv" -vframes 1 -ss "00:00:02" -an -vcodec mjpeg -f rawvideo -s "500x375" "C:\xampp\htdocs\drupal5/sites/toila.net/files/6_BobBoynton_savecomputer2125.jpg"

Thi nhan duoc loi

Frame size must be a multiple of 2

Cho nen, thay 500x375 thanh 500x374 thi on.

g. Cau hinh cron chay deu dan, de Drupal thuc hien viec chuyen doi dinh dang va tao anh thumbnail cho cac file video.

Chuc thanh cong

:-)

The Hong

Comments

dua trang web len mang

anh oi chi em cach dua mot trang drupal len mang cai. em da co cuteftp roi, da co host ho tro MySQL roi, domain cung co luon roi. nhung ma em khong biet dua cai thu muc nao len mang day. em cai localhost bang xampp. con nua configure cai database the nao anh. Sau khi minh export cai database roi up len host nhu the nao ah?
email cua em:
pyraman@gmail.com

Khong dung chu de

Hi,

Ban vui long vao forum tao mot chu de phu hop nhe.

The Hong

cai ffmpeg.exe cua anh sao ko save ve dc vay?

cai ffmpeg.exe cua anh sao ko save ve dc vay?
Bac TH dao nay ban gi ma it viet bai de bon em con hoc hoi kinh nghiem chu.

Hyper link updated

Hyper link da duoc cap nhat. Cam on ban da bao loi.

The Hong

Su dung module flashvideo tren Windows

lam ban co bat cu binh luan ve Flashvideo vs Blue Droplet Ma so (Ma so Da giai quyet tron goi trong D5)? Toi da rat hai long voi op_video, voi ngoai le cua cac nguon luc phuc vu vuot qua khi dang video vao trang web Da giai quyet tron goi cho transcoding ... (OK, no luu tru duoc chia se nhu vay toi khong the khieu nai:).) Gia su toi gui bai den cac dich vu S3 xin nhan len so voi cung mot loai han che.ccip certification

cung, doc gia nen xem xet cac nguon luc phuc vu yeu cau, va tiem nang / hypothetical phap ly quan tam, bang cach su dung cua rieng minh khi cai dat FFmpeg. (IANAL, do do, toi khong chac chan bao nhieu tam do la gia tri thanh toan cac van de luat phap, nhung nhung yeu to dang co hai ly do tai sao toi da Da giai quyet bang cach su dung dich vu tron goi cua transcoding ...)

video voi Drupal co ve la mot trong nhieu tuon ra vao luc nay, voi rat nhieu thu vi moi phat trien, do do, cac bai viet nhu the nay la thuc su huu ich!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <sup> <br> <p> <h3>
  • Lines and paragraphs break automatically.
  • Link to content with [[some text]], where "some text" is the title of existing content or the title of a new piece of content to create. You can also link text to a different title by using [[link to this title|show this text]]. Link to outside URLs with [[http://www.example.com|some text]], or even [[http://www.example.com]].
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo]. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.