Recherche avancée

Médias (0)

Mot : - Tags -/masques

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (34)

  • 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.

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

Sur d’autres sites (5780)

  • 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

  • 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;
    }
  • 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.