
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (79)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (10204)
-
I cant save the animation in ffmpeg
22 mai 2021, par Gokuli 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 can I use ffmpeg to save only the last 60 secs recorded ?
14 septembre 2021, par Marc KhouryI'm trying to figure out a way to use ffmpeg command to save only the last 60 seconds recorded.
The way I'm doing it now is using a thread to record 60 seconds videos, and then merge the last two videos and cut the last 60 seconds (using the -t command), the method I'm trying to achieve should not save multiple videos and then merge and cut.


Below the command I'm using :


ffmpeg -sseof 60 -i "\PATH\TO\VIDEO" -c copy "\PATH\TO\OUTPUT"


-
Using FFmpeg AutoGen save to bitmap works on Windows but not on Linux
5 décembre 2024, par ChrisI'm using FFmpeg.AutoGen to decrypt video and save the frames as bitmaps. Code is using dotnet core and I'd like to get it working for both Windows and Linux.


The code is similar to the example provided : https://github.com/Ruslan-B/FFmpeg.AutoGen/blob/db9bcd4b9dfad5d117ffd71fe1a2d073e96a3520/FFmpeg.AutoGen.Example/Program.cs


AVFrame convertedFrame = this.converter.Convert(frame);
Bitmap image = new Bitmap(convertedFrame.width, convertedFrame.height, convertedFrame.linesize[0], PixelFormat.Format24bppRgb, (IntPtr)convertedFrame.data[0]);



When saving the image using :


image.Save($"returned-image-{DateTime.Now.Ticks}.png", ImageFormat.Bmp);



The image looks fine on Windows, but is corrupted in Linux.