
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (63)
-
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 -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)
Sur d’autres sites (10773)
-
Permission deneied android 14 FFmpeg [closed]
26 décembre 2023, par Aarav RajI have inserted log


ffmpeg -hwaccel auto -y -i "/storage/emulated/0/DCIM/Camera/20231217_205048.mp4" -c:v libaom-av1 -q:v 5 -c:a libmp3lame -ab 128k -ar 44100 "/storage/emulated/0/DCIM/Camera/20231217_205048.avi"


ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers


built with gcc 4.9.x (GCC) 20150123 (prerelease)


configuration : —enable-version3 —enable-gpl —enable-nonfree —disable-indev=v4l2 —enable-libmp3lame —enable-libx264 —enable-libx265 —enable-libvpx —enable-libvorbis —enable-libtheora —enable-libopus —enable-libfdk-aac —enable-libfreetype —enable-libass —enable-libfribidi —enable-fontconfig —enable-pthreads —enable-libxvid —enable-filters —enable-openssl —enable-librtmp —disable-protocol='udp,udplite' —enable-libopencore-amrwb —enable-libopencore-amrnb —enable-libvo-amrwbenc —enable-libspeex —enable-libsoxr —enable-libwebp —enable-libxml2 —enable-libopenh264 —enable-jni —prefix=/home/silentlexx/AndroidstudioProjects/ffmpeg/ffmpeg/build/arm64-api21-r13b —sysroot=/home/silentlexx/Android/android-ndk-r13b/platforms/android-21/arch-arm64 —arch=arm64 —disable-shared —enable-static —enable-pic —enable-ffmpeg —disable-ffplay —disable-ffprobe —disable-ffnvcodec —disable-avdevice —disable-debug —disable-doc —disable-htmlpages —disable-manpages —disable-podpages —disable-txtpages —disable-symver —cross-prefix=/home/silentlexx/Android/android-ndk-r13b/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android- —target-os=android —enable-cross-compile —pkg-config-flags=—static —extra-libs='-lgnustl_static -lm -lpng -l:libz.so -lpthread' —enable-asm —enable-neon —enable-libxavs2 —enable-libdav1d —enable-libaom —enable-small


libavutil 58. 2.100 / 58. 2.100


libavcodec 60. 3.100 / 60. 3.100


libavformat 60. 3.100 / 60. 3.100


libavfilter 9. 3.100 / 9. 3.100


libswscale 7. 1.100 / 7. 1.100


libswresample 4. 10.100 / 4. 10.100


libpostproc 57. 1.100 / 57. 1.100


/storage/emulated/0/DCIM/Camera/20231217_205048.mp4 : Permission deni
ed


When i tried to convert a mp4 to av1 it showed me this error.


-
ffmpeg messes up delayed inputs (repeats at the beginning)
20 mars 2023, par Ralphffmpeg plays audio inputs delayed to t1, t2 etc at t=0.
If there are several inputs, then it replicates one after the other (after in0 finishes with its duration duration(in0), plays another one at t=duration(in0), etc.)


In the following example, the in0 is played at t=0.


ffmpeg -i in0.mp3 -i in1.mp3 -i in2.mp3 -filter_complex "[0]adelay=1000[delayed1];[1]adelay=2000[delayed2];[2]adelay=3000[delayed3];[delayed1][delayed2][delayed3]amix=inputs=3:duration=longest" -codec:a libmp3lame -q:a 4 output.mp3



The command performs the following : 1. The ffmpeg processes three input files (mp3). 2. The complex filter delays the inputs by 1, 2, 3 seconds input-wise. 3. amix mixes the delayed outputs together. 4. And finally, a coded transforms it into an output mp3.


Another short version : 2 delayed beeps, an finally there come 3 beeps out (@ 0, 1, 2 seconds) :


ffmpeg -i beep.mp3 -filter_complex "[0]adelay=1000[delayed1];[0]adelay=2000[delayed2];[delayed1][delayed2]amix=inputs=2:duration=longest" -codec:a libmp3lame -q:a 4 output.mp3



ffmpeg version N-110011-gf456c192d9-tessus on a Mac M1, downloaded as binary from https://evermeet.cx/ffmpeg (01.2023).


I added also a silent input file from 0 to 1 seconds without any alteration of the outcome.
I added a silent stream as input as well without improvement. E.g. :


... -filter_complex "aevalsrc=0:d=4[silence];...



Another test with another ffmpeg version 5.1 Copyright (c) 2000-2022 the FFmpeg developers built with Apple clang version 13.1.6 (clang-1316.0.21.2.5) :

ffmpeg -i beep.mp3 -filter_complex "[0]adelay=1000[delayed1];aevalsrc=0:d=5[silence];[silence][delayed1]amix=inputs=2:duration=longest" -codec:a libmp3lame -q:a 4 output.mp3

There are again 2 beeps, at 0 and 1 second.

(comment : concat solves the issue. But I want to have a flexible solution with possibly overlapping audio streams.) Thanks for giving a hint !


-
Issue with Batch File for FFmpeg Video Frame Extraction
30 septembre 2023, par Claudio MartiniIssue


[swscaler @ 0000019531bb00c0] deprecated pixel format used, make sure you did set range correctly
Output #0, image2, to 'temp_frames/frame%08d.jpg':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: mp42mp41
 encoder : Lavf60.11.100
 Stream #0:0(eng): Video: mjpeg, yuvj420p(pc, progressive), 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn (default)
 Metadata:
 creation_time : 2023-09-29T13:37:07.000000Z
 handler_name : ?Mainconcept Video Media Handler
 vendor_id : [0][0][0][0]
 encoder : Lavc60.26.100 mjpeg
 Side data:
 cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
[image2 @ 000001951c61b980] Could not open file : temp_frames/frame00000001.jpg
[vost#0:0/mjpeg @ 000001951c603e80] Error submitting a packet to the muxer: I/O error
[out#0/image2 @ 000001951cb8ee80] Error muxing a packet
[out#0/image2 @ 000001951cb8ee80] video:389kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
frame= 1 fps=0.0 q=1.0 Lsize=N/A time=00:00:00.24 bitrate=N/A speed=1.03x
Conversion failed!



I've noticed that using an escape code '%%' for the '%' character, as suggested for similar issues, resolves the problem :


ffmpeg -i video.mp4 -qscale:v 1 -qmin 1 -qmax 1 -vsync 0 tmp_frames/frame%%08d.jpg



However, the same issue occurs even when the command is used within a drag&drop batch file :


setlocal enabledelayedexpansion

REM Check if an MP4 file was dragged onto the script
if "%~1"=="" (
 echo Drag an MP4 file onto this script to begin frame extraction.
 pause
 exit /b
)

REM Extract frames from the MP4 file
ffmpeg -i "%~1" -qscale:v 1 -qmin 1 -qmax 1 -vsync 0 temp_frames/frame%%08d.jpg

echo Extraction complete.
pause



This is essentially the same code, but it doesn't work as expected within the batch file. Can anyone provide insight into why this issue is occurring and how to resolve it within the batch file context ?