Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (48)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • 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

  • 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 (...)

Sur d’autres sites (7147)

  • python ffmpeg can't save gif ,but can save mp4

    21 février 2019, par water

    I use python(jupyter) ffmpeg in mac , the main code is as follows :

    import numpy as np
    from matplotlib import pyplot as plt
    from matplotlib import animation
    plt.rcParams['animation.ffmpeg_path'] = '/Users/water/anaconda/bin/ffmpeg'
    fig = plt.figure()
    ax = plt.axes(xlim=(0, 2), ylim=(-2, 2))
    line, = ax.plot([], [], lw=2)

    def init():
       line.set_data([], [])
       return line,

    def animate(i):
       x = np.linspace(0, 2, 1000)
       y = np.sin(2 * np.pi * (x - 0.01 * i))
       line.set_data(x, y)
       return line,

    anim = animation.FuncAnimation(fig, animate, init_func=init,
                                  frames=200, interval=20, blit=True)

    mywriter = animation.FFMpegWriter()
    anim.save('mymovie.mp4',writer=mywriter)

    plt.show()

    this will be right ,no error.
    but i want to save as gif, I change this part :

    anim.save('mymovie.gif',writer=mywriter)

    I get the error as follows :

        37         except (AttributeError, TypeError, ValueError):
        38             raise ValueError("Invalid file object: "
    ---> 39                              "{!r}".format(fileobj)) from None
        40     if fd < 0:
        41         raise ValueError("Invalid file descriptor: {}".format(fd))

    ValueError: Invalid file object: <_io.BufferedReader name=70>

    can anyone tell why gif is error and mp4 is oK ? and how to solve this problem

  • ffmpeg convert from WMV to AVC1 instead of "official" H264 [on hold]

    26 mars 2014, par thipeto

    I searched google for an answer, but I can't find the solution. It's for professional use.

    I'm trying to convert some wmv files (WMV3) to MP4 (H.264). It should take the format h.264, and instead of it, it's taken the H.264 (AVC1) format.

    It seems like the AVC is a format used in Apple, and I don't want to convert to this format, only to h264 "official", the one who fourcc shows me.
    I'm using the last version of ffmpeg, following is the basic command that I'm using :

    ffmpeg -i input.wmv -c:v libx264 -q:v 0 output.mp4

    I'm trying to understand the reason that some PCs here convert to h264, and other to AVC1.
    Someone can help me ? What should I do to make the other PCs convert to the real h.264 without install a pack of codecs ? I just want to convert to mp4, there's a way to install only codecs to convert to mp4 ?

    Many thanks,
    Thiago.

  • ffmpeg convert from WMV to AVC1 instead of "official" H264 [closed]

    26 mars 2014, par thipeto

    I searched google for an answer, but I can’t find the solution. It’s for professional use.

    I’m trying to convert some wmv files (WMV3) to MP4 (H.264). It should take the format h.264, and instead of it, it’s taken the H.264 (AVC1) format.

    It seems like the AVC is a format used in Apple, and I don’t want to convert to this format, only to h264 "official", the one who fourcc shows me.
    I’m using the last version of ffmpeg, following is the basic command that I’m using :

    ffmpeg -i input.wmv -c:v libx264 -q:v 0 output.mp4

    I’m trying to understand the reason that some PCs here convert to h264, and other to AVC1.
    Someone can help me ? What should I do to make the other PCs convert to the real h.264 without install a pack of codecs ? I just want to convert to mp4, there’s a way to install only codecs to convert to mp4 ?

    Many thanks,
    Thiago.