
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (51)
-
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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (11394)
-
How to best compress videos using PHP-FFMpeg ?
19 décembre 2022, par Bruno LevequeI'm using the PHP-FFMpeg v1.1.0 library to compress videos sent from a variety of mobile devices into 480p (640x480) MP4 videos.


Everything is working great, but I'm wondering how to reach an optimal compression level. It looks like I'm already using the recommended video bitrate for 480p, as well as a fairly low quality audio (64Kbps).


Am I missing any best practices/options here ?


My code :


$videoFile = '/tmp/source.avi';
$destVideoFile = '/tmp/'.uniqid().'.mp4';
$ffmpeg = FFMpeg\FFMpeg::create();
$video = $ffmpeg->open($videoFile);
$video->filters()->resize(new FFMpeg\Coordinate\Dimension(640, 480), 'width')->synchronize();
$codec = new FFMpeg\Format\Video\X264();
$codec->setKiloBitrate(960)->setAudioKiloBitrate(64);
$video->save($codec, $destVideoFile);



-
Capture Windows screen with ffmpeg
4 mars 2021, par kamaeThe ffmpeg is cross-platform and very powerful software to handle video/audio or to stream it.
On Linux ffmpeg can capture X11 screen with a command below :



ffmpeg -f x11grab -r 25 -s cif -i :0.0 out.mpeg




But is it possible to grab Windows Desktop with ffmpeg ?


-
ffmpeg on Intel Edison cannot find pkg-config
4 février 2016, par Joel GallantI’ve had a surprisingly difficult time finding documentation for what I’m seeing. I’m cross-compiling ffmpeg for the Intel Edison using the poky linux sdk. I’ve set up an upper level makefile to do the following :
ffmpeg_DIR=$(shell realpath libs/ffmpeg)
EdisonSDK_DIR=/opt/poky-edison/1.7.2
EdisonSysroot=$(EdisonSDK_DIR)/sysroots/core2-32-poky-linux
PATH:=$(EdisonSysroot)/usr/bin/:$(EdisonSysroot)/usr/bin/i586-poky-linux:$(PATH)
ffmpeg-config: FORCE
mkdir -p $(ffmpeg_DIR)/build; \
cd $(ffmpeg_DIR); \
PATH=$(PATH) ./configure \
--prefix=$(ffmpeg_DIR)/build \
--enable-shared \
--disable-static \
--disable-doc \
--arch=i686 \
--enable-cross-compile \
--cross-prefix=i586-poky-linux- \
--sysinclude=$(EdisonSysroot)/include \
--pkg-config=$(EdisonSysroot)/usr/bin/pkg-config \
--target-os=linux
ifeq (,$(wildcard $(ffmpeg_DIR)/build))
ffmpeg: ffmpeg-config FORCE
else
ffmpeg: FORCE
endif
+make -C$(ffmpeg_DIR)So as far as I understand it, it’s using the PATH correctly, sysroot is being inserted in cc and ld calls, and sysinclude is working.
I’m seeing this in the output of the main makefile :
tput: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
And seeing this in the config.log
i586-poky-linux-gcc -O2 -pipe -g -feliminate-unused-debug-types -c -o /tmp/ffconf.T3Y8Tm6G.o /tmp/ffconf.t8bOuCO2.c
/opt/poky-edison/1.7.2/sysroots/core2-32-poky-linux/usr/bin/../lib/gcc/gcc/i586-poky-linux/4.9.1/cc1: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory
/opt/poky-edison/1.7.2/sysroots/core2-32-poky-linux/usr/bin/../lib/gcc/i586-poky-linux/4.9.1/../../../../i586-poky-linux/bin/as: error while loading shared libraries: libopcodes-2.24.so: cannot open shared object file: No such file or directory
C compiler test failed.So to me, that seems like a linker error. And in the config.log, I also see that pkg-config isn’t working.
WARNING: /opt/poky-edison/1.7.2/sysroots/core2-32-poky-linux/usr/bin/pkg-config not found, library detection may fail.
So I’m not sure what I’m doing wrong exactly. I’ve tried seeing sysroot or not, and not specifying the pkg-config.
https://ffmpeg.org/pipermail/ffmpeg-devel/2012-June/126683.html
This seems related but is fixed now. So not sure.