
Recherche avancée
Autres articles (73)
-
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 -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration 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 (7407)
-
Problem with processing FFMPEG video , the output video is totally black in first 3 seconds
13 janvier 2021, par Trần Minh TuấnI want to make a slideshow by using concat demuxer like this link :
https://trac.ffmpeg.org/wiki/Slideshow


Here is the textfile preinputFiles.txt :


file 'path a'
duration 2
file 'path b'
duration 2
file 'path c'
duration 2
file 'path c'



and my command array is :


String[] cmd = new String[]{
 "-f","concat","-i",
 textFile,
 "-vsync", "vfr", "-pix_fmt", "yuv420p",
 dest.getAbsolutePath()};



the video has 3 seconds that it is totally black and run from 3s to 9s even the gallery shows that it is a 6 seconds long video .


Thanks for the help !


-
Change audio speed using ffmpeg node js
26 juillet 2022, par Getwronghow do i change the speed of the song output using this function :



function addAudio()
{
 console.log("adding audio...");

 ffmpeg()
 .videoCodec('libx264')
 .format('mp4')
 .outputFormat('mp4')
 .input(song)
 .input(video)
 .output(output1)
 .on('end', () => { 
 resolve(output1);
 }).on('error', (_err) => {
 reject(_err);
 }).run();
}




https://trac.ffmpeg.org/wiki/How%20to%20speed%20up%20/%20slow%20down%20a%20video



this shows command line input but not sure how to use it in js function ?


-
FFMPEG execution from PHP
13 juin 2014, par egekhterI’m trying to execute FFMPEG from a PHP script and could not figure out the best practice for doing so when running a background process - do we use shell_exec, exec, passthru, proc_open...?
On https://trac.ffmpeg.org/wiki/Using%20FFmpeg%20from%20PHP%20scripts, they use an example of
echo shell_exec("ffmpeg -y -i input.avi output.avi null >/dev/null 2>/var/log/ffmpeg.log &");
In my code I was initially using :
exec($cmd." 2>&1", $out, $ret);
But then switched to :
passthru($cmd." 2>&1", $ret);
I chose passthru because I could actually see the encoding process in terminal, but now it’s a moot point since I’m running multiple background processes. Which is the recommended function for running background processes ?