Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (62)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (9961)

  • Ffmpeg can't open m3u8 link

    23 janvier 2021, par Andrei Iosifescu

    Ffmpeg can't play https://live.webcamromania.ro/WR051/wrcam_051/playlist.m3u8. It gives an Input/Output error. With other links it works fine.

    


  • How to open AVCodec ?

    28 novembre 2014, par Anton Kasabutski

    I’m tired of searching the solution about this theme. Can anybody help ?

    Types :

    AVOutputFormat* m_outFormat;
    AVFormatContext* m_formatContext;
    AVCodecContext* m_videoCodecContext;
    AVCodec* m_videoCodec;

    Code :

    avcodec_register_all();
    av_register_all();
    m_outFormat = av_guess_format(NULL,filePath().toUtf8().constData(),NULL);
    //filePath ended like ".mp4"
    if (!m_outFormat)
       return; //all is fine
    avformat_alloc_output_context2(&m_formatContext,NULL,NULL,filePath().toUtf8().constData());
    m_formatContext->oformat->video_id = CODEC_ID_H264;
    m_outFormat=m_formatContext->oformat;
    ////////////////////////////////////////////////////////////////////
    m_videoCodec=avcodec_find_encoder(CODEC_ID_H264);
    m_videoStream = avformat_new_stream(m_formatContext,m_videoCodec);
    if (m_videoStream)
       return; //all is fine
    m_videoCodecContext = avcodec_alloc_context3(m_videoCodec);
    m_videoCodecContext->codec_id = CODEC_ID_H264;
    m_videoCodecContext->width = 1280;
    m_videoCodecContext->height = 720;
    m_videoCodecContext->codec_type = AVMEDIA_TYPE_VIDEO;
    m_videoCodecContext->pix_fmt = PIX_FMT_YUV420P;
    av_codec_open2(M_videoCodecContext,m_videoCodec,NULL);

    I’m getting an error :

    [libx264 @.....] Codec type or id mismathes.

    av_codec_open2(..) returned (-22 error). Where I did mistake ?More info :

    • last ffmpeg
    • Mac Os x 10.10
    • libx264 installed
    • after av_guess_format(...) I’ve got audio_codec = CODEC_ID_H264, video_codec = CODEC_ID_NONE, long_name MP4(MPEG-4 Part 14) in m_outFormat.
    • after avformat_alloc_context3(...) I’ve got audio_codec_id = video_codec_id = CODEC_ID_NONE in m_formatContext.
    • after avcodec_find_encoder(CODEC_ID_H264) I’ve got name = "libx264", id = CODEC_ID_MPEG1VIDEO in m_videoCodec.

      I can share more info if You can say, what do You exactly need.

  • How to open AVCodec ?

    28 novembre 2014, par Anton Kasabutski

    I’m tired of searching the solution about this theme. Can anybody help ?

    Types :

    AVOutputFormat* m_outFormat;
    AVFormatContext* m_formatContext;
    AVCodecContext* m_videoCodecContext;
    AVCodec* m_videoCodec;

    Code :

    avcodec_register_all();
    av_register_all();
    m_outFormat = av_guess_format(NULL,filePath().toUtf8().constData(),NULL);
    //filePath ended like ".mp4"
    if (!m_outFormat)
       return; //all is fine
    avformat_alloc_output_context2(&m_formatContext,NULL,NULL,filePath().toUtf8().constData());
    m_formatContext->oformat->video_id = CODEC_ID_H264;
    m_outFormat=m_formatContext->oformat;
    ////////////////////////////////////////////////////////////////////
    m_videoCodec=avcodec_find_encoder(CODEC_ID_H264);
    m_videoStream = avformat_new_stream(m_formatContext,m_videoCodec);
    if (m_videoStream)
       return; //all is fine
    m_videoCodecContext = avcodec_alloc_context3(m_videoCodec);
    m_videoCodecContext->codec_id = CODEC_ID_H264;
    m_videoCodecContext->width = 1280;
    m_videoCodecContext->height = 720;
    m_videoCodecContext->codec_type = AVMEDIA_TYPE_VIDEO;
    m_videoCodecContext->pix_fmt = PIX_FMT_YUV420P;
    av_codec_open2(M_videoCodecContext,m_videoCodec,NULL);

    I’m getting an error :

    [libx264 @.....] Codec type or id mismathes.

    av_codec_open2(..) returned (-22 error). Where I did mistake ?More info :

    • last ffmpeg
    • Mac Os x 10.10
    • libx264 installed
    • after av_guess_format(...) I’ve got audio_codec = CODEC_ID_H264, video_codec = CODEC_ID_NONE, long_name MP4(MPEG-4 Part 14) in m_outFormat.
    • after avformat_alloc_context3(...) I’ve got audio_codec_id = video_codec_id = CODEC_ID_NONE in m_formatContext.
    • after avcodec_find_encoder(CODEC_ID_H264) I’ve got name = "libx264", id = CODEC_ID_MPEG1VIDEO in m_videoCodec.

      I can share more info if You can say, what do You exactly need.