Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (50)

Sur d’autres sites (8992)

  • use AForge.video.FFMPEG in c# 2008

    23 décembre 2013, par user2922938

    i work in visual studio 2008 in c# language, when run the program the error :

    $exception "Could not load file or assembly 'AForge.Video.FFMPEG,
    Version=2.2.5.0,

    Culture=neutral, PublicKeyToken=03563089b1be05dd' or one of its
    dependencies. An attempt

    was made to load a program with an incorrect format."

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using AForge.Video.FFMPEG;


    namespace WindowsFormsApplication9
    {

    public partial class Form1 : Form
    {

       public Form1()
       {
           InitializeComponent();
       }


       private void button1_Click(object sender, EventArgs e)
       {
           VideoFileReader video = new VideoFileReader();
       }


    }

    what is wrong in program ??

  • avutil/hwcontext_d3d11va : remove check for d3d11 debug layer dll

    14 mars 2024, par Timo Rothenpieler
    avutil/hwcontext_d3d11va : remove check for d3d11 debug layer dll
    

    At least on latest Win 11 and Visual Studio 2022, that DLL does not
    exist anymore and can't be installed via any of the usual means.
    However, debugging works just fine regardless, so this check makes
    debugging impossible.

    D3D11CreateDevice will fail anyway if debugging is not supported, so
    let's rely on that instead.

    • [DH] libavutil/hwcontext_d3d11va.c
  • Can I combine these 2 commands ? (or am I fighting a losing battle ?)

    5 juin 2019, par user11588722

    I’m very new to ffmpeg but so far I’m enjoying it. But I’m stuck on something. I want to combine these two commands into one, something I’m sure must be possible, but after countless hours and no luck, here I am :)

    ffmpeg -y -f concat -safe 0 -protocol_whitelist "file,http,https,tcp,tls" -i "tmp.images.txt" -i "tmp.audio.mp3" -filter_complex "drawbox=y=ih-38:color=black@0.6:width=iw:height=38:t=fill, drawtext=fontfile=Assets/calibrib.ttf:text='%%~ni':fontcolor=white:fontsize=14:x=(w-tw)/2:y=(h)-24" -c:v libx264 -preset veryfast -tune stillimage -shortest -pix_fmt yuv420p "tmp.slide.mp4"

    ffmpeg -loop 1 -framerate 2 -i "Assets/studio.jpg" -i tmp.slide.mp4 -filter_complex "[1]scale=879:496[inner];[0][inner]overlay=207:49:shortest=1[out]" -map "[out]" -map 1:a -c:a aac -y tmp.output.mp4

    the first line creates a slideshow and places text at bottom

    the second line takes the slideshow video and inserts it into a background image before outputting final video