
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (58)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (8699)
-
FFmpeg is giving me nightmares
8 juin 2016, par GuillermoSo, I’m trying to save animations with the animation.save command. I installed ffmpeg in Windows 10 by placing a folder with its binaries in my drive C :\, I have also set the path in my system variables like C :\ffmpeg\bin, and finally, my code for the animation function saving looks like this
if save=='True':
mywriter = animation.FFMpegWriter()
plt.rcParams['animation.ffmpeg_path'] = 'C:/ffmpeg/bin'
ani.save('mymovie.avi',writer=mywriter,fps=30)and all other kind of variants such as :
mpl.animation.ffmpeg_path = r'C:\ffmpeg\bin'
mpl.animation.ffmpeg_path = 'C:\\ffmpeg\\bin'No matter what I do, the result is always :
File "<stdin>", line 2, in <module>
File "Plot.py", line 168, in animate
ani.save('mymovie.avi',writer=mywriter,fps=30)
File "c:\users\guillermo\appdata\local\enthought\canopy\user\lib\site-packages\matplotlib\animation.py", line 801, in save
with writer.saving(self._fig, filename, dpi):
File "C:\Users\Guillermo\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.6.1.3253.win-x86_64\lib\contextlib.py", line 17, in __enter__
return self.gen.next()
File "c:\users\guillermo\appdata\local\enthought\canopy\user\lib\site-packages\matplotlib\animation.py", line 194, in saving
self.setup(*args)
File "c:\users\guillermo\appdata\local\enthought\canopy\user\lib\site-packages\matplotlib\animation.py", line 184, in setup
self._run()
File "c:\users\guillermo\appdata\local\enthought\canopy\user\lib\site-packages\matplotlib\animation.py", line 212, in _run
creationflags=subprocess_creation_flags)
File "C:\Users\Guillermo\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.6.1.3253.win-x86_64\lib\subprocess.py", line 710, in __init__
errread, errwrite)
File "C:\Users\Guillermo\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.6.1.3253.win-x86_64\lib\subprocess.py", line 958, in _execute_child
startupinfo)
WindowsError: [Error 5] Access Denied
</module></stdin>Any ideas ? :D
------------------------------------------------------------------------------
EDIT : I will reference this answer as it is the one that helped me the best :
http://stackoverflow.com/a/27017734/6050676It worked perfectly when using :
plt.rcParams['animation.ffmpeg_path'] = 'C:\\ffmpeg\\bin\\ffmpeg.exe'
-
Set up a TV like RTMP channel
17 mars 2015, par JohnWolfI’m looking for the best way to play a sequence of videos at specific times on a RTMP channel. Right now, I’ve setup a few things that seem viable to achieve this :
- Setup a Wowza Streaming Engine on a server
- Setup a Wowza Streaming Cloud account, that receives the stream from the server and broadcasts it with different qualities.
Now I plugged a RTMP stream into the Wowza Cloud and was able to play it in different qualities on all browsers and devices. That’s the end game.
I was able to play videos on the stream using ffmpeg and started to work on having video playlists running.
So my question is simple :
Do you think it’s a good way to do this ? How would you do it otherwise ?
Thanks
John -
Can Imageio.getwriter to use codec 265 ?
21 mars 2024, par GerrikLabraI have pip installed imageio[ffmpeg] (2.34.0), but the only FFMPEG codec the imageio wrapper seems to support is h264. When I run the below code with the following codecs, I get the error :


I am trying to get DEVS or DEVLS codecs from the FFMPEG -codecs for my non-audio mp4 videos, any suggestions ?


from imageio import get_writer 
writer=get_writer("test.mp4",format="FFMPEG",mode="I",codec="gif")

Incompatible pixel format 'yuv420p' for codec 'gif', auto-selecting format 'bgr8'
[mp4 @ 000002330fbede40] Could not find tag for codec gif in stream #0, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:0 --

from imageio import get_writer 
writer=get_writer("test.mp4",format="FFMPEG",mode="I",codec="ffv1")

[mp4 @ 000001cdc94fde40] Could not find tag for codec ffv1 in stream #0, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:0 --