
Recherche avancée
Autres articles (37)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
Personnaliser l’affichage de mon Médiaspip
27 mai 2013Vous pouvez modifier la configuration du squelette afin de personnaliser votre Médiaspip Voir aussi plus d’informations en suivant ce lien
Comment supprimer le nombre de vues d’affichage d’un média ?
Administrer > Gestion du squelette > Pages des articles et médias Cocher dans "Informations non affichées sur les pages de médias" les paramètres que vous ne souhaitez pas afficher.
Comment supprimer le titre de mon Médiaspip dans le bandeau horizontal ?
Administrer > Gestion du squelette > (...)
Sur d’autres sites (5371)
-
FFMPEG command runs forever even on using timelimit
21 décembre 2017, par t6nandMostly 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 outputVideoBut 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 outputVideoIt 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="...,
99i.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 KrishnakumarI 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.
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 kostya572I 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 $S1After 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 :