Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (58)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (5219)

  • DirectShow stream using ffmpeg point to point streaming through TCP protocol

    12 juillet 2017, par Jānis Biedriņš

    I had set up a point-to-point stream using ffmpeg via UDP protocol and the stream worked, but there was screen tearing etc. I already tried raising the buffer size, but it did not help. This is a work network, so the UDP protocol won’t work.
    here is the full command :

    ffmpeg -f dshow  -i video="UScreenCapture"  -r 30 -vcodec mpeg4 -q 12 -f mpegts udp://192.168.1.220:1234?pkt_size=188?buffer_size=65535

    I’ve tried to make this work with TCP with no success
    Here’s what i’ve got now :

    ffmpeg -f dshow -i video="UScreenCapture" -f mpegts tcp://192.168.1.194:5555

    this returns an error :

    real-time buffer [UScreenCapture] [Video input] too full or near too
    full <323% of size : 3041280 [rtbufsize parameter]> ! frame dropped !

    This last message repeated xxxx times (it went up to around 1400 and I just turned it off).

    I’ve tried to implement the -rtbufsize paremeter and raising the buffsize up to 800000000, didn’t help.

    I would appreciate any suggestions on how to solve this.

  • Incorrect height for U and V channel when creating video from jpgs using ffmpeg

    27 juillet 2022, par Chu Bun

    I use the method in the ffmpeg source sample decode_video.c to decode a series of jpgs into AVFrames. Then use the method in the sample encode_video.c to combine the AVFrames into a video file.

    &#xA;

    AV_CODEC_ID_MJPEG is used to set up the decoder for the jpgs. The output frames have the format AV_PIX_FMT_YUVJ422P which has (full-width x full-height) Y-channel, and (half-width x full-height) U and V channels. The problem is when I try to encode the frames, ffmpeg seems to expect (half-width x half-height) U and V channels. As a result the colors are stretch in the vertical direction and do not match with the image in the Y-channel.

    &#xA;

    I could not figure out how to either decode the jpgs into YUV420 (half-width x half-height) frames, or encode frames in YUV422 format. Any pointers ?

    &#xA;

  • FFMPEG API : How to clear real-time buffer ?

    29 novembre 2018, par user67

    Here’s the c++ code that I’m using to access my webcam.

    int Camera::Init(char* file_name,
                   char* device_name,
                   char* format,
                   char* resolution,
                   char* frame_rate,
                   char* pixel_format)
    {
       av_log(NULL, AV_LOG_INFO, "---INIT STARTED\n");
       avdevice_register_all();
       av_register_all();

       AVDictionary* properties_collection = NULL;
       av_dict_set(&amp;properties_collection, "f", format, NULL);
       av_dict_set(&amp;properties_collection, "video_size", resolution, NULL);
       av_dict_set(&amp;properties_collection, "framerate", frame_rate, NULL);
       av_dict_set(&amp;properties_collection, "pix_fmt", pixel_format, NULL);
       AVInputFormat *input_format = av_find_input_format("dshow");
       char command_line[256];
       sprintf(command_line, "video=%s", device_name);
       AVFormatContext *input_context = avformat_alloc_context();
       //input_context->flags |= AVFMT_FLAG_NOBUFFER;      //DOESN'T HELP
       //input_context->max_picture_buffer = 0;            //ERR

       int err_code = 0;
       err_code = avformat_open_input(&amp;input_context,
                                       command_line,
                                       input_format,
                                       &amp;properties_collection);
       int i = 0;
       while (i++ &lt; 30)
       {
           Sleep(1000);
           //avformat_flush(input_context); //DOESN'T HELP
           //av_free(input_context); //ERR
       }
       system("pause");
       return 0;
    }

    Right after "avformat_open_input()" it starts reading frames to some internal buffer without me even calling "av_read_frame()".
    After about 10 seconds it start’s giving me error messages :

    [dshow @ 0014ed40] real-time buffer [VirtualBox Webcam - FULL HD 1080P Webcam] [video input]
    too full or near too full (62% of size: 3041280 [rtbufsize parameter])!
    frame dropped!
    ...
    ...
    ...
    [dshow @ 0014ed40] real-time buffer [VirtualBox Webcam - FULL HD 1080P Webcam] [video input]
    too full or near too full (100% of size: 3041280 [rtbufsize parameter])!
    frame dropped!

    How to clear this buffer or avoid using it ?

    Thanks in advance.

    P.S.Please pardon my english.

    P.P.S.Have a good day.