Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...)
La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
writer = imageio.get_writer(fo, fps=fps, format='.mp4')

for im in frames:
 writer.append_data(imageio.imread(im))
writer.close()



I get the following error -


---------------------------------------------------------------------------
BrokenPipeError Traceback (most recent call last)
c:\program files (x86)\python38-32\lib\site-packages\imageio_ffmpeg\_io.py in write_frames(path, size, pix_fmt_in, pix_fmt_out, fps, quality, bitrate, codec, macro_block_size, ffmpeg_log_level, ffmpeg_timeout, input_params, output_params)
 478 try:
--> 479 p.stdin.write(bb)
 480 except Exception as err:

BrokenPipeError: [Errno 32] Broken pipe

During handling of the above exception, another exception occurred:

OSError Traceback (most recent call last)
 in <module>
 1 for im in ret3:
----> 2 writer.append_data(im)
 3 writer.close()

c:\program files (x86)\python38-32\lib\site-packages\imageio\core\format.py in append_data(self, im, meta)
 500 im = asarray(im)
 501 # Call
--> 502 return self._append_data(im, total_meta)
 503 
 504 def set_meta_data(self, meta):

c:\program files (x86)\python38-32\lib\site-packages\imageio\plugins\ffmpeg.py in _append_data(self, im, meta)
 572 
 573 # Write. Yes, we can send the data in as a numpy array
--> 574 self._write_gen.send(im)
 575 
 576 def set_meta_data(self, meta):

c:\program files (x86)\python38-32\lib\site-packages\imageio_ffmpeg\_io.py in write_frames(path, size, pix_fmt_in, pix_fmt_out, fps, quality, bitrate, codec, macro_block_size, ffmpeg_log_level, ffmpeg_timeout, input_params, output_params)
 484 "OUTPUT:\n".format(err, cmd_str)
 485 )
--> 486 raise IOError(msg)
 487 
 488 nframes += 1

OSError: [Errno 32] Broken pipe

FFMPEG COMMAND:
c:\program files (x86)\python38-32\lib\site-packages\imageio_ffmpeg\binaries\ffmpeg-win32-v4.2.2.exe -y -f rawvideo -vcodec rawvideo -s 256x256 -pix_fmt rgb24 -r 29.97 -i - -an -vcodec libx264 -pix_fmt yuv420p -crf 25 -v warning C:\Users\pramu\AppData\Local\Temp\imageio_fh1fqkgc

FFMPEG STDERR OUTPUT:
</module>


I get the same error using anaconda ffmpeg and non-anaconda ffmpeg.


Is there a way to fix this error ?


Also, is there a better way to convert list of frames into .mp4 or serializing it for sending through an API ?.
so I am currently building a Website for School and implemented an Upload-System. Now I want People to be able to watch uploaded Videos. Currently if you try to watch a Video, lets say test.mp4 it takes over a minute to load. I know that using : ffmpeg -i inputvideo.mp4 -movflags faststart -acodec copy -vcodec copy outputvideo.mp4 moves the atom moov to the beginning of the file. And when I manually convert the mp4 using the previous command the file starts playing instantly. But now my problem is, that I don't want to convert each file manually. Is there another way of playing user-uploaded Videos instantly ? Thanks for your help in advance.


I am using this Code, but it has nothing to do with the streaming itself I guess :


<source src="Clap.mp4" type="video/mp4">
Your browser does not support the video tag. 

</source>