
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (28)
-
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 -
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...) -
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 (...)
Sur d’autres sites (3454)
-
Concatenate multiple videos with a black screen loop into one video
21 mars 2016, par AHCI am using ffmpeg to join a bunch of videos together.
I am using the classic join ffmpeg code :ffmpeg -f concat -i joinlist.txt -c copy joinedfile.mp4
but the problem is that the videos are of different formats, encodings, but the same size : all 640x480. I want to join them all and put a black screen video with no sound every other video :
video1 + black_screen_video + video2 + black_screen_video + video3 ...
I generated a black screen video of 2 seconds duration using :
ffmpeg -f lavfi -i color=c=black:s=640x480:d=2 black_screen_video.mp4
so all of the videos are of the same size : 640x480, and 25 fps but different codecs. The videos have sound, except for the black screen video.
I can’t do anything manual, because the number of videos are around several hundred. So it has got to be an automatic way to do all this.When I joined them together using the above code, the resulting video does not play correctly at all.
I know that I have to re-encode them, but how to do this to all these videos at once, with one line of code ?
Update :
I am already using with success this code to join them together, but only three, if I have more than one hundred, it is time consuming to write down one by one :ffmpeg -i vid1.avi -i vid2.avi -i vid3.avi -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] [2:v:0] [2:a:0] concat=n=3:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" output.mp4
but this is joining only the videos, not looping the black screen video. When I do with black screen, ffmpeg gives me stream matching errors.
update :
2nd update :
a very long list of errors in red, of which a screenshot here :
-
Build ffmpeg in ijkplayer
13 juin 2016, par SatyI am trying to do a build of ffmpeg inside ijkplayer and following this link to do a manual install https://github.com/Bilibili/ijkplayer. I downloaded the ndk and setup the path and setup the path for sdks and then compiling ffmpeg.
previously, it shows to use ndk9 or later and found out from an post to change to
do-compile-ffmpeg.sh from compile-ffmpeg.sh. I changed the file according to ndk-11 now its showing me the below line to specify the architechture. Where to mention that architecture../do-compile-ffmpeg.sh
====================
[*] check env
====================
build on Darwin x86_64
ANDROID_SDK=/username/Library/Android/sdk
ANDROID_NDK=/Users/username/Documents/android-ndk-r11c
You must specific an architecture 'arm, armv7a, x86, ...'. -
FFmpeg stream map doesn't work any more
5 mai 2016, par TommyI have troubles to get for example first stream from MKV file. Strange is that my script used to work on older Debian and same code doesn’t work on Debian 8. I checked also manual and there is the same :
ffmpeg -i INPUT -map 0:1 out.wav
Do you know what is wrong ?
Thank you
tommy@reco1:/home/www/media/20$ ffmpeg -i /home/www/media/21/21.mkv -map 0:1 /var/www/vids/21/new.mkv
ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.9.2 (Debian 4.9.2-10)
configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libpulse --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --enable-libvidstab --enable-libzvbi --enable-avresample --disable-htmlpages --disable-podpages --enable-libutvideo --enable-libfdk-aac --enable-libx265 --enable-libiec61883 --enable-vaapi --enable-libdc1394 --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : stereo
Input #0, matroska,webm, from '/home/www/media/21/21.mkv':
Metadata:
MINOR_VERSION : 0
COMPATIBLE_BRANDS: mp42isom
MAJOR_BRAND : mp42
ENCODER : Lavf56.25.101
Duration: 00:01:30.16, start: 0.000000, bitrate: 3512 kb/s
Stream #0:0(und): Video: h264 (Main), yuv420p(tv), 1024x576 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
Stream #0:1: Audio: pcm_s16le, 16000 Hz, 1 channels, s16, 256 kb/s
Metadata:
ENCODER : Lavc56.56.101 pcm_s16le
Stream #0:2: Audio: pcm_s16le, 16000 Hz, 1 channels, s16, 256 kb/s
Metadata:
ENCODER : Lavc56.56.101 pcm_s16le
Stream #0:3: Audio: pcm_s16le, 16000 Hz, 1 channels, s16, 256 kb/s
Metadata:
ENCODER : Lavc56.56.101 pcm_s16le
Stream #0:4(und): Audio: pcm_s16le, 16000 Hz, 2 channels, s16, 512 kb/s (default)
Metadata:
LANGUAGE : und
ENCODER : Lavc56.56.101 pcm_s16le
/var/www/vids/21/new.mkv: No such file or directory