Recherche avancée

Médias (91)

Autres articles (15)

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

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (3606)

  • I cant save the animation in ffmpeg

    22 mai 2021, par Gokul

    i tried various examples though i cant find proper solution. This is the example code of my project i want to save this in a mp4 format and i used ffmpeg. the animation was saved if I use df = pd.DataFrame(np.random.rand(250,3)) but it is not working for my sample code, it showed key error = 0. Note : df1 = pd.DataFrame(np.random.randint(5,15,[250,3])).
Any suggestion for this would be appreciated. Thank you in advance

    


    import pandas as pd
import numpy as np
import ma``tplotlib.pyplot as plt
import matplotlib.animation as animation

df = data.iloc[0:250, 4:12]
df1 = df2.iloc[:,0:3]

a1 = df.iloc[:,0]/2
a2 = df.iloc[:,1]/2
b1 = df.iloc[:,2]/2
b2 = df.iloc[:,3]/2
c1 = df.iloc[:,4]/2
c2 = df.iloc[:,5]/2
m1 = df1.iloc[:,0]
m2 = df1.iloc[:,1]
m3 = df1.iloc[:,2]

fig ,ax = plt.subplots()

l1, = ax.plot (vert1, vert2, 'ro', markersize = m1[0])
l2, = ax.plot (long1, long2, 'ro', markersize = m2[0])
l3, = ax.plot (tras1, tras2, 'ro', markersize = m3[0])

def init():    
    l1.set_data([],[])
    l2.set_data([],[])
    l3.set_data([],[])
    
    return (l1,l2,l3)

def animate(i,l1,l2,l3):
    
    l1.set_data(vert1[i], vert2[i])
    l1.set_markersize(m1[i])
    l2.set_data(long1[i], long2[i])
    l2.set_markersize(m2[i])
    l3.set_data(tras1[i], tras2[i])
    l3.set_markersize(m3[i])

    return (l1,l2,l3)

Writer = animation.writers['ffmpeg']
writer = Writer(fps= 100, metadata = dict(artist = 'me'), bitrate = 1800)

ani = animation.FuncAnimation(fig, animate, fargs=(l1,l2,l3), init_func=init, interval=10, blit=False)
ani.save('/Users/gokulthangavel/Downloads/basic_animation.mp4', writer = writer)

plt.show()


    


  • How do I save `RTSP` streams as `*.mp4` files in Golang ? [closed]

    14 septembre 2021, par Clancy Zeng

    I need to use Golang to save the data from the RTSP stream to a *.mp4 video file for a specified length of time.

    


    I wanted to install an FFmpeg application and then call a command like this from Golang to solve my needs.

    


    


    ffmpeg -i rtsp ://192.168.108.132:8554/profile0 -r 16 -tt 60 /tmp/test.mp4

    


    


    But installing FFMPEG takes up hundreds of megabytes of space.So this idea was rejected by the leadership.

    


    Is there a pure Golang implementation library that can address my needs ?Or is there a golang-only library that parses RTSP streams and saves them as *.MP4 video files ?

    


  • aptx : do some clipping to match original codec in extreme cases

    6 janvier 2018, par Aurelien Jacobs
    aptx : do some clipping to match original codec in extreme cases
    
    • [DH] libavcodec/aptx.c