
Recherche avancée
Autres articles (57)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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 (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (8718)
-
bink : Split read_dct_coeffs()
5 juillet 2017, par Diego Biurrun -
Split audio in segments on silence with ffmpeg
28 mars 2020, par MaralI’m trying to automatically split audio files in 5min segments without splitting words and by splitting on silent parts.
Do you know any ways to do this ?Is there a way I can combine these 2 scripts and also make the duration of the splits less than (around) 5 mins ?
ffmpeg -i filename -af silencedetect=noise=-30dB:d=0.5 -f null - 2
and
ffmpeg -i test.mp3 -ss 00:00:20 -to 00:00:40 -c copy -y temp.mp3
I tried using these in my Go code like this, but it looks like it isn’t the right way.
package main
import (
"fmt"
"os/exec"
"os"
"io/ioutil"
"log"
)
func main() {
filename := "test.wav"
args := []string{"-i", filename, "-af", "silentdetect=noise=-30dB:d=0.5","-f", "null", "-","2>", "output.txt"}
cmd := exec.Command("ffmpeg", args...)
errcmd := cmd.Run()
if errcmd != nil {
fmt.Println(errcmd)
fmt.Println("problem detecting silence")
} else {
fmt.Println("silence detected")
}
file, err := os.Open("output.txt")
if err != nil {
fmt.Println(err)
}
body, readErr := ioutil.ReadAll(file)
if readErr != nil {
log.Fatal(readErr)
}
//somehow read silent start time and end time from the file and split
} -
Revision fee045d13a : Disable adaptive pred filter for non-split mode If sf->disable_split_mask is DI
24 février 2014, par Yunqing WangChanged Paths :
Modify /vp9/encoder/vp9_encodeframe.c
Modify /vp9/encoder/vp9_onyx_if.c
Disable adaptive pred filter for non-split modeIf sf->disable_split_mask is DISABLE_ALL_SPLIT, disable
sf->adaptive_pred_interp_filter to avoid unnecessary operations.Change-Id : Icb59174b2f4e9a3c3c16a696deb8018e5bd999eb