Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (40)

  • 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 (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (6819)

  • ffpmeg drops last frame when compressing from MP4 to MP4 (libx264)

    28 octobre 2018, par Usoboi

    So, I’m using this code to compress my *mp4 file. I need to get lower quality and decrease bitrate :

    ffmpeg -i input.mp4 -c:v libx264 output.mp4

    The problem is : the last frame of footage is dropped after ffmpeg compression.
    Screenshot is here : screenshot_ffmpeg_drop frame

    I tried to use full preferences I need, but the problem is the same.

    ffmpeg -i input.mp4 -c:v libx264 -vf scale=1280:720 -preset fast -crf 29 -r 25 -c:a copy output.mp4

    logfile during ffmpeg encoding :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’\input.mp4’ :
    Metadata :
    major_brand : mp42
    minor_version : 0
    compatible_brands : mp42mp41
    creation_time : 2018-10-28T11:06:03.000000Z
    Duration : 00:00:12.76, start : 0.000000, bitrate : 5374 kb/s
    Stream #0:0(eng) : Video : h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 5368 kb/s, 25 fps, 25 tbr, 50k tbn, 50 tbc (default)
    Metadata :
    creation_time : 2018-10-28T11:06:03.000000Z
    handler_name : Alias Data Handler
    encoder : AVC Coding

    Stream mapping : Stream #0:0 -> #0:0 (h264 (native) -> h264
    (libx264)) Press [q] to stop, [?] for help [libx264 @
    000002fae8b50780] using SAR=1/1 [libx264 @ 000002fae8b50780] using cpu
    capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @
    000002fae8b50780] profile High, level 3.1 [libx264 @ 000002fae8b50780]
    264 - core 155 r2901 7d0ff22 - H.264/MPEG-4 AVC codec - Copyleft
    2003-2018 - http://www.videolan.org/x264.html - options : cabac=1 ref=2
    deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 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=12
    lookahead_threads=2 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=1 keyint=250
    keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf
    mbtree=1 crf=29.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40
    aq=1:1.00 Output #0, mp4, to ’\output.mp4’ : Metadata :
    major_brand : mp42
    minor_version : 0
    compatible_brands : mp42mp41
    encoder : Lavf58.17.100
    Stream #0:0(eng) : Video : h264 (libx264) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1—1, 25 fps, 12800 tbn, 25
    tbc (default)
    Metadata :
    creation_time : 2018-10-28T11:06:03.000000Z
    handler_name : Alias Data Handler
    encoder : Lavc58.19.104 libx264
    Side data :
    cpb : bitrate max/min/avg : 0/0/0 buffer size : 0 vbv_delay : -1

    frame= 318 fps=127 q=-1.0 Lsize= 855kB time=00:00:12.60 bitrate=
    556.0kbits/s speed=5.05x video:851kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 0.534683% [libx264 @
    0000015d5cef0500] frame I:2 Avg QP:26.18 size : 67800 [libx264 @
    0000015d5cef0500] frame P:80 Avg QP:27.93 size : 5439 [libx264 @
    0000015d5cef0500] frame B:236 Avg QP:32.44 size : 1269 [libx264 @
    0000015d5cef0500] consecutive B-frames : 0.9% 0.0% 0.9% 98.1%
    [libx264 @ 0000015d5cef0500] mb I I16..4 : 10.6% 62.5% 26.8% [libx264
    @ 0000015d5cef0500] mb P I16..4 : 0.5% 1.0% 0.2% P16..4 : 36.1%
    5.1% 3.6% 0.0% 0.0% skip:53.6% [libx264 @ 0000015d5cef0500] mb B I16..4 : 0.6% 0.5% 0.0% B16..8 : 22.2% 0.6% 0.0% direct : 2.0%
    skip:74.2% L0:44.9% L1:54.5% BI : 0.6% [libx264 @ 0000015d5cef0500]
    8x8 transform intra:55.0% inter:86.2% [libx264 @ 0000015d5cef0500]
    coded y,uvDC,uvAC intra : 48.1% 54.9% 27.0% inter : 3.2% 5.2% 0.2%
    [libx264 @ 0000015d5cef0500] i16 v,h,dc,p : 19% 56% 10% 15% [libx264 @
    0000015d5cef0500] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu : 19% 25% 18% 5% 6%
    5% 8% 5% 8% [libx264 @ 0000015d5cef0500] i4
    v,h,dc,ddl,ddr,vr,hd,vl,hu : 27% 24% 9% 5% 8% 7% 9% 5% 7%
    [libx264 @ 0000015d5cef0500] i8c dc,h,v,p : 60% 20% 15% 4% [libx264 @
    0000015d5cef0500] Weighted P-Frames : Y:0.0% UV:0.0% [libx264 @
    0000015d5cef0500] ref P L0 : 67.7% 32.3% [libx264 @ 0000015d5cef0500]
    ref B L0 : 80.4% 19.6% [libx264 @ 0000015d5cef0500] ref B L1 : 92.1%
    7.9% [libx264 @ 0000015d5cef0500] kb/s:547.35

  • ffmpeg/ffplay stream error using Windows 10

    23 juin 2018, par Alan

    I’m using Android’s screenrecord to stream the device screen via adb and pipe the
    output to ffplay 3.4. It works great using OS X via the command :

    adb shell screenecord --bit-rate=16m --output-format=h264 --size 800x600 -   | c:\bin\ffplay.exe -framerate 30 -framedrop -bufsize 60M -

    Windows 10 is a different story. I get a blurred out screen and the following stream of errors :

           ffplay version 3.4 Copyright (c) 2003-2017 the FFmpeg developers
           built with gcc 7.2.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-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-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
           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
           [h264 @ 000002a5f08320c0] negative number of zero coeffs at 9 6/0
          [h264 @ 000002a5f08320c0] error while decoding MB 9 6
          [h264 @ 000002a5f08320c0] concealing 1640 DC, 1640 AC, 1640 MV errors in I frame
          [h264 @ 000002a5f08320c0] negative number of zero coeffs at 44 7
          [h264 @ 000002a5f08320c0] error while decoding MB 44 7
          [h264 @ 000002a5f08320c0] concealing 1555 DC, 1555 AC, 1555 MV errors in P frame
          [h264 @ 000002a5f08320c0] out of range intra chroma pred mode
          [h264 @ 000002a5f08320c0] error while decoding MB 12 7
          [h264 @ 000002a5f08320c0] concealing 1587 DC, 1587 AC, 1587 MV errors in P frame
          [h264 @ 000002a5f08320c0] out of range intra chroma pred mode
          [h264 @ 000002a5f08320c0] error while decoding MB 49 6
          [h264 @ 000002a5f08320c0] concealing 1600 DC, 1600 AC, 1600 MV errors in P frame
          [h264 @ 000002a5f08320c0] mb_type 260 in P slice too large at 11 11
          [h264 @ 000002a5f08320c0] error while decoding MB 11 11
          [h264 @ 000002a5f08320c0] concealing 1388 DC, 1388 AC, 1388 MV errors in P frame
          [h264 @ 000002a5f08320c0] out of range intra chroma pred mode
          [h264 @ 000002a5f08320c0] error while decoding MB 24 16
          [h264 @ 000002a5f08320c0] concealing 1125 DC, 1125 AC, 1125 MV errors in P frame
          Input #0, h264, from 'pipe:':q=    0KB vq=    0KB sq=    0B f=0/0
            Duration: N/A, bitrate: N/A    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0
             Stream #0:0: Video: h264 (Baseline), yuv420p(tv, bt470bg/bt470bg/smpte170m, progressive), 800x600, 30 fps, 30 tbr, 1200k tbn, 60 tbc
          [h264 @ 000002a5f144e4c0] negative number of zero coeffs at 9 6
          [h264 @ 000002a5f144e4c0] error while decoding MB 9 6
          [h264 @ 000002a5f144e4c0] concealing 1640 DC, 1640 AC, 1640 MV errors in I frame
          [h264 @ 000002a5f10500a0] negative number of zero coeffs at 44 7
          [h264 @ 000002a5f10500a0] error while decoding MB 44 7
          [h264 @ 000002a5f10500a0] concealing 1555 DC, 1555 AC, 1555 MV errors in P frame
          [h264 @ 000002a5f1050840] out of range intra chroma pred mode
          [h264 @ 000002a5f1050840] error while decoding MB 12 7
          [h264 @ 000002a5f1050840] concealing 1587 DC, 1587 AC, 1587 MV errors in P frame
          [h264 @ 000002a5f0e500a0] out of range intra chroma pred mode
          [h264 @ 000001f5df14e5e0] cbp too large (51) at 43 7=    0B f=0/0
          [h264 @ 000001f5df14e5e0] error while decoding MB 43 7
          [h264 @ 000001f5df14e5e0] concealing 1556 DC, 1556 AC, 1556 MV errors in P frame
          [h264 @ 000001f5de6c9980] cbp too large (51) at 43 7=    0B f=0/0
          [h264 @ 000001f5de6c9980] error while decoding MB 43 7
          [h264 @ 000001f5de6c9980] concealing 1556 DC, 1556 AC, 1556 MV errors in P frame
          [ h264 @ 000001f5df338b20] cbp too large (51) at 18 7=    0B f=0/0
          [h264 @ 000001f5df338b20] error while decoding MB 18 7
          [h264 @ 000001f5df338b20] concealing 1581 DC, 1581 AC, 1581 MV errors in P frame
          [h264 @ 000001f5de618f20] cbp too large (60) at 30 8=    0B f=0/0
          [h264 @ 000001f5de618f20] error while decoding MB 30 8
          [h264 @ 000001f5de618f20] concealing 1519 DC, 1519 AC, 1519 MV errors in P frame
          [h264 @ 000001f5de5f9120] cbp too large (151) at 15 11   0B f=0/0
          [h264 @ 000001f5de5f9120] error while decoding MB 15 11
          [h264 @ 000001f5de5f9120] concealing 1384 DC, 1384 AC, 1384 MV errors in P frame
          [h264 @ 000001f5df14e5e0] cbp too large (51) at 17 8=    0B f=0/0
          [h264 @ 000001f5df14e5e0] error while decoding MB 17 8
          [h264 @ 000001f5df14e5e0] concealing 1532 DC, 1532 AC, 1532 MV errors in P frame

    How can I fix this ?

  • capture DV video and audio with ffmpeg and dshow

    18 novembre 2016, par andrixnet

    Trying to capture video and audio from a DV camera, using ffmpeg, I got into a problem.
    Before anything, I first tried to see (and hear) with ffplay.

    ffmpeg version :

    ffplay version 3.0 Copyright (c) 2003-2016 the FFmpeg developers
     built with gcc 5.3.0 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --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-decklink --enable-zlib
     libavutil      55. 17.103 / 55. 17.103
     libavcodec     57. 24.102 / 57. 24.102
     libavformat    57. 25.100 / 57. 25.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 31.100 /  6. 31.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100

    Getting list of DirectShow devices :
    ffplay -hide_banner -f dshow -list_devices true -i dummy

    [dshow @ 035c4240] DirectShow video devices (some may be both video and audio devices)
    [dshow @ 035c4240]  "Microsoft DV Camera and VCR" sq=    0B f=0/0
    [dshow @ 035c4240]     Alternative name "@device_pnp_\\?\avc#canon&mvx3i&camcorder&dv#5126800000850000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"
    [dshow @ 035c4240] DirectShow audio devices
    [dshow @ 035c4240]  "1-ESI MAYA44 Ch12"
    [dshow @ 035c4240]     Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\1-ESI MAYA44 Ch12"
    [dshow @ 035c4240]  "2-ESI MAYA44 Ch34"
    [dshow @ 035c4240]     Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\2-ESI MAYA44 Ch34"
    [dshow @ 035c4240]  "3-ESI MAYA44 Ch1234"
    [dshow @ 035c4240]     Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\3-ESI MAYA44 Ch1234"
    [dshow @ 035c4240]  "Realtek HD Audio Input"
    [dshow @ 035c4240]     Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\Realtek HD Audio Input"
    [dshow @ 035c4240]  "Realtek HD Digital input"
    [dshow @ 035c4240]     Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\Realtek HD Digital input"
    dummy: Immediate exit requested

    I can use VLC with "Capture device" as input, selecting "Microsoft DV Camera and VCR" as video device and leaving "Default" as audio device and I get both video and audio.

    With ffmpeg I get only video stream, no audio.

    C:\>ffplay -hide_banner -f dshow -i video="Microsoft DV Camera and VCR"
    Input #0, dshow, from 'video=Microsoft DV Camera and VCR':B f=0/0
     Duration: N/A, start: 0.010035, bitrate: N/A
       Stream #0:0: Video: dvvideo (dvsd / 0x64737664), yuv420p, 720x576 [SAR 16:15
    DAR 4:3], 25 tbr, 10000k tbn, 25 tbc
      0.48 M-V:  0.013 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0

    I don’t know how to tell ffmpeg the equivalent of "Default" audio device as VLC recognizes it.

    Device options show there are 2 pins for video device (DV device has both video and audio) but how can I tell ffmpeg such that it captures both video and audio ?

    C:\>ffplay -hide_banner -f dshow -list_options true -i video="Microsoft DV Camera and VCR"
    [dshow @ 035c3260] DirectShow video device options (from video devices)
    [dshow @ 035c3260]  Pin "DV Vid Out" (alternative pin name "0")
    [dshow @ 035c3260]   vcodec=dvvideo  min s=720x480 fps=29.97 max s=720x480 fps=2
    9.97
    [dshow @ 035c3260]   vcodec=dvvideo  min s=720x576 fps=25 max s=720x576 fps=25
    [dshow @ 035c3260]   vcodec=dvvideo  min s=720x480 fps=29.97 max s=720x480 fps=2
    9.97
    [dshow @ 035c3260]   vcodec=dvvideo  min s=720x576 fps=25 max s=720x576 fps=25
    [dshow @ 035c3260]   vcodec=dvvideo  min s=720x480 fps=29.97 max s=720x480 fps=2
    9.97
    [dshow @ 035c3260]   vcodec=dvvideo  min s=720x576 fps=25 max s=720x576 fps=25
    [dshow @ 035c3260]  Pin "DV A/V Out" (alternative pin name "1")
    video=Microsoft DV Camera and VCR: Immediate exit requested f=0/0

    Thank you.