Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (83)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

  • 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 ;

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (4300)

  • Ffmpeg concatenate video file with hw acceleration using cuvid

    9 mars 2023, par Jack Kwakman

    I am trying to use Nvidia hardware acceleration for FFmpeg using cuvid. I want to merge multiple h264 / mp4 files using a complex filter (simplified example) :

    



    ffmpeg -hwaccel cuvid -c:v h264_cuvid -i input.ts -y -fflags +genpts -filter_complex "[0:v:0][0:a:0]concat=n=1:v=1:a=1[outv][outa]" -map "[outv]" -map "[outa]" output.mp4


    



    I use the following version FFmpeg and Ubuntu 16.04 :

    



    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


    



    If i run the command i get the following error :

    



    Impossible to convert between the formats supported by the filter 'Parsed_concat_0' and the filter 'auto_scaler_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented


    



    When i remove the hwaccel flag the command runs but i get a massive CPU load. How can i use a concat complex_filter in combination with cuvid hw acceleration ?

    



    SOLUTION

    



    The concat demuxing worked. The output of the encoder is now in h264. I group the files in a list.txt :

    



    file '/path/to/file1'
file '/path/to/file2'
file '/path/to/file3'


    



    Then run ffmpeg :

    



    ffmpeg -y -f concat -safe 0 -i list.txt -c copy result.mp4


    


  • ffmpeg : Cannot open libx265 encoder. Error initializing output stream 0:0 — Error while opening encoder for output stream #0:0

    16 mai 2018, par bnge

    Sorry for my bad English. I am trying to use ffmpeg to convert some image to heic format. Most of them were succeeded, but some large jpeg (seems only jpeg, png will be okay) files not.

    How can I improve my command to compatible all my images, so I can convert them automatically ?

    ➜  ~ ffmpeg -i sample.jpg -crf 12 -preset placebo -pix_fmt yuv420p -f hevc bitstream.265
    ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers
     built with Apple LLVM version 9.1.0 (clang-902.0.39.1)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/4.0 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma
     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
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  1.100 /  5.  1.100
     libswresample   3.  1.100 /  3.  1.100
     libpostproc    55.  1.100 / 55.  1.100
    Input #0, image2, from 'sample.jpg':
     Duration: 00:00:00.04, start: 0.000000, bitrate: 5226869 kb/s
       Stream #0:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 13333x4200, 25 tbr, 25 tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg (native) -> hevc (libx265))
    Press [q] to stop, [?] for help
    [swscaler @ 0x7fd2e3006000] deprecated pixel format used, make sure you did set range correctly
    x265 [info]: HEVC encoder version 2.7
    x265 [info]: build info [Mac OS X][clang 9.0.0][64 bit] 8bit+10bit+12bit
    x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    x265 [error]: Picture width must be an integer multiple of the specified chroma subsampling
    [libx265 @ 0x7fd2e2802a00] Cannot open libx265 encoder.
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    Conversion failed!
  • configure : error out on unsupported MSVC versions

    15 mai 2018, par Rostislav Pehlivanov
    configure : error out on unsupported MSVC versions
    

    The FATE tests for MSVC versions older than 2013 are untested in FATE
    and apparently are no longer supported.

    This commit makes the configure process error out in case an older version
    is used, and suggests to use a supported version of MSVC to compile.

    This also changes the documentation to reflect this.

    As discussed on IRC :

    2018-05-12 19:45:16 jamrial then again, most of those were for old msvc, and i think we're not supporting versions older than 2013 (first one c99 compliant) anymore
    2018-05-12 19:45:43 +JEEB yea, I think 2013 update 2 is needed

    22:53 <@atomnuker> nevcairiel : which commit broke/unsupported support for msvc 2013 ?
    23:23 <@atomnuker> okay, it was JEEB
    23:25 <+JEEB> which was for 2012 and older
    23:25 <+JEEB> and IIRC we no longer test those in FATE so that was my assumption
    23:26 <+JEEB> 2013 is when MS got trolled enough to actually update their C part
    23:26 <+JEEB> aand actually advertised FFmpeg support
    23:26 <+JEEB> (although it was semi-failing until VS2013 update 1 or 2)

    Signed-off-by : Rostislav Pehlivanov <atomnuker@gmail.com>

    • [DH] configure
    • [DH] doc/platform.texi