
Recherche avancée
Autres articles (56)
-
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 (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (4344)
-
FFmpeg playing multiple videos concurrently - mute/unmute
21 avril 2014, par prisI have 3 videos (
video1
/video2
/video3
). I would like to play them on different time intervals :video1
plays from 0-15s (video1
with sound,video2
/video3
mute)video2
plays from 15-21s (video2
with sound,video1
/video3
mute)video1
plays from 22-30s (video1
with sound,video2
/video3
mute)video3
plays from 31-40s (video3
with sound,video1
/video2
mute)
I have tried the following but only
video1
has sound :ffmpeg -i video1.mp4 -i video2.mp4 -i video3.mp4 -i video4.mp4 -filter_complex "[0:v][1:v] overlay=0:0:enable='between(t,10,20)' [tmp]; [tmp][2:v] overlay=0:0:enable='between(t,30,40)' [tmp1]; [tmp1][3:v] overlay=0:0:enable='between(t,50,60)'" final.mp4
Console output :
ffmpeg version N-62475-g256f530 Copyright (c) 2000-2014 the FFmpeg developers
built on Apr 15 2014 22:09:47 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-li
bmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-l
ibsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --en
able-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 76.100 / 52. 76.100
libavcodec 55. 58.103 / 55. 58.103
libavformat 55. 37.100 / 55. 37.100
libavdevice 55. 13.100 / 55. 13.100
libavfilter 4. 4.100 / 4. 4.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'master_video.mp4':
Metadata:
major_brand : FACE
minor_version : 1337
compatible_brands: isomavc1FACE
creation_time : 2013-03-30 15:06:28
Duration: 00:01:57.82, start: 0.000000, bitrate: 248 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 210 kb/s, 24.88 fps, 24.88 tbr, 24880 t
bn, 49.76 tbc (default)
Metadata:
creation_time : 2013-03-30 15:06:28
handler_name : /tmp/tmpvYmHiO/4698028013036._video.264 - Imported with GPAC 0.4.6-DEV-rev3544
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 36 kb/s (default)
Metadata:
creation_time : 2013-03-30 15:06:28
handler_name : /tmp/tmpvYmHiO/4698028013036._audio.aac - Imported with GPAC 0.4.6-DEV-rev3544
Output #0, flv, to 'final.flv':
Metadata:
major_brand : FACE
minor_version : 1337
compatible_brands: isomavc1FACE
encoder : Lavf55.37.100
Stream #0:0(und): Video: flv1 (flv) ([2][0][0][0] / 0x0002), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 1k tbn, 24.88 tbc (default)
Metadata:
creation_time : 2013-03-30 15:06:28
handler_name : /tmp/tmpvYmHiO/4698028013036._video.264 - Imported with GPAC 0.4.6-DEV-rev3544
Stream #0:1(und): Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 22050 Hz, mono, fltp (default)
Metadata:
creation_time : 2013-03-30 15:06:28
handler_name : /tmp/tmpvYmHiO/4698028013036._audio.aac - Imported with GPAC 0.4.6-DEV-rev3544
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> flv)
Stream #0:1 -> #0:1 (aac -> libmp3lame)
Press [q] to stop, [?] for help
frame= 2927 fps=331 q=10.1 Lsize= 3577kB time=00:01:57.83 bitrate= 248.7kbits/s dup=0 drop=4519
video:3000kB audio:460kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.369707%Your help will be much appreciated.
-
Revision 28933 : on bouge
31 mai 2009, par ben.spip@… — Logon bouge
-
Revision 30229 : On continue à revoir le code en profondeur...
26 juillet 2009, par kent1@… — LogOn continue à revoir le code en profondeur…