
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (49)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ) (...)
Sur d’autres sites (7195)
-
Can't find preset files
1er juin 2012, par Bilthonthis is a ffmpeg issue. I've got this error saying it could not find the hq preset file, then I read in the documentation that it looks for the preset files at 'PREFIX/share/ffmpeg' and also at '$HOME/.ffmpeg'. The thing is I'm calling ffmpeg from whithin a php file that calls a python script that finally executes the command something like 'commands.getstatusoutput(command)' so I was not sure who the user was.
The solution ? I just used -fpre and my call now looks like this :
/usr/local/bin/ffmpeg -i ../files/tmpvideos/myStream.flv -y -acodec libfaac -ab 96k -b 800k -maxrate 800k -minrate 600k -bufsize 800k -s 720x640 -vcodec libx264 -g 300 -r 20 -fpre /home/admin/.ffmpeg/libx264-hq.ffpreset -threads 0 ../files/tmpvideos/4647-60.mp4
I created that directory under /home/admin and am 100% sure that there the file is there now, but still ffmpeg says :
File for preset '/home/admin/.ffmpeg/libx264-hq.ffpreset' not found
So I'm not sure why is it not working since I'm specifying the complete path now. Any ideas ?
One reason that I'm thinking of, is that it maybe was not compiled correctly, like with all the flags and stuff. What I mean is that while some outputs out there looked like this :
FFmpeg version SVN-r22976, Copyright (c) 2000-2010 the FFmpeg developers
built on Apr 30 2010 12:03:12 with gcc 4.2.1-sjlj (mingw32-2)
configuration: --enable-shared --enable-static --enable-memalign-hack
--enable
-libmp3lame --enable-libx264 --enable-gpl
libavutil 50.14. 0 / 50.14. 0
libavcodec 52.66. 0 / 52.66. 0
libavformat 52.61. 0 / 52.61. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0mine looks more like this :
Output: FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
built on Nov 12 2010 16:32:38 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
configuration:
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0No configuration stuff. What do u think ? could be that this ffmpeg was not compiled correctly so it will never find the presets ? I didn't compile it, so can't be sure.
Thanks and sorry for the verbosity of the question.
Nelson
-
Révision 20648 : complément d’info dans les listes d’auteurs (webmestre et admin restreint) cf ht...
16 juin 2013, par b b -
Does anyone find this useful ? - Compiling FFMPEG on Windows with Cywin and NDK r5 [closed]
5 avril 2017, par protectedmemberDoes anyone find this information useful in anyway ?
I’ve been trying to compile this thing for a while now and I know of the numerous posts floating around the internet offering help. I have read and tried most of the suggestions and wanted to colate my success into this single post for others to benefit from.
Since I don’t have a blog, I thought it wouldn’t hurt to post on here instead.
I have managed to compile FFMPEG 0.10.3 (Freedom) on Windows 7 (32 bit) using NDK r5 and Cygwin. The steps :
1 - Download/install Cygwin in the root of your C drive. I’m not going to give instructions on this, it’s simple enough and there are plenty of tutorials on this.
2 - Download NDK r5 from here and extract to the root of your C drive.
3 - Download FFMPEG 0.10.3 from here and extract to the root of your C drive.
4 - Open the file ’configure’ in the root of the FFMPEG directory in a text editor.
5 - Comment out lines 2073, 2074 and 2075.
6 - Below 2075, add the following line :
TMPDIR=c :/cygwin/tmp
7 - Download this script (thankyou roman10) and place it inside your FFMPEG root directory. Rename the file to
build_android.sh
8 - Open the script in a text editor and edit line 17 to read
c :/android-ndk-r5
9 - Click start > run and type "bash" (without the speech marks) and press enter.
10 - Type the following and press enter :
cd /cygdrive/c/ffmpeg-0.10.3
11 - Type the following and press enter :
dos2unix build_andoird.sh
12 - Type the following and press enter :
./build_android.sh
13 - Sit back and wait... libffmpeg.so will soon appear in your "c :\ffmpeg-0.10.3\android\" directory (where is defined in the bottom of the script from roman10’s blog). The default architecture is armv7-a.
The script from roman10’s blog will actually compile quite a large shared object (.so) file. The compiler flags can be adjusted to suit your needs in the script from roman10’s blog.