Advanced search

Medias (91)

Other articles (55)

  • MediaSPIP version 0.1 Beta

    16 April 2011, by

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 April 2011, by

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 September 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 (...)

On other websites (7243)

  • Invalid file index 4 in filtergraph description

    24 December 2019, by Ashish Virani

    i try to create video editing app in android but can’t create video output in this ffmpeg command.

    -i /storage/emulated/0/MagicVideo_data/44_bhavishyavani/background_video.mp4 -loop 1 -t 7.94 -i /storage/emulated/0/MagicVideo_data/44_bhavishyavani/first.jpg -loop 1 -t 30 -i /storage/emulated/0/MagicVideo_data/44_bhavishyavani/black.jpg -i /storage/emulated/0/MagicVideo_data/watermark.png -filter_complex [1]split=2[color][alpha]; [color]crop=iw/2:ih:0:0[color]; [alpha]crop=iw/2:ih:iw/2:0[alpha]; [color][alpha]alphamerge[ovrly]; [0]scale=335:200[0_scalled]; [0]scale=720:-1[1_scalled]; [0]scale=335:200[3_scalled]; [4]scale=70:70[4_scalled]; [2:v][0_scalled]overlay=enable='between=(t,0,7.06)':x=377:y=110[new_bg1]; [new_bg1][1_scalled]overlay=enable='between=(t,7.06,7.94)':x=0:y=0[new_bg2]; [3:v][3_scalled]overlay=enable='between=(t,0,30)':x=377:y=110[new_bg3]; [new_bg2][new_bg3]concat=n=2:v=1:a=0,format=yuv420p[concatenated_video]; [concatenated_video][ovrly]overlay=0:0[base_video]; [base_video][4_scalled]overlay=enable='between(t,0,30)':x=(main_w-overlay_w-30):y=10 -t 30 -c:a copy -flags +global_header /storage/emulated/0/MagicVideo_data/20191224095135am.mp4

    Video File

    video file

    enter image description hereenter image description hereenter image description here

    Error: Invalid file index 4 in filtergraph description

    ffmpeg version n4.0-39-gda39990 Copyright (c) 2000-2018 the FFmpeg developers
         built with gcc 4.9.x (GCC) 20150123 (prerelease)
         configuration: --target-os=linux --cross-prefix=/root/bravobit/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/root/bravobit/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-ffprobe --enable-libopus --enable-libvorbis --enable-libfdk-aac --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-libvpx --enable-libass --enable-yasm --enable-pthreads --disable-debug --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-linux-perf --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --enable-nonfree --enable-network --enable-avresample --enable-avformat --enable-avcodec --enable-indev=lavfi --enable-hwaccels --enable-ffmpeg --enable-zlib --enable-gpl --enable-small --enable-nonfree --pkg-config=pkg-config --pkg-config-flags=--static --prefix=/root/bravobit/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/root/bravobit/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/root/bravobit/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-cxxflags=
         libavutil      56. 14.100 / 56. 14.100
         libavcodec     58. 18.100 / 58. 18.100
         libavformat    58. 12.100 / 58. 12.100
         libavdevice    58.  3.100 / 58.  3.100
         libavfilter     7. 16.100 /  7. 16.100
         libavresample   4.  0.  0 /  4.  0.  0
         libswscale      5.  1.100 /  5.  1.100
         libswresample   3.  1.100 /  3.  1.100
         libpostproc    55.  1.100 / 55.  1.100
       Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/MagicVideo_data/44_bhavishyavani/background_video.mp4':
         Metadata:
           major_brand     : isom
           minor_version   : 512
           compatible_brands: isomiso2avc1mp41
           encoder         : Lavf58.20.100
         Duration: 00:00:30.04, start: 0.000000, bitrate: 708 kb/s
           Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 1440x420, 574 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
           Metadata:
             handler_name    : ?Mainconcept Video Media Handler
           Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
           Metadata:
             handler_name    : #Mainconcept MP4 Sound Media Handler
       Input #1, image2, from '/storage/emulated/0/MagicVideo_data/44_bhavishyavani/first.jpg':
         Duration: 00:00:00.04, start: 0.000000, bitrate: 9715 kb/s
           Stream #1:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 720x420 [SAR 1:1 DAR 12:7], 25 fps, 25 tbr, 25 tbn, 25 tbc
       [mjpeg @ 0xeb66e680] EOI missing, emulating
       Input #2, image2, from '/storage/emulated/0/MagicVideo_data/44_bhavishyavani/black.jpg':
         Duration: 00:00:00.04, start: 0.000000, bitrate: 421 kb/s
           Stream #2:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 720x420 [SAR 1:1 DAR 12:7], 25 fps, 25 tbr, 25 tbn, 25 tbc
       Input #3, png_pipe, from '/storage/emulated/0/MagicVideo_data/watermark.png':
         Duration: N/A, bitrate: N/A
           Stream #3:0: Video: png, rgba(pc), 100x100, 25 tbr, 25 tbn, 25 tbc
       Invalid file index 4 in filtergraph description [1]split=2[color][alpha]; [color]crop=iw/2:ih:0:0[color]; [alpha]crop=iw/2:ih:iw/2:0[alpha]; [color][alpha]alphamerge[ovrly]; [0]scale=335:200[0_scalled]; [0]scale=720:-1[1_scalled]; [0]scale=335:200[3_scalled]; [4]scale=70:70[4_scalled]; [2:v][0_scalled]overlay=enable='between=(t,0,7.06)':x=377:y=110[new_bg1]; [new_bg1][1_scalled]overlay=enable='between=(t,7.06,7.94)':x=0:y=0[new_bg2]; [3:v][3_scalled]overlay=enable='between=(t,0,30)':x=377:y=110[new_bg3]; [new_bg2][new_bg3]concat=n=2:v=1:a=0,format=yuv420p[concatenated_video]; [concatenated_video][ovrly]overlay=0:0[base_video]; [base_video][4_scalled]overlay=enable='between(t,0,30)':x=(main_w-overlay_w-30):y=10.
  • How to yt-dlp extract youtube audio-only to 32-bit float 48000 .wav? [closed]

    28 April 2024, by Rowe Morehouse

    My use case: Extract just the audio from a youtube URL directly to a .wav at 32-bit float 48000.

    


    Preferably without any post process args or secondary passes or after-the-fact conversion or muxing.

    


    I want f32le, aka PCM_f32le, aka PCM 32-bit floating-point little-endian, which is supported by ffmpeg. Also want 48000 sample rate, as stated.

    


    Is this possible?

    


    My current command:

    


    yt-dlp -f bestaudio --extract-audio --audio-format wav --audio-quality 0


    


    What do I need to add to achieve my use case / job-to-be-done??

    


  • How easy is it to create a YouTube to MP3 application using yt-dlp and ffmpeg?

    26 June 2022, by fowlis

    I was thinking I could automate the process of downloading a video and converting it to mp3 (or other formats).
    
Instead of doing the process myself (which doesn't take that long and isn't too much hassle), which looks something like this:
    
• yt-dlp https://www.youtube.com/watch?v=dQw4w9WgXcQ
    
• wait for download then (find and) rename file to something simpler for next command
    
• ffmpeg -i video.mp4 video.mp3


    


    I thought I could turn it into a simple JS (or other language) program instead, where it:

    


      

    1. Asks for link and what format I want it in
    2. 


    3. Downloads the video
    4. 


    5. Renames it (not sure how easy this is)
    6. 


    7. Turns it into requested format
    8. 


    9. Opens file location
    10. 


    


    If something like this is possible, please let me know some things I should know since I've never written a windows app before, and some general guidance for how I could do this.

    
I apologise if questions like this aren't exactly allowed on this site, its my first time posting too.
    
Thanks in advance!