
Recherche avancée
Médias (1)
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
Autres articles (48)
-
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 (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (7147)
-
FFMPEG : is there a way to keep RTSP connection alive in code ?
14 décembre 2011, par AlexI'm taking frames from a RTSP connection as follows (in pseudocode) :
av_open_input_file(&avcontext)
while(av_read_frame(&frame) > 0) {
doSomething(frame);
av_free_packet(frame);
}For some reason the
doSomething()
function takes much time and, because of this (at least, I think so) the connection interupts -av_read_frame()
returns 'eof' and the loop exits.When I make
doSomething()
shorter such interruptions do not occur.For some reasons I can't do
doSomething()
in another thread.Therefore, I'm interested if maybe there are some parameters to avcontext which will let me keep the connection alive or increase the timeout ?
Thank you !
-
PHP - How to get Shell errors echoed out to screen
26 février 2013, par AshI am in the process of using
shell_exec()
for the first time. I am trying to convert some video files on my server using the ffmpeg shell script.When I the below code in the browser, it returns NULL :
var_dump(shell_exec("ffmpeg -i /var/www/html/sitedomain/httpdocs/tmp/ebev1177.mp4"));
However when I run the equivalent code in my terminal :
> ffmpeg -i /var/www/html/sitedomain/httpdocs/tmp/ebev1177.mp4
I get back a whole load of useful information which ends in an error
"At least one output file must be specified"
Why is this info not being passed back to my PHP script so I can echo it out ?
-
Splitting single 32-channel audio file into 32 mono audio files using ffmpeg
16 janvier 2015, par user1066157I am trying to split a single 32-channel audio file in .caf format to 32 mono audio files in signed 16 bit little endian .wav format using ffmpeg, but I can’t figure out how to accomplish this exactly. I have tried to do :
ffmpeg -i myAudio.caf -acodec pcm_s16le -map 0:0 channel_01.wav -map 0:1 channel_02.wav ...
But this returns a "Stream map ’0:1’ matches no streams" error. Surely I am missing something entirely obvious here... Most likely I am confused about how to reference each individual channel in my single, multi-channel audio file. Could someone show me the right way of doing this perhaps ?