
Recherche avancée
Autres articles (98)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.
Sur d’autres sites (12281)
-
How does Rust work with process arguments ?
1er octobre 2022, par SoptikHaI'm really confused about Rust processes. I'm trying to call something like this :



ffmpeg -i path/to/test-video.webm -ab 160k -ac 2 -vn -f mp3 -




This should extract sound out of video and send it to stdout. So I've done this :



let sound: std::process::Output = Command::new("ffmpeg")
 .arg(format!("-i {}", args.input.to_str().unwrap()))
 .arg("-ab 160k")
 .arg("-ac 2")
 .arg("-vn")
 .arg("-f mp3")
 .arg("-")
 .stdout(Stdio::piped())
 .stdin(Stdio::inherit())
 .stderr(Stdio::inherit())
 .output()
 .unwrap();




But for some reason, this doesn't work. It prints this to stderr :



Unrecognized option 'i path/to/test-video.webm'.
Error splitting the argument list: Option not found




When I remove the slashes from args (so it looks like
.arg(format!("i {}", ...)).arg("ab 160k")...
, I get this :


Output file #0 does not contain any stream




I think I misunderstood how this works, but I tested it on other applications and it seemed to work the way I'm doing it now. What did I miss, how does Rust work with these arguments ?



And just to be clear, I know about the ffmpeg crates, but they don't work for me for some reason, I can't even compile them.


-
ffmpeg options that work with Chrome
21 avril 2015, par JamesI am trying to find the magic options that make mp4 work in Chrome. I think my videos were working, but don’t seem to any more after Chrome updated.
Chrome, Version 41.0.2272.101 (Windows)
I tried some other machines and found some of the videos worked on older versions, and my Mac seems to still work on the latest Chrome.
I am using the ffmpeg options to convert from png series,
ffmpeg -framerate 10 -i dance%02d.png -r 10 -pix_fmt yuv420p dance.mp4
Some videos work, some don’t, some work some of the time, or stop half way through.
I tried various other options like,
ffmpeg -start_number 16 -framerate 10 -i dance%02d.png -r 10 -an -s hd720 \
-vcodec libx264 -pix_fmt yuv420p -preset slow -profile:v baseline \
-movflags faststart -y dance.mp4but this just seemed to make things worse.
here is one of the videos,
http://www.botlibre.com/media/a786625.mp4and another one,
http://www.botlibre.com/media/a812450.mp4Firefox seems to work no problem, on any version, grey background though.
IE works fine, white background.
Safari works, grey background.Another thing, they videos used to have white background on older Chrome version, but now are grey, except on Mac still white.
and one more thing. Webm format works, but anyone know the option to remove transparency ? I’m using,
ffmpeg -i dance%02d.png -r 10 -c:v libvpx -crf 10 -b:v 512k -c:a libvorbis dance.webm
just want a solid white background.
-
ffmpeg 'av_seek_frame()' not work in bink video
19 juillet 2020, par ghoflvhxjI trying to use ffmpeg, to play video in my game.


when i open .avi file 'av_seek_frame()' work fine.
but if change to .bik file, it never work.
the function just return 0(which mean success) and seek to start.


anyone who know about this problem ? :(
please tell me why...


i uploaded sample player and video.
this use ffmpeg and call av_seek_frame to seek like my program.
check it please.
https://drive.google.com/file/d/1DVrX3EOzjxSfEA4EYpeSREaE2RLhB28Q/view?usp=sharing