
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (79)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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 (6961)
-
ffmpeg : How to get list of available codecs with PHP ?
9 août 2013, par IIIOXIIIProblem is, I am trying to convert (through php), a .3gp (or any video format) file to ogg.
When I do not specify -vcodec and -acodec, the video is converted, but does not have any audio.
I had read here and other places that I need to specify -acodec libvorbis, however, when I specify the codec as libvorbis, the conversion fails : video converts to 0byte file.
Basically, I am trying to determine if the codec specified is actually part of the ffmpeg build I am using as a process of narrowing down my issue.
Code that produces full length video without sound :
$srcFile = 'anyvideo.3gp';
$destFile = 'anyvideo.ogg';
$ffmpegPath = 'path/to/ffmpeg.exe';
$ffmpegObj = new ffmpeg_movie($srcFile);
$srcWidth = makeMultipleTwo($ffmpegObj->getFrameWidth());
$srcHeight = makeMultipleTwo($ffmpegObj->getFrameHeight());
$srcFPS = $ffmpegObj->getFrameRate();
$srcAB = intval($ffmpegObj->getAudioBitRate()/1000);
$srcAR = $ffmpegObj->getAudioSampleRate();
$srcLen = $ffmpegObj->getDuration();
exec($ffmpegPath." -i ".$srcFile." -ar ".$srcAR." -s ".$srcWidth."x".$srcHeight." ". $destFile);And the code that produces 0byte file :
exec($ffmpegPath." -i ".$srcFile." -acodec libvorbis -ar ".$srcAR." -s ".$srcWidth."x".$srcHeight." ".$destFile);
So, my question is, how do I determine the codec's available to ffmpeg using PHP ? Can it even be done ?
UPDATED - ANSWER BELOW
-
Compiling ffmpeg : how to force it to link to a specific libx264 ?
29 août 2012, par PaulJI'm trying to compile the newest version of ffmpeg (in CentOS 5.3). I first downloaded the latest version of libx264, compiled it with
--enable-static
and installed it in/usr/local/
. However, when I then compile ffmpeg I get this error message :libavcodec/libavcodec.a(libx264.o): In function `X264_init':
/usr/local/src/ffmpeg/libavcodec/libx264.c:494: undefined reference to `x264_encoder_open_125'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1Searching on the net, I see that this can happen if ffmpeg is picking up an older version of libx264, which I indeed have (in
/usr/lib
) and can't uninstall because other pieces of software depend on it. The question is then : how can I force ffmpeg to link against the libx264 that I want ? The last time I had to do this (admittedly a year ago) I also had 2 versions of libx264, and I don't remember having to do anything special. Is there a configure switch that I'm forgetting ? -
Compiling ffmpeg : how to force it to link to a specific libx264 ?
29 août 2012, par PaulJI'm trying to compile the newest version of ffmpeg (in CentOS 5.3). I first downloaded the latest version of libx264, compiled it with
--enable-static
and installed it in/usr/local/
. However, when I then compile ffmpeg I get this error message :libavcodec/libavcodec.a(libx264.o): In function `X264_init':
/usr/local/src/ffmpeg/libavcodec/libx264.c:494: undefined reference to `x264_encoder_open_125'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1Searching on the net, I see that this can happen if ffmpeg is picking up an older version of libx264, which I indeed have (in
/usr/lib
) and can't uninstall because other pieces of software depend on it. The question is then : how can I force ffmpeg to link against the libx264 that I want ? The last time I had to do this (admittedly a year ago) I also had 2 versions of libx264, and I don't remember having to do anything special. Is there a configure switch that I'm forgetting ?