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 8923669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:11:38+00:00 2026-06-15T07:11:38+00:00

I want to encode the videos, which user uploads, similar to youtube which transforms

  • 0

I want to encode the videos, which user uploads, similar to youtube which transforms whatever video type you upload to flv, mp4,webm . Because i can only play webm,html5 video in my Webapp
So i need to do this thing. I have tried http://www.zencoder.net But thats costly for me, because i have to encode too much videos most of the time.

Is there any solution, how this can be done, I have ubuntu 12.04 server ,I think this could be done by scripting or just parsing videos to already installed encoding software, But dont know how to pass the videos to encoder, And what encoder should i install on my linux.

I am using php as server side language in my cloud storage website

  • 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-06-15T07:11:41+00:00Added an answer on June 15, 2026 at 7:11 am

    You can do this by encoding the videos with FFmpeg.

    On the command line you could use:
    ffmpeg -i file.mp4 file.mp4.avi

    You can use ffmpeg-php with PHP to get some ffmpeg features. But it looks like you will have to use the command line with the php exec function.

    $fileToFlv="/var/www/test/input.wmv";
    $fileFlv="/var/www/test/test.flv";
    
    exec("/usr/bin/ffmpeg -i ".$fileToFlv." -ar 22050 -ab 32 -f flv -s 320x256 ".$fileFlv); 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i want to encode live stream video to h264 and generate mp4 file. i
My platform is PHP JOOMLA MYSQL. I want to encode and load uploaded video
I have video files (mp4's as I want people to be able to view
I want to encode a video to obtain high quality. Is there any way
I am interested in developing a site similar to youtube. I want to have
I want to implement HTTP streaming server, which is similar to this (http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/) But,
How to change a video(.mp4) meta-info using a AVAssetWriter API? I want to not
My platform is PHP JOOMLA MYSQL. I want to encode and load uploaded video
I want to encode DNS protocol header using C and create a UDP datagram.
I want to encode and decode Bitmap object in string base64 . I 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.