Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (96)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (13209)

  • 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


    


  • Converting mp4 file downloaded via youtube-dl from periscope by using ffmpeg gives error

    20 mars 2018, par MonsterMMORPG

    This is command i have used to download from periscope by using latest youtube-dl

    youtube-dl -v periscopeurl

    Then i am running this command to convert it to a proper MP4

    ffmpeg -i gg.mp4 -c:v libx264 -preset veryslow -crf 18 -c:a aac -b:a 192k -pix_fmt yuv420p gg2.mp4

    I am using latest youtube-dl and ffmpeg

    The error i am getting is shown below

    So how can i fix this error ? The file can not be played properly on k lite mega codec player but it can be played on vlc player however can not go to any specific time etc. so it really needs to be properly re-encoded

    C:\temp>ffmpeg -i gg.mp4 -c:v libx264 -preset veryslow -crf 18 -c:a aac -b:a 192k -pix_fmt yuv420p gg2.mp4
    ffmpeg version N-90378-ge4eaaf7bf6 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-libmp3l
    ame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-li
    bvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-l
    ibvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enabl
    e-avisynth
     libavutil      56. 11.100 / 56. 11.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, mov,mp4,m4a,3gp,3g2,mj2, from 'gg.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.10.100
     Duration: 00:56:45.15, start: 0.000000, bitrate: 174 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 320x568, 130 kb/s, 23.97 fps, 24 tbr, 90k tbn, 180k tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 35 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
     Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    [libx264 @ 00000009eda7ce00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 00000009eda7ce00] profile High, level 3.1
    [libx264 @ 00000009eda7ce00] 264 - core 155 r2901 7d0ff22 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=16 deblock=1:0:0 analyse=0x3:0x133 me
    =umh subme=10 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=24 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 d
    ecimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=8 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=24 scenecut=40 intra_refresh=0 rc_look
    ahead=60 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Too many packets buffered for output stream 0:0.577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A
    [libx264 @ 00000009eda7ce00] frame I:1     Avg QP:19.87  size: 30456
    [libx264 @ 00000009eda7ce00] frame P:36    Avg QP:19.68  size:  8765
    [libx264 @ 00000009eda7ce00] frame B:92    Avg QP:25.27  size:  1149
    [libx264 @ 00000009eda7ce00] consecutive B-frames:  0.8% 10.7%  0.0% 88.5%  0.0%  0.0%  0.0%  0.0%  0.0%
    [libx264 @ 00000009eda7ce00] mb I  I16..4:  8.3% 10.7% 81.0%
    [libx264 @ 00000009eda7ce00] mb P  I16..4:  0.9%  1.5%  1.0%  P16..4: 38.8% 16.4% 11.7%  3.1%  1.3%    skip:25.3%
    [libx264 @ 00000009eda7ce00] mb B  I16..4:  0.1%  0.1%  0.1%  B16..8: 21.5%  4.6%  2.1%  direct: 2.7%  skip:68.9%  L0:41.2% L1:45.6% BI:13.2%
    [libx264 @ 00000009eda7ce00] 8x8 transform intra:28.6% inter:10.9%
    [libx264 @ 00000009eda7ce00] direct mvs  spatial:93.5% temporal:6.5%
    [libx264 @ 00000009eda7ce00] coded y,uvDC,uvAC intra: 74.0% 65.1% 38.7% inter: 15.2% 8.0% 2.9%
    [libx264 @ 00000009eda7ce00] i16 v,h,dc,p: 49% 20% 23%  7%
    [libx264 @ 00000009eda7ce00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 12% 33%  3%  5%  5%  5%  5%  7%
    [libx264 @ 00000009eda7ce00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 14% 10%  7%  9%  9% 11%  8% 11%
    [libx264 @ 00000009eda7ce00] i8c dc,h,v,p: 37% 24% 29% 10%
    [libx264 @ 00000009eda7ce00] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 00000009eda7ce00] ref P L0: 73.3%  6.3% 11.1%  1.8%  1.7%  1.2%  1.0%  0.5%  0.5%  0.4%  0.4%  0.4%  0.4%  0.4%  0.4%  0.3%
    [libx264 @ 00000009eda7ce00] ref B L0: 94.0%  3.8%  0.9%  0.3%  0.2%  0.2%  0.2%  0.1%  0.1%  0.1%  0.0%  0.0%  0.0%  0.0%  0.0%
    [libx264 @ 00000009eda7ce00] ref B L1: 97.7%  2.3%
    [libx264 @ 00000009eda7ce00] kb/s:672.35
    Conversion failed!

    C:\temp>