Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (52)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (8980)

  • ffmpeg (IMAGE THUMBNAIL 1 frame) how to "choose" compression quality when we use -vframes 1 (how to do like convert -quality 60....)

    25 juillet 2021, par jini

    • PRE-CONTEXT : with ImageMagick, I'm use to do convert -quality 60 1.jpg 1.webp here "quality 60" affect the final size of the output

    


    • CONTEXT : create a poster.webp OR poster.jpg of a movie.mp4

    


    • QUESTION : how can we "achieve" the same compression level choice with ffmpeg when we want 1 frame

    


    • WHAT I TRIED [1] :

    


    ffmpeg -i movie.mp4 -vframes 1 -qmin 0 -qmax 1  0.webp

    


    and ffmpeg -i movie.mp4 -vframes 1 -qmin 50 -qmax 51 50.webp

    


    ==>> both gives the exact same size for the output.

    


    • WHAT I TRIED [2] :

    


    ffmpeg -i movie.mp4 -vframes 1 -b:v 9k bv9k.webp

    


    and ffmpeg -i movie.mp4 -vframes 1 -b:v 1k bv1k.webp

    


    ==>> both gives the exact same size for the output.

    


    what I'm I missing or miss using here ?

    


    Thanks

    


  • Why does x264 keep giving me "command not found" error on my Mac ? [closed]

    2 juillet 2021, par hd-dvd

    I just installed x264 via Homebrew on my Mac running MacOS 11.4 Big Sur. I'm trying to encode a video but I can't get x264 to run properly.

    


    This is the command I am running in the Terminal :

    


    x264 --bitrate 25000 --preset veryslow --bluray-compat --tune film --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 30 --open-gop --slices 4 --fake-interlaced --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --pass 1 -o out.264 in.mp4

    


    and this is what it outputs :

    


    bash: x264 --bitrate 25000 --preset veryslow: command not found

    


    If I delete the --preset part then it just gets hung up on some other part, like --tune.

    


    I have tried brew doctor and there are no errors.

    


    If I just run x264 then it gives me x264 [error]: No input file. Run x264 --help for a list of options. so it seems as if x264 is installed. I don't know where to begin troubleshooting this but I'd like to get it to work.

    


    If I simplify the command way down to x264 -o out.264 in.mp4 then I get :

    


    avs [error]: failed to load avisynth
raw [error]: raw input requires a resolution.
x264 [error]: could not open input file `in.mp4' via any method!


    


    I would greatly appreciate some pointers on how to get this working.

    


  • FFMPEG, macOS Catalina : "ffmpeg stderr : /private/tmp/com.apple.launchd.ID/org.macosforge.xquartz:0 : Operation not supported on socket"

    11 février 2021, par Bogdan Slyusarenko

    I'm trying to record selenium test run with FFMPEG, for automation testing of web extensions (selenium+js/ts).
FFMPEG initiated by command :

    


        const { spawn } = require("child_process");
        ffmpeg = spawn("ffmpeg", [
          "-x265-params",
          "-f",
          "xcbgrab", 
          "-video_size",
          "1280x1024", 
          "-i",
          process.env.DISPLAY, // "/private/tmp/com.apple.launchd.ID/org.macosforge.xquartz:0"
          "-loglevel",
          "debug", 
          "-y", 
          "-pix_fmt",
          "yuv420p",
          videoPath, 
        ]);


    


    Return constantly error,related to process.DISPLAY, I'm not sure why it's so :

    


        ffmpeg stderr: /private/tmp/com.apple.launchd.W851FkeNXz/org.macosforge.xquartz:0: Operation not supported on socket


    


    Full debug login is :

    


    ffmpeg stderr: ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
ffmpeg stderr:   built with Apple clang version 12.0.0 (clang-1200.0.32.28)
ffmpeg stderr:   configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1_9 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --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-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack
ffmpeg stderr: libavutil      56. 51.100 / 56. 51.100
ffmpeg stderr:   libavcodec     58. 91.100 / 58. 91.100
ffmpeg stderr:   libavformat    58. 45.100 / 58. 45.100
ffmpeg stderr:   libavdevice    58. 10.100 / 58. 10.100
ffmpeg stderr:   libavfilter     7. 85.100 /  7. 85.100
ffmpeg stderr:   libavresample   4.  0.  0 /  4.  0.  0
ffmpeg stderr:   libswscale      5.  7.100 /  5.  7.100
ffmpeg stderr:   libswresample   3.  7.100 /  3.  7.100
ffmpeg stderr:   libpostproc    55.  7.100 / 55.  7.100
ffmpeg stderr: Splitting the commandline.
ffmpeg stderr: Reading option '-x265-params' ...
ffmpeg stderr: matched as AVOption 'x265-params' with argument '-f'.
ffmpeg stderr: Reading option 'xcbgrab' ...
ffmpeg stderr: matched as output url.
ffmpeg stderr: Reading option '-video_size' ...
ffmpeg stderr: matched as AVOption 'video_size' with argument '1280x1024'.
ffmpeg stderr: Reading option '-i' ... matched as input url with argument '/private/tmp/com.apple.launchd.W851FkeNXz/org.macosforge.xquartz:0'.
ffmpeg stderr: Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
ffmpeg stderr: Reading option '-y' ...
ffmpeg stderr: matched as option 'y' (overwrite output files) with argument '1'.
ffmpeg stderr: Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
ffmpeg stderr: Reading option '/Volumes/MacHD2/Upprojects/TEST/log/Checkout-Google.com-Search-on-Google.mp4' ... matched as output url.
ffmpeg stderr: Finished splitting the commandline.
ffmpeg stderr: Parsing a group of options: global .
ffmpeg stderr: Applying option loglevel (set logging level) with argument debug.
ffmpeg stderr: Applying option y (overwrite output files) with argument 1.
ffmpeg stderr: Successfully parsed a group of options.
ffmpeg stderr: Parsing a group of options: input url /private/tmp/com.apple.launchd.W851FkeNXz/org.macosforge.xquartz:0.
ffmpeg stderr: Successfully parsed a group of options.
ffmpeg stderr: Opening an input file: /private/tmp/com.apple.launchd.W851FkeNXz/org.macosforge.xquartz:0.
ffmpeg stderr: [NULL @ 0x7fcf80016800] Opening '/private/tmp/com.apple.launchd.W851FkeNXz/org.macosforge.xquartz:0' for reading
ffmpeg stderr: [file @ 0x7fcf7f507a00] Setting default whitelist 'file,crypto,data'
ffmpeg stderr: /private/tmp/com.apple.launchd.W851FkeNXz/org.macosforge.xquartz:0: Operation not supported on socket



    


    Any feedback appreciated