[FFmpeg-user] fragmented mp4 and playing while converting

Julien Dotsev j.docev at gmail.com
Thu May 6 04:29:10 EEST 2021

Hi Carl,
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.

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. 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. So that's why I try to play it
during the conversion.
I suppose the live streaming is done in the same way. You convert the
stream to a compatible format and then you embed it in the <video> tag,

Do you have any suggestions?


On Thu, May 6, 2021 at 3:05 AM Carl Zwanzig <cpz at tuunq.com> wrote:

> On 5/5/2021 5:50 PM, Julien Dotsev wrote:
> > ffmpeg -re -i input.avi -movflags
> > +faststart  output.mp4
> >
> > but like this I can not open at all the file during the conversion.
> Among other things, AFAIK -movflags +faststart happens after the
> conversion
> has been finalized and involves writing a new file with the parts
> rearranged.
> > Any suggestions?
> Not top-posting on this list?
> Why do you want to play the output file during conversion? Can you play
> the
> input file instead? What are you trying to accomplish?
> z!
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list