Recherche avancée

Médias (91)

Autres articles (15)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (3158)

  • How to raw TS packets off a file/url — Without decoding

    15 août 2019, par Znura

    New to ffmpeg and playing around that to understand better. I’m trying to use ffmpeg code base to get TS packets from a HLS Streaming server. I don’t need any decoding as I just have to store the TS packets to be processed later.

    First I built a minimal FFMPEG as outlined in https://zeranoe.com/forum/viewtopic.php?f=5&t=7426. No decoders and only hls and mpegts demuxers. Then using the following code to receive the frames. While inspecting it doesn’t seem to be MPEG-TS packets while looking into buffers thru GDB. Attaching the code here..

    Two Questions :

    1. Shouldn’t the av_recv_frame get me the TS packets ? However When I trace all the way to playlists (off HLSContext), the read_buffer there contains TS packets. IS there any example I could look into to get TS packets in this scenario without decoders ?

    2. If I get answer for (1), How to get the best stream off the HLS server ? when looking into ffplay, av_find_best_stream() sounds like the one to look into.. But again without needing to decode, is there a way to get best one according to the network condition ?

    Thanks..

    I dumped whatever I got off av_recv_frame() and stored in file. This file is not playable with VLC but Windows Movies & TV player could play the sound with missing frames..

    int main(int argc, char *argv[]) {
       AVFormatContext * ifmt_ctx = NULL;
       char *in_filename = NULL;
       int ret = 0;
       AVPacket pkt;
       if (argc != 2) { return 1; }
       in_filename = argv[1];
       av_register_all();

       if (!(ifmt_ctx = avformat_alloc_context())) { goto end; }
       if ((ret = avformat_open_input(&ifmt_ctx, in_filename, 0, 0)) < 0) {
           fprintf(stderr, "Could not open input file '%s'", in_filename);
           goto end;
       }
       if ((ret = avformat_find_stream_info(ifmt_ctx, 0)) < 0) {
           fprintf(stderr, "Failed to retrieve input stream information");
           goto end;
       }

       av_dump_format(ifmt_ctx, 0, in_filename, 0);
       while (1) {
           ret = av_read_frame(ifmt_ctx, &pkt);
           if (ret < 0) break;
           av_free_packet(&pkt);
       }
       end: avformat_close_input(&ifmt_ctx); return 0;
    }
  • Anomalie #3380 : Un rédacteur peut attacher un document à un article qu’il n’a pas le droit de mod...

    8 juin 2015, par b b

    Pour info, cette modification a introduit un bug signalé dans #3452.

  • Anomalie #4233 (En cours) : [core & plugin todo] : code HTML généré non valide :

    18 novembre 2018, par b b

    Ici on cause des bugs du core, donc il serait certainement plus approprié de signaler le bug dans le forum de la doc du plugin sur contrib ou sur la liste spip-zone avant d’ouvrir un ticket ;)

    Amha, on peut fermer le ticket, et on verra s’il faut l’ouvrir de nouveau après confirmation que c’est bien un bug du core.