Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

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

Autres articles (72)

Sur d’autres sites (13368)

  • dnn : add layer pad which is equivalent to tf.pad

    29 juillet 2019, par Guo, Yejun
    dnn : add layer pad which is equivalent to tf.pad
    

    the reason to add this layer first is that vf_sr uses it in its
    tensorflow model, and the next plan is to update the python script
    to convert tf.pad into native model.

    Signed-off-by : Guo, Yejun <yejun.guo@intel.com>
    Signed-off-by : Pedro Arthur <bygrandao@gmail.com>

    • [DH] libavfilter/dnn/Makefile
    • [DH] libavfilter/dnn/dnn_backend_native_layer_pad.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_pad.h
  • FFmpeg eq filter equivalent value for css filter

    27 juillet 2018, par Praveen Tamil

    I’m showing the image with css filter applied in browser to how the output will be look like after processing.

    But the css filter accept the value in form of percent for contrast, brightness, saturation.
    But the ffmpeg’s eq filter is totally different and even more gamma params are used.

    I applied following filter in browser side

    filter: brightness(50%) contrast(100%) saturate(100%);
    filter: brightness(100%) contrast(100%) saturate(50%);
    filter: brightness(120%) contrast(100%) saturate(125%);

    I don’t how to do mapping these values to FFmpeg eq filter.

    I know below is the default code

    eq=contrast=1:brightness=0:saturation=1:gamma=1:gamma_r=1:gamma_g=1:gamma_b=1:gamma_weight=1

    I need equivalent value of FFmpeg’s eq filter for above mentioned CSS filters.
    And mapping value from CSS filter to eq filter.

    css filter ref : https://www.w3schools.com/cssref/css3_pr_filter.asp

  • copy streams equivalent for yt-dlp (python)

    25 décembre 2024, par GDjkhp

    I need the -c:v copy -c:a copy counterpart of ffmpeg postprocessing for yt-dlp in python.

    &#xA;

    The following code is how I convert videos which is really slow.

    &#xA;

            # imagine options -> dict&#xA;        options.update({&#xA;            &#x27;postprocessors&#x27;: [{&#xA;                &#x27;key&#x27;: &#x27;FFmpegVideoConvertor&#x27;,&#xA;                &#x27;preferedformat&#x27;: arg, # can be mp4, webm, etc.&#xA;            }]&#xA;        })&#xA;

    &#xA;