Recherche avancée

Médias (91)

Autres articles (103)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (8681)

  • PHP Sort Order Process Codeiginiter

    5 août 2017, par Alan El-nino Malmsteen

    i use php codeigniter to manage video using FFMPEG, but i dont know how to delete original video after convertion successful.

    if(!($_FILES["upload_video"]["type"] == "video/mp4"))
       {
       $prename = $r.'.'.$ext;
       $video = $prename.'.mp4';
       $directory_path  = "/home/templates/videos/".$prename;
       $directory_path_full = "/home/templates/videos/".$prename;
       exec("ffmpeg -i ".$directory_path_full." ".$directory_path.".mp4");

       // Delete original format video
       $this->load->helper("file");
       unlink($directory_path_full);

       }else{
       $video = $r.'.'.$ext;
       }

    When i use "unlink" it work good to delete file, but the video is corrupt (maybe php directly delete it when converting progress)
    So, can you help me to create sort order php process for this case ?

  • How to specify the audio path for ffmpeg and how to conduct a silence removal using ffmpeg

    15 octobre 2020, par Leo

    I wish to conduct a silence removal for wav files.

    


    import ffmpeg
inPath = "/home/test/Speech/Wang/dataset/testsets/disgust/0_002_00_021_F002_d.wav"
outPath = "/home/test/Speech/Wang/dataset/testsets/disgust/0_002_00_021_F002_d_trimed.wav"
ffmpeg -i inPath -af silenceremove=0:0:-50dB outPath


    


    Error occurred.

    


      File "", line 3
    ffmpeg -i inPath -af silenceremove=0:0:-50dB outPath
                   ^
SyntaxError: invalid syntax


    


    How should I assign the path ?

    


    The question is that why we set the threshold to a negative value ?

    


  • Generating thumbnail from video using php classes

    4 janvier 2014, par user2582858

    I was using the exec command to generate thumbnails via ffmpeg..
    My method was :

    exec("ffmpeg -f image2 -i /home/phedra/imgs/image/img%03d.png -r 12 -s 610x489 /home/phedra/imgs/video/out.avi", $out);

    but my senior team member told me that using exec command is not a good practice because it is a dangerous command and It may harm server.. So find any other technique.. I struggled alot but didnt find any comprehensive method other than this..
    Can anybody tell me anyother way to generate thumbnail from video using php class from scratch (With an example if possible), so that I could understand completely, Moreover also tell me the library link to download and settings for server if any setting needed to be done before using that technque(My server system is based on Ubuntu and the framework for developement is codeignitter)..

    (Third party api tool for generating thumbnail is also welcome but the necessary thing is that it must be free :))