
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (103)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 -
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
Sur d’autres sites (15124)
-
How do I set a relative path for an .SO file ?
1er juillet 2015, par Eran BoudjnahThis is my error :
06-29 16:52:37.729 24144-24144/com.my.app E/AndroidRuntime﹕ FATAL
EXCEPTION : main
Process : com.my.app, PID : 24144
java.lang.UnsatisfiedLinkError : dlopen failed : could not load library "build/obj/local/armeabi/libavformat.so" needed by
"libFFmpegWrapper.so" ; caused by library
"build/obj/local/armeabi/libavformat.so" not foundbuild/obj/local/armeabi/libavformat.so looks wrong to me. The code worked with an earlier build of ffmpeg - so I suspect it’s something to do with the way I build ffmpeg.
The libavformat.so file is in the APK where I’d expect it to be.
This is my build script for ffmpeg :
#!/bin/bash
NDK=/Users/eran/Downloads/android-ndk-r10e
PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64
PLATFORM=$NDK/platforms/android-12/arch-arm
PREFIX=/usr/local
function build_one
{
./configure --target-os=android --prefix=$PREFIX \
--pkg-config=./fake-pkg-config \
--enable-cross-compile \
--cpu=armv7-a \
--enable-shared \
--disable-static \
--disable-asm \
--arch=arm \
--cc=$PREBUILT/bin/arm-linux-androideabi-gcc \
--cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \
--disable-stripping \
--nm=$PREBUILT/bin/arm-linux-androideabi-nm \
--sysroot=$PLATFORM \
--disable-nonfree \
--disable-version3 \
--disable-everything \
--enable-gpl \
--disable-doc \
--enable-avresample \
--disable-demuxer=rtsp \
--disable-muxer=rtsp \
--disable-ffplay \
--disable-ffserver \
--enable-ffmpeg \
--disable-ffprobe \
--enable-libx264 \
--enable-encoder=libx264 \
--enable-decoder=h264 \
--disable-protocol=rtp \
--enable-hwaccels \
--enable-zlib \
--disable-devices \
--disable-avdevice \
--extra-cflags="-I/usr/local/include -fPIC -DANDROID -Wno-deprecated -mfloat-abi=softfp -mfpu=neon -march=armv7-a" \
--extra-ldflags="-L/usr/local/lib -Wl,--fix-cortex-a8" \
--extra-cxxflags='-Wno-multichar -fno-exceptions -fno-rtti'
make -j4 install
}
build_one -
The HLS segment filename file path not incrementing
30 mai 2023, par Rakesh Lconst ffmpegProcess = spawn(ffmpeg [
'-y','-i','/home/Documents/videotrans/video-transcoder/api/videoFiles/input/sample2.mp4',
'-s:v','1280x720',
'-b:v','2000000',
'-aspect','16:9',
'-b:a','64000',
'-r', '24',
'-s:v','854x480',
'-b:v','1000000',
'-aspect','16:9',
'-b:a', '112000',
'-r', '24',
'-s:v','640x360',
'-b:v','7000000',
'-aspect','16:9',
'-b:a','80000',
'-r', '24',
'-s:v','420x420',
'-b:v','600000',
'-aspect','16:9',
'-b:a','64000',
'-r', '24',
'-sc_threshold', '0',
'-map','0:0',
'-map','0:1',
'-map','0:0',
'-map','0:1',
'-map','0:0',
'-map','0:1',
'-map','0:0',
'-map','0:1',
'-ac','2',
'-ar','44100',
'-preset','slow',
'-var_stream_map','v:0,a:0 v:1,a:1 v:2,a:2 v:3,a:3',
'-f','hls',
'-hls_list_size','0',
'-master_pl_name','master.m3u8',
'-hls_segment_filename','/home/Documents/videotrans/video-transcoder/api/videoFiles/output/v%v/fileSequence~%03d.ts',
'/home/Documents/videotrans/video-transcoder/api/videoFiles/output/v%v/prog_index.m3u8'
]);



Here I'm using the spawn of a child process of FFMPEG I need to transcode the video input into four different resolutions in m3u8 format. There will be master.m3u8 and folders v0, v1, v2, and v3 ; inside those folders, there should be pro_index.m3u8 file and multiple file-sequence files according to input file size


The HLS segment filename is not incrementing properly So the process is failing


how to increment fileSequence file names ?
fileSequence%d.ts or fileSequence%03d.ts in not work here


-
2 files found with path 'lib/arm64-v8a/libc++_shared.so' from inputs...-react native
19 septembre 2024, par CrackerKSRI am trying to enable package of ffmpeg-kit-react-native in react-native.
The sample commands given in the example executes successfully. But I want to use
libwebp
for converting gif files to webp which is under package namedvideo
. As instructed . I have to enable the package to use some libraries.



2.2.1 Enabling a Package on Android
Edit android/build.gradle file and add the package name in ext.ffmpegKitPackage variable.


ext {
 ffmpegKitPackage = "<package>"
}
</package>




So I added a line in the
node_module/ffmpeg-kit-react-native/android/build.gradle


android {
 compileSdkVersion 30

 defaultConfig {
 minSdkVersion safeExtGet('ffmpegKitPackage', 'https').contains("-lts") ? 16 : 24
 targetSdkVersion 30
 versionCode 451
 versionName "4.5.1"
 }

 buildTypes {
 release {
 minifyEnabled false
 }
 }
 lintOptions {
 disable 'GradleCompatible'
 }
 compileOptions {
 sourceCompatibility JavaVersion.VERSION_1_8
 targetCompatibility JavaVersion.VERSION_1_8
 }

 rootProject.ext.ffmpegKitPackage = "video" // Added this line here 

}



Error :


* What went wrong:
Execution failed for task ':app:mergeDebugNativeLibs'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction
 > 2 files found with path 'lib/arm64-v8a/libc++_shared.so' from inputs:
 - C:\Users\ADMIN\.gradle\caches\transforms-3\7403ebe5571a2ce5a6a5fc9876af4814\transformed\jetified-react-native-0.66.4\jni
 - C:\Users\ADMIN\.gradle\caches\transforms-3\4be54e44fe38656741a8345504588323\transformed\jetified-ffmpeg-kit-video-4.5.1-1\jni
 If you are using jniLibs and CMake IMPORTED targets, see
 https://developer.android.com/r/tools/jniLibs-vs-imported-targets



I have tried ./gradlew clean but problem is still there.
How to fix this error ?