Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (83)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (10405)

  • ffmpeg -vf transpose not working for output as .mp4 file

    5 août 2014, par user3909162

    I 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 user291247

    When 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 haresh

    I’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