
Recherche avancée
Autres articles (12)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)
Sur d’autres sites (3645)
-
Command build failed ndk
1er janvier 2021, par ALI RAZAI want to integrate ffmpeg lib in my android app . So i am using ndk ,but i am stuck on this issue,I dont know why the error is appearing ,Thanks in advance ;


It is the gradle code that i am using in my app and also the ffmpeg-android-maker path is provided


plugins {
id 'com.android.application'





android 
compileSdkVersion 30
buildToolsVersion "30.0.3"


defaultConfig {
 applicationId "com.reactive.myapplication"
 minSdkVersion 16
 targetSdkVersion 30
 versionCode 1
 versionName "1.0"

 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
 externalNativeBuild {
 cmake {
 cppFlags ""
 }
 }
}
flavorDimensions "market"
productFlavors {
 google {
 dimension "market"
 ndk {
 // Since the App Bundle is used, there is no problem in packaging all these ABIs
 abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
 }
 }
 amazon {
 dimension "market"
 applicationIdSuffix ".amzn"
 ndk {
 // Amazon Appstore doesn't support multiple APKs for non-Amazon devices.
 // There is no point in x86 support here, as the majority of devices with the
 // Amazon Appstore are ARM-based. And it seems to be a common practice for other
 // apps in this market.
 abiFilters 'armeabi-v7a'
 }
 }
 huawei {
 dimension "market"
 applicationIdSuffix ".huawei"
 ndk {
 // Huawei App Gallery supports App Bundle format
 abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
 }
 }
}
sourceSets {
 main {
 // let gradle pack the shared library into the apk
 jniLibs.srcDirs = ['../ffmpeg-android-maker/output/lib']
 }
}

bundle {
 language {
 enableSplit = true
 }
 density {
 enableSplit = true
 }
 abi {
 enableSplit = true
 }
}

buildTypes {
 release {
 minifyEnabled false
 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
 }
}
externalNativeBuild {
 cmake {
 path "src/main/cpp/CMakeLists.txt"
 version "3.10.2"
 }
}
compileOptions {
 sourceCompatibility JavaVersion.VERSION_1_8

 targetCompatibility JavaVersion.VERSION_1_8
}





dependencies


implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.google.android.material:material:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'







And this is error i am facing :
Build command failed.
Error while executing process /home/ali/Android/Sdk/cmake/3.10.2.4988404/bin/ninja with arguments -C /home/ali/AndroidStudioProjects/FfmpegApp/app/.cxx/cmake/amazonDebug/armeabi-v7a native-lib
ninja : Entering directory `/home/ali/AndroidStudioProjects/FfmpegApp/app/.cxx/cmake/amazonDebug/armeabi-v7a'


ninja : error : '/home/ali/AndroidStudioProjects/FfmpegApp/app/src/main/ffmpeg-android-maker/output/lib/armeabi-v7a/libavutil.so', needed by '/home/ali/AndroidStudioProjects/FfmpegApp/app/build/intermediates/cmake/amazonDebug/obj/armeabi-v7a/libnative-lib.so', missing and no known rule to make it


-
AWS elastic beanstalk UnhandledPromiseRejectionWarning : Cannot find ffprobe
1er janvier 2021, par Ali AhmedUsing elasticbeanstalk with Node.js 10 running on 64bit Amazon Linux 2/5.2.3. I have a packages.config file under .ebextensions folder.


packages:
 yum:
 ImageMagick: []
 ImageMagick-devel: []
commands:
 01-wget:
 command: "wget -O /tmp/ffmpeg.tar.xz http://ffmpeg.org/releases/ffmpeg-4.1.tar.gz"
 02-mkdir:
 command: "if [ ! -d /opt/ffmpeg ] ; then mkdir -p /opt/ffmpeg; fi"
 03-tar:
 command: "tar xvf /tmp/ffmpeg.tar.xz -C /opt/ffmpeg"
 04-ln:
 command: "if [[ ! -f /usr/bin/ffmpeg ]] ; then ln -sf /opt/ffmpeg/ffmpeg-4.1/ffmpeg /usr/bin/ffmpeg; fi"
 05-ln:
 command: "if [[ ! -f /usr/bin/ffprobe ]] ; then ln -sf /opt/ffmpeg/ffmpeg-4.1/ffprobe /usr/bin/ffprobe; fi"
 06-pecl:
 command: "if [ `pecl list | grep imagick` ] ; then pecl install -f imagick; fi"



I am using fluent-ffmpeg@2.1.2 module for saving screenshot.


-
Generating number of thumbnails depending on video size using AWS MediaConvert
1er décembre 2020, par sakhunzaiAfter reading this article I get the sense that AWS media convert job template cannot be re-used to generate thumbnails of arbitrary video size. The article assumes that we know the size/duration of video uploaded upfront hence the number of thumbnails we desire.


What I am looking for is to generate a random number of thumbnails based of video size (e.g large number of thumbnails for large video and small number of thumbnails for small video). I approached this solution using lambda trigger and ffmpeg lambda layer but lambda function timeouts (15 minutes max) for videos larger than 150MB (since it takes time to read the video from the s3 bucket).


What are my options to process large number of video , generate a variable number of thumbnails, merge those thumbs to generate a sprite ?


I tried lambda trigger with ffmpeg/ffprob to generate sprite, but that has timeout issue. Now I have setup a cloud watch event rule to trigger lambda function on mediaconvert job status change( completed)
and merge the thumbs to generate sprite, which seems much lighter but I need an arbitrary number of thumbs.