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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:20:28+00:00 2026-06-14T17:20:28+00:00

How do you encode en .mp4 file from commandline with ffmpeg, so it works

  • 0

How do you encode en .mp4 file from commandline with ffmpeg, so it works in chrome? This can be really challenging, because ffmpeg has a lot of parameter combinations and Chrome are sensitive to the color encoding of the output format.

  • 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-14T17:20:29+00:00Added an answer on June 14, 2026 at 5:20 pm

    The solution is to use the parameter “-pix_fmt yuv420p”:

    ps>ffmpeg.exe -i $input\$file -y -strict experimental -acodec aac -ac 2 -ab 160k -vcodec libx264 -s 640x480 -pix_fmt yuv420p -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -b 1200k -f mp4 -threads 0 $output\$file.iphone.mp4
    

    ffmpeg version N-46936-g8b6aeb1

    Hopes this can help you with getting chrome compatible videos

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

Sidebar

Related Questions

With my server I encode videos from any format to mp4 with ffmpeg, for
How to mofify this to get only the url of the mp4 file version?
I'm trying to use libavcodec (ffmpeg) to encode raw pixel data to mp4 format.
I'm attempting to create a 1s clip from a mp4 file into mpeg using
I'm trying to concatenate two mp4 files using ffmpeg. I need this to be
i want to encode live stream video to h264 and generate mp4 file. i
Im trying to encode into a NSValue an multidimensional array of structs. This is
I need to encode/decode UTF-16 byte arrays to and from java.lang.String . The byte
How can I encode the Unicode character U+0048 (H), say, in a PowerShell string?
Background: I have encoded a raw h264 file using ffmpeg. I'm trying to create

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.