
Recherche avancée
Autres articles (82)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)
Sur d’autres sites (8582)
-
Is anyone willing to join a GTK+3 project started in 2009 and still active ?
15 mars 2020, par GiuTorfirst of all if my question is not relevant to stackoverflow website please delete it, I apologize in advance.
I started Imagination, a DVD slideshow maker developed with GTK+2 in 2009. Along the years users have contributed with few patches. The software was ported to GTK+3 last year. Imagination works by using Cairo to paint the transition on a GTK drawing area and ffmpeg run in the background to encode the video. I’m currently getting rid of ffmpeg and using libav to encode the video.
Does anybody want to help with libav coding ? The software is available through SVN :
svn co https://svn.code.sf.net/p/imagination/code/trunk imagination
The web site is hosted at sourceforge : http://imagination.sourceforge.net/
Thanks :)
-
How to import FFmpeg into Android project
3 août 2023, par Vyacheslav ParinovI'm trying to convert series of images into video.
For that I'm adding FFmpeg into my Android project.
However it is not adding properly, so I can't import class FFmpeg into the code.
in the statement "int rc = FFmpeg.execute(command) ;" FFmpeg is highlighted in red.


I think something wrong with libraries. Could you please give suggestion how import libraries correctly ?


My Manifest file below


<?xml version="1.0" encoding="utf-8"?>









 
 
 <action></action>

 <category></category>
 
 





My settings.gradle file


pluginManagement {
repositories {
 google()
 mavenCentral()
 gradlePluginPortal()
}





dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
 google()
 mavenCentral()
}




rootProject.name = "TimelapseLite"
include ':app'


My build.gradle file


plugins {
 id 'com.android.application'
}

android {
 namespace 'ae.vpdev.timelapselite'
 compileSdk 33

defaultConfig {
 applicationId "ae.vpdev.timelapselite"
 minSdk 26
 targetSdk 33
 versionCode 1
 versionName "1.0"

 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
 release {
 minifyEnabled false
 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
 }
}
compileOptions {
 sourceCompatibility JavaVersion.VERSION_1_8
 targetCompatibility JavaVersion.VERSION_1_8
}





dependencies


implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.9.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'com.arthenica:mobile-ffmpeg-full:4.5.LTS'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'





My code in MainActivity


private void convertImagesToVideo() {
 StringBuilder imageListFileContent = new StringBuilder();
 for (Uri imageUri : selectedImages) {
 imageListFileContent.append("file '").append(imageUri.getPath()).append("'\n");
 }

 try {
 File imageListFile = new File(getCacheDir(), "image_list.txt");
 FileWriter writer = new FileWriter(imageListFile);
 writer.append(imageListFileContent.toString());
 writer.flush();
 writer.close();

 File outputFile = new File(getExternalFilesDir(null), "output_video.mp4");
 String outputFilePath = outputFile.getAbsolutePath();

 String command = "-f concat -safe 0 -i " + imageListFile.getAbsolutePath() +
 " -vf \"scale=-2:720\" -r 30 -c:v libx264 -pix_fmt yuv420p " + outputFilePath;

 int rc = FFmpeg.execute(command);

 if (rc == RETURN_CODE_SUCCESS) {
 Log.d("FFmpeg", "Video conversion completed successfully");
 // Now you can use the outputFilePath to play or share the video
 } else {
 Log.d("FFmpeg", "Video conversion failed");
 }
 } catch (IOException e) {
 e.printStackTrace();
 }
}



-
build ffmpeg library with a sample project and use it in eclipse on Linux operating system
22 juillet 2015, par Harpreet KaurI want to ffmpeg project in eclipse on linux operating system
I am following the link : http://dmitrydzz-hobby.blogspot.in/2012/04/how-to-build-ffmpeg-and-use-it-in.html
I have successfully add the ndk in eclipse but it still shows some error in loading the ffmpeg libraryMy logcat contains error :
Building file: ../jni/ffmpeg/libavcodec/x86/dct32_sse.asm
Invoking: GCC Assembler
as -o "jni/ffmpeg/libavcodec/x86/dct32_sse.o" "../jni/ffmpeg/libavcodec/x86/dct32_sse.asm"
../jni/ffmpeg/libavcodec/x86/dct32_sse.asm: Assembler messages:
../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:1: Error: junk at end of line, first unrecognized character is `*'
../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:2: Error: junk at end of line, first unrecognized character is `*'
../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:3: Error: junk at end of line, first unrecognized character is `*'
../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:4: Error: junk at end of line, first unrecognized character is `*'
../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:5: Error: junk at end of line, first unrecognized character is `*'
../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:6: Error: junk at end of line, first unrecognized character is `*'
../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:7: Error: junk at end of line, first unrecognized character is `*'
../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:7: Error: no such instruction: `you can redistribute it and/or'
../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:8: Error: junk at end of line, first unrecognized character is `*'
../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:9: Error: junk at end of line, first unrecognized character is `*'
../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:9: Error: no such instruction: `either'