
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (43)
-
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
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 -
L’espace de configuration de MediaSPIP
29 novembre 2010, parL’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
Il permet de configurer finement votre site.
La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)
Sur d’autres sites (6776)
-
How to convert video for web with ffmpeg for Twitter [closed]
25 janvier 2024, par Alex Noxffmpeg -i "sabaer.avi" -r -crf 23 -c:v libx264 sabe2r.mp4
Doesn't work
The media you tried to upload was invalid.


Using this converter although fixes the problem :
https://webservice.online-convert.com/convert-for-twitter


But it's not a vertical video format there and I originally want to do it via ffmpeg


-
Compile FFmpeg with libfdk_aac
18 février 2017, par ToydorI been reading on how to convert mp3 to m4a, and found that I must compile FFmpeg if I’ll use the AAC encoder, libfdk_aac.
But reading FFmpeg guide on how to compile FFmpeg with libfdk_aac makes no sense for a beginner like me.
To use libfdk_aac the encoding guide says :
Requires ffmpeg to be configured with —enable-libfdk_aac
—enable-nonfree.Where do I put those flags ?
Do I put it here somewhere ? :
cd ~/ffmpeg_sources
git clone --depth 1 git://github.com/mstorsjo/fdk-aac.git
cd fdk-aac
autoreconf -fiv
./configure --prefix="$HOME/ffmpeg_build" --disable-shared
make
make install
make distcleanOr maybe here somewhere ?
cd ~/ffmpeg_sources
git clone --depth 1 git://source.ffmpeg.org/ffmpeg
cd ffmpeg
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
export PKG_CONFIG_PATH
./configure --prefix="$HOME/ffmpeg_build" \
--extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" \
--bindir="$HOME/bin" --extra-libs="-ldl" --enable-gpl --enable-libass --enable-libfdk-aac \
--enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx \
--enable-libx264 --enable-nonfree --enable-x11grab
make
make install
make distclean
hash -rIf I’m reading the compile guide right I guess that these two chunks of code is what I need to compile FFmpeg.
I’m using Ubuntu server 12.4
UPDATE
After upgrading my system to Ubuntu 16.04 I had to install ffmpeg again.
I still needed libfdk-aac. Fortunately there’s a good step-by-step guide at http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu on how to compile ffmpeg.I thought I would share how to compile if just interested in compiling ffmpeg with libfdk-aac and libmp3lame.
If you haven’t already a bin in home directory :
mkdir ~/bin
Install dependencies. Didn’t need the non-server packages :
sudo apt-get update
sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev libtheora-dev libtool libvorbis-dev pkg-config texinfo zlib1g-devThen install the encoders. Had to install yasm as well, otherwise I got errors when compiling.
sudo apt-get install libfdk-aac-dev
sudo apt-get install libmp3lame-dev
sudo apt-get install yasmThen compile ffmpeg with needed flags
cd ~/ffmpeg_sources
wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
tar xjvf ffmpeg-snapshot.tar.bz2
cd ffmpeg
PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \
--prefix="$HOME/ffmpeg_build" \
--pkg-config-flags="--static" \
--extra-cflags="-I$HOME/ffmpeg_build/include" \
--extra-ldflags="-L$HOME/ffmpeg_build/lib" \
--bindir="$HOME/bin" \
--enable-libass \
--enable-libfdk-aac \
--enable-libfreetype \
--enable-libtheora \
--enable-libvorbis \
--enable-libmp3lame \
--enable-nonfree \
--enable-gpl
PATH="$HOME/bin:$PATH" make
make install
make distclean
hash -r -
how to update ffmpeg password in Config.php
15 décembre 2014, par Ray Martin BaliloI have successfully installed PHP FFMPEG on my laptop which is windows 8 (I was using xampp) following this guide
http://myownhomeserver.com/2012/12/how-to-install-ffmpeg-php-php-5-4-on-windows-8-xampp-1-8-1/
after installing it, the test file is working just right. Then after that i try the video conversion guide following this
http://myownhomeserver.com/2012/12/how-to-run-execute-ffmpeg-with-php-on-windows-pc/
my problem is that when i try to click the convert it button. It says that "The page at localhost:8080 says : Request failed !"
according to the comment in the guide the solution is i need to update the password of ffmpeg in config.php
this is the code of config.php :
<?php
/**
* Configuration File
*
* @ver 0.1
*/
define('DS', DIRECTORY_SEPARATOR);
define('BASE_PATH', realpath(dirname(__FILE__)) . DS);
$_protocol = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != "off") ? "https" : "http";
define('BASE_URL', $_protocol ."://". $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME']) .'/');
// Videos to convert path
define('SOURCE_PATH', BASE_PATH . 'source'. DS);
// Converted videos output path
define('OUTPUT_PATH', BASE_PATH .'output'. DS);
// Logs Path
define('LOG_PATH', BASE_PATH .'logs'. DS);
// POST URL for Javascript Queries
define('POST_URL', BASE_URL .'process.php');
// Execution Script URL (Where the ffmpeg command will be posted to)
define('EXEC_URL', BASE_URL .'ffmpegExec.php');
// FFMPEG Path (ffmpeg.exe)
define('FFMPEG_PATH', BASE_PATH .'ffmpeg\bin\ffmpeg.exe');
// FFMPEG Password (Change the value 't^$bG1c4=9u63yyKLmW7Q71tu17p5q' with something new!)
define('FFMPEG_PW', sha1('sdfdfe'));
if( !file_exists(SOURCE_PATH) )
mkdir(SOURCE_PATH, 0755, true);
if( !file_exists(OUTPUT_PATH) )
mkdir(OUTPUT_PATH, 0755, true);
if( !file_exists(LOG_PATH) )
mkdir(LOG_PATH, 0755, true);My problem is I dont know how to locate the password of ffmpeg in my windows 8 laptop. Can someone tell me how can I locate the password of ffmpeg ?
I know I need to make some minor changes in config.php, mainly setting the FFMPEG_PATH constant to the correct location for my Windows computer. But I dont know how... please someone help me pleaseThanks for the help in advance