Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (67)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (8173)

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

  • 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;
       }
  • 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