
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (50)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 -
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" ;
Sur d’autres sites (6439)
-
Revision 1efa79d32f : Remove i4x4_pred. It remains as a local define in rdopt.c so we can distinguish
30 mai 2013, par Ronald S. BultjeChanged Paths :
Modify /vp9/common/vp9_blockd.h
Modify /vp9/common/vp9_entropymode.c
Modify /vp9/common/vp9_findnearmv.h
Modify /vp9/common/vp9_loopfilter.c
Modify /vp9/decoder/vp9_decodemv.c
Modify /vp9/decoder/vp9_decodframe.c
Modify /vp9/encoder/vp9_firstpass.c
Modify /vp9/encoder/vp9_rdopt.c
Remove i4x4_pred.It remains as a local define in rdopt.c so we can distinguish between
split and non-split modes in the RD loop, but disappears outside that
scope in the codec.Change-Id : I98c18fe5ab7e4fbd1d6620ec5695e2ea20513ce9
-
Revision f62805fae0 : Make local functions in vp9_dct.c static This commit limits the scope of 1-D DC
21 juillet 2015, par Jingning HanChanged Paths :
Modify /vp9/encoder/vp9_dct.c
Modify /vp9/encoder/vp9_dct.h
Make local functions in vp9_dct.c staticThis commit limits the scope of 1-D DCT and ADST functions within
vp9_dct.c and makes them static. This largely clears out the cross
referencing issue between vp9_dct.c and the SIMD optimizations.Change-Id : If7cac478b11bb32328ccf70a9f60b709dad43d7f
-
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
}
}
}