peri hokiperihokiclarustologisticsrimashaop.comangelpaintingtools.co.invrjanaenergies.comcara scatter hitam maxwinspesifikasi scatter emas mahjongrtp mahjong wins 3 medanpola malam pgsoft cairkan 813jtkeberuntungan tukang parkir cek rtp mahjong ways lebarankisah inspiratif kuli bangunan menang mahjong winspeluang profit rtp mahjong ways 2 naiksopir angkot jackpot 89 juta mahjong winstemuan scatter jumat mahjong wayskeajaiban malam menghidupkan suasanamenang dengan gaya strategi cerdas mahjongputaran ajaib mahjong wins tumbang bahagiaraup untung dengan trik scatter mahjongscatter hitam mahjong ways mengantarkan kemenangan tak terdugafenomena scatter hitam saat jam sepi serverkemenangan besar dari scatter hitam mahjong wayspekerja serabutan raih jackpot mengagumkan di mahjong wayspotensi emas setiap spin mahjong wayswaktu spin terbaik untuk scatter hitamtukang becak raih rejeki di mahjong

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

Filename: Session/Session.php

Line Number: 282

Backtrace:

File: /home/blogchuabenh/domains/freetuts.net/public_html/site/controllers/Main_controller.php
Line: 10
Function: __construct

File: /home/blogchuabenh/domains/freetuts.net/public_html/sources/index.php
Line: 299
Function: require_once

File: /home/blogchuabenh/domains/freetuts.net/public_html/index.php
Line: 26
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_cookie_params(): Cannot change session cookie parameters when headers already sent

Filename: Session/Session.php

Line Number: 294

Backtrace:

File: /home/blogchuabenh/domains/freetuts.net/public_html/site/controllers/Main_controller.php
Line: 10
Function: __construct

File: /home/blogchuabenh/domains/freetuts.net/public_html/sources/index.php
Line: 299
Function: require_once

File: /home/blogchuabenh/domains/freetuts.net/public_html/index.php
Line: 26
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

Filename: Session/Session.php

Line Number: 304

Backtrace:

File: /home/blogchuabenh/domains/freetuts.net/public_html/site/controllers/Main_controller.php
Line: 10
Function: __construct

File: /home/blogchuabenh/domains/freetuts.net/public_html/sources/index.php
Line: 299
Function: require_once

File: /home/blogchuabenh/domains/freetuts.net/public_html/index.php
Line: 26
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

Filename: Session/Session.php

Line Number: 314

Backtrace:

File: /home/blogchuabenh/domains/freetuts.net/public_html/site/controllers/Main_controller.php
Line: 10
Function: __construct

File: /home/blogchuabenh/domains/freetuts.net/public_html/sources/index.php
Line: 299
Function: require_once

File: /home/blogchuabenh/domains/freetuts.net/public_html/index.php
Line: 26
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

Filename: Session/Session.php

Line Number: 315

Backtrace:

File: /home/blogchuabenh/domains/freetuts.net/public_html/site/controllers/Main_controller.php
Line: 10
Function: __construct

File: /home/blogchuabenh/domains/freetuts.net/public_html/sources/index.php
Line: 299
Function: require_once

File: /home/blogchuabenh/domains/freetuts.net/public_html/index.php
Line: 26
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

Filename: Session/Session.php

Line Number: 316

Backtrace:

File: /home/blogchuabenh/domains/freetuts.net/public_html/site/controllers/Main_controller.php
Line: 10
Function: __construct

File: /home/blogchuabenh/domains/freetuts.net/public_html/sources/index.php
Line: 299
Function: require_once

File: /home/blogchuabenh/domains/freetuts.net/public_html/index.php
Line: 26
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

Filename: Session/Session.php

Line Number: 317

Backtrace:

File: /home/blogchuabenh/domains/freetuts.net/public_html/site/controllers/Main_controller.php
Line: 10
Function: __construct

File: /home/blogchuabenh/domains/freetuts.net/public_html/sources/index.php
Line: 299
Function: require_once

File: /home/blogchuabenh/domains/freetuts.net/public_html/index.php
Line: 26
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

Filename: Session/Session.php

Line Number: 375

Backtrace:

File: /home/blogchuabenh/domains/freetuts.net/public_html/site/controllers/Main_controller.php
Line: 10
Function: __construct

File: /home/blogchuabenh/domains/freetuts.net/public_html/sources/index.php
Line: 299
Function: require_once

File: /home/blogchuabenh/domains/freetuts.net/public_html/index.php
Line: 26
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

Filename: drivers/Session_files_driver.php

Line Number: 108

Backtrace:

File: /home/blogchuabenh/domains/freetuts.net/public_html/site/controllers/Main_controller.php
Line: 10
Function: __construct

File: /home/blogchuabenh/domains/freetuts.net/public_html/sources/index.php
Line: 299
Function: require_once

File: /home/blogchuabenh/domains/freetuts.net/public_html/index.php
Line: 26
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_save_handler(): Cannot change save handler when headers already sent

Filename: Session/Session.php

Line Number: 110

Backtrace:

File: /home/blogchuabenh/domains/freetuts.net/public_html/site/controllers/Main_controller.php
Line: 10
Function: __construct

File: /home/blogchuabenh/domains/freetuts.net/public_html/sources/index.php
Line: 299
Function: require_once

File: /home/blogchuabenh/domains/freetuts.net/public_html/index.php
Line: 26
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Cannot start session when headers already sent

Filename: Session/Session.php

Line Number: 143

Backtrace:

File: /home/blogchuabenh/domains/freetuts.net/public_html/site/controllers/Main_controller.php
Line: 10
Function: __construct

File: /home/blogchuabenh/domains/freetuts.net/public_html/sources/index.php
Line: 299
Function: require_once

File: /home/blogchuabenh/domains/freetuts.net/public_html/index.php
Line: 26
Function: require_once

Hướng dẫn cài đặt FFmpeg trên Windows - Freetuts
BÀI MỚI NHẤT
MỚI CẬP NHẬT

Hướng dẫn cài đặt FFmpeg trên Windows

Trong bài này mình sẽ hướng dẫn các bạn cách cài đặt FFmpeg trên Windows, đây là công cụ tạo video rất hữu ích dành cho những bạn lập trình viên.

test php

banquyen png
Bài viết này được đăng tại freetuts.net, không được copy dưới mọi hình thức.

Nếu lập trình viên sử dụng các thư viện chuyên xử lý đồ họa để xử lý video thì thường sẽ mất rất nhiều thời gian và code rất phức tạp, vì vậy giải pháp là bạn nên sử dụng công cụ FFmpeg để xử lý, chỉ vài dòng code là bạn có thể tạo ra một video hoặc thêm hiệu ứng video rất đơn giản.

Trong hướng dẫn này mình sẽ không trình bày cách sử dụng mà chỉ tập trung vào phần hướng dẫn cài đặt.

1. Cài đặt FFmpeg trên Windows

Đầu tiên bạn hãy truy cập vào đường link này để tạo version mới nhất về nhé.

Bài viết này được đăng tại [free tuts .net]

ffmpeg download JPG

Sau đó giải nén thì ta bạn sẽ có được một số file như sau.

ffmpeg 2 download JPG

Trong số này thì bạn chỉ cần quan tâm đến file file ffmpeg.exe nằm trong thư mục bin thôi nhé.

Mình sẽ copy file ffmpeg.exe trong thư mục bin và đặt nó vào một folder có đường dẫn là: D:\xampp\htdocs\youtube.

copy ffmpeg JPG

Bây giờ ta cần chỉnh sửa một chút trong biến môi trường của Windows.

Hãy nhấn tổ hợp phím Windows + R để mở cửa sổ run, sau đó nhập lệnh sysdm.cpl để mở hộp thoại System Properties.

open run JPG

Hộp thoại System Properties xuất hiện, hãy chọn tab Advanced và click vào button Environment Variables...

advanced JPG

Một hộp thoại mới xuất hiện, bạn hãy chọn mục Path và click Edit.

edit JPG

Tại đây hãy click vào New và nhập vào đường dẫn trỏ tới folder chứa file ffmpeg.exe. Như trong hình dưới đây là mình đã đặt file đó vào trong thư mục D:\xampp\htdocs\youtube. Sau đó nhấn Ok.

nhap duong dan ffmpeg JPG

Tiếp theo bạn hãy kiểm tra trong mục System varriables, tại phần PATHEXT bạn hãy xem có phần mở rộng EXE chưa nhé, nếu có rồi thì không làm gì cả, nếu chưa thì hãy chỉnh sửa và thêm nó vào, nhớ là chúng sẽ cách nhau bởi dấu chấm phẩy, thao tác thêm tương tự như trên thôi nhé.

kiem tra exe JPG

2. Kiểm tra xem đã cài đặt FFmpeg thành công chưa

Việc cài đặt ffmpeg trên Windows đã xong, bây giờ ta cần tạo thêm một dự án để kiểm tra xem nó có hoạt động không nhé.

Mình sẽ tạo một thư mục video nằm bên trong thư mục chứa file ffmpeg đã cài đặt ở bước trên.

video folder JPG

Vào folder video, bạn hãy nhấn Shift và click chuột phải để mở ứng dụng PowerShell.

powershell png

Hộp thoại PowerShell xuất hiện, bạn hãy nhập vào lệnh ffmpeg, nếu kết quả trả về như hình dưới đây là bạn đã cài đặt thành công.

cai dat ffmpeg thanh cong JPG

Như vậy là mình đã hướng dẫn cách cài đặt FFmpeg trên Windows đã xong, bạn có thể áp dụng cho cả Windows 7, 8 và 10 nhé. Bài tiếp theo mình sẽ nói về cách sử dụng một số lệnh FFmpeg cơ bản. Hẹn gặp lại các bạn ở bài tiếp theo.

Cùng chuyên mục:

Hướng dẫn cài đặt FFmpeg trên Ubuntu

Hướng dẫn cài đặt FFmpeg trên Ubuntu

FFmpeg là một công cụ mã nguồn mở, được xây dựng để xử lý ..

Tổng hợp 20 lệnh FFmpeg cơ bản cho người mới bắt đầu

Tổng hợp 20 lệnh FFmpeg cơ bản cho người mới bắt đầu

Trong bài này chúng ta sẽ học 20 lệnh FFmpeg cơ bản dành cho người…

Top