Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

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

Autres articles (72)

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

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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (9285)

  • mpegvideo : exit cleanly when ff_mpv_common_frame_size_change() fails

    24 novembre 2014, par Michael Niedermayer
    mpegvideo : exit cleanly when ff_mpv_common_frame_size_change() fails
    

    Signed-off-by : Vittorio Giovara <vittorio.giovara@gmail.com>

    • [DBH] libavcodec/mpegvideo.c
  • checkasm : exit with status 0 instead of 1 if there are no tests to perform

    17 juillet 2015, par Henrik Gramner
    checkasm : exit with status 0 instead of 1 if there are no tests to perform
    
    • [DBH] tests/checkasm/checkasm.c
  • 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.