
Recherche avancée
Autres articles (111)
-
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (6505)
-
Unable find an ffmpeg binary for your Android system
22 juillet 2024, par Ayush ThakurWorking on a project where I need to use FFmpeg library in Kotlin to work on some audio files. However I'm unable to initialize the ffmpeg library itself.


this is the error I'm getting


Could not find an ffmpeg binary for your Android system. Did you forget calling: 'new AndroidFFMPEGLocator(this);' ?
2024-07-22 18:48:33.910 11800-11800 PipeDecoder com.example.sangeet E Tried to unpack a statically compiled ffmpeg binary for your architecture to: /data/user/0/com.example.sangeet/cache/ffmpeg
2024-07-22 18:48:33.923 11800-11800 AndroidRuntime com.example.sangeet E FATAL EXCEPTION: main (Ask Gemini)
 Process: com.example.sangeet, PID: 11800
 java.lang.Error: Decoding via a pipe will not work: Could not find an ffmpeg binary for your system



@HiltAndroidApp
class Sangeet: Application(){
 override fun onCreate() {
 super.onCreate()
 provideFirebaseApp(this)
 FFmpegKitConfig.setLogLevel(Level.AV_LOG_INFO)
 FFmpegKitConfig.enableLogCallback { Log.d("ffmpeg",it.message) }
 initializeFFmpegKit()
 }
 private fun initializeFFmpegKit() {
 // This method should be sufficient to ensure FFmpegKit is ready to use
 val ffmpegSession = FFmpegKit.execute("ffmpeg -version")
 if (ReturnCode.isSuccess(ffmpegSession.returnCode)) {
 Log.d("FFmpeg", "FFmpeg is ready to use.")
 } else {
 Log.e("FFmpeg", "Failed to initialize FFmpeg: ${ffmpegSession.failStackTrace}")
 initializeFFmpegBinary()
 }
 }
 private fun initializeFFmpegBinary() {
 val ffmpegBinaryPath = filesDir.absolutePath + "/ffmpeg"
 val binaryFile = File(ffmpegBinaryPath)
 if (!binaryFile.exists()) {
 Log.e("FFmpeg", "FFmpeg binary not found at $ffmpegBinaryPath")
 // Copy or download the FFmpeg binary to this path
 } else {
 Log.d("FFmpeg", "FFmpeg binary found at $ffmpegBinaryPath")
 }
 }
}



Tried using AndroidFFMPEGLocator(this) ; as suggested by the compiler in my code but unknown reference error is coming for the above line of code.


Also tried using FFmpegKit.init(this) function but init is also not being recognised by the compiler


-
How to set min, max and avg bitrate or vbv delay using FFMPEG for livestream in Python ? [closed]
10 mai 2024, par TebyyI'm trying to set the minimum, maximum, and average bitrate or vbv delay for a WebM livestream in Python using FFMPEG, but it still shows "0" or "N/A". I've checked the documentation, and everything seems correct. I've also searched for solutions online, but none of them have solved my problem. Does anyone know what I might be doing wrong and how it should be done correctly ?


FFMPEG Command :


ffmpeg_command = [
 'ffmpeg', '-f', 'rawvideo', '-pix_fmt', 'bgr24',
 '-s:v', '1920x1080', '-r', '60',
 '-i', '-',
 # '-an', # Turn off the audio track
 '-c:v', 'libvpx-vp9', '-g', '60', '-keyint_min', '60',
 '-b:v', '6M', '-minrate', '4M', '-maxrate', '12M', '-bufsize', '8M',
 '-crf', '0', '-deadline', 'realtime', '-tune', 'psnr', '-quality', 'good',
 '-tile-columns', '6', '-threads', '16', '-lag-in-frames', '16',
 '-f', 'webm', '-'
 ]



PyCharm Console Logs :


ffmpeg version N-115112-g39ce8a9695-20240507 Copyright (c) 2000-2024 the FFmpeg developers
 built with gcc 13.2.0 (crosstool-NG 1.26.0.65_ecc5e41)
 configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-fontconfig --enable-libharfbuzz --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --enable-libdvdread --enable-libdvdnav --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libaribcaption --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-libs=-lgomp --extra-ldflags=-pthread --extra-ldexeflags= --cc=x86_64-w64-mingw32-gcc --cxx=x86_64-w64-mingw32-g++ --ar=x86_64-w64-mingw32-gcc-ar --ranlib=x86_64-w64-mingw32-gcc-ranlib --nm=x86_64-w64-mingw32-gcc-nm --extra-version=20240507
 libavutil 59. 17.100 / 59. 17.100
 libavcodec 61. 5.103 / 61. 5.103
 libavformat 61. 3.103 / 61. 3.103
 libavdevice 61. 2.100 / 61. 2.100
 libavfilter 10. 2.101 / 10. 2.101
 libswscale 8. 2.100 / 8. 2.100
 libswresample 5. 2.100 / 5. 2.100
 libpostproc 58. 2.100 / 58. 2.100
Input #0, rawvideo, from 'fd:':
 Duration: N/A, start: 0.000000, bitrate: 2985984 kb/s
 Stream #0:0: Video: rawvideo (BGR[24] / 0x18524742), bgr24, 1920x1080, 2985984 kb/s, 60 tbr, 60 tbn
Stream mapping:
 Stream #0:0 -> #0:0 (rawvideo (native) -> vp9 (libvpx-vp9))
[libvpx-vp9 @ 000002972f387100] v1.14.0
Output #0, webm, to 'pipe:':
 Metadata:
 encoder : Lavf61.3.103
 Stream #0:0: Video: vp9, gbrp(pc, gbr/unknown/unknown, progressive), 1920x1080, q=2-31, 6000 kb/s, 60 fps, 1k tbn
 Metadata:
 encoder : Lavc61.5.103 libvpx-vp9
 Side data:
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 8000000 vbv_delay: N/A



-
ffmpeg fast seek not working for MP4 over HTTP
27 juillet 2024, par GmanicusI'm attempting to download snapshots from a video provided by the U.S House of Representatives :


https://houseliveprod-f9h4cpb9dyb8gegg.a01.azurefd.net/east/2024-04-11T08-55-12_Download/video_3000000_1.mp4



I am using
fluent-ffmpeg
in Node to execute this command :

ffmpeg('https://houseliveprod-f9h4cpb9dyb8gegg.a01.azurefd.net/east/2024-04-11T08-55-12_Download/video_3000000_1.mp4')
 .inputOption(`-ss 03:33:33`)
 .outputOptions([
 '-vframes 1'
 ])
 .output('test.png')

// Effectively:
// ffmpeg -ss 03:33:33 -i -y -vframes 1 test.png



My intention is to fast-seek to the desired timestamp and take a snapshot over HTTP. However, when doing so, the performance is not great. A snapshot takes about 10s per 3hrs of video and seems to increase fairly linearly at that rate.


However, when using ffmpeg on the same video locally, it's super fast ! Sub-500ms regardless of the desired timestamp.


Is there some magic that could be done via ffmpeg options or perhaps some sort of technique with manual requests to get a snapshot at the desired segment of video more efficiently ?