Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (97)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (8742)

  • when I filter a frame with "fps=fps=30" my code starts consuming a lot of ram until it crashes, but if I use "scale=250:250" it works fine

    23 août 2021, par Gabriel Ayala

    When I apply the filter "scale=250:250" my code works, it outputs a rescalated video
but when I apply the filter "fps=fps=30000/1000", the code asks for ram until it crashes, I think the problem is in the applyFilter function
PasteBin of complete code https://pastebin.com/tcgwFmTz this part starts at line 257

    


    int applyFilter(filterCtx* filter, AVFrame* inFrame, AVFrame* outFrame)
{
    int ret;
    /* push the decoded frame into the filtergraph */
    if (av_buffersrc_add_frame_flags(filter->buffersrc_ctx, inFrame, AV_BUFFERSRC_FLAG_KEEP_REF) < 0)
    {
        return 0;
    }

    /* pull filtered frames from the filtergraph */
    for (EVER)
    {
        ret = av_buffersink_get_frame(filter->buffersink_ctx, outFrame);
        if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF)
        {
            return 3;
        }
        if (ret < 0)
        {
            return -1;
        }
        return 0;
    }
    return 0;
}


    


        char filterDesc = "fps=fps=30000/1000"; // THIS DOESN'T WORK
    //char filterDesc = "scale=1200:1200"; THIS WORKS
    filter = initFilter(filterDesc, params);
    
    for (EVER)
    {
        getFrame(decoder, frame, packet);
        if(decoder->container->streams[packet->stream_index]->codecpar->codec_type == AVMEDIA_TYPE_VIDEO)
        {
            if (filter != NULL)
            {
                response = applyFilter(filter, frame, filterFrame);
                if (response < 0)
                {
                    printf("Error while applying a filter");
                    return -1;
                }
                tmp = frame;
                av_frame_unref(frame);
                frame = filterFrame;
                filterFrame = tmp;
                if(response == 3)
                {
                    continue;
                }
            }
            
        }
        encode(decoder, encoder, frame, packet->stream_index);

    }


    


  • How can I make windows "like" the mp4 files I create in Linux and sync with Rsync

    17 juillet 2019, par Geoff Fox

    I am a meteorologist on TV remotely from a studio I built. My control room uses a TriCaster, an amazing studio-in-a-box which runs on a Windows 7 variant. I make my weather maps myself on a Centos 7 machine — around 40,000/day.

    I don’t entirely understand the problem, but here’s a quote from someone helping me at NewTek (the TriCaster company)

    Rsync is built on a *nix based environment where all the file permissions and attributes are based on the Linux environment. There is no meaning for this in NTFS and Windows. The result is you get files that will most likely have the read-only flag set or no flag at all. Other attributes will be delivered as null. I’m sure from your own programming experience, programs don’t like null values and they generally have to be accounted for very specifically.

    And so the finely tuned TriCaster stumbles, meaning lost frames or other problems caused by my short weather animations.

    Here are some samples of the Rsync code I use

    rsync -r -t -s -v --no-p --chmod=ugo=rwX /var/www/html/output/loops/mp4/conus*.mp4 /mnt/tricaster/Clips/Import
    rsync -r -t -s -v --no-p --chmod=ugo=rwX /var/www/html/output/loops/mp4/nebraska*.mp4 /mnt/tricaster/Clips/Import
    rsync -r -t -s -v --no-p --chmod=ugo=rwX /var/www/html/output/loops/mp4/northernplains*.mp4 /mnt/tricaster/Clips/Import

    These are mp4 files. They are only used locally. I really don’t care what flags are checked and permissions filled as long as Windows 7 doesn’t care.

    At this point I always like to tell folks, though I do write some code my last computer class was in high school,’67-68 semester. Thanks in advance for your help.

  • Fix a typo : "the the" -> "the" (#2226)

    16 octobre 2018, par zhiliangxu
    Fix a typo : "the the" -> "the" (#2226)