
Recherche avancée
Autres articles (24)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
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 (6231)
-
shell_exec not working with ffmpeg
29 janvier 2017, par AlterasOn my website, you are allowed to upload videos. I’m trying to get thumbnails for these videos, and the ffmpeg-php package didn’t want to work. Due to this, I’ve decided that I’d just shell_exec my command, but it’s not working. Due to the same command working via SSH, but not with the code, I’ve narrowed it down to me not being a root user.
$ffmpeg = '/root/bin/ffmpeg';
$size = '120x90';
$thumbnail_dir = '/var/www/domain.com/public_html/uploads/videos/thumbnails/'.$filename.'.jpg';
$cmd_2 = 'sudo $ffmpeg -i $ffmpeg_dir -an -ss 2 -frames:v 1 -update 1 -s 200x200 $thumbnail_dir';
shell_exec($cmd_2);I’ve echoed out the value of $cmd_2 and tried it via SSH and it worked just fine, but for some reason the thumbnail isn’t being created if I just use shell_exec.
I was wondering if there’s any way to force this to run as root, or any way to do this differently so it will work.
-
Output video segments via a pipe using FFmpeg
6 janvier 2019, par Joey MoraniMy Node.js app uses FFmpeg to capture video of a DirectShow device and then output segments for live streaming (HLS). At the moment I’m outputting the segments to files, however if I could output them via a pipe it would allow me to efficiently send the segment via a websocket instead of hosting a HTTP server.
I’ve tried using this command :
ffmpeg -y -f dshow -i video=FFsource:audio=Stereo Mix (Realtek High
Definition Audio) -vcodec libvpx -acodec libvorbis -threads 0 -b:v
3300k -cpu-used 5 -keyint_min 150 -g 150 -map 0 -flags:v
+global_header -f segment -However it gives the error "Could not write header for output file #0 (incorrect codec parameters ?) : Muxer not found". This commands works for outputting to files (by replacing ’-’ with ’seg_%03d.webm’).
Does FFmpeg not support pipes for segmented video, or is there something wrong with the command ? Thanks.
-
Output video segments via a pipe using FFmpeg
13 mai 2014, par Joey MoraniMy Node.js app uses FFmpeg to capture video of a DirectShow device and then output segments for live streaming (HLS). At the moment I’m outputting the segments to files, however if I could output them via a pipe it would allow me to efficiently send the segment via a websocket instead of hosting a HTTP server.
I’ve tried using this command :
ffmpeg -y -f dshow -i video=FFsource:audio=Stereo Mix (Realtek High
Definition Audio) -vcodec libvpx -acodec libvorbis -threads 0 -b:v
3300k -cpu-used 5 -keyint_min 150 -g 150 -map 0 -flags:v
+global_header -f segment -However it gives the error "Could not write header for output file #0 (incorrect codec parameters ?) : Muxer not found". This commands works for outputting to files (by replacing ’-’ with ’seg_%03d.webm’).
Does FFmpeg not support pipes for segmented video, or is there something wrong with the command ? Thanks.