Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (79)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (12065)

  • FFmpeg - Buffer queue overflow, dropping - when combining 2 videos and using concat, hstack and trim

    23 août 2018, par Mayank

    I am trying to merge two videos using concat and hstack but getting buffer overflow error resulting in the one of the video getting paused for few seconds.

    I tried adding fifo and h264 video codec as suggested on this forum but the issue persists.

    Can someone please let me know the issue in this command ? Many thanks in advance.

    ffmpeg -i 1_a.opus -i 2_a.opus -i 1_v.mp4 -i 2_v_bars.mp4 -filter_complex "[1:a]adelay=15720|15720[a1]; [0:a][a1]amix; [3:v]trim=0:15.81,geq=0:128:128,fifo [silence]; [silence][3:v]concat,fifo [3_v_silence]; [3_v_silence][2:v]hstack,fifo" -vcodec libx264 -strict experimental -y out_fifo_h264_2.mp4

    Following is the output :

    ffmpeg version 4.0.2-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 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-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg
     libavutil      56. 14.100 / 56. 14.100
     libavcodec     58. 18.100 / 58. 18.100
     libavformat    58. 12.100 / 58. 12.100
     libavdevice    58.  3.100 / 58.  3.100
     libavfilter     7. 16.100 /  7. 16.100
     libswscale      5.  1.100 /  5.  1.100
     libswresample   3.  1.100 /  3.  1.100
     libpostproc    55.  1.100 / 55.  1.100
    Input #0, ogg, from '1_a.opus':
     Duration: 00:01:03.82, start: -0.020000, bitrate: 37 kb/s
       Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp
    Input #1, ogg, from '2_a.opus':
     Duration: 00:00:52.40, start: -0.020000, bitrate: 44 kb/s
       Stream #1:0: Audio: opus, 48000 Hz, stereo, fltp
    Input #2, mov,mp4,m4a,3gp,3g2,mj2, from '1_v.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.40.101
     Duration: 00:01:03.83, start: 0.000000, bitrate: 2313 kb/s
       Stream #2:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 2302 kb/s, 333 fps, 333 tbr, 10656 tbn, 666 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    Input #3, mov,mp4,m4a,3gp,3g2,mj2, from '2_v_bars.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.12.100
     Duration: 00:00:52.32, start: 0.000000, bitrate: 286 kb/s
       Stream #3:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 284 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    Stream mapping:
     Stream #0:0 (opus) -> amix:input0
     Stream #1:0 (opus) -> adelay
     Stream #2:0 (h264) -> hstack:input1
     Stream #3:0 (h264) -> trim
     Stream #3:0 (h264) -> concat:in1:v0
     amix -> Stream #0:0 (aac)
     fifo -> Stream #0:1 (libx264)
    Press [q] to stop, [?] for help
    [libx264 @ 0x50722c0] using SAR=1/1
    [libx264 @ 0x50722c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 SlowShuffle
    [libx264 @ 0x50722c0] profile High, level 3.1
    [libx264 @ 0x50722c0] 264 - core 155 r2901 7d0ff22 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to 'out_fifo_h264_2.mp4':
     Metadata:
       encoder         : Lavf58.12.100
       Stream #0:0: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
       Metadata:
         encoder         : Lavc58.18.100 aac
       Stream #0:1: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1280x480 [SAR 1:1 DAR 8:3], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
       Metadata:
         encoder         : Lavc58.18.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Past duration 0.924919 too large
    [Parsed_concat_5 @ 0x52e2e00] Buffer queue overflow, dropping.trate= 415.7kbits/s dup=0 drop=3349 speed=0.955x    
       Last message repeated 11 times
    [Parsed_concat_5 @ 0x52e2e00] Buffer queue overflow, dropping.trate= 394.0kbits/s dup=0 drop=3533 speed=0.962x    
       Last message repeated 11 times
    [Parsed_concat_5 @ 0x52e2e00] Buffer queue overflow, dropping.trate= 376.7kbits/s dup=0 drop=3698 speed=0.963x    
       Last message repeated 11 times
    [Parsed_concat_5 @ 0x52e2e00] Buffer queue overflow, dropping.trate= 362.1kbits/s dup=0 drop=3851 speed=0.96x    
       Last message repeated 12 times
    [Parsed_concat_5 @ 0x52e2e00] Buffer queue overflow, dropping.trate= 345.6kbits/s dup=0 drop=4033 speed=0.965x    
       Last message repeated 13 times
    [Parsed_concat_5 @ 0x52e2e00] Buffer queue overflow, dropping.trate= 331.0kbits/s dup=0 drop=4208 speed=0.969x    
       Last message repeated 12 times
    [Parsed_concat_5 @ 0x52e2e00] Buffer queue overflow, dropping.trate= 318.2kbits/s dup=0 drop=4381 speed=0.971x    
       Last message repeated 12 times
    [Parsed_concat_5 @ 0x52e2e00] Buffer queue overflow, dropping.trate= 305.8kbits/s dup=0 drop=4555 speed=0.974x    
       Last message repeated 12 times
    [Parsed_concat_5 @ 0x52e2e00] Buffer queue overflow, dropping.trate= 294.4kbits/s dup=0 drop=4733 speed=0.977x    
       Last message repeated 13 times
    [Parsed_concat_5 @ 0x52e2e00] Buffer queue overflow, dropping.trate= 283.7kbits/s dup=0 drop=4912 speed=0.98x    
       Last message repeated 12 times
    [Parsed_concat_5 @ 0x52e2e00] Buffer queue overflow, dropping.trate= 410.2kbits/s dup=0 drop=5094 speed=0.984x    
       Last message repeated 10 times
    frame= 1706 fps= 26 q=-1.0 Lsize=    4924kB time=00:01:08.16 bitrate= 591.8kbits/s dup=0 drop=21053 speed=1.02x    
    video:3914kB audio:958kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.061062%
    [aac @ 0x5040040] Qavg: 22388.959
    [libx264 @ 0x50722c0] frame I:7     Avg QP:15.90  size: 26657
    [libx264 @ 0x50722c0] frame P:502   Avg QP:19.36  size:  5413
    [libx264 @ 0x50722c0] frame B:1197  Avg QP:23.11  size:   922
    [libx264 @ 0x50722c0] consecutive B-frames:  5.2%  1.9%  5.5% 87.5%
    [libx264 @ 0x50722c0] mb I  I16..4: 26.8% 56.4% 16.7%
    [libx264 @ 0x50722c0] mb P  I16..4:  3.0%  2.8%  0.6%  P16..4: 21.6%  6.4%  3.2%  0.0%  0.0%    skip:62.3%
    [libx264 @ 0x50722c0] mb B  I16..4:  0.2%  0.1%  0.0%  B16..8: 18.8%  0.9%  0.1%  direct: 0.4%  skip:79.5%  L0:49.1% L1:48.8% BI: 2.1%
    [libx264 @ 0x50722c0] 8x8 transform intra:45.7% inter:70.7%
    [libx264 @ 0x50722c0] coded y,uvDC,uvAC intra: 39.5% 57.5% 22.6% inter: 4.2% 6.4% 0.2%
    [libx264 @ 0x50722c0] i16 v,h,dc,p: 22% 31% 19% 28%
    [libx264 @ 0x50722c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 23% 38%  2%  2%  2%  2%  3%  2%
    [libx264 @ 0x50722c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 29% 21%  2%  3%  4%  2%  3%  1%
    [libx264 @ 0x50722c0] i8c dc,h,v,p: 55% 23% 18%  5%
    [libx264 @ 0x50722c0] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x50722c0] ref P L0: 65.6% 12.4% 16.1%  5.9%
    [libx264 @ 0x50722c0] ref B L0: 85.0% 12.2%  2.7%
    [libx264 @ 0x50722c0] ref B L1: 95.4%  4.6%
    [libx264 @ 0x50722c0] kb/s:469.82
  • ffmpeg can't convert mp4 to mp3 Output file #0 does not contain any stream

    21 août 2018, par Golden Fingers

    I can’t convert mp4 file to mp3 via ffmpeg. I tried these commands but they are not working and show the same error :

    Output file #0 does not contain any stream

    These are the commands :

    ffmpeg -i input.mp4 -c copy  -f mpegts output.mp3

    ffmpeg -i input.mp4 -acodec libmp3lame output.mp3

    ffmpeg -i input.mp4 -vn -f mp3 -ab 192k output.mp3

    ffmpeg -i input.mp4 -vn -f wav - | \
          lame -V 3 - output.mp3

    Please help me.

    this is log -> ffmpeg -i input.mp4 -c copy -vn output.mp3

    ffmpeg version 2.8.8 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-28)
     configuration: --disable-static --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-libmp3lame --enable-libx264 --enable-libvpx --enable-libvorbis --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libtheora --enable-libxvid --enable-libfdk_aac --enable-libopus --enable-libfreetype --enable-libfaac
     libavutil      54. 31.100 / 54. 31.100
     libavcodec     56. 60.100 / 56. 60.100
     libavformat    56. 40.101 / 56. 40.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 40.101 /  5. 40.101
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
     Metadata:
       major_brand     : dash
       minor_version   : 0
       compatible_brands: iso6avc1mp41
       creation_time   : 2018-05-11 00:18:13
     Duration: 00:44:01.47, start: 0.000000, bitrate: 61 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 0 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc (default)
       Metadata:
         creation_time   : 2018-05-11 00:18:13
         handler_name    : VideoHandler
    Output #0, mp3, to 'output.mp3':
    Output file #0 does not contain any stream
  • FFMPEG Video Capture fails

    20 août 2018, par Ankur Tripathi

    I am trying to capture video using FFmpeg and Directshow(https://github.com/rdp/screen-capture-recorder-to-video-windows-free) filter but it works sometimes and fails some time

    Start FFmpeg

    arguments= -y -rtbufsize 100M -f dshow -framerate 60 -i
    video="screen-capture-recorder":audio="Microphone Array (Realtek
    Audio)" -c:v libx264 -r 60 -preset ultrafast -tune zerolatency -crf 28
    -pix_fmt yuv420p -s 940x576 -c:a aac -strict -2 -ac 2 -b:a 128k "C :\Users\ankur\AppData\Roaming\Take by MangoApps\Recent\Temp\1.mp4"

    Stop FFmpeg

       Call WriteInput("q");
       public void WriteInput(string input)
           {
               if (processRunning && process != null && process.StartInfo !=
                   null && process.StartInfo.RedirectStandardInput)
               {
                   process.StandardInput.WriteLine(input);
               }
           }

    Getting Error

    8/20/2018 6:56:54 PM - ****VIDEO ERROffmpeg version N-84348-gdb7a05d Copyright (c) 2000-2017 the FFmpeg developers
             built with gcc 6.3.0 (GCC)
             configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
             libavutil      55. 50.100 / 55. 50.100
             libavcodec     57. 83.101 / 57. 83.101
             libavformat    57. 66.105 / 57. 66.105
             libavdevice    57.  3.100 / 57.  3.100
             libavfilter     6. 78.100 /  6. 78.100
             libswscale      4.  3.101 /  4.  3.101
             libswresample   2.  4.100 /  2.  4.100
             libpostproc    54.  2.100 / 54.  2.100
           Guessed Channel Layout for Input Stream #0.1 : stereo
           Input #0, dshow, from 'video=screen-capture-recorder:audio=Microphone Array (Realtek Audio)':
             Duration: N/A, start: 29271.852000, bitrate: N/A
               Stream #0:0: Video: rawvideo, bgr0, 940x576, 60 fps, 60 tbr, 10000k tbn, 10000k tbc
               Stream #0:1: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
           Stream mapping:
             Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
             Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))
           Press [q] to stop, [?] for help
           [libx264 @ 0000000002553d40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
           [libx264 @ 0000000002553d40] profile Constrained Baseline, level 3.2
           [libx264 @ 0000000002553d40] 264 - core 148 r2762 90a61ec - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=4 sliced_threads=1 slices=4 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=28.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
           Output #0, mp4, to 'C:\Users\ankur\AppData\Roaming\Take\Recent\Temp\0.mp4':
             Metadata:
               encoder         : Lavf57.66.105
               Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p(progressive), 940x576, q=-1--1, 60 fps, 15360 tbn, 60 tbc
               Metadata:
                 encoder         : Lavc57.83.101 libx264
               Side data:
                 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
               Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp, 128 kb/s
               Metadata:
                 encoder         : Lavc57.83.101 aac
           frame=   31 fps=0.0 q=27.0 size=     125kB time=00:00:00.50 bitrate=2043.9kbits/s speed=0.991x    
           frame=   62 fps= 61 q=20.0 size=     189kB time=00:00:01.01 bitrate=1522.0kbits/s speed=1.01x    
           frame=   93 fps= 61 q=22.0 size=     220kB time=00:00:01.53 bitrate=1177.1kbits/s speed=1.01x    
           frame=  123 fps= 61 q=20.0 size=     253kB time=00:00:02.03 bitrate=1018.2kbits/s speed=1.01x    
           frame=  153 fps= 61 q=20.0 size=     263kB time=00:00:02.53 bitrate= 851.5kbits/s speed=   1x    
           frame=  184 fps= 61 q=23.0 size=     273kB time=00:00:03.05 bitrate= 734.0kbits/s speed=1.01x    
           frame=  214 fps= 61 q=20.0 size=     323kB time=00:00:03.55 bitrate= 745.4kbits/s speed=   1x    
           frame=  244 fps= 60 q=20.0 size=     341kB time=00:00:04.05 bitrate= 689.7kbits/s speed=   1x    
           frame=  274 fps= 60 q=22.0 size=     465kB time=00:00:04.55 bitrate= 837.4kbits/s speed=   1x