
Recherche avancée
Autres articles (82)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
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 (...)
Sur d’autres sites (10763)
-
ffmpeg -vf transpose not working for output as .mp4 file
5 août 2014, par user3909162I want to rotate iPhone/iPad video to 90 degree, i am using following code
$input = 'video1.mp4';
$output = 'output.mp4';
$command = "ffmpeg -i $input -vf transpose=1 $output";
exec( $command, $ret );the above code is not working for
$output = 'output.mp4'; //(mp4 file)
but its working fine when i use
$output = 'output.avi'; //(avi file)
Please tell me solution for this i want also compress video in mp4 video.
-
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;
} -
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