Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (26)

  • 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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

Sur d’autres sites (6325)

  • FFMPEG command runs forever even on using timelimit

    21 décembre 2017, par t6nand

    Mostly I use a java code to run FFMPEG bash commands for watermarking a logo on video. I am using the following FFmpeg command to overlay an image on video. I have observed that at times for some random videos, the process keeps on running even after the timelimit assigned to it expires. At times it’s more than a day or couple of days until not directly killed using kill -9 pid :

    ffmpeg -timelimit 900 -y -i
    input_video
    -i logoImage -filter_complex "[0:v]scale=trunc(iw/2)*2:trunc(ih/2)*2[even] ;[1:v][even]scale2ref=iw*0.25 :(iw*0.25)*(0.46446702)[2nd][ref] ;[ref][2nd]overlay=(main_w-overlay_w) :(main_h-overlay_h)"
    -c:v libx264 -b:v 300K -crf 28 -preset slow outputVideo

    But this command never completes even on using -timelimit flag at times for some videos.

    I have observed that for such processes output from ps aux|grep ffmpeg yeilds in something like :

    ubuntu 16620 0.6 6.7 1595044 515392 ? Sl Dec20 12:05
    ffmpeg -timelimit 900 -y -i
    input_video
    -i logoImage -filter_complex "[0:v]scale=trunc(iw/2)*2:trunc(ih/2)*2[even] ;[1:v][even]scale2ref=iw*0.25 :(iw*0.25)*(0.46446702)[2nd][ref] ;[ref][2nd]overlay=(main_w-overlay_w) :(main_h-overlay_h)"
    -c:v libx264 -b:v 300K -crf 28 -preset slow outputVideo

    It indicates that this process is in interruptible sleep state i.e. waiting for an event to complete. On using sudo strace -p 16620 to trace which system call is this process hung up on it results in something like :

    Process 16620 attached write(2, "frame= 4121 fps= 10 q=33.0 size="...,
    99

    i.e. it’s stuck writing to a file.

    What could be the reason for this problem ?
    And is there any other way to kill FFMPEG process which overshoots desired time limit ?

  • How to fix scrambled output

    26 janvier 2020, par Krishnakumar

    I am seeing the following scrambled output for a live stream when processing an udp input stream. I am using the recently downloaded ffmpeg from GIT. Stop and Start of ffmpeg command resolves the issues temporarily.

    Scrambled Out

    Sample Logs :

       Sun Jan 26 03:52:00 2020 ffmpeg version N-94528-gfaa9cd3 Copyright (c) 2000-2019 the FFmpeg developers
    Sun Jan 26 03:52:00 2020   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
    Sun Jan 26 03:52:00 2020   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --extra-libs=-lpthread --extra-libs=-lm --bindir=/root/bin --enable-gpl --enable-libfdk_aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-openssl
    Sun Jan 26 03:52:00 2020   libavutil      56. 33.100 / 56. 33.100
    Sun Jan 26 03:52:00 2020   libavcodec     58. 55.100 / 58. 55.100
    Sun Jan 26 03:52:00 2020   libavformat    58. 30.100 / 58. 30.100
    Sun Jan 26 03:52:00 2020   libavdevice    58.  9.100 / 58.  9.100
    Sun Jan 26 03:52:00 2020   libavfilter     7. 58.100 /  7. 58.100
    Sun Jan 26 03:52:00 2020   libswscale      5.  6.100 /  5.  6.100
    Sun Jan 26 03:52:00 2020   libswresample   3.  6.100 /  3.  6.100
    Sun Jan 26 03:52:00 2020   libpostproc    55.  6.100 / 55.  6.100


    Sun Jan 26 04:02:46 2020 [h264 @ 0x4d988c0] illegal short term buffer state detected
    Sun Jan 26 04:02:46 2020 [h264 @ 0x4e54f80] reference picture missing during reorder
    Sun Jan 26 04:02:46 2020     Last message repeated 1 times
    Sun Jan 26 04:02:46 2020 [h264 @ 0x4e54f80] Missing reference picture, default is 56257016
    Sun Jan 26 04:02:46 2020     Last message repeated 1 times
    Sun Jan 26 04:02:46 2020 [h264 @ 0x4cc2e00] mmco: unref short failure
    Sun Jan 26 04:02:46 2020 [h264 @ 0x594f4c0] illegal short term buffer state detected
    Sun Jan 26 04:02:46 2020 [h264 @ 0x4f66800] reference picture missing during reorder
    Sun Jan 26 04:02:46 2020 [h264 @ 0x4f66800] Missing reference picture, default is 56257692
    Sun Jan 26 04:02:46 2020 [h264 @ 0x4c75a00] mmco: unref short failure
    Sun Jan 26 04:02:46 2020 [h264 @ 0x4d988c0] illegal short term buffer state detected
    Sun Jan 26 04:02:47 2020 [h264 @ 0x4e54f80] reference picture missing during reorder
    Sun Jan 26 04:02:47 2020     Last message repeated 1 times
    Sun Jan 26 04:02:47 2020 [h264 @ 0x4e54f80] Missing reference picture, default is 56257032
    Sun Jan 26 04:02:47 2020     Last message repeated 1 times
    Sun Jan 26 04:02:47 2020 [h264 @ 0x4cc16c0] reference picture missing during reorder
    Sun Jan 26 04:02:47 2020 [h264 @ 0x4cc16c0] Missing reference picture, default is 56257700
    Sun Jan 26 04:02:47 2020 [h264 @ 0x4cc2e00] mmco: unref short failure
    Sun Jan 26 04:02:47 2020 [h264 @ 0x594f4c0] illegal short term buffer state detected
    Sun Jan 26 04:02:47 2020 udp://230.1.1.2:12000?fifo_size=5000000&overrun_nonfatal=1: corrupt decoded frame in stream 3
    Sun Jan 26 04:02:47 2020 [h264 @ 0x4f66800] reference picture missing during reorder
    Sun Jan 26 04:02:47 2020 [h264 @ 0x4f66800] Missing reference picture, default is 56257708
    Sun Jan 26 04:02:47 2020 [h264 @ 0x4c75a00] mmco: unref short failure
    Sun Jan 26 04:02:47 2020 [h264 @ 0x4d988c0] illegal short term buffer state detected
    Sun Jan 26 04:02:47 2020 [h264 @ 0x4e54f80] reference picture missing during reorder
    Sun Jan 26 04:02:47 2020     Last message repeated 1 times
    Sun Jan 26 04:02:47 2020 [h264 @ 0x4e54f80] Missing reference picture, default is 56257048
    Sun Jan 26 04:02:47 2020     Last message repeated 1 times
    Sun Jan 26 04:02:47 2020 [h264 @ 0x4cc16c0] reference picture missing during reorder
    Sun Jan 26 04:02:47 2020 [h264 @ 0x4cc16c0] Missing reference picture, default is 56257716
    Sun Jan 26 04:02:47 2020 [h264 @ 0x4cc2e00] mmco: unref short failure
    Sun Jan 26 04:02:47 2020 [h264 @ 0x594f4c0] illegal short term buffer state detected
  • macOS terminal bug "can't see typed characters" after execution ffmpeg coommand inside shell script

    29 décembre 2017, par kostya572

    I execute from Terminal :

    sh 1.sh

    1.sh contents :

    #!/bin/bash
    S1=$(ffmpeg -i correct.wav -af silencedetect=noise=-50dB:d=0.1 -f null -  2>&1 | grep silence_duration -m 1 | awk '{print $NF}')
    echo $S1

    After execution I can’t see any typed characters in macOS Terminal. Only invisible typing reset helps to solve the problem, but all previous output clears.

    How can I modify the code to solve this bug ? I guess the problem somewhere in 2>&1.

    Bug screenshot if press enter several times after script execution :
    bug if press enter several times after script execution