Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (83)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

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

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (6476)

  • FFMPEG, the penultimate image from the .txt file doesn't show in the video

    25 octobre 2019, par ArmKh

    I’m trying to create a video from the images using ffmeg. Actually, the creating of the video works but there is a small problem. I have a text file with the names of the images (paths) which I’m using in the video. The file looks like this

    file 'image1.jpg'
    file 'image2.jpg'
    file 'image3.jpg'
    file 'image4.jpg'
    file 'image5.jpg'

    And the ffmeg command is following

    ffmpeg -y -r 1/5 -f concat -safe 0 -i imagenames.txt -i some_audio.mp3 -c:v libx264 -vf fps=30 -pix_fmt yuv420p -t 30 output.mp4

    This video should keep the frame on every image for 5 seconds. But the problem is the penultimate image ( image4 in this case ) is not being shown in the video. So, it keeps on image3 10 seconds and moves to image5

    So, the video in seconds looks like this

    [image1] -> [image2] -> [image3] -> [image4] -> [image5]
      5sec        5sec       10sec        0sec        5sec

    And the problem is not with the image4 exactly. In case of swapping image3 and image4, the video will skip image3

    [image1] -> [image2] -> [image4] -> [image3] -> [image5]
      5sec        5sec       10sec        0sec        5sec

    Hope you’ll have any suggestions to fix this issue

  • ffmpeg libfdk-aac open coder error and show The encoder timebase is not set

    28 octobre 2019, par RodSteward

    I try to encode some pcm data,and I compile ffmpeg for myself with libfdk-aac,but When I use a aac encoder,It shows timebase is not set,but aac data seems not need a timebase,and even I set the timebase,it shows the same error again

    here is the Initializationcode :

       AVCodec *pCodec;
       AVCodecContext *pCodecCtx = NULL;
       int i, ret, got_output;
       FILE *fp_in;
       FILE *fp_out;

       AVFrame *pFrame;
       uint8_t* frame_buf;
       int size = 0;

       AVPacket pkt;
       int y_size;
       int framecnt = 0;

       char filename_in[] = "tdjm.pcm";

       AVCodecID codec_id = AV_CODEC_ID_AAC;
       char filename_out[] = "tdjm.aac";

       int framenum = 1000;

       avcodec_register_all();

       pCodec = avcodec_find_encoder_by_name("libfdk_aac");
       if (!pCodec) {
           printf("Codec not found\n");
           return -1;
       }
       pCodecCtx = avcodec_alloc_context3(pCodec);
       if (!pCodecCtx) {
           printf("Could not allocate video codec context\n");
           return -1;
       }

       //pCodecCtx->codec_id = codec_id;
       pCodecCtx->codec_type = AVMEDIA_TYPE_AUDIO;
       pCodecCtx->sample_fmt = AV_SAMPLE_FMT_S16;
       pCodecCtx->sample_rate = 44100;
       pCodecCtx->channel_layout = AV_CH_LAYOUT_STEREO;
       pCodecCtx->channels = av_get_channel_layout_nb_channels(pCodecCtx->channel_layout);
       pCodecCtx->bit_rate = 64000;
       pCodecCtx->time_base = AVRational{1,10};

       if (avcodec_open2(pCodecCtx, pCodec, NULL) < 0) {
           printf("Could not open codec\n");
           return -1;
       }
  • Recorded by FFMpeg Video doesn't show the statistics in details

    28 novembre 2019, par okandnmz

    I use the FFMpeg to record the video I received as input with "Pipe". Although the recording process was successful after recording, no statistics, details are given in the details tab (Right click to recorded video -> properties -> details tab) (Windows 10)

    My FFMpeg commands something like that :

    ffmpeg -vsync 1 -i %PIPE% ....

    For this problem, I’ve already tried the following commands :

    -metadata ....
    -vstats ......

    Probably i misunderstood that commands so in the result both of them is not working. Should i specify that values (title, fps, bitrate...) in somewhere and for that aim is there any commands ?
    (the recorded video source is not the existing file, its live stream)