Recherche avancée

Médias (0)

Mot : - Tags -/images

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (22)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (5941)

  • Is it possible to add a custom thumbnail using ffmpeg to a .webm file

    23 août 2022, par Sai Chaithanya

    I would like to know if there are any ways to add a custom thumbnail to a .webm file using FFmpeg.

    


    I have tried the following commands using FFmpeg version : 4.2.7-0ubuntu0.1 (tried for both .png and .jpg images) :

    


    ffmpeg -i 'input.webm' -i 'thumbnail.jpg' -map 1 -map 0 -c copy -disposition:0 attached_pic 'output.webm'


    


    It results in an error :

    


    [webm @ 0x557ada774f80] Only VP8 or VP9 or AV1 video and Vorbis or Opus audio and WebVTT subtitles are supported for WebM.
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument


    


    Seems like the above command only works for .mp4 files.

    


    Are there any workarounds for .webm files ?

    


    Suggestions for achieving the same using other tools are welcome.

    


  • Add Codec using fluent ffmpeg without converting it

    3 juillet 2023, par Lucas Rodrigo

    Is there a way to add codec to my file without needing to convert it ? My file is already ogg at this point so I just need the opus codec.

    


    That's what I have :

    


    export async function addCodec(input: Readable, output: PassThrough) {
  return new Promise((resolve, reject) => {
    ffmpeg(input)
      .format("ogg")
      .audioCodec("libopus")
      .on("error", (err) => {
        error("An error occurred: " + err.message);
        reject(false);
      })
      .on("progress", (progress) => {})
      .on("end", (res) => {
        log("ON END", res);
        log("Processing finished !");
        resolve(true);
      })
      .writeToStream(output);
  });
}


    


    I've tried other libs like prism-media but it didn't work and also already tried removing the format() but it leads to an error.

    


  • ffmpeg motions not working properly while using multiple urls

    22 avril 2021, par al pacino

    I am trying to apply ffmpeg transitions but sometimes video gets concatenated without any transition. In the command below I have used input 1 which in present on derectory and second input is online video url. the output video got concatenated without distance transition -

    


    one example of distance transition command is below-

    


    ffmpeg -i video1.webm -i 'url2' -filter_complex '[0]scale=1280:720,settb=AVTB[v0];[1]scale=1280:720,settb=AVTB[v1];[v0][v1]xfade=transition=distance:duration=1:offset=9,format=yuv420p’ output_video.webm


    


    and log is below-

    


     ffmpeg version n4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --prefix= --prefix=/usr --disable-debug --disable-doc --disable-static --enable-cuda --enable-cuda-sdk --enable-cuvid --enable-libdrm --enable-ffplay --enable-gnutls --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libnpp --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopus --enable-libpulse --enable-sdl2 --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxvid --enable-nonfree --enable-nvenc --enable-omx --enable-openal --enable-opencl --enable-runtime-cpudetect --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-xlib
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Input #0, matroska,webm, from '/home/abc/xyz/887c28b7-8819-42d3-bb4f-95c44a72bce9.webm':
  Metadata:
    MINOR_VERSION   : 0
    COMPATIBLE_BRANDS: mp42mp41isomavc1
    MAJOR_BRAND     : mp42
    ENCODER         : Lavf58.45.100
  Duration: 00:00:21.03, start: -0.006000, bitrate: 346 kb/s
    Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv), 480x360, SAR 1:1 DAR 4:3, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      ENCODER         : Lavc58.91.100 libvpx-vp9
      DURATION        : 00:00:21.033000000
    Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp (default)
    Metadata:
      HANDLER_NAME    : L-SMASH Audio Handler
      ENCODER         : Lavc58.91.100 libopus
      DURATION        : 00:00:10.013000000
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'https://player.vimeo.com/external/521230771.sd.mp4?s=9ee7ac91c97713d955848e34deac37d6d03d76a8&profile_id=164':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41isomavc1
    creation_time   : 2021-03-09T03:42:34.000000Z
  Duration: 00:00:10.01, start: 0.000000, bitrate: 619 kb/s
    Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 640x360, 488 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc (default)
    Metadata:
      creation_time   : 2021-03-09T03:42:34.000000Z
      handler_name    : L-SMASH Video Handler
      encoder         : AVC Coding
    Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 125 kb/s (default)
    Metadata:
      creation_time   : 2021-03-09T03:42:34.000000Z
      handler_name    : L-SMASH Audio Handler
Stream mapping:
  Stream #0:0 (vp9) -> scale (graph 0)
  Stream #1:0 (h264) -> scale (graph 0)
  format (graph 0) -> Stream #0:0 (libvpx-vp9)
  Stream #0:1 -> #0:1 (opus (native) -> opus (libopus))
Press [q] to stop, [?] for help
[libopus @ 0x5597e87c5bc0] No bit rate set. Defaulting to 96000 bps.
[libvpx-vp9 @ 0x5597e87c46c0] v1.7.0
[libvpx-vp9 @ 0x5597e87c46c0] Neither bitrate nor constrained quality specified, using default CRF of 32
Output #0, webm, to '/home/abc/afcb26e1-9c7a-4065-be6e-d1a2940ee0d9.webm':
  Metadata:
    MINOR_VERSION   : 0
    COMPATIBLE_BRANDS: mp42mp41isomavc1
    MAJOR_BRAND     : mp42
    encoder         : Lavf58.45.100
    Stream #0:0: Video: vp9 (libvpx-vp9), yuv420p, 480x360 [SAR 1:1 DAR 4:3], q=-1--1, 30 fps, 1k tbn, 30 tbc (default)
    Metadata:
      encoder         : Lavc58.91.100 libvpx-vp9
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
    Stream #0:1: Audio: opus (libopus), 48000 Hz, stereo, flt, 96 kb/s (default)
    Metadata:
      HANDLER_NAME    : L-SMASH Audio Handler
      DURATION        : 00:00:10.013000000
      encoder         : Lavc58.91.100 libopus
frame=  858 fps= 44 q=0.0 Lsize=    1141kB time=00:00:29.00 bitrate= 322.2kbits/s speed=1.48x    
video:1130kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.861019%