Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (94)

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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (6746)

  • 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