Recherche avancée

Médias (0)

Mot : - Tags -/serveur

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

Autres articles (95)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (4336)

  • avcodec/vvc/ctu : Simplify code at the end of pred_mode_decode()

    18 mai 2024, par Michael Niedermayer
    avcodec/vvc/ctu : Simplify code at the end of pred_mode_decode()
    

    This simplification assumes that the code is correct

    Fixes : CID1560036 Logically dead code

    Sponsored-by : Sovereign Tech Fund
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/vvc/ctu.c
  • Can NGINX RTMP code be modified to split audio from video without FFMPEG ?

    19 novembre 2022, par Nav

    I have an NGINX RTMP server running, which uses an exec ffmpeg command to extract audio from a video call, and then stream the audio to a server.

    &#xA;

    Problem :

    &#xA;

      &#xA;
    1. There's a delay of few seconds.
    2. &#xA;

    3. It consumes extra CPU, becoming costly.
    4. &#xA;

    &#xA;

    Is there a way I can modify the NGINX RTMP code to directly extract audio and stream it to a server ? I did see that NGINX has mux and demux capability. Alternatively, any other C++ or C program would do.

    &#xA;

    addendum : I tried using OBS to stream a video and used NGINX RTMP with exec ffmpeg to extract audio. Approximately 30% of CPU was consumed. Then, while OBS continued to do the streaming, I stopped NGINX sudo /usr/local/nginx/sbin/nginx -s quit, and there was almost no drop in CPU usage. Does this mean that it would be a wasted effort to try to modify the RTMP code to reduce CPU consumption ?

    &#xA;

  • Returned non-zero exit status 1 / error code 1 : b''

    26 août 2015, par pufAmuf

    I’m trying to extract the video height via ffprobe into python, however I am having issues (with some videos).

    Here is my ffprobe command : ffprobe -v quiet -print_format compact=print_section=0:nokey=1:escape=csv -show_entries stream=height "some video here(bla)_25.mp4"

    It returns something like this

    720
    (empty-line)
    N/A

    Here is the code I used to extract the output for later processing :

    executecommand = 'ffprobe -v quiet -print_format compact=print_section=0:nokey=1:escape=csv -show_entries stream=height "' + CurrentVideoToBeProcessed + '"'

    VideoHeight = subprocess.check_output(executecommand)

    This is the error that came about :

    subprocess.CalledProcessError : Command ’...’ returned non-zero exit
    status 1

    So when I modified the code to this :

    try:
       VideoHeight = subprocess.check_output(executecommand,shell=True,stderr=subprocess.STDOUT)
    except subprocess.CalledProcessError as e:
       raise RuntimeError("command '{}' return with error (code {}): {}".format(e.cmd, e.returncode, e.output))

    This is the error I get :

    RuntimeError : command ’...’ return with error (code 1) : b’’

    I assumed at first the issue was with the file names, but certain videos work and certain don’t, irregardless of the file name.
    This is the output I get in python for videos that work :

    b’360\r\n\r\n’

    Any idea what’s going on ? Thanks !

    Edit
    It turns out the problem is in the file names after all. From what I gather so far at least, numbers in file-names seem to be causing the error.
    Edit2
    I re-ran the code after I closed several cmd instances and I am not getting the error anymore. I don’t know why. I am sure, however that if I were to convert hundreds of videos again I’ll get the error eventually as it has always happened eventually.