
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (106)
-
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 -
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 (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (11428)
-
Cross compile FFmpeg with openssl and libsrt by android ndk
25 janvier 2024, par MingyI am trying to cross-compile FFmpeg using the Android NDK and enable support for OpenSSL and libsrt. After separately compiling OpenSSL and libsrt, when configuring FFmpeg, pkg-config cannot correctly locate the installed OpenSSL and libsrt libraries.


Here are my compilation scripts.
OpenSSL 3.1.4


#!/bin/bash

if [[ ! -d "./openssl" ]]; then
 git clone --depth 1 --branch openssl-3.1.4 https://github.com/openssl/openssl.git
fi

cd openssl

export ANDROID_NDK_ROOT=/home/albert/workspace/DevKit/android/SDK/ndk/25.1.8937393/
PATH=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH

rm -rf ./android
make clean

./Configure android-arm64 \
 -D__ANDROID_API__=28 \
--prefix=$PWD/android/arm64-v8a

make -j $(grep "cpu cores" /proc/cpuinfo | wc -l)
make install

cd ..



libsrt 1.5.3


#!/bin/bash

if [[ ! -d "./srt" ]]; then
 git clone --depth 1 --branch v1.5.3 https://github.com/Haivision/srt.git
fi

export OpenSSL_INSTALL_DIR=$PWD/openssl/android/arm64-v8a

cd srt

rm -rf ./android
make clean

./configure --use-enclib=openssl \
--use-openssl-pc=OFF \
--OPENSSL_INCLUDE_DIR=$OpenSSL_INSTALL_DIR/include \
--OPENSSL_CRYPTO_LIBRARY=$OpenSSL_INSTALL_DIR/lib/libcrypto.a \
--OPENSSL_SSL_LIBRARY=$OpenSSL_INSTALL_DIR/lib/libssl.a \
--CMAKE_PREFIX_PATH=$PWD/install/android/arm64-v8a \
--CMAKE_INSTALL_PREFIX=$PWD/install/android/arm64-v8a \
--CMAKE_ANDROID_NDK=/home/albert/workspace/DevKit/android/SDK/ndk/25.1.8937393 \
--CMAKE_SYSTEM_NAME=Android \
--CMAKE_SYSTEM_VERSION=28 \
--CMAKE_ANDROID_ARCH_ABI=arm64-v8a \
--CMAKE_C_FLAGS="-fPIC" \
--enable-c++11 \
--enable-stdcxx-sync \
--enable-debug=2 \
--enable-logging=0 \
--enable-heavy-logging=0 \
--enable-apps=0

make -j $(grep "cpu cores" /proc/cpuinfo | wc -l)
make install

cd ..



Then I put those install dir to PKG_CONFIG_PATH


export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$PWD/openssl/android/arm64-v8a/lib/pkgconfig:$PWD/srt/install/android/arm64-v8a/lib/pkgconfig



Upon testing, both OpenSSL and SRT can successfully retrieve the version and corresponding linking symbols.


But, When I'm going to configure FFmpeg, Error Occurred


My FFmpeg configurtion script


TOOLCHAIN=/home/albert/workspace/DevKit/android/SDK/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64
API=28

./configure \
 --prefix=$PWD/android/arm64-v8a \
 --disable-neon \
 --disable-hwaccels \
 --disable-gpl \
 --disable-postproc \
 --enable-static \
 --enable-jni \
 --disable-mediacodec \
 --disable-decoder=h264_mediacodec \
 --disable-doc \
 --disable-programs \
 --disable-ffmpeg \
 --disable-ffplay \
 --disable-ffprobe \
 --disable-avdevice \
 --disable-symver \
 --cross-prefix=$TOOLCHAIN/bin/llvm- \
 --target-os=android \
 --arch=arm64 \
 --cpu=armv8-a \
 --cc=$TOOLCHAIN/bin/aarch64-linux-android$API-clang \
 --cxx=$TOOLCHAIN/bin/aarch64-linux-android$API-clang++ \
 --enable-cross-compile \
 --sysroot=$TOOLCHAIN/sysroot \
 --enable-version3 \
 --enable-openssl \
 --enable-libsrt \
 --extra-cflags="-DVK_ENABLE_BETA_EXTENSIONS=0 -mno-stackrealign -Os -fpic -march=armv8-a " \
 --extra-ldflags="" \
 $ADDITIONAL_CONFIGURE_FLAG



ERROR: srt >= 1.3.0 not found using pkg-config



config.log


require_pkg_config libsrt srt >= 1.3.0 srt/srt.h srt_socket
check_pkg_config libsrt srt >= 1.3.0 srt/srt.h srt_socket
test_pkg_config libsrt srt >= 1.3.0 srt/srt.h srt_socket
false --exists --print-errors srt >= 1.3.0
ERROR: srt >= 1.3.0 not found using pkg-config



If only enable OpenSSL, then get Error


ERROR: OpenSSL <3.0.0 is incompatible with the gpl



config.log


check_pkg_config openssl openssl >= 3.0.0 openssl/ssl.h OPENSSL_init_ssl
test_pkg_config openssl openssl >= 3.0.0 openssl/ssl.h OPENSSL_init_ssl
false --exists --print-errors openssl >= 3.0.0
ERROR: OpenSSL <3.0.0 is incompatible with the gpl



-
FFmpeg 32-bit DLLs fail to load on Windows when switching target platform to 32-bit in C# project (Linux cross-compile with MinGW)
8 novembre 2024, par ryanI’m working on a C# project in Windows that integrates FFmpeg DLLs. I need both 32-bit and 64-bit FFmpeg DLLs. The 64-bit DLLs load and work fine, but when I change the target platform in my project settings to 32-bit, some 32-bit DLLs (specifically avfilter-7.dll) fail to load, even though they’re in the correct directory.


Code :


case PlatformID.Win32Windows:
 return WindowsNativeMethods.LoadLibrary(libraryName);



is returning a null pointer for avfilter-7.dll.


Error Received :


System.Runtime.InteropServices.Marshal.GetLastWin32Error() = 0x0000007e 



Which I think translates to ERROR_MOD_NOT_FOUND.


Environment & Context :


- 

- Linux VM : Using a Linux virtual machine to cross-compile FFmpeg for Windows.
- Tool : ffmpeg-windows-build-helpers script from https://github.com/rdp/ffmpeg-windows-build-helpers.
- Cross-Compiler : MinGW (latest version installed on VM).
- Target Architectures : Both 32-bit and 64-bit DLLs for Windows.
- FFmpeg Version : n4.4.5 (using —ffmpeg-git-checkout-version=n4.4.5).












Compilation Command :
Using the helper script, I’ve tried the following command to generate the 32 and 64 bit shared libraries :


./cross_compile_ffmpeg.sh --ffmpeg-git-checkout-version=n4.4.5 --disable-nonfree=y --build-libmxf=n --build-mp4box=n --build-vlc=n --build-svt-hevc=n --build-svt-vp9=n --build-dvbtee=n --build-dependencies=y --build-mplayer=n --build-ffmpeg-static=n --build-ffmpeg-shared=y --prefer-stable=y --build-x264-with-libav=n



I’ve also updated MinGW to the latest version on the VM to ensure compatibility.


Questions :


- 

- What might be causing the 32-bit FFmpeg DLLs (like avfilter-7.dll) to fail to load on a Windows platform, while 64-bit DLLs work fine ?
- Are there specific flags or steps in the build process needed to ensure compatibility for 32-bit FFmpeg DLLs in a 64-bit Windows environment ?
- Are there common pitfalls when cross-compiling 32-bit and 64-bit FFmpeg DLLs with MinGW on Linux that could cause these loading issues ?








Any insights or additional troubleshooting tips would be greatly appreciated !


-
Streaming is not save on wowza server
19 septembre 2015, par AndroidI have issue with streaming save to server.
We have two case :case 1.
I have got one problem on streaming by Javacv with ffmpeg, streaming is work fine and i can see in wowza testing as well as vlc
But that streaming is not save in wowza server, only save audio file in server.case 2.
I have done streaming by livestreaming library and that work fine as well as save in wowza server.both case server is used same but one time it work fine other time it not.
I have checked settings in wowza server to save any stream and it perfect everything.