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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T02:30:40+00:00 2026-06-08T02:30:40+00:00

I am using fileuploader.js to upload a video file. Now i want to convert

  • 0

I am using fileuploader.js to upload a video file. Now i want to convert the video format to .mp4. I have used ffmpeg and php to convert the video to .mp4 after upload. The sample segment i used is

$converted = "uploads/".$uniqid.".mp4"; //$uniqid is the id for the video after upload
$cmd = "$ffmpeg -i $sourceUrl -f mp4 $converted"; //$sourceUrl is the path of the video

I have tried to convert .flv video file to .mp4 format and it does but the problem is i cannot see the video only hear the sound after converting. Is the conversion line used in $cmd incorrect. Please help.

  • 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-08T02:30:42+00:00Added an answer on June 8, 2026 at 2:30 am

    Just ffmpeg -i source.flv output.mp4 should be enough, it will use default codecs for mp4. Can you paste the ffmpeg response to the above command?

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

Sidebar

Related Questions

I am using Valum's fileuploader http://valums.com/ajax-upload/ The below index.html uploads a file, and post.php
I am using dojox.form.FileUploader to upload a file. I am sending username alongwith the
is possible to upload a file on apache server using commons-fileuploader jar file in
I have a File Uploader in my ASP.NET application Using C#, we can upload
I know how to upload files/images in asp.net using fileuploader control.i want to upload
hii i am using ajax file upload in this code <script type=text/javascript src=fileuploader.js></script> <script
I'm using this pluging to upload files: https://github.com/valums/file-uploader But now I starts the upload
I am trying to upload a file using rich:fileUploader and its not triggering the
I'm using the plugin qq.FileUploader . Before submitting file, I want to know if
Problem decription: I want to create a file upload screen using JSP. The screen

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.