Recherche avancée

Médias (1)

Mot : - Tags -/framasoft

Autres articles (70)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

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

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

Sur d’autres sites (12192)

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