Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (31)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (4452)

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

  • aacenc : coding style changes

    21 août 2015, par Rostislav Pehlivanov
    aacenc : coding style changes
    

    This commit only changes the coding style to a saner way
    of accessing coefficients (makes more sense to get the
    memory address of a coefficients and start from there
    rather than adding arbitrary numbers to offset a pointer).
    Some compilers might detect an out of bounds access easier.

    Also the way M/S and IS coefficients are calculated has been
    changed, but should still have the same result (with the exception
    that IS now applies from the normal coefficients rather than the
    pristine ones, this is needed for upcoming commits).

    Signed-off-by : Rostislav Pehlivanov <atomnuker@gmail.com>

    • [DH] libavcodec/aaccoder.c
    • [DH] libavcodec/aacenc.c
  • nested loop in bash shell

    17 juin 2015, par Tareq Suheimat

    I want to stream video using ffserver and then receive and download it using ffmpeg but first I want to add some noise to the link using netem and the wanted noise will be Bit error,so for the transmitter side there’s no problem the problem is at the receiver side
    so the first loop must contain the percentage numbers of the bit error like 0.2 0.4 0.6 0.8 and do the following command :

    tc qdisc change dev eth0 root netem corrupt 0.1%

    then for each one of the bit error values must repeat it for 10 times and for each try I must download the received video using the following command :

    ffmpeg -i rtsp://localhost:7654/test1-rtsp.mpg -acodec copy -vcodec copy output.mp4

    so later I end up with too many videos to compare them later.

    please people help me it’s urgent !!!

    tell now I have this scratched code but I don’t know how to compile it together

    for i in {0.2 0.4 0.6 0.8}
    do
       tc qdisc change dev eth0 root netem corrupt ${i}%

       #(must repeat for each i the ffmpeg download command 10 times)

       #The download command
       for x in {1..N}
       do
           ffmpeg -i rtsp://localhost:7654/test-rtsp.mpg -acodec copy -vcodec copy tested${x}.mp4
       done