
Recherche avancée
Autres articles (25)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (2588)
-
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 ?


-
How to concatenate variables and strings as a full path for the "output file" of an ffmpeg command in a bash script
12 mai 2022, par djspatuleI'm trying to learn to bash scripting and I tried to use variables and arguments, etc. to specify a complex output file name to a ffmpeg command as follows :


for file in "$1"/*; do
 #get the name of each file in the directory (without the path nor the extension)
 filename=$(basename $file .mp3)
 #use mimic for Text To Speech. Difficult to install but good and natural voices.
 ~/Desktop/mimic1/mimic -t "$filename" -o $1/wavefile.wav
 #converts the wav file outputed by mimic into mp3
 ffmpeg -i $1/wavefile.wav -f mp3 "${1}/${filename} (title).mp3"
done




But the
"${1}/${filename} (title).mp3"
part in particular really doesn't seem to work...

Indeed, if I run
script.sh ./
, I get a file called (title).mp3

Can you help me figure out what it is I'm doing wrong ?
Thanks a million in advance.
Best,


P.S. : i also get earlier in the terminal's output
basename: extra operand ‘.mp3’
...like my whole code is wrong....?

-
libgsm : detect libgsm header path
21 janvier 2013, par Brad Smithlibgsm : detect libgsm header path