Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

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

Autres articles (84)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (10445)

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

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

    


    Problem :

    


      

    1. There's a delay of few seconds.
    2. 


    3. It consumes extra CPU, becoming costly.
    4. 


    


    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.

    


    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 ?

    


  • 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