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

  • Home
  • SEARCH
  • 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 7664651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T14:21:34+00:00 2026-05-31T14:21:34+00:00

I am using ffmpeg & mp4box in my PHPmotion site to convert videos to

  • 0

I am using ffmpeg & mp4box in my PHPmotion site to convert videos to mp4 format. When I convert a 50MB video to mp4, the file size remain same. So Its affecting the video streaming in my site. So I want to reduce the file size of the video in conversion. This is my code example, that I’ve used the site for converting m4v videos in PHPmotion.

$ffmpeg_cmd2_2 = "$config[path_to_ffmpeg] -i $raw_video_path -vcodec libx264 -vpre veryfast -crf 15 -b 5120000 -threads 0 -acodec libfaac -ac 2 -ab 128k -ar 44100 -f mp4 $new_flv_1";
$mp4box_cmd = "$mp4box_path -add $new_flv_1 $new_flv_2" 

When I use this command,it converts the m4v file to mp4 format, but the filesize doesn’t change. What command I should use in this to reduce the filesize during video conversion in PHPmotion? Can anyone write a ffmpeg command to reduce the filesize during conversion ?

  • 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-31T14:21:35+00:00Added an answer on May 31, 2026 at 2:21 pm

    There are two main factors involve in reducing the size of mp4 video

    i: width and height of video, greater their widths, greater will be size and slower will be streaming e,g 360p, 480p, 720p, 1080p

    ii: video bitrate, greater will be their bitrate, higher will be quality, size and slower will be their streaming.

    For faster streaming i recommend using

    i: 480×360 or lower width and height of video
    ii: -b value 360k or lower.
    iii: -ab value 64k (optional)

    Hope this will help you.

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

Sidebar

Related Questions

I am using followng command to convert video to webm format ffmpeg -i video/ds2.mp4
I am using ffmpeg to convert a video file to mp4. here is my
I convert a file using ffmpeg command in which audio and video bitrate are
I am using ffmpeg to convert a 1080p video to MP4 using this command
I am using ffmpeg.exe to convert video files to flv format . For that
I am using FFmpeg to convert a video from one format to another. I
I am using FFMPEG to convert a video to .mp4, ,ogg, .webm so that
I'm using ffmpeg to convert a video from avi to mp4. The audio /
I am using ffmpeg to decode a video file in C. I am struggling
i'm using ffmpeg to convert videos to desired formats and to generate the thumbnails..

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.