Recherche avancée

Médias (0)

Mot : - Tags -/organisation

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

Autres articles (37)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (4276)

  • ffmpeg thumbnailer configure/make trouble in CentOS6

    16 décembre 2013, par Juneyoung Oh

    I am using CentOS 6.4 86x64.

    What I am planning to do is install ffmpegthumbnailer.

    I have downloaded at the link below.
    https://code.google.com/p/ffmpegthumbnailer/

    The problem is when I extract the tar.gz and command configure,

    It alway says like this.

    checking for FFMPEG... no
    configure: error: Package requirements (libavutil libavformat libavcodec >= 52.26.0 libswscale) were not met:

    No package 'libavutil' found
    No package 'libavformat' found
    No package 'libavcodec' found
    No package 'libswscale' found

    Of course, I already installed ffmpeg 1.2.

    /usr/lib64/libswscale.so.0.11.0
    /usr/lib64/libswscale.so.0

    and also have libswscale.so.

    What can I do to solve this ?

    Thanks:D

    ============I solved one and get another===============

    I solved(?) this with what console said.

    adjust PKG_CONFIG_PATH.

    I find my libavutil.pc and give that path to PKG_CONFIG_PATH, like below.

    export PKG_CONFIG_PATH=/usr/lib/pkgconfig/

    then It looks OK, but I got another one.

    ./configure works nice with suspected message.

    CONFIGURATION SUMMARY ----
    png support          : disabled
    jpeg support         : disabled
    gio support          : disabled
    register thumbnailer : disabled
    unittests            : disabled
    debug mode           : disabled

    anyway, configure was OK, and I have make files now.

    The problem is when I do make command, it shows error like below.

    /usr/bin/ld: /usr//lib/libavformat.a(allformats.o): relocation R_X86_64_32 against `ff_a64_muxer' can not be used when making a shared object; recompile with -fPIC
    /usr//lib/libavformat.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make[2]: *** [libffmpegthumbnailer.la] Error 1
    make[2]: Leaving directory `/home/guest/Downloads/ffmpegthumbnailer-2.0.8'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/guest/Downloads/ffmpegthumbnailer-2.0.8'
    make: *** [all] Error 2

    Please, tell me that I have to do solve this:D

  • ffmpeg H264 Encode Frame at a time for network streaming

    4 février 2017, par Richard Harrow

    I’m working on a remote desktop application, I would like to send an encoded H264 packet over TCP by using ffmpeg for the encoding. However I couldn’t find useful info for the particular case of encoding just one frame (already on YUV444) and get the packet.

    I have several issues, the first was that :

    avcodec_encode_video2

    Was not blocking, I found that most of the time you get the "delayed" frames at the end, however, since this is a real time streaming the solution was :

    av_opt_set(mCodecContext->priv_data, "tune", "zerolatency", 0);

    Now I got the frame, but several issues, it takes a while and even worse I got a gray with trash pixels video as result. My configuration for the Codec Context :

    m_pCodecCtx->bit_rate=8000000;
    m_pCodecCtx->codec_id=AV_CODEC_ID_H264;
    m_pCodecCtx->codec_type = AVMEDIA_TYPE_VIDEO;
    m_pCodecCtx->width=1920;
    m_pCodecCtx->height=1080;
    m_pCodecCtx->pix_fmt=AV_PIX_FMT_YUV444P;
    m_pCodecCtx->time_base.num = 1;
    m_pCodecCtx->time_base.den = 25;
    m_pCodecCtx->gop_size = 1;
    m_pCodecCtx->keyint_min = 1;
    m_pCodecCtx->i_quant_factor = float(0.71);
    m_pCodecCtx->b_frame_strategy = 20;
    m_pCodecCtx->qcompress = (float)0.6;
    m_pCodecCtx->qmax = 51;
    m_pCodecCtx->qmin = 20;
    m_pCodecCtx->max_qdiff = 4;
    m_pCodecCtx->refs = 4;
    m_pCodecCtx->max_b_frames = 1;
    m_pCodecCtx->thread_count = 1;

    I would like to know how this could be done, how do I set the "I Frames" ? and, that would be the optimal for a "one at a time" encoding ? Also I’m not concerned right now with the quality, just need to be fast enough (under 16 ms).

    For the encoding part :

    nres = avcodec_encode_video2(m_pCodecCtx,&packet,m_pFrame,&framefinished);

    if(nres<0){
       qDebug() << "error encoding: " << nres << endl;
    }

    if(framefinished){
       m_pFrame->pts++;
        ofstream vidout("video.h264",ios::app);
        if(vidout.good()){
            vidout.write((const char*)&packet.data[0],packet.size);
        }
        vidout.close();

        av_packet_unref(&packet);

    }

    I’m not using a container, just a raw file, ffplay reproduce raw files if the packets are right, and that’s my principal issue. I’m planning to send the packet over tcp and decode on the client. Any help would be greatly appreciated.

  • Bash script : Cycle script until ffmpeg command restarts successfully

    13 août 2023, par Bellacoda

    I have a IP Camera and the recordings are saved with ffmpeg RTSP into a raspberry pi.

    


    Sometimes, when the electricity shuts off and comes back on, the raspberry boots faster than the IP Camera and the ffmpeg command (saved on a crontab to run every reboot) fails to execute because it can't reach the IP Camera (that is still turning on).

    


    I tried to put a sleep command before the command but that doesn't work either.

    


    It also happened that when the IP Camera reboots, the raspberry closes the command, but when the camera comes back online, I have to manually lauch the command.

    


    Is there a way to make a script that waits to run the ffmpeg command until the camera is fully online (I assume with the $ ? variable for command exit status), and to wait to restart the ffmpeg command when the camera reboots ?

    


    The setup I have now is a crontab :
SHELL=/bin/bash
@reboot sleep 120s ; sudo ffmpeg ...