
Recherche avancée
Médias (3)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (49)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
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 (...) -
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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (6498)
-
Tkinter window and script freeze when filedialog is used
11 décembre 2020, par RandomInternetPersonIm developing a audio player for python. Unfortunately, it appears as if after a modification, the file dialog portion of the script ceased working. The code below is a minimum reproducible example of the offending bit.


# -----------------------Setup-----------------------
# Imports
from tkinter import * 
from tkinter.ttk import * 
from tkinter import filedialog

import simpleaudio
import subprocess

# GUI
root = Tk() 
root.title("CupPlayer") 
menubar = Menu(root)
file = Menu(menubar, tearoff = 0)
root.config(menu = menubar)
# ----------------------Functions---------------------
def file_selector(): 
 filename = filedialog.askopenfilename()
 
 root.update()
 if filename.endswith('.mp3'):
 subprocess.call(['ffmpeg', '-i', filename,
 'audio.wav'])
btn = Button(root, text = 'search file !', bd = '5', 
 command = file_selector) 

mainloop() 



-
Revision 3810bca9a9 : Fix Android ndk-build Add the config directory to the rtcd generation script. l
17 avril 2013, par JohannChanged Paths : Modify /build/make/Android.mk Modify /libs.mk Fix Android ndk-build Add the config directory to the rtcd generation script. libvpx is configured in the jni directory but ndk-build is intended to be run from the next directory up. Currently it needs to be run from the jni directory (...)
-
ffmpeg shell script to squeeze videos for twitter
12 juin 2018, par André LevyHere’s a pretty rookie attempt at creating a shell script to squeeze videos into twitter’s 140s limitation :
for f in "$@"
do
/Applications/ffmpeg -i $f -filter_complex "[0:v]setpts=140 / \
$(/Applications/ffprobe -i $f -show_entries format=duration -v quiet -of csv="p=0") \
* PTS[v];[0:a]atempo= \
$(/Applications/ffprobe -i $f -show_entries format=duration -v quiet -of csv="p=0") \
/ 140[a]" -map "[v]" -map "[a]" "${f%.*}_twitter.mp4"
doneIt works, but it’s pretty badly written. Can you help me improve it ?
- How can I run ffprobe only once ?
- Do I need ffprobe at all, or does ffmpeg have the duration of the input amongst its arguments ?
- Will it encode faster with other settings (e.g. HW acceleration) ?
- Any twitter upload scripts out there to pipe this into ?
Needless to say, I looked for this answers all around, to no avail.
Cheers.