Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (58)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP 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, par

    Mediaspip 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, par

    Unlike 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 Guillermo

    So, 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/6050676

    It 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 JohnWolf

    I’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 :

    1. Setup a Wowza Streaming Engine on a server
    2. 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 GerrikLabra

    I 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 :

    &#xA;

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

    &#xA;

    from imageio import get_writer &#xA;writer=get_writer("test.mp4",format="FFMPEG",mode="I",codec="gif")&#xA;&#xA;Incompatible pixel format &#x27;yuv420p&#x27; for codec &#x27;gif&#x27;, auto-selecting format &#x27;bgr8&#x27;&#xA;[mp4 @ 000002330fbede40] Could not find tag for codec gif in stream #0, codec not currently supported in container&#xA;Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument&#xA;Error initializing output stream 0:0 --&#xA;&#xA;from imageio import get_writer &#xA;writer=get_writer("test.mp4",format="FFMPEG",mode="I",codec="ffv1")&#xA;&#xA;[mp4 @ 000001cdc94fde40] Could not find tag for codec ffv1 in stream #0, codec not currently supported in container&#xA;Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument&#xA;Error initializing output stream 0:0 -- &#xA;

    &#xA;