Recherche avancée

Médias (91)

Autres articles (101)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (8591)

  • Transparent PNG to WEBM

    5 avril 2018, par Dan

    I am trying to make a partially transparent video for a Unity application, however, I can’t seem to get my commands to retain the alpha of the PNGs. Instead, it just makes the transparent parts white.

    Currently the command I am using is

    ffmpeg -r 30 -f image2 -s 2048x2048 -i frames%04d.png -vcodec vp8 -crf 63 -b:v 0 -pix_fmt yuva420p -auto-alt-ref 0 vid/output.webm

    Whilst I am aware I could try the VP9 codec, AFAIK, this is not supported in Unity 2017.2, so I have to stick to VP8

    The output this gives is

    D:\development\batch - Copy>ffmpeg -r 30 -f image2 -s 2048x2048 -i frames%04d.png -vcodec vp8 -crf 63 -b:v 0 -pix_fmt yuva420p -auto-alt-ref 0 vid/output.webm
    ffmpeg version N-90315-gf706cdda56 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7.3.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --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-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
     libavutil      56.  9.100 / 56.  9.100
     libavcodec     58. 14.100 / 58. 14.100
     libavformat    58. 10.100 / 58. 10.100
     libavdevice    58.  2.100 / 58.  2.100
     libavfilter     7. 13.100 /  7. 13.100
     libswscale      5.  0.102 /  5.  0.102
     libswresample   3.  0.101 /  3.  0.101
     libpostproc    55.  0.100 / 55.  0.100
    Input #0, image2, from 'frames%04d.png':
     Duration: 00:00:03.50, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: png, pal8(pc), 2048x2048, 30 fps, 30 tbr, 30 tbn, 30 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (png (native) -> vp8 (libvpx))
    Press [q] to stop, [?] for help
    [libvpx @ 00000209d9a6e680] v1.7.0
    Output #0, webm, to 'vid/output.webm':
     Metadata:
       encoder         : Lavf58.10.100
       Stream #0:0: Video: vp8 (libvpx), yuva420p, 2048x2048, q=-1--1, 30 fps, 1k tbn, 30 tbc
       Metadata:
         encoder         : Lavc58.14.100 libvpx
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    frame=  105 fps=4.1 q=0.0 Lsize=     144kB time=00:00:03.46 bitrate= 339.6kbits/s speed=0.134x
    video:94kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 52.357399%
  • AWS Lambda - ffmpeg erroneously outputs distorted/clipped mp3

    23 mars 2018, par Eric Amshukov

    How do I get an mp3 output without any distortion using ffmpeg ?

    I am utilizing ffmpeg on AWS Lambda linux using the static build provided by https://www.johnvansickle.com/ffmpeg/ (x86_64 build).

    After running the following command, the mp3 output has terrible clipping/distortion.

    ffmpeg -loglevel verbose -ss 0 -t 30 -y -i /tmp/ick_20180323005225.wav -codec:a libmp3lame -qscale:a 7 /tmp/ick_20180323005225-opa.mp3

    Edit : here is the sample file that I used :

    http://www.brainybetty.com/FacebookFans/Feb112010/strings.wav

    Here is the log coming from Lambda :

    Executing command '/tmp/ffmpeg -loglevel verbose -ss 0 -t 30 -y -i /tmp/ick_20180323005225.wav -codec:a libmp3lame -qscale:a 7 /tmp/ick_20180323005225-opa.mp3' ...
    STDERR:
    ffmpeg version 3.4.2-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2018 the FFmpeg developers
    built with gcc 6.3.0 (Debian 6.3.0-18) 20170516
    configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libfribidi --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enab
    libavutil 55. 78.100 / 55. 78.100
    libavcodec 57.107.100 / 57.107.100
    libavformat 57. 83.100 / 57. 83.100
    libavdevice 57. 10.100 / 57. 10.100
    libavfilter 6.107.100 / 6.107.100
    libswscale 4. 8.100 / 4. 8.100
    libswresample 2. 9.100 / 2. 9.100
    libpostproc 54. 7.100 / 54. 7.100
    [wav @ 0x4bbdf40] parser not found for codec pcm_s16le, packets or times may be invalid.
    Guessed Channel Layout for Input Stream #0.0 : stereo
    Input #0, wav, from '/tmp/ick_20180323005225.wav':
    Duration: 00:00:05.00, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
    Stream mapping:
    Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame))
    Press [q] to stop, [?] for help
    [graph_0_in_0_0 @ 0x4bc64e0] tb:1/44100 samplefmt:s16 samplerate:44100 chlayout:0x3
    [format_out_0_0 @ 0x4bc6360] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_0'
    [auto_resampler_0 @ 0x4bd2ee0] ch:2 chl:stereo fmt:s16 r:44100Hz -> ch:2 chl:stereo fmt:s16p r:44100Hz
    Output #0, mp3, to '/tmp/ick_20180323005225-opa.mp3':
    Metadata:
    TSSE : Lavf57.83.100
    Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p, delay 1105
    Metadata:
    encoder : Lavc57.107.100 libmp3lame
    size= 11kB time=00:00:00.73 bitrate= 119.5kbits/s speed=1.41x
    size= 23kB time=00:00:01.67 bitrate= 114.5kbits/s speed=1.61x
    size= 36kB time=00:00:02.61 bitrate= 113.4kbits/s speed=1.65x
    size= 48kB time=00:00:03.55 bitrate= 111.0kbits/s speed=1.69x
    size= 60kB time=00:00:04.46 bitrate= 109.6kbits/s speed=1.71x
    No more output streams to write to, finishing.
    size= 67kB time=00:00:05.01 bitrate= 108.9kbits/s speed=1.75x
    video:0kB audio:66kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.371917%
    Input file #0 (/tmp/ick_20180323005225.wav):
    Input stream #0:0 (audio): 216 packets read (881988 bytes); 216 frames decoded (220497 samples);
    Total: 216 packets (881988 bytes) demuxed
    Output file #0 (/tmp/ick_20180323005225-opa.mp3):
    Output stream #0:0 (audio): 192 frames encoded (220497 samples); 193 packets muxed (68026 bytes);
    Total: 193 packets (68026 bytes) muxed
    Executed command '/tmp/ffmpeg -loglevel verbose -ss 0 -t 30 -y -i /tmp/ick_20180323005225.wav -codec:a libmp3lame -qscale:a 7 /tmp/ick_20180323005225-opa.mp3' with code: 0.
  • ffmpeg Unrecognized option 'var_stream_map'

    3 août 2022, par 陈永林

    I try :

    



    ffmpeg -re -i ./2898654.mp4 -b:a:0 32k -b:a:1 64k -b:v:0 1000k -b:v:1 3000k  \
  -map 0:a -map 0:a -map 0:v -map 0:v -f hls \
  -var_stream_map "a:0,agroup:aud_low a:1,agroup:aud_high v:0,agroup:aud_low v:1,agroup:aud_high" \
  -master_pl_name master.m3u8 \
  ./out_%v.m3u8


    



    error info :

    



    ffmpeg version 3.4.2-1~16.04.york0.2 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
  configuration: --prefix=/usr --extra-version='1~16.04.york0.2' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Unrecognized option 'var_stream_map'.
Error splitting the argument list: Option not found