Recherche avancée

Médias (91)

Autres articles (67)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (4464)

  • FFMPEG Kit issue in Banuba Video SDK : "FFmpegKit failed to start on brand"

    10 mai 2023, par Vivek Makwana

    I am trying to integrate Banuba Video Editor sdk in flutter.

    


    The issue i am facing is as below

    


    Banuba sdk works with native code for Android in Flutter

    


    So Banuba requires FFMPEG dependency to define in Native Android

    


    And I am already using 'ffmpeg_kit_flutter' plugin for flutter.

    


    So both the FFMPEG kits are conflicted and some of the functions are not found. due to that I am receiving the below error.

    


    When the app is launched I am receiving this Crash as mentioned

    


    **java.lang.Error: FFmpegKit failed to start on brand: google, model: sdk_gphone_x86, device: generic_x86_arm, api level: 30, abis: x86 armeabi-v7a armeabi, 32bit abis: x86 armeabi-v7a armeabi, 64bit abis: .&#xA;**  at com.arthenica.ffmpegkit.NativeLoader.loadLibrary(NativeLoader.java:50)&#xA;    at com.arthenica.ffmpegkit.NativeLoader.loadFFmpegKit(NativeLoader.java:189)&#xA;    at com.arthenica.ffmpegkit.FFmpegKitConfig.<clinit>(FFmpegKitConfig.java:145)&#xA;    at com.arthenica.ffmpegkit.FFmpegKitConfig.enableFFmpegSessionCompleteCallback(FFmpegKitConfig.java:864)&#xA;    at com.arthenica.ffmpegkit.flutter.FFmpegKitFlutterPlugin.registerGlobalCallbacks(FFmpegKitFlutterPlugin.java:168)&#xA;    at com.arthenica.ffmpegkit.flutter.FFmpegKitFlutterPlugin.init(FFmpegKitFlutterPlugin.java:652)&#xA;    at com.arthenica.ffmpegkit.flutter.FFmpegKitFlutterPlugin.onAttachedToActivity(FFmpegKitFlutterPlugin.java:198)&#xA;    at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.attachToActivityInternal(FlutterEngineConnectionRegistry.java:351)&#xA;    at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.attachToActivity(FlutterEngineConnectionRegistry.java:324)&#xA;    at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onAttach(FlutterActivityAndFragmentDelegate.java:194)&#xA;    at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:498)&#xA;    at com.sound.it.MainActivity.onCreate(MainActivity.kt:43)&#xA;    at android.app.Activity.performCreate(Activity.java:8000)&#xA;    at android.app.Activity.performCreate(Activity.java:7984)&#xA;    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)&#xA;    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3422)&#xA;    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601)&#xA;    at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)&#xA;    at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)&#xA;    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)&#xA;    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)&#xA;    at android.os.Handler.dispatchMessage(Handler.java:106)&#xA;    at android.os.Looper.loop(Looper.java:223)&#xA;    at android.app.ActivityThread.main(ActivityThread.java:7656)&#xA;    at java.lang.reflect.Method.invoke(Native Method)&#xA;    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)&#xA;    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)&#xA;**Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "av_log_default_callback" referenced by "/data/app/~~umF3qlB9U53L4peU9nKYuQ==/com.sound.it-agqiFlNmMe17AHMK5gYIHw==/lib/x86/libffmpegkit.so"...**&#xA;    at java.lang.Runtime.loadLibrary0(Runtime.java:1087)&#xA;    at java.lang.Runtime.loadLibrary0(Runtime.java:1008)&#xA;    at java.lang.System.loadLibrary(System.java:1664)&#xA;    at com.arthenica.ffmpegkit.NativeLoader.loadLibrary(NativeLoader.java:48)&#xA;</clinit>

    &#xA;

    Looking for the solutions

    &#xA;

  • Using ffmpeg to read mp4 file from stdin and extract image is failing with "Invalid data found when processing input"

    16 mars 2023, par jsindos

    Using ffmpeg, I'm trying to read an mp4 file from stdin, and save the last frame of the file to jpg.

    &#xA;

    cat PXL_20221118_051057924.TS.mp4 | ffmpeg -sseof -3 -i - -f mp4 -update 1 -q:v 1 last.jpg&#xA;

    &#xA;

    The command works fine when not running from stdin.

    &#xA;

    When running from stdin, an empty file is created, with the following error message :

    &#xA;

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fcb4d0041c0] stream 1, offset 0x2eaee0d: partial file&#xA;pipe:: Invalid data found when processing input&#xA;

    &#xA;

    I've posted the full output below.

    &#xA;

    &#xA;

    ffmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg developers&#xA;  built with Apple clang version 14.0.0 (clang-1400.0.29.202)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/5.1.2_5 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox&#xA;  libavutil      57. 28.100 / 57. 28.100&#xA;  libavcodec     59. 37.100 / 59. 37.100&#xA;  libavformat    59. 27.100 / 59. 27.100&#xA;  libavdevice    59.  7.100 / 59.  7.100&#xA;  libavfilter     8. 44.100 /  8. 44.100&#xA;  libswscale      6.  7.100 /  6.  7.100&#xA;  libswresample   4.  7.100 /  4.  7.100&#xA;  libpostproc    56.  6.100 / 56.  6.100&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fcb4d0041c0] stream 2, offset 0x2c: partial file&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;pipe:&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 131072&#xA;    compatible_brands: isomiso2mp41&#xA;    creation_time   : 2022-11-18T05:11:23.000000Z&#xA;    com.android.capture.fps: 30.000000&#xA;  Duration: 00:00:23.74, start: 0.000000, bitrate: N/A&#xA;  Stream #0:0[0x1](eng): Data: none (mett / 0x7474656D), 45 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2022-11-18T05:11:23.000000Z&#xA;      handler_name    : MetaHandle&#xA;  Stream #0:1[0x2](eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2022-11-18T05:11:23.000000Z&#xA;      handler_name    : SoundHandle&#xA;      vendor_id       : [0][0][0][0]&#xA;  Stream #0:2[0x3](eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 1920x1080, 19524 kb/s, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 90k tbn (default)&#xA;    Metadata:&#xA;      creation_time   : 2022-11-18T05:11:23.000000Z&#xA;      handler_name    : VideoHandle&#xA;      vendor_id       : [0][0][0][0]&#xA;    Side data:&#xA;      displaymatrix: rotation of -90.00 degrees&#xA;  Stream #0:3[0x4](eng): Data: none (mett / 0x7474656D) (default)&#xA;    Metadata:&#xA;      creation_time   : 2022-11-18T05:11:23.000000Z&#xA;      handler_name    : MetaHandle&#xA;Stream mapping:&#xA;  Stream #0:2 -> #0:0 (hevc (native) -> h264 (libx264))&#xA;  Stream #0:1 -> #0:1 (aac (native) -> aac (native))&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fcb4d0041c0] stream 1, offset 0x2eaee0d: partial file&#xA;pipe:: Invalid data found when processing input&#xA;[libx264 @ 0x7fcb4d10b500] -qscale is ignored, -crf is recommended.&#xA;[libx264 @ 0x7fcb4d10b500] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 0x7fcb4d10b500] profile High, level 4.0, 4:2:0, 8-bit&#xA;[libx264 @ 0x7fcb4d10b500] 264 - core 164 r3095 baee400 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA;Output #0, mp4, to &#x27;/Users/josephtsindos/Downloads/last2.jpg&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 131072&#xA;    compatible_brands: isomiso2mp41&#xA;    com.android.capture.fps: 30.000000&#xA;    encoder         : Lavf59.27.100&#xA;  Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuvj420p(pc), 1080x1920, q=2-31, 30 fps, 15360 tbn (default)&#xA;    Metadata:&#xA;      creation_time   : 2022-11-18T05:11:23.000000Z&#xA;      handler_name    : VideoHandle&#xA;      vendor_id       : [0][0][0][0]&#xA;      encoder         : Lavc59.37.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A&#xA;      displaymatrix: rotation of -0.00 degrees&#xA;  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2022-11-18T05:11:23.000000Z&#xA;      handler_name    : SoundHandle&#xA;      vendor_id       : [0][0][0][0]&#xA;      encoder         : Lavc59.37.100 aac&#xA;frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    &#xA;video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown&#xA;[aac @ 0x7fcb4d10c840] Qavg: nan&#xA;

    &#xA;

  • Is there a way to cut movement "dead air" on a screen recording ? [closed]

    16 mai 2023, par Raelbe

    I have got a couple of screen recordings of a painting I've done, and I've managed to concat the files together.

    &#xA;

    Unfortunately, there is a lot of "dead air" in the video (where I have left my desk, so there is no movement happening on screen) is there a way to cut out this down time ?

    &#xA;

    I found an example that another artist uses for his screen recordings, so I plugged it in with my file directory's. This is what I used :

    &#xA;

    .\ffmpeg -f concat -safe 0 -i "merge.txt" -vf npdecimate=hi=64*12:lo=64*5:frac=0.33,seipts=N/30/TB,"setpts=0.25*PTS" -r 30 -crf 30 -an Illu_Test.mp4&#xA;

    &#xA;

    I got this error message at the end :

    &#xA;

    [AVFilterGraph @ 000001cadfe5b1c0] No option name near &#x27;N/30/TB&#x27;&#xA;[AVFilterGraph @ 000001cadfe5b1c0] Error parsing a filter description around: ,setpts=0.25*PTS&#xA;[AVFilterGraph @ 000001cadfe5b1c0] Error parsing filterchain &#x27;npdecimate=hi=64*12:lo=64*5:frac=0.33,seipts=N/30/TB,setpts=0.25*PTS&#x27; around: ,setpts=0.25*PTS&#xA;Error reinitializing filters!&#xA;Failed to inject frame into filter network: Invalid argument&#xA;Error while processing the decoded data for stream #0:0`&#xA;

    &#xA;

    So I chopped it up a bit and this is what I used to concat the files and it worked perfectly.

    &#xA;

    .\ffmpeg -f concat -safe 0 -i "merge.txt" -crf 30 -an Illu_Test.mp4&#xA;

    &#xA;

    Now, I'm looking to cut out the seconds of no movement. I'm unsure what the -crf command does (as stated I am brand new to this) OG artist states that :

    &#xA;

    "This is the tolerance level that determines whether there has been enough change between frames or not to be considered as detected motion."

    &#xA;

    Any help would be appreciated.

    &#xA;

    (Apologies if the format of this question is wrong)

    &#xA;