in my Webapplication the user should be able to upload his own videos (either format). I am using ffmpeg to encode the video to .mp4 and .flv using the command:
ffmpeg -i uservid.whatever output.mp4 output.flv
while ffmpeg encodes the video, it's loaded in the flowplayer on the users-page. But flowplayer always says "file not found" cause ffmpeg is not yet finish with encoding.
Is there a possibility to load the video in a certain player even if it is not yet completly encoded? maybe there is a ffmpeg option?
Thanks
FLV yes, mp4 no. with flv you can have ffmpeg write to stdout and do whatever you need to with the output. mp4 requires a frame index (moov) that is not known until the entire file is encoded. flv encodes the information in every frame.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With