<p>I intend to get a transcoding setting to support all browsers at the same time including, chrome, firefox and safari.</p>

<p>Currently I am using following, yet this does not provide a valid video with Safari :</p>

<p><code>ffmpeg -i ${f} -y -vcodec libx264 -acodec aac -preset faster videofile-new</code></p>

<p>What would be the suggestion here for the configuration ?</p>

CC BY-SA 4.0
2020-05-22T14:17:38.010Z
the -f mp4 is redundant if the file extension is .mp4
stib
CC BY-SA 4.0
2020-05-22T17:48:41.000Z
Show the complete log.
llogan
<ffmpeg><transcoding><libx264>
Best ffmpeg configuration for universal video codec compatabiltiy across browsers
london_utku
# Best ffmpeg configuration for universal video codec compatabiltiy across browsers

(Asked by: username_0 on 2020-05-21)

I intend to get a transcoding setting to support all browsers at the same time including, chrome, firefox and safari.

Currently I am using following, yet this does not provide a valid video with Safari :

`ffmpeg -i ${f} -y -vcodec libx264 -acodec aac -preset faster videofile-new`

What would be the suggestion here for the configuration ?

**Tags:** ffmpeg, transcoding, libx264

> **Comments:**
> **username_1**: the -f mp4 is redundant if the file extension is .mp4  
> **username_2**: Show the complete log.  

---

## 0 answers

