
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (78)
-
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 -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP 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 (9152)
-
I keep having the message "MovieWriter ffmpeg unavailable ; using Pillow instead." I want to save as MP4 an animation
6 décembre 2023, par EnrraI am doing an animation :


animation = FuncAnimation(fig, update, frames=len(time_values), interval=250, repeat=False)

with a simple frame update function, I want it save it as a MP4 format :

animation.save(f'{save_path}/heat_map.mp4', writer='ffmpeg', fps=10)


I get the error message "MovieWriter ffmpeg unavailable ; using Pillow instead."


I tried to do the following :


plt.rcParams['animation.ffmpeg_path'] ='C:\\ProgramData\\Anaconda3\\LIB\\site-packages\\ffmpeg'
FFwriter = animation.FFMpegWriter()
animation.save(f'{save_path}/heat_map.mp4', writer = FFwriter, fps=10)



This gets me an error message :


Traceback (most recent call last):
 File "Graph_V1-8.py", line 406, in <module>
 FFwriter = animation.FFMpegWriter()
AttributeError: 'FuncAnimation' object has no attribute 'FFMpegWriter'
</module>


and I also tried to do the following :

animation.save(f'{save_path}/heat_map.mp4', writer='ffmpeg', fps=10, codec='libx264')


which also get me the error :
"MovieWriter ffmpeg unavailable ; using Pillow instead."


When I write :


pip install ffmpeg
Requirement already satisfied: ffmpeg in c:\programdata\anaconda3\lib\site-packages (1.4)



Thank you in advance for your help


-
How to save a vedostream on an event using ffmpeg
26 janvier 2015, par LudoI want to record short video sequences of an online stream (IP CCTV or Internet) on a defined event.
For example : I want to have two minutes before and one minute after an event occures stored in a output file.
Is it possible to do this using ffmpeg (avconv) and what are the parameters to use.
Thanks for your help !
-
how use pipe instead of save method in fluent-ffmpeg ?
27 juin 2019, par Mohsen RahnamaeiI gonna use fluent ffmpeg to write something on video
I use this codvar proc = ffmpeg(req.filePath). videoFilters(
{
filter: 'drawtext',
options: {
text: 'VERY LONG TEXT VERY VERY VERY VERY LOL!!!',
fontsize: 36,
fontcolor: 'white',
x: '(main_w/2-text_w/2)',
y: '(text_h/2)+15',
shadowcolor: 'black',
shadowx: 2,
shadowy: 2
}}
)
// use the 'flashvideo' preset (located in /lib/presets/flashvideo.js)
.on('end', function() {
console.log('file has been converted succesfully');
})
.on('error', function(err) {
console.log('an error happened: ' + err.message);
}).save('/home/gheidar/Desktop/ffmpeg_test/rt.ts');and everything is correct
but I want to export this output to stream for the response of the request
means that I want to usepipe()
instead ofsave
methodsomething like this :
var proc = ffmpeg(req.filePath). videoFilters(
{
filter: 'drawtext',
options: {
text: 'VERY LONG TEXT VERY VERY VERY VERY LOL!!!',
fontsize: 36,
fontcolor: 'white',
x: '(main_w/2-text_w/2)',
y: '(text_h/2)+15',
shadowcolor: 'black',
shadowx: 2,
shadowy: 2
}}
)
// use the 'flashvideo' preset (located in /lib/presets/flashvideo.js)
.on('end', function() {
console.log('file has been converted succesfully');
})
.on('error', function(err) {
console.log('an error happened: ' + err.message);
}).pipe(res)its just change in the last line
and I get this error :an error happened: ffmpeg exited with code 1: pipe:1: Invalid argument
how can export this ffmpeg command to stream response ????