
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 (32)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)
Sur d’autres sites (6233)
-
avformat/hls : split read_from_url() out of read_data()
5 avril 2014, par Anssi Hannula -
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
}