
Recherche avancée
Autres articles (112)
-
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (10971)
-
How to record a video conference (e.g skype, oovoo, ...) with a program written in C#
13 août 2014, par Matin LotfalieeI want to record screen (a video conference e.g skype, oovoo, ...) with a program written in C#. I searched a lot about how to do this :
- Here suggests Windows Media Encoder, but none of their samples work correctly on my Win7. I installed the SDK but even the links to Microsoft are somehow broken or old.
- Here suggests creating a video stream from a series of screenshots using ffmpeg. but it is probably impossible to keep the audio,mic and screenshots synced.
- Here suggests creating a GIF file, but it does not support audio which is important to me.
- Here suggess using Gallio framework, but I was unable to find where the usable DLL for recording is.
- Here seems to be a great solution but it is not free...
Compression is not important to me because a video conference uses CPU a lot.
Can you help me find a good and easy solution with references ?
-
FFMPEG / libav : How is UYVY422 written inside AVFrame structure ?
26 avril 2016, par Sir DrinksCoffeeALotI’m trying to copy frame data from
AVFrame
structure to a buffer. I know how to do that withYUV420P
format since Y data is stored insideAVFrame frame->data[0]
, U data is stored insideAVFrame frame->data[1]
and V data is stored insideAVFrame frame->data[2]
, so it was easy tomemcpy()
Y,U and V data separately + it’s planar format so i was able to do that with ease :for (y = 0; y < height; y++)
{
memcpy(buffer + y*frame->linesize[0], frame->data[0] + y*frame->linesize[0], width);
}
buffer += ySize;
for (y = 0; y < height / 2; y++)
{
memcpy(buffer + y*frame->linesize[1], frame->data[1] + y*frame->linesize[1], width / 2);
}
buffer += uSize;
for (y = 0; y < height / 2; y++)
{
memcpy(buffer + y*frame->linesize[2], frame->data[2] + y*frame->linesize[2], width / 2);
}But when it comes to
UYVY422
i have no idea how the data is stored inside the structure. I have general knowledge aboutUYVY422
format and that it’s written like it name suggests UYVYUYVYUYVY... and so on. But my question is how do i know how much data is stored inAVFrame frame->data[0]
,AVFrame frame->data[1]
andAVFrame frame->data[2]
field so i canmemcpy()
exact amount to the buffer ? -
Pushing file to web-browser while being written
7 septembre 2013, par StackedI have a backgrounded ffmpeg process which is outputting a audio file, I want to push this file to user web-browser while ffmpeg continues to write upon the file. I tried the below but this send 0 byte files.
// open the file in a binary mode
$fp = fopen($fname, 'rb');
// send the right headers
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename='.basename($fname));
ob_end_clean();
fpassthru($fp);
exit;ffmpeg cannot be launched from PHP/Python and output captured here.