
Recherche avancée
Autres articles (82)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Publier sur MédiaSpip
13 juin 2013Puis-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
Sur d’autres sites (10448)
-
Ffmpeg won't cut excerpt of video correctly
6 mai 2022, par user17661390I am using a DOS batch to automate and cut excerpts of various high definition videos (mkv's with more than 1GB each).
The script is very convenient and runs fast and fine, but Ffmpeg is not doing its job correctly (it seems Murphy's law is inexorably enthralled into technology, things never come easy, which is why I love and hate it).


Anyway, to cut a long story short, each time the batch job runs, a code like below is executed. Note the path to ffmpeg is specified, since it's not in the PATH environment variable, so the below form works always.


"C:\ffmpeg\bin\ffmpeg.exe" -y -i "D:\S01\SATC - S01E03 - Bay of Married Pigs.mkv" -ss 00:18:05 -to 00:19:15 -codec copy "002-SATC - S01E03 - Bay of Married Pigs-00_18_05-00_19_15.mp4"



The problem is that the first 6 seconds or so of the resulting video has no video, only audio with a frozen image that only starts to move after about 6 seconds, which is a huge defect, not to mention very annoying (a big let down, after all my meticulous scripting work :(). And this happens for most of the files, except a few ones.


Even though this is copying and changing the format from mkv to mp4, per another thread on this site (https://askubuntu.com/questions/396883/how-to-simply-convert-video-files-i-e-mkv-to-mp4), this is not re-encoding, so this is not the issue. Actually, the same problem occurs even if I don't change the format from mkv to mp4.


Even though I foresee a "there's no way to fix this", let me ask : is there a way to fix this ? Hopefully there is a way.


-
libavutil/thread.h : Fixed g++ build error when ASSERT_LEVEL is greater than 1
17 avril 2017, par Aaron Levinsonlibavutil/thread.h : Fixed g++ build error when ASSERT_LEVEL is greater than 1
Purpose : libavutil/thread.h : Fixed g++ build error when ASSERT_LEVEL
is greater than 1. This is only relevant when thread.h is included by
C++ files. In this case, the relevant code is only defined if
HAVE_PTHREADS is defined as 1. Use configure —assert-level=2 to do
so.Note : Issue discovered as a result of Coverity build failure. Cause
of build failure pinpointed by Hendrik Leppkes.Comments :
— libavutil/thread.h : Altered ASSERT_PTHREAD_NORET definition such
that it uses av_make_error_string instead of av_err2str().
av_err2str() uses a "parenthesized type followed by an initializer
list", which is apparently not valid C++. This issue started
occurring because thread.h is now included by the DeckLink C++
files. The alteration does the equivalent of what av_err2str()
does, but instead declares the character buffer as a local
variable.Signed-off-by : Marton Balint <cus@passwd.hu>
-
avcodec/nvdec_(mjpeg|vp8) : Constify AVHWAccels
17 juillet 2023, par Andreas Rheinhardtavcodec/nvdec_(mjpeg|vp8) : Constify AVHWAccels
The discrepancy between the actual definition and the declarations
in hwaccels.h is actually UB.Reviewed-by : Timo Rothenpieler <timo@rothenpieler.org>
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>