
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (108)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
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 (...) -
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 (...)
Sur d’autres sites (9341)
-
How can I get audio in my ffmpeg stream to nginx rtmp server ?
26 novembre 2013, par Conor PatrickI currently have a nginx server setup with the rtmp plugin for video streaming. I'm streaming to it with ffmpeg and then displaying the stream on a web browser with adobe flash player.
I have the video streaming successfully but I have not been able to get audio.
This is the ffmpeg command I use to start the stream
ffmpeg -f video4linux2 -s 320x240 -r 16 -i /dev/video0 -f alsa -i hw:0 -an -f flv rtmp://123.456.789.51:31002/rover/mystream
The stream then goes to nginx which is running on this conf file
worker_processes 1;
error_log logs/user/error.log debug;
events {
worker_connections 1024;
}
rtmp {
server {
listen 31002;
application rover {
live on;
#meta copy;
#interleave on;
allow publish all;
allow play all;
hls on;
#record keyframes;
#record_path /tmp;
#record_max_size 128K;
#record_interval 30s;
#record_suffix .this.is.flv;
#on_publish http://localhost:8080/publish;
#on_play http://localhost:8080/play;
#on_record_done http://localhost:8080/record_done;
}
}
}
http {
server {
listen 26360;
location /stat {
rtmp_stat all;
rtmp_stat_stylesheet stat.xsl;
}
location /stat.xsl {
root nginx-rtmp-module-master/;
}
location /control {
rtmp_control all;
}
#location /publish {
# return 201;
#}
#location /play {
# return 202;
#}
#location /record_done {
# return 203;
#}
location /rtmp-publisher {
root /path/to/test;
}
location / {
root nginx-rtmp-module-master/test/www;
}
}
}I then access the stream from a browser using this set up for the adobe flash player and strobe media player.
Could I get some suggestions as to how I couldn't be getting audio ? I'm streaming video from my webcam and specifying audio from my mic.
-
What are the steps required to create a non-NPAPI video decoder plugin - VLC Alternative ?
26 novembre 2013, par ElHaixGoogle's Say Goodbye to Our Old Friend NPAPI blog post indicates that NPAPI plugin support will cease by the end of 2014 (in favor of PPAPI).
We have considered the option of using the ffmpeg libraries to create our own video plugin to simply decode RTSP encoded H.264 video streams on the client - important because we need as near real-time video display (avoiding transcoding latency). Using the ffmpeg libraries, there is still a 3-5 second delay in decoding the stream, not as fast as running MPlayer with the
-benchmark
option.In trying Google's PNaCl recommendation, we just got the LOADING status and the following error :
NativeClient : NaCl module load failed : PnaclCoordinator : Compile
process could not be created : ServiceRuntime : failed to startAre there any other alternatives or suggestions ?
-
FFMPEG JNI wrapper causes Android app exit
5 décembre 2013, par user3043703I'm writing a JNI wrapper to use FFMPEG as a library in my Android project. I'm mainly using as references the halfninja project (and some forks) and this useful guide. I'm making a lot of personalizations but I got a working version with some additional codecs, the only problem is that, after FFMPEG ends, it causes my application to quit with no errors and I'd like to avoid this (for example to invoke FFMPEG again). Looking at the halfninja wrapper, the line of code exit(ret) ; from the cmdutils.c file is commented in the function void exit_program(int ret) but if I do the same with the latest (2.1.1) version of FFMPEG it causes me a signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 6f632494 error. My code looks like this :
void exit_program(int ret)
{
if (program_exit)
program_exit(ret);
//exit(ret);
//if I uncomment this the app automatically exits without errors
}I see that both my references are a little old, also refering to a very old release of FFMPEG and it seems that meanwhile the source code changed a lot. I invoke FFMPEG through the JNI wrapper inserted in a new thread in the application code.
All I'd like to know is : there's a way to avoid the automatic exit of my application after the end of FFMPEG thread ?