[FFmpeg-user] fragmented mp4 and playing while converting

Carl Zwanzig cpz at tuunq.com
Thu May 6 21:16:41 EEST 2021


First off, do not top-post in this mailing list (it's in the FAQ, link in an 
earlier email)

On 5/5/2021 6:29 PM, Julien Dotsev wrote:
> As I mentioned above I want to be able to play it in a HTML<video> tag.  As
> in a video tag it can be only 3 formats.  I can't play avi, so that's why I
> try to convert it.
OK, then convert to a compatible format upload that (however to fully 
support the video tag, you'll need multiple formats to match what the 
browsers want- mp4/ogg/webm).

BTW, because of the way ogg containers are constructed, you should have 
better luck with them than mp4.

> I have a server with files. Not all of them are  HTML<video> tag
> compatible. I want to be able to play them in a browser, but I don't
> want to keep another copy with another format on the server.
Just do it, life will be much simpler.

> And I can not convert them and have the converted copy either because I
> must be able to give back the original file to the user.Don't erase the original file?

https://web.dev/media/ has some useful info about using the video tag.

You're much better off pre-converting the files. Is there any specific 
reason you can't do that?

Later,

z!


More information about the ffmpeg-user mailing list