Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (101)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    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 (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (12119)

  • Ffmpeg send duration of video to client (using node-fluent-ffmpeg)

    26 mai 2013, par Vprnl

    I'm really new to the world of ffmpeg so please excuses me if this is a stupid queston.

    I'm using the module Node-fluent-ffmpeg to stream a movie and convert it from avi to webm with FFMPEG.

    So far so good (it plays the video), but I'm having trouble parsing the duration to the player. It also gives me an error even though I plays the video.

    my code is as followed :

    var stat = fs.statSync(movie);

    var start = 0;
    var end = 0;
    var range = req.header('Range');
    if (range != null) {
    start = parseInt(range.slice(range.indexOf('bytes=')+6,
     range.indexOf('-')));
    end = parseInt(range.slice(range.indexOf('-')+1,
     range.length));
    }
    if (isNaN(end) || end == 0) end = stat.size-1;
    if (start > end) return;

    var duration = (end / 1024) * 8 / 1024;

    res.writeHead(206, { // NOTE: a partial http response
       'Connection':'close',
       'Content-Type':'video/webm',
       'Content-Length':end - start,
       'Content-Range':'bytes '+start+'-'+end+'/'+stat.size,
       'Transfer-Encoding':'chunked'
    });

    var proc = new ffmpeg({ source: movie, nolog: true, priority: 1, timeout:15000})
       .toFormat('webm')
       .addOptions(['-probesize 900000', '-analyzeduration 0', '-minrate 1024k', '-maxrate 1024k', '-bufsize 1835k', '-t '+duration+' -ss'])
       .writeToStream(res, function(retcode, error){
       if (!error){
           console.log('file has been converted succesfully',retcode);
       }else{
           console.log('file conversion error',error);
       }
    });

    I set the header with a start and a end based on this article : http://delog.wordpress.com/2011/04/25/stream-webm-file-to-chrome-using-node-js/

    I calculate the length in seconds in the variable duration.

    The error FFmpeg is giving me is :

       file conversion error ffmpeg version N-52458-gaa96439 Copyright (c) 2000-2013 the FFmpeg developers
         built on Apr 24 2013 22:19:32 with gcc 4.8.0 (GCC)
         configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --e
       nable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable
       -libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --ena
       ble-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwola
       me --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enabl
       e-libxvid --enable-zlib
         libavutil      52. 27.101 / 52. 27.101
         libavcodec     55.  6.100 / 55.  6.100
         libavformat    55.  3.100 / 55.  3.100
         libavdevice    55.  0.100 / 55.  0.100
         libavfilter     3. 60.101 /  3. 60.101
         libswscale      2.  2.100 /  2.  2.100
         libswresample   0. 17.102 /  0. 17.102
         libpostproc    52.  3.100 / 52.  3.100
       Input #0, avi, from 'C:/temp/test.avi':
         Metadata:
           encoder         : Nandub v1.0rc2
         Duration: 00:01:09.78, start: 0.000000, bitrate: 1517 kb/s
           Stream #0:0: Video: msmpeg4v3 (DIV3 / 0x33564944), yuv420p, 640x352, 23.98 tbr, 23.98 tbn, 23.98 tbc
           Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 222 kb/s
       [libvpx @ 0036db20] v1.2.0
       Output #0, webm, to 'pipe:1':
         Metadata:
           encoder         : Lavf55.3.100
           Stream #0:0: Video: vp8, yuv420p, 640x352, q=-1--1, 200 kb/s, 1k tbn, 23.98 tbc
           Stream #0:1: Audio: vorbis, 48000 Hz, stereo, fltp
       Stream mapping:
         Stream #0:0 -> #0:0 (msmpeg4 -> libvpx)
         Stream #0:1 -> #0:1 (mp3 -> libvorbis)

    The client side player (which is VideoJs) says the file is infinite/NaN in length.

    I feel like I'm pretty close to a solution but my inexperience with the subject matter prohibits me from getting it to work. If I'm unclear in any way please let me know. (I have a tendency of explaining things fuzzy.)

    Thanks in advance !

    [EDIT]

    I removed the duration bit because it has nothing to do with the issue. I checked the response header of the client and saw :

    Accept-Ranges:bytes
    Connection:keep-alive
    Content-Length:13232127
    Content-Range:bytes 0-13232127/13232128
    Content-Type:video/webm

    Why can't the client figure out the duration even though it receives it in the header ?

  • Convert MPEG4 to MPEGTS on Android with FFmpeg

    3 juin 2013, par Ardoramor

    Ok, so obviously I know very little to none about ffmpeg API when I made the original post... it is quite overwhelming when one starts learning about digital media and conversion details. After reading quite a bit more and going through ffmpeg source, I was able to get a working output from mp4 to mpegts. The concept is similar to executing :

    ffmpeg -i in.mp4 -vcodec copy -acodec copy -vbsf h264_mp4toannexb out.ts

    But as I mentioned before, I need to implement it with ffmpeg API in C.

    So, although I am able to generate a playable .ts file, its video and audio streams are not synced. That is, playing them back on Android tablet plays the video very slowly while audio is playing at normal speed and then (once audio stream ends) video plays at normal speed to the end. Playing the same generated .ts file in VLC produces a very condensed audio (as though fast-forwarded) and plays video fine.

    There are still many aspects of media conversion that I am not familiar with. I am sure that some of them prevent me from successful conversion.

    Here is some information (via ffprobe) about the files :
    - in.mp4 - file generated via Android recording - MPEG4 (H.264 + AAC)
    - ffmpeg.ts - file generated via ffmpeg conversion - MPEG2TS (H.264 + AAC)
    - out.ts - file generated via my code - MPEGTS (H.264 + AAC)

    in.mp4

    filename=in.mp4
    nb_streams=2
    format_name=mov,mp4,m4a,3gp,3g2,mj2
    format_long_name=QuickTime/MPEG-4/Motion JPEG 2000 format
    start_time=0:00:00.000000
    duration=0:00:09.961383
    size=4.730 Mibyte
    bit_rate=3.983 Mbit/s
    TAG:major_brand=isom
    TAG:minor_version=0
    TAG:compatible_brands=isom3gp4
    TAG:creation_time=2013-05-28 17:06:57

    ffmpeg.ts

    filename=ffmpeg.ts
    nb_streams=2
    format_name=mpegts
    format_long_name=MPEG-2 transport stream format
    start_time=0:00:01.400000
    duration=0:00:09.741267
    size=5.132 Mibyte
    bit_rate=4.419 Mbit/s

    out.ts

    filename=out.ts
    nb_streams=2
    format_name=mpegts
    format_long_name=MPEG-2 transport stream format
    start_time=0:00:00.000000
    duration=0:00:09.741267
    size=5.166 Mibyte
    bit_rate=4.449 Mbit/s

    Firstly, I was unable to affect my output file's start_time. Next, upon examining the -show_packets output of probe, I saw the following :

    ffmpeg.ts

    [PACKET]
    codec_type=video
    stream_index=0
    pts=N/A
    pts_time=N/A
    dts=N/A
    dts_time=N/A
    duration=0
    duration_time=0:00:00.000000
    size=20.506 Kibyte
    pos=564
    flags=K
    [/PACKET]
    [PACKET]
    codec_type=video
    stream_index=0
    pts=N/A
    pts_time=N/A
    dts=N/A
    dts_time=N/A
    duration=0
    duration_time=0:00:00.000000
    size=11.727 Kibyte
    pos=22936
    flags=_
    [/PACKET]
    ...
    [PACKET]
    codec_type=audio
    stream_index=1
    pts=126000
    pts_time=0:00:01.400000
    dts=126000
    dts_time=0:00:01.400000
    duration=2089
    duration_time=0:00:00.023211
    size=285.000 byte
    pos=109416
    flags=K
    [/PACKET]
    [PACKET]
    codec_type=audio
    stream_index=1
    pts=128089
    pts_time=0:00:01.423211
    dts=128089
    dts_time=0:00:01.423211
    duration=2089
    duration_time=0:00:00.023211
    size=374.000 byte
    pos=-1
    flags=K
    [/PACKET]
    ...
    [PACKET]
    codec_type=video
    stream_index=0
    pts=N/A
    pts_time=N/A
    dts=N/A
    dts_time=N/A
    duration=0
    duration_time=0:00:00.000000
    size=20.000 Kibyte
    pos=87232
    flags=_
    [/PACKET]
    [PACKET]
    codec_type=video
    stream_index=0
    pts=N/A
    pts_time=N/A
    dts=N/A
    dts_time=N/A
    duration=0
    duration_time=0:00:00.000000
    size=16.852 Kibyte
    pos=112800
    flags=_
    [/PACKET]

    out.ts

    [PACKET]
    codec_type=audio
    stream_index=1
    pts=0
    pts_time=0:00:00.000000
    dts=0
    dts_time=0:00:00.000000
    duration=2089
    duration_time=0:00:00.023211
    size=285.000 byte
    pos=22936
    flags=K
    [/PACKET]
    [PACKET]
    codec_type=audio
    stream_index=1
    pts=1024
    pts_time=0:00:00.011378
    dts=1024
    dts_time=0:00:00.011378
    duration=2089
    duration_time=0:00:00.023211
    size=374.000 byte
    pos=23312
    flags=K
    [/PACKET]
    ...

    [PACKET]
    codec_type=video
    stream_index=0
    pts=N/A
    pts_time=N/A
    dts=N/A
    dts_time=N/A
    duration=0
    duration_time=0:00:00.000000
    size=11.727 Kibyte
    pos=25004
    flags=_
    [/PACKET]
    [PACKET]
    codec_type=audio
    stream_index=1
    pts=7168
    pts_time=0:00:00.079644
    dts=7168
    dts_time=0:00:00.079644
    duration=2089
    duration_time=0:00:00.023211
    size=299.000 byte
    pos=55460
    flags=K
    [/PACKET]

    As you can see, ffmpeg.ts starts out with video packets that do not have pts/dts. The audio packets that follow contain pts/dts. This repeats until the end. All video packets do not have pts/dts according to ffprobe output.

    However, out.ts starts with audio packets and alternate with video packets. Here, video packets also do not have pts/dts. The difference is that here there is one video packet between a series of audio packets. What happened to the rest of the video packets (ffmpeg.ts has 5 audio followed by 5 video).

    Obviously, I'm still learning and don't know way too much yet... Does anything jump out as obvious a problem to anyone ? I will greatly appreciate any info / suggestions but will continue to grind at it !!

  • avcodec/x86/vvc : add avg and avg_w AVX2 optimizations

    23 janvier 2024, par Wu Jianhua
    avcodec/x86/vvc : add avg and avg_w AVX2 optimizations
    

    The avg/avg_w is based on dav1d.
    See https://code.videolan.org/videolan/dav1d/-/blob/master/src/x86/mc_avx2.asm

    vvc_avg_8_2x2_c : 71.6
    vvc_avg_8_2x2_avx2 : 26.8
    vvc_avg_8_2x4_c : 140.8
    vvc_avg_8_2x4_avx2 : 34.6
    vvc_avg_8_2x8_c : 410.3
    vvc_avg_8_2x8_avx2 : 41.3
    vvc_avg_8_2x16_c : 769.3
    vvc_avg_8_2x16_avx2 : 60.3
    vvc_avg_8_2x32_c : 1669.6
    vvc_avg_8_2x32_avx2 : 105.1
    vvc_avg_8_2x64_c : 1978.3
    vvc_avg_8_2x64_avx2 : 425.8
    vvc_avg_8_2x128_c : 6536.8
    vvc_avg_8_2x128_avx2 : 1315.1
    vvc_avg_8_4x2_c : 155.6
    vvc_avg_8_4x2_avx2 : 26.1
    vvc_avg_8_4x4_c : 250.3
    vvc_avg_8_4x4_avx2 : 31.3
    vvc_avg_8_4x8_c : 831.8
    vvc_avg_8_4x8_avx2 : 41.3
    vvc_avg_8_4x16_c : 1461.1
    vvc_avg_8_4x16_avx2 : 57.1
    vvc_avg_8_4x32_c : 2821.6
    vvc_avg_8_4x32_avx2 : 105.1
    vvc_avg_8_4x64_c : 3615.8
    vvc_avg_8_4x64_avx2 : 412.6
    vvc_avg_8_4x128_c : 11962.6
    vvc_avg_8_4x128_avx2 : 1274.3
    vvc_avg_8_8x2_c : 215.8
    vvc_avg_8_8x2_avx2 : 29.1
    vvc_avg_8_8x4_c : 430.6
    vvc_avg_8_8x4_avx2 : 37.6
    vvc_avg_8_8x8_c : 1463.3
    vvc_avg_8_8x8_avx2 : 51.8
    vvc_avg_8_8x16_c : 2630.1
    vvc_avg_8_8x16_avx2 : 97.6
    vvc_avg_8_8x32_c : 5813.8
    vvc_avg_8_8x32_avx2 : 196.6
    vvc_avg_8_8x64_c : 6687.3
    vvc_avg_8_8x64_avx2 : 487.8
    vvc_avg_8_8x128_c : 13178.6
    vvc_avg_8_8x128_avx2 : 1290.6
    vvc_avg_8_16x2_c : 443.8
    vvc_avg_8_16x2_avx2 : 28.3
    vvc_avg_8_16x4_c : 1253.3
    vvc_avg_8_16x4_avx2 : 32.1
    vvc_avg_8_16x8_c : 2236.3
    vvc_avg_8_16x8_avx2 : 44.3
    vvc_avg_8_16x16_c : 5127.8
    vvc_avg_8_16x16_avx2 : 63.3
    vvc_avg_8_16x32_c : 6573.3
    vvc_avg_8_16x32_avx2 : 223.6
    vvc_avg_8_16x64_c : 30311.8
    vvc_avg_8_16x64_avx2 : 437.8
    vvc_avg_8_16x128_c : 25693.3
    vvc_avg_8_16x128_avx2 : 1266.8
    vvc_avg_8_32x2_c : 954.6
    vvc_avg_8_32x2_avx2 : 32.1
    vvc_avg_8_32x4_c : 2359.6
    vvc_avg_8_32x4_avx2 : 39.6
    vvc_avg_8_32x8_c : 5703.6
    vvc_avg_8_32x8_avx2 : 57.1
    vvc_avg_8_32x16_c : 9967.6
    vvc_avg_8_32x16_avx2 : 107.1
    vvc_avg_8_32x32_c : 21327.6
    vvc_avg_8_32x32_avx2 : 272.6
    vvc_avg_8_32x64_c : 39240.8
    vvc_avg_8_32x64_avx2 : 529.6
    vvc_avg_8_32x128_c : 52580.8
    vvc_avg_8_32x128_avx2 : 1338.8
    vvc_avg_8_64x2_c : 1647.3
    vvc_avg_8_64x2_avx2 : 38.8
    vvc_avg_8_64x4_c : 5130.1
    vvc_avg_8_64x4_avx2 : 58.8
    vvc_avg_8_64x8_c : 6529.3
    vvc_avg_8_64x8_avx2 : 88.3
    vvc_avg_8_64x16_c : 19913.6
    vvc_avg_8_64x16_avx2 : 162.3
    vvc_avg_8_64x32_c : 39360.8
    vvc_avg_8_64x32_avx2 : 295.8
    vvc_avg_8_64x64_c : 49658.3
    vvc_avg_8_64x64_avx2 : 784.1
    vvc_avg_8_64x128_c : 108513.1
    vvc_avg_8_64x128_avx2 : 1977.1
    vvc_avg_8_128x2_c : 3226.1
    vvc_avg_8_128x2_avx2 : 61.1
    vvc_avg_8_128x4_c : 10280.3
    vvc_avg_8_128x4_avx2 : 94.6
    vvc_avg_8_128x8_c : 18079.3
    vvc_avg_8_128x8_avx2 : 155.3
    vvc_avg_8_128x16_c : 45121.8
    vvc_avg_8_128x16_avx2 : 285.3
    vvc_avg_8_128x32_c : 48651.8
    vvc_avg_8_128x32_avx2 : 581.6
    vvc_avg_8_128x64_c : 165078.6
    vvc_avg_8_128x64_avx2 : 1942.8
    vvc_avg_8_128x128_c : 339103.1
    vvc_avg_8_128x128_avx2 : 4332.6
    vvc_avg_10_2x2_c : 144.3
    vvc_avg_10_2x2_avx2 : 26.8
    vvc_avg_10_2x4_c : 142.6
    vvc_avg_10_2x4_avx2 : 45.3
    vvc_avg_10_2x8_c : 478.1
    vvc_avg_10_2x8_avx2 : 38.1
    vvc_avg_10_2x16_c : 518.3
    vvc_avg_10_2x16_avx2 : 58.1
    vvc_avg_10_2x32_c : 2059.8
    vvc_avg_10_2x32_avx2 : 93.1
    vvc_avg_10_2x64_c : 2383.8
    vvc_avg_10_2x64_avx2 : 714.8
    vvc_avg_10_2x128_c : 4498.3
    vvc_avg_10_2x128_avx2 : 1466.3
    vvc_avg_10_4x2_c : 228.6
    vvc_avg_10_4x2_avx2 : 26.8
    vvc_avg_10_4x4_c : 378.3
    vvc_avg_10_4x4_avx2 : 30.6
    vvc_avg_10_4x8_c : 866.8
    vvc_avg_10_4x8_avx2 : 44.6
    vvc_avg_10_4x16_c : 1018.1
    vvc_avg_10_4x16_avx2 : 58.1
    vvc_avg_10_4x32_c : 3590.8
    vvc_avg_10_4x32_avx2 : 128.8
    vvc_avg_10_4x64_c : 4200.8
    vvc_avg_10_4x64_avx2 : 663.6
    vvc_avg_10_4x128_c : 8450.8
    vvc_avg_10_4x128_avx2 : 1531.8
    vvc_avg_10_8x2_c : 369.3
    vvc_avg_10_8x2_avx2 : 28.3
    vvc_avg_10_8x4_c : 513.8
    vvc_avg_10_8x4_avx2 : 32.1
    vvc_avg_10_8x8_c : 1720.3
    vvc_avg_10_8x8_avx2 : 49.1
    vvc_avg_10_8x16_c : 1894.8
    vvc_avg_10_8x16_avx2 : 71.6
    vvc_avg_10_8x32_c : 3931.3
    vvc_avg_10_8x32_avx2 : 148.1
    vvc_avg_10_8x64_c : 7964.3
    vvc_avg_10_8x64_avx2 : 613.1
    vvc_avg_10_8x128_c : 15540.1
    vvc_avg_10_8x128_avx2 : 1585.1
    vvc_avg_10_16x2_c : 877.3
    vvc_avg_10_16x2_avx2 : 27.6
    vvc_avg_10_16x4_c : 955.8
    vvc_avg_10_16x4_avx2 : 29.8
    vvc_avg_10_16x8_c : 3419.6
    vvc_avg_10_16x8_avx2 : 62.6
    vvc_avg_10_16x16_c : 3826.8
    vvc_avg_10_16x16_avx2 : 54.3
    vvc_avg_10_16x32_c : 7655.3
    vvc_avg_10_16x32_avx2 : 86.3
    vvc_avg_10_16x64_c : 30011.1
    vvc_avg_10_16x64_avx2 : 692.6
    vvc_avg_10_16x128_c : 47894.8
    vvc_avg_10_16x128_avx2 : 1580.3
    vvc_avg_10_32x2_c : 944.3
    vvc_avg_10_32x2_avx2 : 29.8
    vvc_avg_10_32x4_c : 2022.6
    vvc_avg_10_32x4_avx2 : 35.1
    vvc_avg_10_32x8_c : 6148.8
    vvc_avg_10_32x8_avx2 : 51.3
    vvc_avg_10_32x16_c : 12601.6
    vvc_avg_10_32x16_avx2 : 70.8
    vvc_avg_10_32x32_c : 15958.6
    vvc_avg_10_32x32_avx2 : 124.3
    vvc_avg_10_32x64_c : 31784.6
    vvc_avg_10_32x64_avx2 : 757.3
    vvc_avg_10_32x128_c : 63892.8
    vvc_avg_10_32x128_avx2 : 1711.3
    vvc_avg_10_64x2_c : 1890.8
    vvc_avg_10_64x2_avx2 : 34.3
    vvc_avg_10_64x4_c : 6267.3
    vvc_avg_10_64x4_avx2 : 42.6
    vvc_avg_10_64x8_c : 12778.1
    vvc_avg_10_64x8_avx2 : 67.8
    vvc_avg_10_64x16_c : 22304.3
    vvc_avg_10_64x16_avx2 : 116.8
    vvc_avg_10_64x32_c : 30777.1
    vvc_avg_10_64x32_avx2 : 201.1
    vvc_avg_10_64x64_c : 60169.1
    vvc_avg_10_64x64_avx2 : 1454.3
    vvc_avg_10_64x128_c : 124392.8
    vvc_avg_10_64x128_avx2 : 3648.6
    vvc_avg_10_128x2_c : 3650.1
    vvc_avg_10_128x2_avx2 : 41.1
    vvc_avg_10_128x4_c : 22887.8
    vvc_avg_10_128x4_avx2 : 64.1
    vvc_avg_10_128x8_c : 14622.6
    vvc_avg_10_128x8_avx2 : 111.6
    vvc_avg_10_128x16_c : 62207.6
    vvc_avg_10_128x16_avx2 : 186.3
    vvc_avg_10_128x32_c : 59761.3
    vvc_avg_10_128x32_avx2 : 374.6
    vvc_avg_10_128x64_c : 117504.3
    vvc_avg_10_128x64_avx2 : 2684.6
    vvc_avg_10_128x128_c : 236767.6
    vvc_avg_10_128x128_avx2 : 15278.1
    vvc_avg_12_2x2_c : 78.6
    vvc_avg_12_2x2_avx2 : 26.1
    vvc_avg_12_2x4_c : 254.1
    vvc_avg_12_2x4_avx2 : 30.6
    vvc_avg_12_2x8_c : 261.8
    vvc_avg_12_2x8_avx2 : 39.1
    vvc_avg_12_2x16_c : 527.6
    vvc_avg_12_2x16_avx2 : 57.3
    vvc_avg_12_2x32_c : 1089.1
    vvc_avg_12_2x32_avx2 : 93.8
    vvc_avg_12_2x64_c : 2337.6
    vvc_avg_12_2x64_avx2 : 707.1
    vvc_avg_12_2x128_c : 4582.1
    vvc_avg_12_2x128_avx2 : 1414.6
    vvc_avg_12_4x2_c : 129.6
    vvc_avg_12_4x2_avx2 : 26.8
    vvc_avg_12_4x4_c : 427.3
    vvc_avg_12_4x4_avx2 : 30.6
    vvc_avg_12_4x8_c : 529.6
    vvc_avg_12_4x8_avx2 : 36.6
    vvc_avg_12_4x16_c : 1022.1
    vvc_avg_12_4x16_avx2 : 57.3
    vvc_avg_12_4x32_c : 1987.6
    vvc_avg_12_4x32_avx2 : 84.3
    vvc_avg_12_4x64_c : 4147.6
    vvc_avg_12_4x64_avx2 : 706.3
    vvc_avg_12_4x128_c : 8469.3
    vvc_avg_12_4x128_avx2 : 1448.3
    vvc_avg_12_8x2_c : 253.6
    vvc_avg_12_8x2_avx2 : 27.6
    vvc_avg_12_8x4_c : 836.3
    vvc_avg_12_8x4_avx2 : 32.1
    vvc_avg_12_8x8_c : 1074.6
    vvc_avg_12_8x8_avx2 : 45.1
    vvc_avg_12_8x16_c : 3616.8
    vvc_avg_12_8x16_avx2 : 71.6
    vvc_avg_12_8x32_c : 3823.6
    vvc_avg_12_8x32_avx2 : 140.1
    vvc_avg_12_8x64_c : 7764.8
    vvc_avg_12_8x64_avx2 : 656.1
    vvc_avg_12_8x128_c : 15896.1
    vvc_avg_12_8x128_avx2 : 1232.8
    vvc_avg_12_16x2_c : 462.1
    vvc_avg_12_16x2_avx2 : 26.8
    vvc_avg_12_16x4_c : 1732.1
    vvc_avg_12_16x4_avx2 : 29.1
    vvc_avg_12_16x8_c : 2097.6
    vvc_avg_12_16x8_avx2 : 62.6
    vvc_avg_12_16x16_c : 6753.1
    vvc_avg_12_16x16_avx2 : 47.8
    vvc_avg_12_16x32_c : 7373.1
    vvc_avg_12_16x32_avx2 : 80.8
    vvc_avg_12_16x64_c : 15046.3
    vvc_avg_12_16x64_avx2 : 621.1
    vvc_avg_12_16x128_c : 52574.6
    vvc_avg_12_16x128_avx2 : 1417.1
    vvc_avg_12_32x2_c : 1712.1
    vvc_avg_12_32x2_avx2 : 29.8
    vvc_avg_12_32x4_c : 2036.8
    vvc_avg_12_32x4_avx2 : 37.6
    vvc_avg_12_32x8_c : 4017.6
    vvc_avg_12_32x8_avx2 : 44.1
    vvc_avg_12_32x16_c : 8018.6
    vvc_avg_12_32x16_avx2 : 70.8
    vvc_avg_12_32x32_c : 15637.6
    vvc_avg_12_32x32_avx2 : 124.3
    vvc_avg_12_32x64_c : 31143.3
    vvc_avg_12_32x64_avx2 : 830.3
    vvc_avg_12_32x128_c : 75706.8
    vvc_avg_12_32x128_avx2 : 1604.8
    vvc_avg_12_64x2_c : 3230.3
    vvc_avg_12_64x2_avx2 : 33.6
    vvc_avg_12_64x4_c : 4139.6
    vvc_avg_12_64x4_avx2 : 45.1
    vvc_avg_12_64x8_c : 8201.6
    vvc_avg_12_64x8_avx2 : 67.1
    vvc_avg_12_64x16_c : 25632.3
    vvc_avg_12_64x16_avx2 : 110.3
    vvc_avg_12_64x32_c : 30744.3
    vvc_avg_12_64x32_avx2 : 200.3
    vvc_avg_12_64x64_c : 105554.8
    vvc_avg_12_64x64_avx2 : 1325.6
    vvc_avg_12_64x128_c : 235254.3
    vvc_avg_12_64x128_avx2 : 3132.6
    vvc_avg_12_128x2_c : 6194.3
    vvc_avg_12_128x2_avx2 : 55.1
    vvc_avg_12_128x4_c : 7583.8
    vvc_avg_12_128x4_avx2 : 79.3
    vvc_avg_12_128x8_c : 14635.6
    vvc_avg_12_128x8_avx2 : 104.3
    vvc_avg_12_128x16_c : 29270.8
    vvc_avg_12_128x16_avx2 : 194.3
    vvc_avg_12_128x32_c : 60113.6
    vvc_avg_12_128x32_avx2 : 346.3
    vvc_avg_12_128x64_c : 197030.3
    vvc_avg_12_128x64_avx2 : 2779.6
    vvc_avg_12_128x128_c : 432809.6
    vvc_avg_12_128x128_avx2 : 5513.3
    vvc_w_avg_8_2x2_c : 84.3
    vvc_w_avg_8_2x2_avx2 : 42.6
    vvc_w_avg_8_2x4_c : 156.3
    vvc_w_avg_8_2x4_avx2 : 58.8
    vvc_w_avg_8_2x8_c : 310.6
    vvc_w_avg_8_2x8_avx2 : 73.1
    vvc_w_avg_8_2x16_c : 942.1
    vvc_w_avg_8_2x16_avx2 : 113.3
    vvc_w_avg_8_2x32_c : 1098.8
    vvc_w_avg_8_2x32_avx2 : 202.6
    vvc_w_avg_8_2x64_c : 2414.3
    vvc_w_avg_8_2x64_avx2 : 467.6
    vvc_w_avg_8_2x128_c : 4763.8
    vvc_w_avg_8_2x128_avx2 : 1333.1
    vvc_w_avg_8_4x2_c : 140.1
    vvc_w_avg_8_4x2_avx2 : 49.8
    vvc_w_avg_8_4x4_c : 276.3
    vvc_w_avg_8_4x4_avx2 : 58.1
    vvc_w_avg_8_4x8_c : 524.3
    vvc_w_avg_8_4x8_avx2 : 72.3
    vvc_w_avg_8_4x16_c : 1108.1
    vvc_w_avg_8_4x16_avx2 : 111.8
    vvc_w_avg_8_4x32_c : 2149.8
    vvc_w_avg_8_4x32_avx2 : 199.6
    vvc_w_avg_8_4x64_c : 12288.1
    vvc_w_avg_8_4x64_avx2 : 509.3
    vvc_w_avg_8_4x128_c : 8398.6
    vvc_w_avg_8_4x128_avx2 : 1319.6
    vvc_w_avg_8_8x2_c : 271.1
    vvc_w_avg_8_8x2_avx2 : 44.1
    vvc_w_avg_8_8x4_c : 503.3
    vvc_w_avg_8_8x4_avx2 : 61.8
    vvc_w_avg_8_8x8_c : 1031.1
    vvc_w_avg_8_8x8_avx2 : 93.8
    vvc_w_avg_8_8x16_c : 2009.8
    vvc_w_avg_8_8x16_avx2 : 163.1
    vvc_w_avg_8_8x32_c : 4161.3
    vvc_w_avg_8_8x32_avx2 : 292.1
    vvc_w_avg_8_8x64_c : 7940.6
    vvc_w_avg_8_8x64_avx2 : 592.1
    vvc_w_avg_8_8x128_c : 16802.3
    vvc_w_avg_8_8x128_avx2 : 1287.6
    vvc_w_avg_8_16x2_c : 762.6
    vvc_w_avg_8_16x2_avx2 : 53.6
    vvc_w_avg_8_16x4_c : 1486.3
    vvc_w_avg_8_16x4_avx2 : 67.1
    vvc_w_avg_8_16x8_c : 1907.8
    vvc_w_avg_8_16x8_avx2 : 96.8
    vvc_w_avg_8_16x16_c : 3883.6
    vvc_w_avg_8_16x16_avx2 : 151.3
    vvc_w_avg_8_16x32_c : 7974.8
    vvc_w_avg_8_16x32_avx2 : 285.8
    vvc_w_avg_8_16x64_c : 25160.6
    vvc_w_avg_8_16x64_avx2 : 589.8
    vvc_w_avg_8_16x128_c : 58328.1
    vvc_w_avg_8_16x128_avx2 : 1169.8
    vvc_w_avg_8_32x2_c : 1009.1
    vvc_w_avg_8_32x2_avx2 : 65.6
    vvc_w_avg_8_32x4_c : 2091.1
    vvc_w_avg_8_32x4_avx2 : 96.8
    vvc_w_avg_8_32x8_c : 3997.8
    vvc_w_avg_8_32x8_avx2 : 156.3
    vvc_w_avg_8_32x16_c : 8216.8
    vvc_w_avg_8_32x16_avx2 : 269.6
    vvc_w_avg_8_32x32_c : 21746.1
    vvc_w_avg_8_32x32_avx2 : 635.3
    vvc_w_avg_8_32x64_c : 31564.8
    vvc_w_avg_8_32x64_avx2 : 1010.6
    vvc_w_avg_8_32x128_c : 114373.3
    vvc_w_avg_8_32x128_avx2 : 2013.6
    vvc_w_avg_8_64x2_c : 2067.3
    vvc_w_avg_8_64x2_avx2 : 97.6
    vvc_w_avg_8_64x4_c : 3901.1
    vvc_w_avg_8_64x4_avx2 : 154.8
    vvc_w_avg_8_64x8_c : 7911.6
    vvc_w_avg_8_64x8_avx2 : 268.8
    vvc_w_avg_8_64x16_c : 16508.8
    vvc_w_avg_8_64x16_avx2 : 501.8
    vvc_w_avg_8_64x32_c : 38770.3
    vvc_w_avg_8_64x32_avx2 : 1287.6
    vvc_w_avg_8_64x64_c : 110350.6
    vvc_w_avg_8_64x64_avx2 : 1890.8
    vvc_w_avg_8_64x128_c : 141354.6
    vvc_w_avg_8_64x128_avx2 : 3839.6
    vvc_w_avg_8_128x2_c : 7012.1
    vvc_w_avg_8_128x2_avx2 : 159.3
    vvc_w_avg_8_128x4_c : 8146.8
    vvc_w_avg_8_128x4_avx2 : 272.6
    vvc_w_avg_8_128x8_c : 24596.8
    vvc_w_avg_8_128x8_avx2 : 501.1
    vvc_w_avg_8_128x16_c : 35918.1
    vvc_w_avg_8_128x16_avx2 : 948.8
    vvc_w_avg_8_128x32_c : 68799.6
    vvc_w_avg_8_128x32_avx2 : 1963.1
    vvc_w_avg_8_128x64_c : 133862.1
    vvc_w_avg_8_128x64_avx2 : 3833.6
    vvc_w_avg_8_128x128_c : 348427.8
    vvc_w_avg_8_128x128_avx2 : 7682.8
    vvc_w_avg_10_2x2_c : 118.6
    vvc_w_avg_10_2x2_avx2 : 73.1
    vvc_w_avg_10_2x4_c : 189.1
    vvc_w_avg_10_2x4_avx2 : 89.3
    vvc_w_avg_10_2x8_c : 382.8
    vvc_w_avg_10_2x8_avx2 : 179.8
    vvc_w_avg_10_2x16_c : 658.3
    vvc_w_avg_10_2x16_avx2 : 185.1
    vvc_w_avg_10_2x32_c : 1409.3
    vvc_w_avg_10_2x32_avx2 : 290.8
    vvc_w_avg_10_2x64_c : 2906.8
    vvc_w_avg_10_2x64_avx2 : 793.1
    vvc_w_avg_10_2x128_c : 6292.6
    vvc_w_avg_10_2x128_avx2 : 1696.8
    vvc_w_avg_10_4x2_c : 178.8
    vvc_w_avg_10_4x2_avx2 : 80.1
    vvc_w_avg_10_4x4_c : 581.6
    vvc_w_avg_10_4x4_avx2 : 97.6
    vvc_w_avg_10_4x8_c : 693.3
    vvc_w_avg_10_4x8_avx2 : 128.1
    vvc_w_avg_10_4x16_c : 1436.6
    vvc_w_avg_10_4x16_avx2 : 179.8
    vvc_w_avg_10_4x32_c : 2409.1
    vvc_w_avg_10_4x32_avx2 : 292.3
    vvc_w_avg_10_4x64_c : 4925.3
    vvc_w_avg_10_4x64_avx2 : 746.1
    vvc_w_avg_10_4x128_c : 10664.6
    vvc_w_avg_10_4x128_avx2 : 1647.6
    vvc_w_avg_10_8x2_c : 359.3
    vvc_w_avg_10_8x2_avx2 : 80.1
    vvc_w_avg_10_8x4_c : 925.6
    vvc_w_avg_10_8x4_avx2 : 97.6
    vvc_w_avg_10_8x8_c : 1360.6
    vvc_w_avg_10_8x8_avx2 : 121.8
    vvc_w_avg_10_8x16_c : 3490.3
    vvc_w_avg_10_8x16_avx2 : 203.3
    vvc_w_avg_10_8x32_c : 5266.1
    vvc_w_avg_10_8x32_avx2 : 325.8
    vvc_w_avg_10_8x64_c : 11127.1
    vvc_w_avg_10_8x64_avx2 : 747.8
    vvc_w_avg_10_8x128_c : 31058.3
    vvc_w_avg_10_8x128_avx2 : 1424.6
    vvc_w_avg_10_16x2_c : 624.8
    vvc_w_avg_10_16x2_avx2 : 84.6
    vvc_w_avg_10_16x4_c : 1389.6
    vvc_w_avg_10_16x4_avx2 : 109.1
    vvc_w_avg_10_16x8_c : 2688.3
    vvc_w_avg_10_16x8_avx2 : 137.1
    vvc_w_avg_10_16x16_c : 5387.1
    vvc_w_avg_10_16x16_avx2 : 224.6
    vvc_w_avg_10_16x32_c : 10776.3
    vvc_w_avg_10_16x32_avx2 : 312.1
    vvc_w_avg_10_16x64_c : 18069.1
    vvc_w_avg_10_16x64_avx2 : 858.6
    vvc_w_avg_10_16x128_c : 43460.3
    vvc_w_avg_10_16x128_avx2 : 1411.6
    vvc_w_avg_10_32x2_c : 1232.8
    vvc_w_avg_10_32x2_avx2 : 99.1
    vvc_w_avg_10_32x4_c : 4017.6
    vvc_w_avg_10_32x4_avx2 : 134.1
    vvc_w_avg_10_32x8_c : 9306.3
    vvc_w_avg_10_32x8_avx2 : 208.1
    vvc_w_avg_10_32x16_c : 8424.6
    vvc_w_avg_10_32x16_avx2 : 349.3
    vvc_w_avg_10_32x32_c : 20787.8
    vvc_w_avg_10_32x32_avx2 : 655.3
    vvc_w_avg_10_32x64_c : 40972.1
    vvc_w_avg_10_32x64_avx2 : 904.8
    vvc_w_avg_10_32x128_c : 85670.3
    vvc_w_avg_10_32x128_avx2 : 1751.6
    vvc_w_avg_10_64x2_c : 2454.1
    vvc_w_avg_10_64x2_avx2 : 132.6
    vvc_w_avg_10_64x4_c : 5012.6
    vvc_w_avg_10_64x4_avx2 : 215.6
    vvc_w_avg_10_64x8_c : 10811.3
    vvc_w_avg_10_64x8_avx2 : 361.1
    vvc_w_avg_10_64x16_c : 33349.1
    vvc_w_avg_10_64x16_avx2 : 904.1
    vvc_w_avg_10_64x32_c : 41892.3
    vvc_w_avg_10_64x32_avx2 : 1220.6
    vvc_w_avg_10_64x64_c : 66983.3
    vvc_w_avg_10_64x64_avx2 : 2622.1
    vvc_w_avg_10_64x128_c : 246508.8
    vvc_w_avg_10_64x128_avx2 : 3316.8
    vvc_w_avg_10_128x2_c : 7791.6
    vvc_w_avg_10_128x2_avx2 : 198.8
    vvc_w_avg_10_128x4_c : 10534.3
    vvc_w_avg_10_128x4_avx2 : 337.3
    vvc_w_avg_10_128x8_c : 21142.3
    vvc_w_avg_10_128x8_avx2 : 614.8
    vvc_w_avg_10_128x16_c : 40968.6
    vvc_w_avg_10_128x16_avx2 : 1160.6
    vvc_w_avg_10_128x32_c : 113043.3
    vvc_w_avg_10_128x32_avx2 : 1644.6
    vvc_w_avg_10_128x64_c : 230658.3
    vvc_w_avg_10_128x64_avx2 : 5065.3
    vvc_w_avg_10_128x128_c : 335236.3
    vvc_w_avg_10_128x128_avx2 : 6450.3
    vvc_w_avg_12_2x2_c : 185.3
    vvc_w_avg_12_2x2_avx2 : 43.6
    vvc_w_avg_12_2x4_c : 340.3
    vvc_w_avg_12_2x4_avx2 : 55.8
    vvc_w_avg_12_2x8_c : 632.3
    vvc_w_avg_12_2x8_avx2 : 70.1
    vvc_w_avg_12_2x16_c : 728.3
    vvc_w_avg_12_2x16_avx2 : 108.1
    vvc_w_avg_12_2x32_c : 1392.6
    vvc_w_avg_12_2x32_avx2 : 176.8
    vvc_w_avg_12_2x64_c : 2618.3
    vvc_w_avg_12_2x64_avx2 : 757.3
    vvc_w_avg_12_2x128_c : 6408.8
    vvc_w_avg_12_2x128_avx2 : 1435.1
    vvc_w_avg_12_4x2_c : 349.3
    vvc_w_avg_12_4x2_avx2 : 44.3
    vvc_w_avg_12_4x4_c : 607.1
    vvc_w_avg_12_4x4_avx2 : 52.6
    vvc_w_avg_12_4x8_c : 1134.8
    vvc_w_avg_12_4x8_avx2 : 70.1
    vvc_w_avg_12_4x16_c : 1378.1
    vvc_w_avg_12_4x16_avx2 : 115.3
    vvc_w_avg_12_4x32_c : 2599.3
    vvc_w_avg_12_4x32_avx2 : 174.3
    vvc_w_avg_12_4x64_c : 4474.8
    vvc_w_avg_12_4x64_avx2 : 656.1
    vvc_w_avg_12_4x128_c : 11319.6
    vvc_w_avg_12_4x128_avx2 : 1373.1
    vvc_w_avg_12_8x2_c : 595.8
    vvc_w_avg_12_8x2_avx2 : 44.3
    vvc_w_avg_12_8x4_c : 1164.3
    vvc_w_avg_12_8x4_avx2 : 56.6
    vvc_w_avg_12_8x8_c : 2019.6
    vvc_w_avg_12_8x8_avx2 : 80.1
    vvc_w_avg_12_8x16_c : 4071.6
    vvc_w_avg_12_8x16_avx2 : 139.3
    vvc_w_avg_12_8x32_c : 4485.1
    vvc_w_avg_12_8x32_avx2 : 250.6
    vvc_w_avg_12_8x64_c : 8404.8
    vvc_w_avg_12_8x64_avx2 : 735.8
    vvc_w_avg_12_8x128_c : 35679.8
    vvc_w_avg_12_8x128_avx2 : 1252.6
    vvc_w_avg_12_16x2_c : 1114.8
    vvc_w_avg_12_16x2_avx2 : 46.6
    vvc_w_avg_12_16x4_c : 2240.1
    vvc_w_avg_12_16x4_avx2 : 62.6
    vvc_w_avg_12_16x8_c : 13174.6
    vvc_w_avg_12_16x8_avx2 : 88.6
    vvc_w_avg_12_16x16_c : 5334.6
    vvc_w_avg_12_16x16_avx2 : 144.3
    vvc_w_avg_12_16x32_c : 8378.1
    vvc_w_avg_12_16x32_avx2 : 234.6
    vvc_w_avg_12_16x64_c : 21300.8
    vvc_w_avg_12_16x64_avx2 : 761.8
    vvc_w_avg_12_16x128_c : 32786.8
    vvc_w_avg_12_16x128_avx2 : 1432.8
    vvc_w_avg_12_32x2_c : 2154.3
    vvc_w_avg_12_32x2_avx2 : 61.1
    vvc_w_avg_12_32x4_c : 4299.8
    vvc_w_avg_12_32x4_avx2 : 83.1
    vvc_w_avg_12_32x8_c : 7964.8
    vvc_w_avg_12_32x8_avx2 : 132.6
    vvc_w_avg_12_32x16_c : 13321.6
    vvc_w_avg_12_32x16_avx2 : 234.6
    vvc_w_avg_12_32x32_c : 21149.3
    vvc_w_avg_12_32x32_avx2 : 433.3
    vvc_w_avg_12_32x64_c : 43666.6
    vvc_w_avg_12_32x64_avx2 : 876.6
    vvc_w_avg_12_32x128_c : 83189.8
    vvc_w_avg_12_32x128_avx2 : 1756.6
    vvc_w_avg_12_64x2_c : 3829.8
    vvc_w_avg_12_64x2_avx2 : 83.1
    vvc_w_avg_12_64x4_c : 8588.1
    vvc_w_avg_12_64x4_avx2 : 127.1
    vvc_w_avg_12_64x8_c : 17027.6
    vvc_w_avg_12_64x8_avx2 : 310.6
    vvc_w_avg_12_64x16_c : 29797.8
    vvc_w_avg_12_64x16_avx2 : 415.6
    vvc_w_avg_12_64x32_c : 43854.3
    vvc_w_avg_12_64x32_avx2 : 773.3
    vvc_w_avg_12_64x64_c : 137767.3
    vvc_w_avg_12_64x64_avx2 : 1608.6
    vvc_w_avg_12_64x128_c : 316428.3
    vvc_w_avg_12_64x128_avx2 : 3249.8
    vvc_w_avg_12_128x2_c : 8824.6
    vvc_w_avg_12_128x2_avx2 : 130.3
    vvc_w_avg_12_128x4_c : 17173.6
    vvc_w_avg_12_128x4_avx2 : 219.3
    vvc_w_avg_12_128x8_c : 21997.8
    vvc_w_avg_12_128x8_avx2 : 397.3
    vvc_w_avg_12_128x16_c : 43553.8
    vvc_w_avg_12_128x16_avx2 : 790.1
    vvc_w_avg_12_128x32_c : 89792.1
    vvc_w_avg_12_128x32_avx2 : 1497.6
    vvc_w_avg_12_128x64_c : 226573.3
    vvc_w_avg_12_128x64_avx2 : 3153.1
    vvc_w_avg_12_128x128_c : 332090.1
    vvc_w_avg_12_128x128_avx2 : 6499.6

    Signed-off-by : Wu Jianhua <toqsxw@outlook.com>

    • [DH] libavcodec/x86/vvc/Makefile
    • [DH] libavcodec/x86/vvc/vvc_mc.asm
    • [DH] libavcodec/x86/vvc/vvcdsp_init.c