Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (102)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    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 avril 2011, par

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

Sur d’autres sites (10437)

  • Revision 35042 : Un truc qui trainait

    9 février 2010, par kent1@… — Log

    Un truc qui trainait

  • FFMPEG creates an empty gif when the start time (-ss) of the video is over 9 seconds ?

    30 décembre 2020, par blablubla12

    I'm running this command in node.js

    


    function CreateGif() {
    return new Promise((resolve, reject) => {
      const ffmpeg = spawn(ffmpegPath, [
        '-ss',
        '00:00:10.000',
        '-i',
        target,
        '-i',
        overlayTarget,
        '-filter_complex',
        `[0:v]trim=duration=5,setpts=PTS-STARTPTS,scale=450:-1[trimmed];[trimmed]split[trimmed1][trimmed2];[trimmed2]reverse[rev];[trimmed1][rev]concat=n=2:v=1:a=0[v];[v][1:v]overlay=0:0:format=rgb[overlayed];[overlayed]split[a][b];[a]palettegen=stats_mode=diff[palette];[b][palette]paletteuse=bayer:bayer_scale=3.5[out]`,
        '-map',
        '[out]',
        '-y',
        tempPath
      ]);

      ffmpeg.stderr.setEncoding('utf8');
      ffmpeg.stderr.on('data', (data) => {
        console.log(data);
      });

      ffmpeg.on('close', function (code) {
        console.log('closed');
        resolve();
      });

      ffmpeg.on('error', function (err) {
        console.log(err);
        reject();
        throw new Error(err);
      });
    });
  }


    


    If the start time -ss is 00:00:09.000 or anything less than 10 seconds, then it creates the correct gif. However if I put 00:00:10.000 or anything above, it creates an empty gif (0 bytes). The same command works when I run it through cmd. FFMPEG version is ffmpeg version N-55112-g7eb9cf593e-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2020

    


    Note : The video (defined as target in the code) is 1:30 min long and overlayTarget is a png image.

    


  • ffmpeg is failed to concatanate two different resolution videos [duplicate]

    25 octobre 2020, par Ramesh Jangama

    I am trying to cancatanate two differen resolution videos. I am getting below error which I am getting confused. However same command is working fine if I give same input file twice for concatation.

    


    command :

    


    ffmpeg -i C:\Users\oem\Downloads\FFMpeg_practice\test4.mp4 -i C:\Users\oem\Downloads\FFMpeg_practice\test_out3.mp4 -y -filter_complex "[0:v] scale=iw/2:ih/2 [v0];[1:v] scale=iw/2:ih/2 [v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1 [v][a]" -preset superfast -crf  30  -ab  64k  -map  [v]  -map  [a]  C:\Users\oem\Downloads\FFMpeg_practice\diffmerge.mp4


    


    error :

    


    Stream specifier ':a' in filtergraph description [0:v] scale=iw/2:ih/2 [v0];[1:v] scale=iw/2:ih/2 [v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1 [v][a] matches no streams.


    


    output :

    


    C:\ffmpeg\bin>ffmpeg -i C:\Users\oem\Downloads\FFMpeg_practice\test4.mp4 -i C:\Users\oem\Downloads\FFMpeg_practice\test_out3.mp4 -y -filter_complex "[0:v] scale=iw/2:ih/2 [v0];[1:v] scale=iw/2:ih/2 [v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1 [v][a]" -preset superfast -crf  30  -ab  64k  -map  [v]  -map  [a]  C:\Users\oem\Downloads\FFMpeg_practice\diffmerge.mp4
ffmpeg version 2020-10-07-git-a086b73e1f-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10.2.0 (Rev3, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      56. 60.100 / 56. 60.100
  libavcodec     58.109.100 / 58.109.100
  libavformat    58. 61.100 / 58. 61.100
  libavdevice    58. 11.102 / 58. 11.102
  libavfilter     7. 87.100 /  7. 87.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\oem\Downloads\FFMpeg_practice\test4.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.61.100
    location-eng    : +51.5831-000.3438/
    location        : +51.5831-000.3438/
  Duration: 00:00:39.50, start: 0.000000, bitrate: 1439 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 540x960, 1304 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\oem\Downloads\FFMpeg_practice\test_out3.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.61.100
    comment         : vid:v09044820000brrhju8biap950rr41k0
  Duration: 00:00:30.73, start: 0.000000, bitrate: 1287 kb/s
    Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 288x512 [SAR 1:1 DAR 9:16], 281 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #1:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 288x512 [SAR 1:1 DAR 9:16], 243 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #1:2(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 576x1024 [SAR 1:1 DAR 9:16], 1018 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
    Metadata:
      handler_name    : VideoHandler
Stream specifier ':a' in filtergraph description [0:v] scale=iw/2:ih/2 [v0];[1:v] scale=iw/2:ih/2 [v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1 [v][a] matches no streams.