[FFmpeg-user] Problem with videos not playing in mobile browser

Cecil Westerhof Cecil at decebal.nl
Wed Jun 29 02:42:34 EEST 2022


"Dr Mark A. Garlick" <magarlick2 at gmail.com> writes:

> Dear all
>
> I am new to this forum.
>
> I have noticed that some of my videos, encoded with ffmpeg and uploaded
> to my websites, do not play on mobile web browsers, but they work 
> perfectly well on desktop browsers on my Linux machine. I get either a
> message saying 'file is corrupted' or no message at all (just a blank 
> video) depending on the browser. I've tried Brave, Firefox and Chrome,
> on an iPhone, a Samsung tablet and a Samsung Galaxy s10 plus. The 'bad' 
> videos consistently fail to play on mobile devices.

Try it with:
    -pix_fmt yuv420p

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


More information about the ffmpeg-user mailing list