
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (58)
-
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
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 -
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 (...)
Sur d’autres sites (8987)
-
ffmpeg : combine portrait and landscape video files in one file by adding a black frame
18 juillet 2021, par Oliveri use my iPhone to record videos. Usually i get a lot of short clips, which I upload to my pc and then concatenate them with ffmpeg using this command :


ffmpeg -f concat -safe 0 -i filelist.txt -c:v libx265 -preset slow -x265-params strong-intra-smoothing=0:merange=58 -crf 25 -c:a aac -b:a 320k -tag:v hvc1 output.mp4



filelist contains a list of these clips sorted by date. This works fine, but recently a had some clips recorded in portrait mode. The result was an output video which contained the portrait clips stretched to fill the full horizontal space. Instead of that i would like to just have the horizontal space filled with black borders. Is that possible by changing the command posted above ? Or do i have to convert those portrait clips before ?


-
Video rotation with FFmpeg
6 mars 2016, par hareshI’m developing a PHP web service for my iPhone app in order for the users to upload videos. When users want to see a video on the site they get a horizontal video, so I need rotate the video using FFmpeg commands. Can someone help me ?
function make_rotation($input, $output, $transpose="1") {
$ffmpegpath = "ffmpeg";
if(!file_exists($input)) return false;
//$command = "$ffmpegpath -i $input -vf 'transpose=$transpose' $output";
//$command = "ffmpeg -vfilters 'rotate=270' -i $input $output";
$command ="ffmpeg -i $input -vf 'transpose=$transpose' $output";
exec($command);
return true;
}Thanks All
-
When converting .mov to .flv video plays horizontally
2 janvier 2014, par user291247When I record a video (.mov) through my iPhone it display vertically which is right.
But after converting the .mov to .flv(using ffmpeg) it displays horizontally.My code :
function convert_flv($vidtime,$infile, $outfile, $w = 0, $h = 0, $extra_infile = '', $extra_outfile = '') {
$parms = '';
if($w == 0 && $h == 0) {
//$parms .= '-sameq ';
} else {
$parms = '-s {$w}x{$h} ';
}
if($vidtime==60) {
$cmd = ffmpeg($infile, $outfile, $parms.' '.$extra_infile, '-t 00:01:00 -ar 22050 -r 15 -f flv '.$extra_outfile);
} else {
$cmd = ffmpeg($infile, $outfile, $parms.' '.$extra_infile, '-t 00:04:00 -ar 22050 -r 15 -f flv '.$extra_outfile);
}
print_r($cmd);
return $cmd;
}