
Recherche avancée
Autres articles (65)
-
Les notifications de la ferme
1er décembre 2010, parAfin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
Les notifications de changement de statut
Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
À la demande d’un canal
Passage au statut "publie"
Passage au (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (6012)
-
x11grab flickers in OpenGL draw areas [on hold]
17 septembre 2014, par Cameron BallI use ffmpeg’s x11grab to do some screencasting. It works pretty well except on 3D stuff. In particular it seems like 3D draw areas flicker in and out. You can see an example of it here
The issue is present even when I capture only the screen (i.e., not adding in all the other fancy stuff and the webcam capture).
I’ve done a lot of googling on this issue and have found people with a similar issue, but no solution. Many suggest that it is due to OpenGL rendering directly to the hardware and bypassing X11 entirely.
Does anyone know of a way to deal with this ? If it matters I’m using an nVidia graphics card.
-
ffmpeg webcam capture a/v out of sync
7 juillet 2014, par Cameron BallI’m running this command to capture video and audio from my webcam :
ffmpeg -y -f video4linux2 -s 320x240 -i /dev/video0 -f alsa -i "plughw:CARD=U0x46d0x825,DEV=0" -ac 2 -strict experimental Filename.mp4
It works, but the audio is about half a second behind the video (EG if I clap, when I watch the video I’ll hear the clap and then see me do it).
This is for an online stream, so I can’t fix it up later, it needs to be recorded correctly.
It always seems to be off by the same amount, so I’m trying to find an option to simply delay when audio starts recording, but I can’t figure it out.
Any ideas ?
-
Recording audio with FFMPEG works in terminal but not through exec() of PHP
8 août 2013, par lucasalmeida92I use this command to RECORD audio and video from my webcam in terminal and it works !
ffmpeg -f video4linux2 -r 25 -sameq -s 640x480 -i /dev/video0 -f alsa -i plughw:0,0 -ar 22050 -ab 128k -y webcam.flv
But when I do it through PHP, like this :
echo shell_exec('ffmpeg -f video4linux2 -r 25 -sameq -s 640x480 -i /dev/video0 -f alsa -i plughw:0,0 -ar 22050 -ab 128k -y webcam.flv 2>&1 &') ;
I receive that log :
ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers built on Apr 2 2013 17:02:36 with gcc 4.6.3 * THIS PROGRAM IS DEPRECATED * This program is only provided for compatibility and will be removed in a future release. Please use avconv instead. [video4linux2 @ 0x23579a0] Estimating duration from bitrate, this may be inaccurate Input #0, video4linux2, from '/dev/video0' : Duration : N/A, start : 4868.729067, bitrate : 122880 kb/s Stream #0.0 : Video : rawvideo, yuyv422, 640x480, 122880 kb/s, 25 tbr, 1000k tbn, 25 tbc Home directory /var/www not ours.
ALSA lib pcm_hw.c:1401 :(_snd_pcm_hw_open) Invalid value for card [alsa @ 0x23589e0] cannot open audio device plughw:0,0 (No such file or directory) plughw:0,0 : Input/output error
Before I got that Mic device problem I was having problem with the Webcam device's permissions, then i did :
sudo chmod -R 777 /dev/video0
And the video capture was ready to be used ! But now I got this Mic device problem !
I think it can be about permissions too, but I dont know linux very well and have no idea how to fix that !
Thanks !
I just found the solution ! =x
sudo chmod -R 666 /dev/snd/*