
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 (62)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
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 -
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 (13392)
-
How to import FFmpeg into Android project
30 mai, 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();
 }
}



-
How to make FFmpeg automatically inject mp3 audio tracks in the single cycled muted video ?
5 décembre 2020, par Grrzlyeverybody here ! So basically this is what I want to achieve :


I have a muted video about 3 minutes long.
I have a list of audio tracks in mp3 format (40 songs in a folder with duration 2 to 6 mins each one)


I want this video to play cycled automatically taking songs from playlist and injecting them to the video one by one. Every time a song finishes the next one from the list should start playing at the moment. Video continues playing and doesn't care duration of tracks.


I consider it as the first step on the way to broadcast radio with a video background on youtube in 24/7 mode with ability to put additional tracks to playlist without need to stop translation.


My problem is that I'm new in FFmpeg and I would appreciate any suggestions regarding which FFMpeg topic to start investigate with in order to achieve my goal


-
AAC encoder : encode out-of-phase I/S efficiently
10 janvier 2016, par Claudio FreireAAC encoder : encode out-of-phase I/S efficiently
Use the ability to invert phase with ms_mask instead of changing
the codebook when possible, to avoid having to switch codebooks
if some bands are INTENSTY_BT and others are INTENSITY_BT2, since
usually a set ms_mask uses less bits that a codebook change. While
it may not always be a win (ie : if it causes an ms_mask bitmap
to be sent when it wouldn’t have been otherwise), it’s unlikely
since the ms_mask bitmap will almost always be there already for
M/S itself.