
Recherche avancée
Médias (1)
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
Autres articles (15)
-
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 -
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 (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
Sur d’autres sites (4277)
-
Matplotlib pipe canvas.draw() to ffmpeg - unexpected result [duplicate]
31 juillet 2022, par NarusanI'm using this code from here to try and pipe multiple matplotlib plots into ffmpeg to write a video file :


import numpy as np
import matplotlib.pyplot as plt
import subprocess

xlist = np.random.randint(100,size=100)
ylist = np.random.randint(100, size=100)
color = np.random.randint(2, size=100)

f = plt.figure(figsize=(5,5), dpi = 300)
canvas_width, canvas_height = f.canvas.get_width_height()
ax = f.add_axes([0,0,1,1])
ax.axis('off')


# Open an ffmpeg process
outf = 'ffmpeg.mp4'
cmdstring = ('ffmpeg',
 '-y', '-r', '30', # overwrite, 30fps
 '-s', '%dx%d' % (canvas_width, canvas_height), # size of image string
 '-pix_fmt', 'argb', # format
 '-f', 'rawvideo', '-i', '-', # tell ffmpeg to expect raw video from the pipe
 '-vcodec', 'mpeg4', outf) # output encoding
p = subprocess.Popen(cmdstring, stdin=subprocess.PIPE)

# Draw 1000 frames and write to the pipe
for frame in range(10):
 print("Working on frame")
 # draw the frame
 f = plt.figure(figsize=(5,5), dpi=300)
 ax = f.add_axes([0,0,1,1])
 ax.scatter(xlist, ylist,
 c=color, cmap = 'viridis')
 f.canvas.draw()
 plt.show()

 # extract the image as an ARGB string
 string = f.canvas.tostring_argb()
 # write to pipe
 p.stdin.write(string)

# Finish up
p.communicate()



While
plt.show()
does show the correct plot (see image below), the video that ffmpeg creates is a bit different than whatplt.show()
shows. I am presuming the issue is withf.canvas.draw()
, but I'm not sure how to get a look at whatcanvas.draw()
actually plots.



ffmpeg video (imgur link)


-
command line audio equalizer ffmpeg sox
5 novembre 2016, par user1320370I need to add equalizer effect on some flac files :
f=4043, 1.65q, g=9.5; f=7024, 1.09q, g=3.7; f=9254, 0.94q, g=-2.5
I was tried ffmpeg :
ffmpeg -i solovoce_compress.flac -af equalizer=f=4043:width_type=q:w=1.65:g=9.5, equalizer=f=7024:width_type=q:w=1.09:g=3.7,equalizer=f=9254:width_type=q:w=0.94:g=-2.5 solovoce_equalizzato.flac
but the result is much different then what I expect, this values was calculated by izotope ozone (professional audio editor software) and tested.
I used the equivalent with sox and the result is some.
A this point I like to try ffmpeg ’anequalizer’ filter that show the graph so I can ’see’ the difference, but I the documentation to show the graph is not clear and I was not found nothing about on web.
Someone can please send me an example of ’anequalizer’ with plot enabled ?
-
How to choose gpu among multiple nvidia gpu in ffmpeg 3.2.0 ?
7 septembre 2018, par jsBaeki’m currently using two nvidia p4 graphic cards.
In previous version of ffmpeg(before 3.2.0), i could choose specific gpu card by using options "-gpu 0 or 1 etc".
In current version, however, there’s no option for selecting gpu card.
Actually there’s "gpu" option specified in nvenc_h264.c or nvenc_hevc.c.
But in nvenc.c file, there’s no code that uses "gpu" option.
Is there any way that i can choose specific card ?
How load balancing between two cards is done ?
Is it done in driver level ?
Thank you.