Recherche avancée

Médias (91)

Autres articles (38)

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

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

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

Sur d’autres sites (5188)

  • qsv : Error out if getting session handle failed in avfilter

    15 août 2018, par Zhong Li
    qsv : Error out if getting session handle failed in avfilter
    

    Solve some issues found by an automated code scansion.
    Suppress the complain "variables ’handle’ is used but maybe
    uninitialized".

    Signed-off-by : Zhong Li <zhong.li@intel.com>
    Signed-off-by : Luca Barbato <lu_zero@gentoo.org>

    • [DBH] libavfilter/qsvvpp.c
    • [DBH] libavfilter/vf_deinterlace_qsv.c
    • [DBH] libavfilter/vf_scale_qsv.c
  • ffmpeg : "Impossible to convert between the formats" when using Cuda hardware acceleration

    21 août 2020, par MorenoGentili

    I'm using ffmpeg from the command line on Windows 10 and I wanted to gave Cuda a try to improve execution times. A simple cut command like this works fine and its execution time is reduced by 60-70%. Awesome.

    &#xA;&#xA;

    ffmpeg -hwaccel cuvid -c:v h264_cuvid -ss 00:00:10 -i in.mp4 -c:v h264_nvenc out.mp4&#xA;

    &#xA;&#xA;

    Now I tried to use the -filter_complex flag to overlay, fade and translate a png image over a video. The working non-cuda enhanced command is this one :

    &#xA;&#xA;

    ffmpeg -i in.mp4 -loop 1 -t 75 -i overlay.png -filter_complex "[1:v]fade=t=in:st=30:d=0.3:alpha=1,fade=t=out:st=35.7:d=0.3:alpha=1[png1];[0:v][png1]overlay=x=&#x27;if(gte(t,30), (t-30)*10, NAN)&#x27;" -movflags &#x2B;faststart out.mp4&#xA;

    &#xA;&#xA;

    Then, I added the cuda-related flags to the command like this.

    &#xA;&#xA;

    ffmpeg -hwaccel cuvid -c:v h264_cuvid -i in.mp4 -loop 1 -t 75 -i overlay.png -filter_complex "[1:v]fade=t=in:st=30:d=0.3:alpha=1,fade=t=out:st=35.7:d=0.3:alpha=1[png1];[0:v][png1]overlay=x=&#x27;if(gte(t,30), 60-tanh((t-30)*30/5)*60, NAN)&#x27;" -movflags &#x2B;faststart -c:v h264_nvenc out.mp4&#xA;

    &#xA;&#xA;

    But it won't work. I get this error.

    &#xA;&#xA;

    Impossible to convert between the formats supported by the filter &#x27;graph 0 input from stream 0:0&#x27; and the filter &#x27;auto_scaler_0&#x27;&#xA;Error reinitializing filters!&#xA;Failed to inject frame into filter network: Function not implemented&#xA;Error while processing the decoded data for stream #0:0&#xA;

    &#xA;&#xA;

    I don't even know what it means. Can I actually run ANY ffmpeg command on the GPU with Cuda ? I've found some information about the hwupload_cuda flag but I'm not sure if I should use it and how. My attempts have failed so far.&#xA;Any advice on how I should modify the command to make it work on the GPU ?&#xA;Thanks.

    &#xA;

  • ffmpeg video cropping "unable to parse option value "" as boolean"

    27 novembre 2018, par Lisa Mitchem

    I am trying to crop .mp4 videos to a specific size using this code :

    ffmpeg -i INPUT.mp4 -filter:v "crop=900:1000:800:300” OUTPUT.mp4

    However, even when I change the crop values, I get this error every time :

    [crop @ 0x7f974e8441c0] Unable to parse option value "1000" as boolean
    [crop @ 0x7f974e8441c0] Unable to parse option value "800" as boolean
    [Parsed_crop_0 @ 0x7f974e8440c0] No option name near '300”'
    [AVFilterGraph @ 0x7f974e843dc0] Error initializing filter 'crop' with
    args '900:1000:800:300” out2.mp4
    ffmpeg -i INPUT.mp4 -vf crop=900:1000:800:300”'
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while processing the decoded data for stream #0:0