
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (92)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (10858)
-
FFMpeg is writing a matplotlib animation with diminishing quality
3 mars 2017, par Bryan StaffordI am trying to create a bunch of animations that follow the paths National Hockey League teams travel during the current season. Currently, my animation looks like this.
As you can see, the animation begins decently sharp but within 2 seconds the quality bottoms out and everything is grainy.
The relevant code is this :
ani = animation.FuncAnimation(fig, update, frames=len(all_x + 20),
interval=75, repeat=False)
filepath = map_team + '.mp4'
ani.save(filepath, writer='ffmpeg', fps=30)
plt.tight_layout()
plt.show()I have chosen FFMpeg as my writer because I hope to put about 30 graphics online and the MP4 format keeps each file around 1.5MB. If there’s a way to keep the graphics sharp, with low file sizes, and able to be uploaded onto Imgur, I would love to do that with my project.
Thanks.
-
Why does ffmpeg command work in terminal but not subprocess.call
4 août, par BrianI reviewed the "similar questions", but those seem to refer to using the full path for ffmpeg to ensure using the same version, which I am already doing so posting my question.


I am using a Mac runnning Sequoia 15.5, python 3, and ffmpeg 4.2.1.


I'm trying to write a script that can convert flac to mp3 320k.


If I use the following command in terminal everything works as intended :


/usr/local/bin/ffmpeg -i "/Volumes/MainData/Media/Media Server/_Stage/03 - People Like Us - Aaron Tippin.flac" -b:a 320k -map_metadata 0 -id3v2_version 3 "/Volumes/MainData/Media/Media Server/_Stage/03 - People Like Us - Aaron Tippin.mp3"



But when trying to do the same thing with subprocess.call with the following :


command = ['/usr/local/bin/ffmpeg', '-i', '/Volumes/MainData/Media/Media Server/_Stage/03 - People Like Us - Aaron Tippin.flac', '-b:a 320k', '-map_metadata 0', '-id3v2_version 3', '/Volumes/MainData/Media/Media Server/_Stage/03 - People Like Us - Aaron Tippin.mp3']
p = subprocess.call(command)



I get this as a result :


Unrecognized option 'id3v2_version 3'.
Error splitting the argument list: Option not found



If I remove the '-id3v2_version 3', then the subprocess.call results in the following error :


[mp3 @ 0x7fae2c008200] Invalid stream specifier: a 320k.



Why does Terminal understand but subprocess.call doesn't when I've verified I'm using the same version of ffmpeg ?


-
Timeout error while running FFmpeg as a process in php
13 août 2021, par Karthikeyan BalusamyI'm trying to create a process for FFmpeg video compression at runtime. In my local system, it runs within 30 seconds. When I tried to run it in the server, it starts throwing a timeout error after 60 seconds. When I manually ran the command in the server, it took around 2 minutes. I came to know that some configuration in
php.ini
needs to be modified. I tried changing the configuration of the process to 300 seconds. Still, the same timeout error is being outputted.


The process "/usr/bin/ffmpeg -i '/var/temp/5e7de5a9de7c2/creme bulee-01-infuse
the cream and milk.mp4' -s 1668x2224 -c:a copy '/var/temp/5e7de5a9de7c2/compre
ssed/temp_creme bulee-01-infuse the cream and milk_1668x2224.mp4'" exceeded th
e timeout of 60 seconds.




In
php.ini
, I have the following configuration :


max_execution_time = 300 
max_input_time = 300




How do I stop my process from timing out ?