Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (28)

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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (3809)

  • How to use ffmpeg in uwp ?

    22 avril 2022, par MrL

    I developed a software with electron. It needs ffmpeg, but when I package it into appx, I won't be able to use ffmpeg.

    


    let FFmpegPath = path.resolve(AppPath, "FFmpeg");
let FFMPEGPATH = path.resolve(FFmpegPath, "ffmpeg");
let FFPROBEPATH = path.resolve(FFmpegPath, "ffprobe");
let FFoption_V = '"'+FFPROBEPATH+'"' + " -i " +'"'+ path.normalize(PATH)+'"' + " -show_streams -select_streams v -of json";
EXEC_V = C_PRO.execSync(FFoption_V);


    


    This is the information I found, but it doesn't seem to work for electron :https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/desktop-to-uwp-extensions

    


    <package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10">&#xA;  ...&#xA;  <capabilities>&#xA;      &#xA;  </capabilities>&#xA;  <applications>&#xA;    <application>&#xA;      <extensions>&#xA;          &#xA;              &#xA;                  &#xA;                  &#xA;              &#xA;           &#xA;      </extensions>&#xA;    </application>&#xA;  </applications>&#xA;</package>&#xA;

    &#xA;

  • libavcodec initialization to achieve real time playback with frame dropping when necessary

    20 octobre 2019, par Blake Senftner

    I have a C++ computer vision application linking with the ffmpeg libraries that provides frames from video streams to analysis routines. The idea being one can provide a moderately generic video stream identifier, and that video source will be decompressed and passed frame after frame to an analysis routine (which runs the user’s analysis functions.) The "moderately generic video identifier" covers 3 generic video stream types : paths to video files on disk, IP video streams (cameras or video streaming services), and USB webcam pins with desired format & rate.

    My current video player is generic as possible : video only, ignoring audio and other streams. It has a switch case for retrieving a stream’s frame rate based upon the stream’s source and codec, which is used to estimate the delay between decompressing frames. I’ve had many issues with trying to get reliable timestamps from the streams, so I am currently ignoring pts and dts. I know ignoring pts/dts is bad for variable frame rate streams. I plan to special case them later. The player currently checks to see if the last decompressed frame is more than 2 frames late (assuming a constant frame rate), and if so "drops the frame" - does not pass it to the user’s analysis routine.

    Essentially, the video player’s logic is determining when to skip frames (not pass them to the time consuming analysis routine) so the analysis is fed video frames in as close as possible to real time.

    I am looking for examples or discussions how one can initialize and/or maintain their AVFormatContext, AVStream, and AVCodecContext using (presumably but not limited to) AVDictionary options such that frame dropping as is necessary to maintain real time is performed at the libav libraries level, and not at my video player level. If achieving this requires separate AVDictionaies (or more) for each stream type and codec, then so be it. I am interested in understanding the pros and cons of both approachs : dropping frames at the player level or at the libav level.

    (When some analysis requires every frame, the existing player implementation with frame dropping disabled is fine. I suspect if I can get frame dropping to occur at the libav level, I’ll save the packet to frame decompression time as well, reducing the processing more than my current version.)

  • create extended context menu for ffmpeg

    29 mai 2020, par Rami Magdi

    this should be the completed version that i'm unable to achieve

    &#xA;&#xA;

    enter image description here

    &#xA;&#xA;

    this is what i achieved

    &#xA;&#xA;

    enter image description here

    &#xA;&#xA;

    this is my convertingto.reg code

    &#xA;&#xA;

    Windows Registry Editor Version 5.00&#xA;&#xA;    ;command in context menu&#xA;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\converting to]&#xA;&#xA;"MUIVerb"="converting to"&#xA;"SubCommands"="rotate1;rotate2;rotate0;rotate3"&#xA;&#xA;"SeparatorBefore"=""&#xA;"SeparatorAfter"=""&#xA;&#xA;    ;rotate 90 clockwise&#xA;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\rotate1]&#xA;@="rotate 90 clockwise"&#xA;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\rotate1\command]&#xA;@="\"C:\\ffmpeg\\rotate1.bat\"\"%1\""&#xA;&#xA;&#xA;    ;rotate 90 counterclockwise&#xA;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\rotate2]&#xA;@="rotate 90 counterclockwise"&#xA;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\rotate2\command]&#xA;@="\"C:\\ffmpeg\\rotate2.bat\"\"%1\""&#xA;&#xA;&#xA;    ;rotate 90 counterclockwise &amp; vertically flip&#xA;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\rotate0]&#xA;@="90 counterclockwise &amp; vertically flip"&#xA;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\rotate0\command]&#xA;@="\"C:\\ffmpeg\\rotate0.bat\"\"%1\""&#xA;&#xA;&#xA;    ;rotate 90 clockwise &amp; vertically flip&#xA;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\rotate3]&#xA;@="rotate 90 clockwise &amp; vertically flip"&#xA;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\rotate3\command]&#xA;@="\"C:\\ffmpeg\\rotate3.bat\"\"%1\""&#xA;

    &#xA;&#xA;

    i understand this can be done using extendedsubcommandskey unfortunately i can't reproduce microsoft's notes https://docs.microsoft.com/en-us/windows/win32/shell/how-to-create-cascading-menus-with-the-extendedsubcommandskey-registry-entry

    &#xA;