
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (28)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (3809)
-
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
} -
bink : Split read_dct_coeffs()
5 juillet 2017, par Diego Biurrun -
avformat/hls : split read_from_url() out of read_data()
5 avril 2014, par Anssi Hannula