
Recherche avancée
Autres articles (39)
-
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (2082)
-
How to concat videos and apply filters to one/both of them in one render ?
29 juillet 2019, par NeeFuuI am merging two files but one of them needs hard subtitle applied. I can hardcode once and then concat files but because of codec conflict, it needs encoding two times which I want to avoid because of performance issues.
I have tried to add simple subtitle in filter complex, which I found in this documentation. Then I tried to apply it on concat video filter example code found on StackOverflow.
ffmpeg -i segment.mp4 -i video.mp4 -filter_complex "[0:v] [0:a] [1:v] ass=subtitle.ass [1:a] concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" output.mkv
I have tried to add subtitle only for video.mp4 but then I got :
[Parsed_ass_0 @ 000002db090dd000] Shaper: FriBidi 1.0.4 (SIMPLE)
[Parsed_ass_0 @ 000002db090dd000] Using font provider directwrite
[Parsed_ass_0 @ 000002db090dd000] Added subtitle file: 'subtitle.ass' (2 styles, 3 events)
[AVFilterGraph @ 000002db096e6680] Too many inputs specified for the "ass" filter.
Error initializing complex filters.
Invalid argumentI am not sure If I am just adding filter wrong or it’s just wrong way to do it.
-
Downloading and using ffmpeg.dll
17 janvier 2021, par B DavidsonI have been writing simple GUIs using ffmpeg.exe.
Now I would like to try and learn to use the ffmpeg.dll instead.
1-Does anyone know a secure site to get the dll.
2-Is there any help on how to access the libraries within the dll.


Thanks in advance.


-
Golang and ffmpeg realtime streaming input/output
25 avril 2017, par Anderson Scouto da SilvaI’m new to Go !
I’m doing a simple test that is reading the output from ffmpeg and writing to a file.
I know I can do it in a different way, simply convert, but this is the beginning of a project where I want to later manipulate the bytes read, changing them and then sending them to the output. And the input will be UDP and output will be UDP too, that is, I will get the ffmpeg output I will treat the bytes as I wish to do and then I will throw these bytes as input into another ffmpeg process which output is UDP as well.
With this simple test the result of the file does not run in VLC, I believe I’m writing the bytes in the output file correctly, but the output file always has 1MB less than the input file.
I would like some help to elucidate what would be the best way to write this test that I am doing, based on that I can get out of the place. I do not know if it’s exactly wrong, but I have the impression that it is.
The input file is a video in 4K, h264, I believe the output should be the same, because in this simple test I am simply reading what goes out in the cmd writing in the file.
Follow the code for analysis :
package main
import (
"os/exec"
"os"
)
func verificaErro(e error) {
if e != nil {
panic(e)
}
}
func main() {
dir, _ := os.Getwd()
cmdName := "ffmpeg"
args := []string{
"-hide_banner",
"-re",
"-i",
dir + "\\teste-4k.mp4",
"-preset",
"superfast",
"-c:v",
"h264",
"-crf",
"0",
"-c",
"copy",
"-f", "rawvideo", "-",
}
cmd := exec.Command(cmdName, args...)
stdout, err := cmd.StdoutPipe()
verificaErro(err)
err2 := cmd.Start()
verificaErro(err2)
fileOutput := dir + "/out.raw"
var _, err3 = os.Stat(fileOutput)
if os.IsNotExist(err3) {
var file, err = os.Create(fileOutput)
verificaErro(err)
defer file.Close()
}
f, err4 := os.OpenFile(dir+"/out.raw", os.O_RDWR|os.O_APPEND, 0666)
verificaErro(err4)
bytes := make([]byte, 1024)
for {
_, err5 := stdout.Read(bytes)
if err5 != nil {
continue
}
if len(bytes) > 0 {
_, err6 := f.Write(bytes)
verificaErro(err6)
} else {
break
}
}
f.Close()
}