
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (106)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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. -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (11674)
-
How to Convert Video to MP4 using FFMPEG in PHP
4 octobre 2020, par KenI am trying to find *.mkv and to convert into *.mp4
right now I'm using the following codes to convert .mkv videos to .mp4


<?php 
 $folder = '/path/to/video/folder';
 $filename = 'a.name.of.the.video.mkv';
 $newFilename = pathinfo($filename, PATHINFO_FILENAME).'.mp4';
 exec('/usr/bin/ffmpeg -i '.$folder.DIRECTORY_SEPARATOR.$filename.' -codec copy '.$folder.DIRECTORY_SEPARATOR.$newFilename.' 2>&1', $out, $error);

?>



The above codes are working fine but I want to convert all videos ending with .mkv to .mp4 without manually setting their names.


I want the PHP version of the following command using above working codes.


for i in *.mkv; do
 ffmpeg -i "$i" -codec copy "${i%.*}.mp4"
done



I have tried this so far but did not work


exec('/usr/bin/ffmpeg for i in '.$folder.'*.mkv; do ffmpeg -i "$i" -codec copy "${i%.*}.mp4" done');



-
ffmpeg convert every audio stream but specific codec
23 juillet 2017, par kuroshirokunI have several files with a lot of audio streams.
I want to convert all the audio streams into ac3 and copy everything else.
The thing is when a stream is already into ac3 ffmepg converts it anyway.
How can I tell it to convert every audio stream into ac3 copy those already in ac3 ?avconv -i file.mkv -map 0 -c:v copy -c:s copy -c:a ac3
Thanks
-
what are all the operations that FFMPEG uses to convert from yuv420p to rgb bmp ?
12 avril 2019, par MaikonNascimentoI am trying to replicate in my own code, not using ffmpeg libraries, the operations that ffmpeg does to convert yuv420p to rgb. Initially I thought it would be inside the function : xyz12Torgb48 in swscale.c but doing some tracing , it looks to be in yuv2rgb.c ff_yuv2rgb_c_init_tables, which I can not quite see it.