Recherche avancée

Médias (91)

Autres articles (59)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (11359)

  • ffmpeg complex filtering : how to get around

    19 janvier 2020, par Melvin Roest

    Alright, I have my own compiled ffmpeg with --enable-lv2. This allows for 3rd-party plugins to work. The plugin I use is : https://github.com/lucianodato/speech-denoiser it’s a plugin that wraps around this RNN noise reduction library : https://github.com/GregorR/rnnoise-models

    The following commands work :

    (1) ffmpeg -i input.mov -filter_complex '[0:a]lv2=plugin=https\\://github.com/lucianodato/speech-denoiser[audio]' -map "[audio]" output.wav

    (2) ffmpeg -i input.mov -filter_complex '[0:v]copy[video]' -map "[video]" output.mov

    But when I do the combination, that doesn’t work.

    ffmpeg -i input.mov -filter_complex '[0:a]lv2=plugin=https\\://github.com/lucianodato/speech-denoiser[audio];[0:v]copy[video]' -map "[audio]" -map "[video]" output.mov

    I think the error is essentially this :

    Channel layout change is not supported
    Error while filtering: Not yet implemented in FFmpeg, patches welcome
    Failed to inject frame into filter network: Not yet implemented in FFmpeg, patches welcome
    Error while processing the decoded data for stream #0:0

    My guess : this 3rd-party filter is not configure to work with any other output stream other than audio.

    My question : can I somehow trick this 3rd-party plugin that it is outputting to an audio file, while still outputting everything to a video file ?

    Note : I know, I can simply split this up in 2 commands and be done with it, so I’m wondering if I can accomplish this via one ffmpeg command. How I would split it up in 2 commands is as follows :

    ffmpeg -i out_cropped.mov -af 'lv2=plugin=https\\://github.com/lucianodato/speech-denoiser' -vcodec copy out_cropped_denoised.wav

    &&

    ffmpeg -i out_cropped.mov -i out_cropped_denoised.wav -c:v copy -map 0:v:0 -map 1:a:0 out_cropped_denoised.mov

    But I want to be able to put it all in one complex filter (ideally) or at least in one ffmpeg command.

    Appendix : here is the full interaction

    ffmpeg -i input.mov -filter_complex '[0:a]lv2=plugin=https\\://github.com/lucianodato/speech-denoiser[audio];[0:v]copy[video]' -map "[audio]" -map "[video]" output.mov
    ffmpeg version N-95577-g68f623d644 Copyright (c) 2000-2019 the FFmpeg developers
     built with Apple clang version 11.0.0 (clang-1100.0.33.8)
     configuration: --prefix=/usr/local --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libopus --enable-libxvid --enable-lv2 --samples=fate-suite/
     libavutil      56. 35.101 / 56. 35.101
     libavcodec     58. 60.100 / 58. 60.100
     libavformat    58. 33.100 / 58. 33.100
     libavdevice    58.  9.100 / 58.  9.100
     libavfilter     7. 65.100 /  7. 65.100
     libswscale      5.  6.100 /  5.  6.100
     libswresample   3.  6.100 /  3.  6.100
     libpostproc    55.  6.100 / 55.  6.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mov':
     Metadata:
       major_brand     : qt
       minor_version   : 512
       compatible_brands: qt
       encoder         : Lavf58.29.100
     Duration: 00:16:19.11, start: 0.000000, bitrate: 1341 kb/s
       Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1080x960, 1262 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
       Metadata:
         handler_name    : Core Media Video
         encoder         : Lavc58.54.100 libx264
       Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 69 kb/s (default)
       Metadata:
         handler_name    : Core Media Audio
    File 'output.mov' already exists. Overwrite? [y/N] y

    #ote : I typed yes and then this came.

    Stream mapping:
     Stream #0:0 (h264) -> copy
     Stream #0:1 (aac) -> lv2
     lv2 -> Stream #0:0 (aac)
     copy -> Stream #0:1 (libx264)
    Press [q] to stop, [?] for help
    [out_0_0 @ 0x7fa6811066c0] Channel layout change is not supported
    Error while filtering: Not yet implemented in FFmpeg, patches welcome
    Failed to inject frame into filter network: Not yet implemented in FFmpeg, patches welcome
    Error while processing the decoded data for stream #0:0
  • How to exclude night images to be passed for ffmpeg ?

    4 novembre 2019, par LA_

    My files have the following filenames -

    YYYYMMDDHHmmSS.jpg

    I pass them to ffmpeg (on MacOS) for timelapse creation :

    ffmpeg -framerate 500 -pattern_type glob -i '*.jpg' -c:v libx264 -pix_fmt yuv420p out.mp4

    Now I would like to exclude night photos, for ex., if filename is between YYYYMMDD200000.jpg and YYYYMMDD080000.jpg, then files shouldn’t be passed to ffmpeg.

    How could I achieve that (ideally - without moving files) ?

    Upd. Using the following command now, but it captures the following hours only : 10-19.

    ffmpeg -framerate 500 -pattern_type glob -i '2019[01][089][012][0123456789]1*.jpg' -c:v libx264 -pix_fmt yuv420p out3.mp4
  • How to concatenate two or more videos with same width and different height in FFMpeg and to maintain the same aspect ratio ?

    25 octobre 2019, par Aarwil

    I have five video parts to concat all. Each five videos are in the same width and height. The second part is the hstack of another 2 videos and the third part is the hstack and vstack of another 3 videos. While concat all the five video parts the aspect ratio is not maintaining in the final video. Since I am new to ffmpeg help me to sort out the problem

    I have tried with the command in my final with filter complex and to reduce the size I used frame per second.

    "ffmpeg -i
    final.mp4 -vf scale=1280:480 -filter:v fps=fps=30 finalNew.mp4"

    but nothing worked.
    Also help me to use hstack with scaling, to maintain the aspect ratio for the second part on below command

    Command : ffmpeg -i vid1.mkv -i vid2.mkv -filter_complex "[0:v]scale=-1:480[v0] ;[0:v][1:v]hstack=inputs=2"vid3.mkv

    Images

    second part

    third part

    videochunks

    I have console the info of my video

    ffmpeg -i part1.mkv -i part2.mkv -i part3.mkv -i part4.mkv -i part5.mkv
    ffmpeg version N-94911-g197985c5bf Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 9.1.1 (GCC) 20190807
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
     libavutil      56. 35.100 / 56. 35.100
     libavcodec     58. 56.101 / 58. 56.101
     libavformat    58. 32.104 / 58. 32.104
     libavdevice    58.  9.100 / 58.  9.100
     libavfilter     7. 58.102 /  7. 58.102
     libswscale      5.  6.100 /  5.  6.100
     libswresample   3.  6.100 /  3.  6.100
     libpostproc    55.  6.100 / 55.  6.100
    Input #0, matroska,webm, from 'part1.mkv':
     Metadata:
       ENCODER         : Lavf58.32.104
     Duration: 00:00:44.00, start: 0.000000, bitrate: 189 kb/s
       Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 640x480 [SAR 9:16 DAR 3:4], 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
       Metadata:
         title           : Video
         ENCODER         : Lavc58.56.101 libx264
         DURATION        : 00:00:44.000000000
    Input #1, matroska,webm, from 'part2.mkv':
     Metadata:
       ENCODER         : Lavf58.32.104
     Duration: 00:01:22.07, start: 0.000000, bitrate: 113 kb/s
       Stream #1:0: Video: h264 (High), yuv420p(progressive), 640x240 [SAR 9:16 DAR 3:2], 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
       Metadata:
         ENCODER         : Lavc58.56.101 libx264
         DURATION        : 00:01:22.066000000
    Input #2, matroska,webm, from 'part3.mkv':
     Metadata:
       ENCODER         : Lavf58.32.104
     Duration: 00:00:42.03, start: 0.000000, bitrate: 405 kb/s
       Stream #2:0: Video: h264 (High), yuv420p(progressive), 640x720 [SAR 9:16 DAR 1:2], 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
       Metadata:
         ENCODER         : Lavc58.56.101 libx264
         DURATION        : 00:00:42.033000000
    Input #3, matroska,webm, from 'part4.mkv':
     Metadata:
       ENCODER         : Lavf58.32.104
     Duration: 00:00:21.00, start: 0.000000, bitrate: 298 kb/s
       Stream #3:0: Video: h264 (High), yuv420p(progressive), 640x240 [SAR 9:16 DAR 3:2], 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
       Metadata:
         ENCODER         : Lavc58.56.101 libx264
         DURATION        : 00:00:21.000000000
    Input #4, matroska,webm, from 'part5.mkv':
     Metadata:
       ENCODER         : Lavf58.32.104
     Duration: 00:00:16.00, start: 0.000000, bitrate: 169 kb/s
       Stream #4:0(eng): Video: h264 (High), yuv420p(progressive), 640x480 [SAR 9:16 DAR 3:4], 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
       Metadata:
         title           : Video
         ENCODER         : Lavc58.56.101 libx264
         DURATION        : 00:00:16.000000000