Recherche avancée

Médias (91)

Autres articles (67)

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

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

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

  • Error Opening Codec with avcodec

    2 février 2016, par marsop

    I have been trying to transcode subtitles from format SubRip (.srt) to MPEG4 Timed Text to mux them into a MP4 container, where there is already audio and video. Doing so from command line with ffmpeg is trivial :

    ffmpeg -i subtitles.srt -i video.mp4 -c:v copy -c:a copy -c:s mov_text videoWithSubtitles.mp4

    However, using avcodec, I am able to open both files and read from them, but when I try to open the AVCodecContext for the (encoder) codec AV_CODEC_ID_MOV_TEXT, I receive the following message :

    Error code: -1094995529
    Error occurred: Invalid data found when processing input

    The code that produces the error is the following :

    AVCodec *codec = avcodec_find_encoder(AV_CODEC_ID_MOV_TEXT);
    if (!codec) {
       NSLog(@"Error finding encoder");
       exit(-1);
    }

    AVCodecContext *codecContext = avcodec_alloc_context3(codec);
    if (!codecContext) {
       NSLog(@"Error allocating context");
       exit(-1);
    }

    if (avcodec_is_open(codecContext) == 0) {
       NSLog(@"output codec context is closed, opening");
       ret = avcodec_open2(codecContext, codec, NULL);
       if (ret < 0) {
           NSLog(@"Error code: %i",ret);
           NSLog(@"Error occurred: %s", av_err2str(ret));
           NSLog(@"Error opening encoder");
           exit(-1);
       }
    }

    The code works for all decoders (the same codec working in decode mode) and also with other encoders, mostly video or audio, but it also does not work for AV_CODEC_ID_SUBRIP or AV_CODEC_ID_SRT (set encoder).

  • Cannot use FFmpeg in Xcode iOS Project (file .h not found)

    19 mars 2016, par BlackBox

    I followed almost step by step this guide.

    Almost because I downloaded, as a user suggested, ffmpeg ios library already built from here

    I followed from "Linking static libraries in Xcode" but I cannot import anyway the header files of ffmpeg. (So I got the .a files)

    For example

    #include "avformat.h"
    // or
    #import "libavformat/avformat.h"
    // or
    #import <libavformat></libavformat>avformat.h>

    Everything that I use does not work.

    I specify that those .a files are currently in my project directory, indeed, if I import the .a file, it doesn’t complain that it isn’t found, but when compiling, it complains about UTF-8 stuff because .a files are object libraries and cannot be imported that way.

    I put also the Header Search Paths for the project as it was suggested and the config.log file but nothing.

    Also I see libraries are missing from every project example of FFmpeg I was able to find on GitHub.

    Any ideas ?

  • Add info on purpose of this project.

    24 octobre 2018, par blueimp
    Add info on purpose of this project.
    Add note to test security of configurations.