
Recherche avancée
Autres articles (36)
-
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation" -
ANNEXE : Les extensions, plugins SPIP des canaux
11 février 2010, parUn plugin est un ajout fonctionnel au noyau principal de SPIP. MediaSPIP consiste en un choix délibéré de plugins existant ou pas auparavant dans la communauté SPIP, qui ont pour certains nécessité soit leur création de A à Z, soit des ajouts de fonctionnalités.
Les extensions que MediaSPIP nécessite pour fonctionner
Depuis la version 2.1.0, SPIP permet d’ajouter des plugins dans le répertoire extensions/.
Les "extensions" ne sont ni plus ni moins que des plugins dont la particularité est qu’ils se (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (5926)
-
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
-
FFMPEG output file does not contain any stream [Android] video concat
12 avril 2018, par Akshay SoodI have been trying to merge (concatenate) two mp4 videos with same height and width but some error occurs. It says the output file doesnot have any stream.
Please help.
The code is written below :String[] arg = new String[]{
ActualVideoFile.getAbsolutePath(), path
};
String list = generateList(arg);
String[] command = new String[]{
" -f concat -i " + list + " -c:v copy " + mergedVideo.getAbsolutePath()
};
try {
ffmpeg.execute(command, new FFmpegExecuteResponseHandler() {
@Override
public void onSuccess(String message) {
Log.e("SUCCESS", message);
}
@Override
public void onProgress(String message) {
Log.e("onProgress", message);
}
@Override
public void onFailure(String message) {
Log.e("onFailure", message);
}
@Override
public void onStart() {
Log.e("onStart", "start");
}
@Override
public void onFinish() {
Log.e("FINISH", "FINISHED");
}
});
} catch (FFmpegCommandAlreadyRunningException e) {
e.printStackTrace();
}Logcat :
E/onFailure: ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (GCC)
configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Output #0, mp4, to ' -f concat -i /data/data/com.myapp/cache/ffmpeg-list-768575373.txt -c:v copy /storage/emulated/0/myapp/MergedVideos/1465426928071_Video.mp4':
Output file #0 does not contain any streamAny help would be appreciated
Thanks -
FFMPEG output file does not contain any stream [Android] video concat
22 février 2017, par Akshay SoodI have been trying to merge (concatenate) two mp4 videos with same height and width but some error occurs. It says the output file doesnot have any stream.
Please help.
The code is written below :String[] arg = new String[]{
ActualVideoFile.getAbsolutePath(), path
};
String list = generateList(arg);
String[] command = new String[]{
" -f concat -i " + list + " -c:v copy " + mergedVideo.getAbsolutePath()
};
try {
ffmpeg.execute(command, new FFmpegExecuteResponseHandler() {
@Override
public void onSuccess(String message) {
Log.e("SUCCESS", message);
}
@Override
public void onProgress(String message) {
Log.e("onProgress", message);
}
@Override
public void onFailure(String message) {
Log.e("onFailure", message);
}
@Override
public void onStart() {
Log.e("onStart", "start");
}
@Override
public void onFinish() {
Log.e("FINISH", "FINISHED");
}
});
} catch (FFmpegCommandAlreadyRunningException e) {
e.printStackTrace();
}Logcat :
E/onFailure: ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (GCC)
configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Output #0, mp4, to ' -f concat -i /data/data/com.myapp/cache/ffmpeg-list-768575373.txt -c:v copy /storage/emulated/0/myapp/MergedVideos/1465426928071_Video.mp4':
Output file #0 does not contain any streamAny help would be appreciated
Thanks