
Recherche avancée
Autres articles (47)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
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 (...) -
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 (12150)
-
Real time stereo video stream. How to start
29 juin 2015, par victor jungHere is my problem :
I have at one side two webcams plugged in a linux computer, and on the other side, an android smartphone. My goal is to program a real time stream of the 2 webcams, and display that stream on the smartphone (to be used in a google cardboard mask). I read quite a lot on the subject, and I found several way to achieve this.
First there is ffmpeg, which could encode and stream.
But I need to modify the pictures at some point, to re-size them / or to ad some kind of distortion. So I thought it would be great if I can get the 2 images, with openCv maybe, playwith them, build a new one, and stream them, but how could ffmpeg deal with the newly created image ?
The other option would be to get the 2 pics and play with them with openCv too, but then, hardcode a stream over, UDP in RTP style, but wouldnt be hard to display the stream nicely on the phone ?, and how to cut the image to fit in small packets ?
Thanks for your help, I am still digging in the subject, so if you have any other way to do it I am taking !
ps : My introducing Hello, won’t stay at the beginning of my message...
Have a nice day every body.
d-4 before frieday. -
Trim video with reference to a start time and end time using FFMPEG
8 février 2015, par SatyI am trying to do an application in which I would like to give option to user to clip a video using double seekbar so that video can be cropped.
I had hassle importing FFmpeg into Eclipse. However, that pain is over, and I got two points of video and can instantiate FFmpeg’s instant.
My focus is to know to know the method and procedure to crop a video.
I got the command of cutting it, that is,
ffmpeg -ss [start] -i in.mp4 -t [duration] -c:v copy -c:a copy out.mp4
However, how do I use this in code ?
-
FFMPEG on ubuntu wont start. Process is just killed [on hold]
8 novembre 2018, par AK47I am trying to run a command on ffmpeg. When I run on my local computer it works fine but when running on my ubuntu server it won’t start. It just keeps giving an error saying the process is killed when it trys to start. Is this something related to memory or a different issue ?
Killed 14 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=2 drop=0 speed= 0x
Any help would be greatly appreciated
Below are logs that are thrown.
root@kickpush:/var/www/kick-push.co.uk/public_html/allblacks# ffmpeg -loop 1 -i q.png -r 30 -t 10 -i a.png -r 30 -t 5 image2.mp4
ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --disable-ffserver--enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libtheora --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab --enable-libwavpack --enable-nvenc --enable-libzimg
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libavresample 3. 5. 0 / 3. 5. 0
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
Input #0, png_pipe, from 'q.png':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: png, rgba(pc), 1080x1920, 25 fps, 25 tbr, 25 tbn, 25 tbc
Input #1, png_pipe, from 'a.png':
Duration: N/A, bitrate: N/A
Stream #1:0: Video: png, rgba(pc), 1080x1920, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
Press [q] to stop, [?] for help
No pixel format specified, yuv444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0x31a4a40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x31a4a40] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
[libx264 @ 0x31a4a40] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'image2.mp4':
Metadata:
encoder : Lavf57.71.100
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 1080x1920, q=-1--1, 30 fps, 15360 tbn, 30 tbc
Metadata:
encoder : Lavc57.89.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Killed 14 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=2 drop=0 speed= 0x