Recherche avancée

Médias (91)

Autres articles (50)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (8023)

  • How to fix : PHP crashes when executing shell command on Windows Command Prompt

    21 juin 2019, par Nou

    PHP crashes when I run my shell_exec() function. And when it doesn’t crash, Windows Command Prompt denies permission to execute the code. The goal is to use ffmpeg to split audio files one directory and put them in a different directory. NGINX, PHP, and ffmpeg are all setup on a VM if that’s a factor.

    I restart the VM and re-setup PHP whenever it crashes as a fix. But this solution is far from ideal.

       if($getFileType == 'flac' || $getFileType == 'mp3' || $getFileType == 'm4a'){
           #Make the directory where split audio files will be stored
           create_dir($splitAudioDir);

           #Start cmd.exe and use ffmpeg to split audio files then put them in another directory
           $shellCommand = shell_exec('start cmd.exe @cmd /k ffmpeg -i '.$dirFlitherPathOnly.' -map 0 -codec copy -f segment -segment_time 30 -reset_timestamps 1 '.$splitAudioDir.'/'.'split_%03d.mp4 & @cmd /k set');

           #Log full command ran from $shellCommand
           error_log(print_r("\n"."Command to run: ".$shellCommand."\n", true), 3, "error.log");
       }

    I expect the audio files to split then appear in the directory I set for them.

    I don’t have the error message for Windows Command Prompt as I’ve closed it already. However, it says something along the lines of "permission denied" in red.

  • dxva2 : Keep code shared between dxva2 and d3d11va under the correct #if

    12 décembre 2016, par Diego Biurrun
    dxva2 : Keep code shared between dxva2 and d3d11va under the correct #if
    

    This partially reverts commit ac648bb835edd3f67bda2267d0e72e5e582eb5a1.

    • [DBH] libavcodec/dxva2_internal.h
  • Questions about shared objects through multithreading (Feat. FFmpeg)

    24 juillet 2018, par Junburg

    I am now working on the ability to combine cut and cut files every time a user requests a sound recording and a recorded file. Each time a user request comes in, a new thread performs the above process. But FFmpeg can only issue one command at a time, which is a problem.

    Here are some of the reasons I found : Creates a string array for the next command when the thread that is processing the command breaks the finish callback. In the meantime, it seems to be running FFmpeg on another thread. I tried to synchronize the getInstance method of FFmpeg to synchronize, or synchronized to the execute method, but the error was not resolved. How do you handle FFmpeg’s execute ? How do you approach it ?

    If there is anyone you know, I would like to thank you for your encouragement.

    Use open source library : https://github.com/WritingMinds/ffmpeg-android-java

    I can not post the code because of the character limit ...
    The onFinish callback is fired when you run the command to truncate the original mr file. At this time, we also perform a command to cut the voice of the singer. And once again the onFinish callback pops up, the user performs the task of joining the voice singer voice mr. It seems that other threads use FFmpeg between defining the command.