Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (93)

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

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (11297)

  • Can someone give a clue with those errors from gcc ?

    17 mars 2020, par GiuTor

    I have this code :

    #include
    #include
    #include <libavcodec></libavcodec>avcodec.h>
    #include <libavutil></libavutil>opt.h>
    #include <libavformat></libavformat>avformat.h>

    int main(int argc, char **argv)
    {
       avcodec_register_all();
       av_register_all();

       struct AVCodecTag * const *avctag;
       AVOutputFormat *outputFormat = NULL;

       const char *file = "file.mp4";
       outputFormat = av_guess_format(0, file, 0);

       if( ! outputFormat)
       {
           printf ("No container found\n");
           exit (1);
       }
       printf("%s %d\n",outputFormat->long_name,outputFormat->video_codec);

       avctag = outputFormat->codec_tag[0];
       printf("%d\n",avctag->id);
    }

    The compiler gives this weird error even though I used the -> in the printf line :

    error: ‘*avctag’ is a pointer; did you mean to use ‘->’?
     printf("%d\n",avctag->id);

    But it gives also a warning :

    warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
     avctag = outputFormat->codec_tag;

    AVOutputFormat:codec_tag is defined according to the docs as :

    struct AVCodecTag * const *

    That is exactly as I defined the pointer above. Can someone give me a clue why I get the warning and the error ?

    Many thanks

  • AAC bitstream not in ADTS format and extradata missing

    14 août 2014, par Boehmi

    With FFMPEG, I’m sending a stream from Computer A over to Computer B, via UDP.
    This is done over a MPEGTS stream, encoded with libx264 and aac.
    Computer B takes this stream with FFMPEG and puts it into an m3u8 playlist.

    After a random time (2-35 minutes), the message

    [mpegts @ 0533f000] AAC bitstream not in ADTS format and extradata missing
    av_interleaved_write_frame(): Invalid data found when processing input

    appears.
    What I figures is that the receiving FFMPEG can’t read the header file of the audio part for this particular package, and since it can’t put video and audio together anymore, it stops creating the .ts files and just stops running.

    Here’s the cmdline of the receiving stream :

    ffmpeg -i udp://address -vcodec copy -acodec copy -map 0 -f segment -segment_list playlist.m3u8 -analyzeduration 100000 -probesize 100000-segment_list_flags +lis-Þcache -segment_time 8 -segment_wrap 10 out%03d.ts

    Now I need to know the answer to either one of these 2 questions :

    1) Can I put something in my commandline in order to avoid this particular problem or

    2) Can I tell FFMPEG to just ignore it for this particular message, quite possibly creating weird audio or none at all, and to simply move on to the next one ?

  • FFmpeg 'setpts=PTS-STARTPTS' cannot work on Android(ARM)

    12 octobre 2017, par Jerikc XIONG

    I use the following command on Android :

    ffmpeg -loglevel 56 -i test.mp4 -vf [0:v]setpts=PTS-STARTPTS[fg] -c:a copy out.mp4 -y

    But it’s failed and I got the following logs :

    N:0 PTS:0 T:0.000000 POS:3848 INTERLACED:0 -> PTS:0 T:nan

    So i add some logs into static int filter_frame(AVFilterLink *inlink, AVFrame *frame) in the libavfilter/setpts.c :

    av_log(inlink->dst, AV_LOG_TRACE, " -> PTS%"PRId64", d:%s timebase:%f, AV_NOPTS_VALUE:%"PRId64 ", AV_NOPTS_VALUE==0?%d:, d == AV_NOPTS_VALUE?%d, TS2T:%f, :%f\n", frame->pts, d2istr(d), av_q2d(inlink->time_base), AV_NOPTS_VALUE, val == 0, d == AV_NOPTS_VALUE, d*av_q2d(inlink->time_base), (double)(0)*0.000078);

    I got the logs :

    -> PTS0, d:0 timebase:0.000011, AV_NOPTS_VALUE:-9223372036854775808, AV_NOPTS_VALUE==0?0:, d == AV_NOPTS_VALUE?0, TS2T:nan, :0.000000

    It’s weird. I always get nan by the TS2T.

    It’s OK on MacBook Pro (Retina, 13-inch, Early 2015) with 2.7 GHz Intel Core i5 when i build the same source code.

    PS :

    #define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)*av_q2d(tb))

    I added the full log here.