Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (42)

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

  • FFmpeg Hardware Acceleration with NVENC produces Half Green output video

    17 juin 2016, par Dan Sandland

    Using the FFmpeg build found here : https://github.com/illuspas/ffmpeg-hw-win32

    gcc 5.3.0
    --enable-nvenc nvidia_video_sdk_6.0.1
    --enable-libmfx Intel(R)_Media_SDK_2016.0.1
    --enable-libfdk-aac 0.1.4
    --enable-libspeex 1.2rc1
    --enable-libx264 1:148.20150725
    --enable-libopenh264 1.5.0
    --enable-libx265 1.8
    --enable-libopus 1.1.2
    --enable-libmp3lame 3.99.5
    --enable-libkvazaar 0.8.2

    ./configure —prefix=/home/aliang/FFmpeg/x86_64 —enable-small —disable-debug —disable-doc —arch=x86_64 —cc=’ccache x86_64-w64-mingw32-gcc’ —cross-prefix=x86_64-w64-mingw32- —enable-cross-compile —target-os=mingw32 —enable-libfdk-aac —enable-libmp3lame —enable-libopus —enable-libspeex —enable-libx264 —enable-libx265 —enable-libmfx —enable-nvenc —enable-libopenh264 —enable-libkvazaar —enable-gpl —enable-nonfree

    I’m running Windows on a MacBook Pro. I also tried with a more recent build and had the same output.

    Input video is from sample-videos.com.

    The ffmpeg command I am running is :

    ffmpeg -y -i sample.mp4 -vcodec nvenc_h264 -pixel_format yuv420p -f mp4 sample-out-nvenc.mp4

    sample-out-nvenc.mp4 looks like this via ffplay or vlc :

    enter image description here

    When I grab a frame using jpeg2, the colors appear normal, but the height is squished.

    ffmpeg -y -ss 15.5 -i sample.mp4 -vframes 1 -s 480x300 -f image2 grab.jpg

    enter image description here

    The ffprobe results for the output (sample-out-nvenc.mp4) :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample-out-nvenc.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.25.100
     Duration: 00:00:31.02, start: 0.021333, bitrate: 1994 kb/s
       Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv), 640x480 [SAR 1:1 DAR 4:3], 1650 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 342 kb/s (default)
       Metadata:
         handler_name    : SoundHandler

    Lastly the output from the nvenc encoding command :

    ffmpeg -y -i sample.mp4 -vcodec nvenc_h264 -pixel_format yuv420p -f mp4 sample-out-nvenc.mp4
    ffmpeg version 3.0 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 5.3.0 (GCC)
     configuration: --prefix=/home/aliang/FFmpeg/x86_64 --enable-small --disable-debug --disable-doc --arch=x86_64 --cc='ccache x86_64-w64-mingw32-gcc' --cross-prefix=x86_64-w64-mingw32- --enable-cross-compile --target-os=mingw32 --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libspeex --enable-libx264 --enable-libx265 --enable-libmfx --enable-nvenc --enable-libopenh264 --enable-libkvazaar --enable-gpl --enable-nonfree
     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
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       creation_time   : 1970-01-01 00:00:00
       encoder         : Lavf53.24.2
     Duration: 00:00:31.00, start: 0.000000, bitrate: 1353 kb/s
       Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 966 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 383 kb/s (default)
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : SoundHandler
    Output #0, mp4, to 'sample-out-nvenc.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.25.100
       Stream #0:0(und): Video: h264 (nvenc_h264) ([33][0][0][0] / 0x0021), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=-1--1, 2000 kb/s, 25 fps, 12800 tbn, 25 tbc (default)
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : VideoHandler
         encoder         : Lavc57.24.102 nvenc_h264
       Side data:
         unknown side data type 10 (24 bytes)
       Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, 5.1, fltp, 341 kb/s (default)
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : SoundHandler
         encoder         : Lavc57.24.102 aac
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (nvenc_h264))
     Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    frame=  774 fps=253 q=-0.0 Lsize=    7551kB time=00:00:30.99 bitrate=1995.6kbits/s speed=10.1x
    video:6236kB audio:1297kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.243011%
    [aac @ 000001cdd9900520] Qavg: 743.457
  • avcodec : add D3D12VA hardware accelerated H264 decoding

    5 décembre 2023, par Wu Jianhua
    avcodec : add D3D12VA hardware accelerated H264 decoding
    

    The implementation is based on :
    https://learn.microsoft.com/en-us/windows/win32/medfound/direct3d-12-video-overview

    With the Direct3D 12 video decoding support, we can render or process
    the decoded images by the pixel shaders or compute shaders directly
    without the extra copy overhead, which is beneficial especially if you
    are trying to render or post-process a 4K or 8K video.

    The command below is how to enable d3d12va :
    ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4

    Signed-off-by : Wu Jianhua <toqsxw@outlook.com>
    Signed-off-by : Tong Wu <tong1.wu@intel.com>

    • [DH] configure
    • [DH] libavcodec/Makefile
    • [DH] libavcodec/d3d11va.h
    • [DH] libavcodec/d3d12va_decode.c
    • [DH] libavcodec/d3d12va_decode.h
    • [DH] libavcodec/d3d12va_h264.c
    • [DH] libavcodec/dxva2.c
    • [DH] libavcodec/dxva2.h
    • [DH] libavcodec/dxva2_av1.c
    • [DH] libavcodec/dxva2_h264.c
    • [DH] libavcodec/dxva2_hevc.c
    • [DH] libavcodec/dxva2_internal.h
    • [DH] libavcodec/dxva2_mpeg2.c
    • [DH] libavcodec/dxva2_vc1.c
    • [DH] libavcodec/dxva2_vp9.c
    • [DH] libavcodec/h264_slice.c
    • [DH] libavcodec/h264dec.c
    • [DH] libavcodec/hwaccels.h
    • [DH] libavcodec/hwconfig.h
  • Deprecate obsolete XvMC hardware decoding support

    5 novembre 2013, par Diego Biurrun
    Deprecate obsolete XvMC hardware decoding support
    

    XvMC has long ago been superseded by newer acceleration APIs, such as
    VDPAU, and few downstreams still support it. Furthermore XvMC is not
    implemented within the hwaccel framework, but requires its own specific
    code in the MPEG-1/2 decoder, which is a maintenance burden.

    • [DBH] doc/general.texi
    • [DBH] libavcodec/allcodecs.c
    • [DBH] libavcodec/avcodec.h
    • [DBH] libavcodec/codec_desc.c
    • [DBH] libavcodec/error_resilience.c
    • [DBH] libavcodec/mpeg12.c
    • [DBH] libavcodec/mpeg12dec.c
    • [DBH] libavcodec/mpegvideo.c
    • [DBH] libavcodec/mpegvideo_xvmc.c
    • [DBH] libavcodec/options_table.h
    • [DBH] libavcodec/version.h
    • [DBH] libavcodec/x86/dsputil_init.c
    • [DBH] libavcodec/xvmc.h
    • [DBH] libavcodec/xvmc_internal.h
    • [DBH] libavutil/old_pix_fmts.h
    • [DBH] libavutil/pixdesc.c
    • [DBH] libavutil/pixfmt.h
    • [DBH] libavutil/version.h