
Recherche avancée
Autres articles (55)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)
Sur d’autres sites (6672)
-
Issue with FFMPEG drawtext
4 mai 2015, par Tim Bakerffmpeg -i /home/mysite/public_html/videos/thankyou/thankyou_1.mp4 -strict -2 -vf
"[in]drawtext=fontfile=/home/mysite/fonts/OswaldFont/Oswald-Bold.ttf: x=450:
y=150: fontsize=152: fontcolor=0xAE0216@1: draw='if(gt(n,40),lt(n,300))':
text='THANK YOU',drawtext=fontfile=/home/mysite/fonts/OswaldFont/Oswald-Bold.ttf:
x=450: y=320: fontsize=200: fontcolor=0xAE0216@1: draw='if(gt(n,50),lt(n,300))':
text='JAMISON'" /home/mysite/public_html/videos/thankyou_2.mp4When running the above, I’m getting the following. It seems to run properly on other distributions. Not sure where to check next.
[Parsed_drawtext_0 @ 0x2835480] Option 'draw' not found
[AVFilterGraph @ 0x283f980] Error initializing filter 'drawtext' with args 'fontfile=/home/mysite/fonts/OswaldFont/Oswald-Bold.ttf: x=450: y=150: fontsize=152: fontcolor=0xAE0216@1: draw=if(gt(n,40),lt(n,300)): text=THANK YOU'
Error opening filters!Additionally, this original command works fine in unbuntu, but give the seen error when running in centOS
-
FFmpeg installation on Raspberry Pi Zero W : Undefined references to __atomic
3 février 2021, par MisterGrayI'm trying to install ffmpeg on my Raspberry Pi Zero W, but I get several error messages.


OS : Raspberry Pi OS (32-bit) Lite (May 2020)


I have executed the following commands :


sudo apt update
sudo apt full-upgrade
sudo apt install git
git clone https://github.com/FFmpeg/FFmpeg.git
cd FFmpeg
./configure --arch=armel --target-os=linux --enable-gpl --enable-omx --enable-omx-rpi --enable-nonfree
make -j2
sudo make install



Output of last command :


...
LD ffmpeg_g
/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_init':
/home/pi/FFmpeg/libavformat/fifo.c:519: undefined reference to `__atomic_store_8'
/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_write_trailer':
/home/pi/FFmpeg/libavformat/fifo.c:624: undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: /home/pi/FFmpeg/libavformat/fifo.c:631: undefined reference to `__atomic_store_8'
/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_thread_write_packet':
/home/pi/FFmpeg/libavformat/fifo.c:188: undefined reference to `__atomic_fetch_sub_8'
/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_consumer_thread':
/home/pi/FFmpeg/libavformat/fifo.c:457: undefined reference to `__atomic_load_8'
/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_write_packet':
/home/pi/FFmpeg/libavformat/fifo.c:597: undefined reference to `__atomic_fetch_add_8'
collect2: error: ld returned 1 exit status
make: *** [Makefile:114: ffmpeg_g] Error 1



Maybe another package is missing ? Do I have to change anything in the config ?


-
ERROR : jni not found building ffmpeg for Android
13 décembre 2019, par Jim RhodesI have successfully built ffmpeg libraries for Android and now I want to add MediaCodec support.
I have added
--enable-mediacodec --enable-jni
to my configure command line and-I$SYSROOT/usr/include
toextra-cflags
.At the end of config.log is the following :
check_headers jni.h
test_cpp
BEGIN /tmp/ffconf.m9iLX2Qm/test.c
1 #include
2 int x;
END /tmp/ffconf.m9iLX2Qm/test.c
/home/jr/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
--sysroot=/home/jr/android-ndk/sysroot -D_ISOC99_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod
-DPIC -target aarch64-none-linux-android
-I/home/jr/android-ndk/sysroot/usr/include/aarch64-linux-android
-I/home/jr/android-ndk/sysroot/usr/include -O3 -fPIC
-D__ANDROID_API__=21 -std=c11 -fPIE -fomit-frame-pointer -fPIC -E
-o /tmp/ffconf.m9iLX2Qm/test.o /tmp/ffconf.m9iLX2Qm/test.c
ERROR: jni not foundThere is a
jni.h
in/home/jr/android-ndk/sysroot/usr/include
.Is there anything else I need to add to my build script to get this to work ?