Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3605076
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T21:04:43+00:00 2026-05-18T21:04:43+00:00

I have Windows XP, Apache, PHP 5.3 and ffmpeg working fine. I need to

  • 0

I have Windows XP, Apache, PHP 5.3 and ffmpeg working fine. I need to convert flv to avi or vice versa without using the exec() command. Is this possible?

Thank you.

edit :
i hope someone could edit the ffmpeg source and implement an exec function into the php extension so we could just add the parameters to a function (ex $fmpeg->exec(‘exec parameters here’); ) so the exec is executed directly from the extension …

and compile those file :p

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T21:04:44+00:00Added an answer on May 18, 2026 at 9:04 pm

    It’s not possible, at least there seems no example where ffmpeg runs without some type of system call (e.g. exec, system) from PHP.

    Edit: One option is using the dreaded safe_mode. Refer to the manual on exec:

    Note: When safe mode is enabled, you
    can only execute files within the
    safe_mode_exec_dir. …

    In theory you can place the ffmpeg binary in an arbitrary directory and give the path of that directory to the safe_mode_exec_dir. That way users will only be able to run executables in that directory. But you must try and see the implications of such a setup in real life…

    Regarding your PHP extension request: PHP ffmpeg extension is just an informational one. If you need one that can do things on actual files, you will need to build a new extension based on ffmpeg library.

    And if you plan to do this on a shared hosting, you are most probably out of luck. A standard issue shared hosting provider wouldn’t provide video functionality like this. Video hosting and processing requires specialized hosting at best.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have followed all the instructions here: http://www.tonyspencer.com/2003/10/22/curl-with-php-and-apache-on-windows/ to install & config apache get
I have written a windows service using the Apache.NMS and Apcahe.NMS.ActiveMQ (version 1.0) libraries.
I have Apache/SVN running on Windows Server 2003 with authentication via LDAP/Active Directory and
I have apache 2.2 and tomcat 5.5 running on a Windows XP machine. Which
I have Windows Vista MCML app, and I need to figure out the current
I'm using C# and I have windows form and web service... I have a
I have Windows File sharing enabled on an OS X 10.4 computer. It's accessible
I'm looking to have windows recognize that certain folders are associated to my application
Does windows have any decent sampling (eg. non-instrumenting) profilers available? Preferably something akin to
We have a Windows Server Web Edition 2003 Web Farm. What can we use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.