Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (99)

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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (9633)

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

  • FFmpeg : Adding multiple overlays to the video with the fade in/out effect. Command works but the images ( overlays ) doesn't show in the video

    12 décembre 2019, par ArmKh

    I’m trying to add multiple overlays to the video and fade in/out them separately. So, the command works without any issue but in the video, I can’t see the overlay images

    Here is the command with which I’m trying to do it

    ffmpeg -y -i video.mp4 -loop 1 -i text1.png -loop 1 -i text2.png -loop 1 -i text3.png -loop 1 -i text4.png -loop 1 -i text5.png -filter_complex "
    [1]fade=st=0:d=4:alpha=1,fade=out:st=2:d=1:alpha=1,trim=0:3,setpts=PTS+5/TB[ovr1];
    [2]fade=st=0:d=4:alpha=1,fade=out:st=2:d=1:alpha=1,trim=0:3,setpts=PTS+10/TB[ovr2];
    [3]fade=st=0:d=4:alpha=1,fade=out:st=2:d=1:alpha=1,trim=0:3,setpts=PTS+15/TB[ovr3];
    [4]fade=st=0:d=4:alpha=1,fade=out:st=2:d=1:alpha=1,trim=0:3,setpts=PTS+20/TB[ovr4];
    [5]fade=st=0:d=4:alpha=1,fade=out:st=2:d=1:alpha=1,trim=0:3,setpts=PTS+25/TB[ovr5];
    [0:v][ovr1]overlay=0:0:enable='between(t,0,5)'[base1];
    [base1][ovr2]overlay=0:(main_h-overlay_h)/2:enable='between(t,5,10)'[base2];
    [base2][ovr3]overlay=0:(main_h-overlay_h)/2:enable='between(t,10,15)'[base3];
    [base3][ovr4]overlay=0:(main_h-overlay_h)/2:enable='between(t,15,20)'[base4];
    [base4][ovr5]overlay=0:(main_h-overlay_h)/2:enable='between(t,20,25)'[out]" -map "[out]" -c:v libx264 -c:a copy -flags +global_header -shortest with_overlays.mp4

    Can you please help me to find what am I doing wrong ?