Recherche avancée

Médias (91)

Autres articles (96)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9256)

  • ffmpeg in AWS EBS Php Environment

    3 janvier 2018, par Shihas

    I did a project in Codeigniter framework and uploaded to AWS EBS Php environment.

    In the below function I’m trying to create a thumbnail for the uploading video using ffmpeg.

    function test()
    {
       if($_FILES['video']['name'])
       {
           $extension = pathinfo($_FILES['video']['name'], PATHINFO_EXTENSION);

           $video_file = 'vid_'.time().rand(0,10000000);
           $video_file_name = $video_file.'.'.$extension;
           $video_thumb = $video_file.'.png';

           $path = base_url('/assets/portfolio_video/').$video_file_name;
           move_uploaded_file($_FILES["video"]["tmp_name"],$path);
           echo shell_exec("/usr/bin/ffmpeg -i /home/ubuntu/project/assets/portfolio_video/$video_file_name -ss 00:00:02.000 -vframes 1 /home/ubuntu/project/assets/thumbnail/$video_thumb");

           echo "File Name: ".$video_file_name."";
           echo "<img src="http://stackoverflow.com/feeds/tag/&#034;.base_url(&#034;assets/thumbnail/&#034;).$video_thumb.&#034;" style='max-width: 300px; max-height: 300px' />";
       }else{
           $this->load->view('test');
       }
    }  

    Here the problem was the video file itself not uploading. I just want to know why its not uploading files in AWS. But it works fine in my local server.

    Now I try to create a thumbnail for the already existing video in the server.

    Path of video file : /home/ubuntu/123.mp4

    Code executed :

    function test()
    {
       echo shell_exec("/usr/bin/ffmpeg -i /home/ubuntu/123.mp4 -ss 00:00:02.000 -vframes 1 /home/ubuntu/thumbnail.png");
    }

    But still the thumbnail is not creating.

    NOTE : When I execute the terminal command ffmpeg -i /home/ubuntu/123.mp4 -ss 00:00:02.000 -vframes 1 /home/ubuntu/thumbnail.png directly in the AWS server terminal its create the thumbnail successfully.

  • FFmpeg add proxy to request

    28 septembre 2024, par P1NG2WIN

    Does FFmpeg support the ability to add a proxy to a request ? On the Internet, I found that there is the -http_proxy option, but when I tried to use it by typing ffmpeg -http_proxy=http://ip:port/ in terminal, I received an Option not found error

    &#xA;

  • How to set Avconv constant bitrate to output flv file ?

    5 novembre 2012, par ispasov

    I am trying to encode a flv file which has bitrate 512k. I have created the folowing command :

    avconv -i input_file.mpg -f flv -c:v flv -b:v 512k -c:a libmp3lame -b:a 64k -ar 44100 -s 400x300 ouput_file.flv

    During the encodding the terminal shows higher bitrate - from 650k falling to 580k.
    After the file has finnished encodding I can't see in it's properties the bitrate - it is N/A.

    I have tried -minrate and -maxrate options but no result also.

    Can someone help me with that ?