
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (35)
-
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 -
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...) -
Installation en mode standalone
4 février 2011, parL’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
[mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)
Sur d’autres sites (3099)
-
A Comprehensive Guide to Robust Digital Marketing Analytics
15 novembre 2023, par Erin — Analytics Tips -
FFMPEG and NVENC / HVEC low utilisation
7 octobre 2018, par DeexI did some experiments with NVENC and HEVC encoding. It is working but i see only a low GPU Usage between 20-35%. So i read a about it and found some article that my GTX 1080 can only use two sessions according to https://developer.nvidia.com/video-encode-decode-gpu-support-matrix#Encoder . So my first questions are
1) how can i find out if this is the reason for the low Utilisation
2) Is there a way with ffmpeg to use the GPU more efficient
3) What is about the new updatet NVENC Codec for the Nvidia RTX 2080 TI, does it support more sessions ? Would it be a good idea to use it in SLI for video Encoding in the future because of the buff, or should i look for a Quadro Card ?My command is
ffmpeg -f concat -safe 0 -hwaccel auto -i "D:\-=streaming=-\concats\convertme\index.txt" -i "D:\-=streaming=-\concats\convertme\index.txt" ^
-y -preset slow -c:v hevc_nvenc -preset llhq -rc:v cbr_ld_hq -rc cbr_ld_hq -crf 25 -r 60 -movflags +faststart -c:a copy -pass 1 -2pass -1 "D:\-=streaming=-\concats\x265-website_high.mp4" ^
-y -preset slow -c:v hevc_nvenc -preset llhq -rc:v cbr_ld_hq -rc cbr_ld_hq -crf 25 -r 60 -vf scale=640:360 -movflags +faststart -c:a copy -b:a 128k -pass 1 -2pass -1 "D:\-=streaming=-\concats\x265-website_low.mp4" -
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/*