Recherche avancée

Médias (91)

Autres articles (104)

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

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

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

  • UWP run ffmpeg process to capture

    16 février 2018, par InspiracvionV

    I’m developing a UWP app with C# and I need to start FFmpeg in a process.

    I use this ffmpeg command which works good in CMD :

    D :\ffmpeg.exe -f dshow -crossbar_video_input_pin_number 1 -i
    video="AVerMedia BDA Analog Capture" -vcodec rawvideo -pix_fmt yuv420p
    -s 864x768 -r 10 "D :\capture\output.yuv" -loglevel 16

    But when I start the process with the same command and arguments in my UWP app I get this error from ffmpeg :

    [dshow @ 000001bd43907e80] Unable to BindToObject for AVerMedia BDA
    Analog Capture [dshow @ 000001bd43907e80] Could not find video device
    with name [AVerMedia BDA Analog Capture] among source devices of type
    video. video=AVerMedia BDA Analog Capture : I/O error

    This is my code :

           string filename = @"D:\ffmpeg.exe";
           string arg = " -f dshow -crossbar_video_input_pin_number [VIDEOPIN] -i video=\"AVerMedia BDA Analog Capture\" -vcodec rawvideo -pix_fmt [PIXELCONF] -s [SIZE] -r [FPS] \"[FOLDER]\\[VIDEONAME]\" -loglevel 16";
           arg = path.Text;
           if (!File.Exists(filename))
               System.Diagnostics.Debug.WriteLine("Not exist ffmpeg");



           arg = arg.Replace("[VIDEOPIN]", "1");
           arg = arg.Replace("[VIDEODEVICE]", "AVerMedia BDA Analog Capture");
           arg = arg.Replace("[PIXELCONF]", "yuv420p");
           arg = arg.Replace("[SIZE]", "864x768");
           arg = arg.Replace("[FPS]", "10");
           arg = arg.Replace("[FOLDER]", "D:\\capture");
           arg = arg.Replace("[VIDEONAME]", "output.yuv");

           ProcessStartInfo pi = new ProcessStartInfo(filename, arg);
           System.Diagnostics.Debug.WriteLine(pi.FileName + " " + pi.Arguments.ToString());
           pi.RedirectStandardInput = true;
           pi.RedirectStandardOutput = true;
           pi.RedirectStandardError = true;
           pi.UseShellExecute = false;

           pi.CreateNoWindow = true;
           process = new Process();
           process.StartInfo = pi;
           process.EnableRaisingEvents = true;
           process.OutputDataReceived += new DataReceivedEventHandler(MyProcOutputHandler);
           process.ErrorDataReceived += new DataReceivedEventHandler(MyProcErrorHandler);
           process.Exited += new EventHandler(ExitedProcess);



           process.Start();
           process.BeginErrorReadLine();
           process.BeginOutputReadLine();

    EDIT : This is what i have with :

    ffmpeg -list_devices true -f dshow -i dummy

    ffmpeg version N-90054-g474194a8d0 Copyright (c) 2000-2018 the FFmpeg
    developers built with gcc 7.2.0 (GCC) configuration : —enable-gpl
    —enable-version3 —enable-sdl2 —enable-bzlib —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libmfx —enable-amf —enable-cuda —enable-cuvid —enable-d3d11va —enable-nvenc —enable-dxva2 —enable-avisynth libavutil 56. 7.101 / 56. 7.101 libavcodec 58. 11.101 / 58. 11.101 libavformat 58. 9.100 / 58. 9.100 libavdevice 58. 1.100 / 58. 1.100 libavfilter 7. 12.100 / 7. 12.100 libswscale 5. 0.101 / 5. 0.101 libswresample 3. 0.101 / 3. 0.101 libpostproc 55. 0.100 / 55. 0.100 [dshow @ 0000029065b07940] DirectShow video devices (some may be both video and audio devices) [dshow @ 0000029065b07940]
    "AVerMedia BDA Analog Capture" [dshow @ 0000029065b07940] Alternative
    name
    "@device_pnp_~?\pci#ven_1a0a&dev_6202&subsys_620f1461&rev_01#4&3632f028&0&00e6#65e8773d-8f56-11d0-a3b9-00a0c9223196ca465100-deb0-4d59-818f-8c477184adf6"
    [dshow @ 0000029065b07940] "AVerMedia BDA Analog Capture Secondary"
    [dshow @ 0000029065b07940] Alternative name
    "@device_pnp_~?\pci#ven_1a0a&dev_6202&subsys_620f1461&rev_01#4&3632f028&0&00e6#65e8773d-8f56-11d0-a3b9-00a0c9223196ede957b0-eaa5-4bf4-acf3-6e10cb4836c3"
    [dshow @ 0000029065b07940] DirectShow audio devices [dshow @
    0000029065b07940] Could not enumerate audio only devices (or none
    found). dummy : Immediate exit requested

  • Real-Time Buffer Too Full (FFMPEG)

    25 janvier 2018, par Nimble

    So I’ve been having this issue with ffmpeg, it has been a journey getting the hardware and command to actually do what I want, but I still have one problem.

    Sometimes when I’m recording I just start dropping frames like crazy, this can be after an hour of recording or even ten hours in... Everything will be working fine and then suddenly I’ll start dropping frames due to "real-time buffer too full or near too full". This happens regardless of how low I put the bitrate, and the buffer size is high as it will allow, eventually I’ll just start dropping frames. Almost seems like it could be like a power saving feature kicking in but it’s too inconsistent it seems. Like I said sometimes I can go 10 hours without having this issue.

    Any ideas ?

    Here is my block of code :

    ffmpeg -guess_layout_max 0 -y -f dshow -video_size 3440x1440 -rtbufsize 2147.48M -pixel_format nv12 -framerate 200 ^
    -i video="Video (00 Pro Capture HDMI 4K+)":audio="SPDIF/ADAT (1+2) (RME Fireface UC)" -map 0:0,0:1 -map 0:1 ^
    -preset: llhp -codec:v h264_nvenc -pix_fmt nv12 -b:v 250M -maxrate:v 250M -minrate:v 250M -bufsize:v 250M -b:a 320k ^
    -ac 2 -r 100 -async 1 -vsync 1 -segment_time 600 -segment_wrap 9 -f segment C:\Users\djcim\Videos\PC\PC%02d.mp4 ^
    -guess_layout_max 0 -f dshow -rtbufsize 2000M -i audio="Analog (3+4) (RME Fireface UC)" -map 1:0 -b:a 320k -ac 2 ^
    -af "adelay=200|200" -segment_time 600 -segment_wrap 9 -f segment C:\Users\djcim\Videos\PC\Voices\Theirs\TPC%02d.wav ^
    -guess_layout_max 0 -f dshow -rtbufsize 2000M -i audio="Analog (5+6) (RME Fireface UC)" -map 2:0 -b:a 320k -ac 2 ^
    -af "adelay=825|825" -segment_time 600 -segment_wrap 9 -f segment C:\Users\djcim\Videos\PC\Voices\Mine\MPC%02d.wav

    Here is the error, it repeated around 300 times before locking up ffmpeg forcing my to quit before starting the recording again :

    [dshow @ 0000019a596bdcc0] real-time buffer [Video (00 Pro Capture HDMI 4K+)] [video input] too full or near too full (62% of size: 2147480000 [rtbufsize parameter])! frame dropped!
  • Encoding 4K 60Hz lossless from a capture card

    13 décembre 2017, par Alex Pizzi

    Windows 10 64-bit
    Ryzen 7
    GTX 1080
    32GB RAM

    Hi all,

    I’m trying to encode 4K 30/60Hz video in a lossless format from a 4K capture card and everything I’ve tried gives me a similar error as in the linked image, [real-time buffer too full or near too full frame dropped]

    [Not mine]
    https://cloud.githubusercontent.com/assets/4932401/22171307/ef5c9864-df58-11e6-8821-4b74ce3f32d0.png

    This is the command I’ve tried most recently :

    ffmpeg.exe -f dshow -video_size 3840x2160 -framerate 30 -pixel_format bgr24 -rtbufsize INT_MAX -i video="MZ0380 PCI, Analog 01 Capture" -vf fps=30 out%d.BMP

    With the images dumped to a 10G RAM disk or 850 EVO. I’m doing this to skip the encoding step.

    I get the same error when encoding with h265 lossless and NVENC h265 lossless.

    I need the video to be lossless as it will be used to test hardware h265 encoders.

    Video source is a 4K Blu-ray.

    Any help would be greatly appreciated. Thank you.

    -Alex P