
Recherche avancée
Médias (2)
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (99)
-
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 (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (13771)
-
Unable to get mp3 support with QtWebEngine
23 janvier 2017, par Sébastien BémelmansI built QtWebEngine 5.7.1 from git sources to get support of proprietary codecs.
I wrote "WEBENGINE_CONFIG+=use_proprietary_codecs" to the qtwebengine.pro. While qmake was configuring the project, I saw the log saying that MP3 et H264 codecs were enabled.
I spent one day to get QtWebEngine fully compiled with msvc2015 in 32bit and ... The mp3 support still not working !
I use html5test.com to get a quick look of webbrowser capabilities.
I searched a bit and I found out about a ffmpegsumo.dll that wasn’t built. I tried to get a 32bits copy over the internet, I don’t know really where to put it, I tried different places, that still not working. Finally I thing that’s not the good idea.
How QtWebEngine uses mp3 codec ? I’m a bit lost ...
-
WriteToUDP only works on local machine
26 mai 2017, par Anderson Scouto da SilvaThis script captures a flow entry by ffmpeg and writes to a UDP address.
The error is that it does not go to the internet, it only stays on the local machine.
It is not a problem in my internet network, because I made a stream through VLC and opened in another PC and it works normally, with the same parameters, but in this my script is only in the local PC.
Follow the pictures to help with the question :
package main
import (
"os/exec"
"io"
"net"
"log"
"fmt"
)
func main() {
// UDP connections
conn, err := net.ListenUDP("udp", &net.UDPAddr{IP: net.IPv4zero, Port: 0})
if err != nil {
log.Fatal(err)
}
// Set the write buffer on UDP
err = conn.SetWriteBuffer(40 * 1024)
if err != nil {
log.Fatal(err)
}
inputSource := "C:/Users/Administrador/GoglandProjects/CASEncoder/in/teste-4k.mp4"
// Starts ffmpeg capturing input
cmdName := "ffmpeg"
argsPipe1 := []string{
"-hide_banner",
"-loglevel", "panic",
"-re",
"-i",
inputSource,
"-preset",
"superfast",
"-c:v",
"h264",
"-crf",
"0",
"-c",
"copy",
"-f", "mpegts", "pipe:1",
}
cmdPipe1 := exec.Command(cmdName, argsPipe1...)
stdoutPipe1, err := cmdPipe1.StdoutPipe()
if err != nil {
log.Fatal(err)
}
err = cmdPipe1.Start()
if err != nil {
log.Fatal(err)
}
chunk := make([]byte, 40 * 1024)
for {
// reads the output pipe from ffmpeg
nr, err5 := stdoutPipe1.Read(chunk)
fmt.Printf("Readed %d bytes\n", nr)
if nr > 0 {
validData := chunk[:nr]
// write to UDP
nw, err := conn.WriteToUDP(validData, &net.UDPAddr{IP: net.IP{233, 10, 10, 13}, Port: 1234})
fmt.Printf("Writed %d bytes\n", nw)
if err != nil {
log.Fatal(err)
}
}
if err5 != nil {
// end of file
if err5 == io.EOF {
break
}
continue
}
}
} -
How to install FFmpeg developer libraries on Debian 7
30 octobre 2017, par Robert TrussardiI have searched the internet and all the answers I find are on how to install the binaries to use the ffmpeg line command. I need to install the include and libs to compile C++ programs using ffmpeg. I had them installed my Debian 7(don’t remember how they were first installed), but now I tried to update them to version 3.2 by doing apt-get install libavformat-dev and what happened is that libav (the dissident library from FFmpeg) got install instead, breaking my code. I don’t remember compiling FFmpeg from source the first time I did it, and I would prefer not to have to compile it myself. Thanks for any help !