Recherche avancée

Médias (91)

Autres articles (86)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (9460)

  • lavc/libaribb24 : add error handling to region handling

    11 février 2019, par Jan Ekström
    lavc/libaribb24 : add error handling to region handling
    

    Fixes some rather embarrassing mistakes that somehow passed my
    eyes.

    * Now catches if memory allocation has failed during bprint usage
    by checking av_bprint_is_complete().
    * Now catches if adding an ASS rectangle into an AVSubtitle failed.
    * Returns AVERROR_INVALIDDATA if we get an invalid region buffer
    length.

    • [DH] libavcodec/libaribb24.c
  • runtime error when linking ffmpeg libraries in qt creator

    6 juillet 2012, par dxthegreat

    I'm quite new around here but i hear that if you want a question answered, stackoverflow is the place to ask it >.<. So i hope that my question isn't too trivial that everyone will get annoyed at my lack of research (I've tried googling for two days already D= no progress !)
    I've also asked this question in the Qt forums, but i figured i'd ask here too.

    so...

    For the last few days I’ve been fiddling around with opengl and the like, trying to write a video player.

    However, when i try to import the ffmpeg libraries (avcodec, avformat, avutils etc), an error occurs on runtime (the program compiles fine). When compiled and run in debug mode, the error message gives me only a memory address and error code 135 (DLL not found).

    This error occurs when i include a function from those libraries in my code (e.g. av_register_all()) and it occurs regardless of whether the function is actually called.

    So i’m thinking that I’m doing something wrong when linking these libraries.
    I’m currently using :
    Windows vista (32bit),
    Qt creator 2.4.1 based on Qt 4.7.4 (32bit),
    Zeranoe’s FFmpeg build git-3233ad4 (2012-06-30)

    My .pro file consists of :

    QT       += core gui opengl

    TARGET = test
    TEMPLATE = app


    SOURCES += main.cpp\
           mainwindow.cpp \
       glwidget.cpp

    HEADERS += mainwindow.h \
       glwidget.h \

    FORMS    += mainwindow.ui


    LIBS += -L"$$_PRO_FILE_PWD_/libraries/ffmpeg/libs/" -lavcodec -lavformat -lavutil
    INCLUDEPATH += libraries/ffmpeg/includes

    I’ve tried many variations to the LIBS += line and checked my filepath many times. However, the DLL not found error occurs in all of these variations =(.

    Is there something I’m forgetting when doing these includes ?

    Thanks in advance >.<,
    (young and naive) aspiring dev

  • Is it possible to adjust position of gdigrab recording region during recording ?

    30 novembre 2020, par adelima

    I'm using ffmpeg for recording video from defined desktop region by starting ffmpeg.exe as process with arguments like so :

    &#xA;

        public static void StartRecording(Video v) {&#xA;        string outPath = Path.Combine(Application.StartupPath, "rec", $"{v.FileName}.mkv");&#xA;        v.FFMPEG = new Process {&#xA;            StartInfo = new ProcessStartInfo() {&#xA;                Arguments = $"-hide_banner -y -thread_queue_size 512 -f gdigrab -offset_x {v.Bounds.X} -offset_y {v.Bounds.Y} -video_size {v.Bounds.Width}x{v.Bounds.Height} -show_region 0 -i desktop -vf \"scale=trunc(iw/2)*2:trunc(ih/2)*2\" -c:v libx264 -preset ultrafast -crf 18 -pix_fmt yuv420p \"{outPath}\"",&#xA;                WindowStyle = ProcessWindowStyle.Hidden,&#xA;                CreateNoWindow = true,&#xA;                UseShellExecute = false,&#xA;                FileName = Path.Combine(Application.StartupPath, "bin", "ffmpeg.exe"),&#xA;                RedirectStandardOutput = true,&#xA;                RedirectStandardInput = true,&#xA;                RedirectStandardError = true,&#xA;            }&#xA;        };&#xA;        v.FFMPEG.Start();&#xA;&#xA;        new Thread(() => {&#xA;            using(StreamReader sr = v.FFMPEG.StandardError) {&#xA;                while(!sr.EndOfStream) {&#xA;                    Debug.WriteLine(sr.ReadLine());&#xA;                }&#xA;            }&#xA;        }).Start();&#xA;    }&#xA;&#xA;    public static void StopRecording(Video v) {&#xA;        using(StreamWriter sw = v.FFMPEG.StandardInput) {&#xA;            sw.WriteLine("q\n");&#xA;        }&#xA;        v.FFMPEG.WaitForExit();&#xA;        v.FFMPEG.Dispose();&#xA;    }&#xA;

    &#xA;

    Is it possible to make changes to the -offset_x and -offset_y arguments during recording ? I'm drawing the recording region bounds with directx and want to add a titlebar to it which can be dragged to move the recording region, but I'm not sure how I would let ffmpeg know that I want these offsets changed or whether it's even possible.

    &#xA;