Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (100)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

Sur d’autres sites (9054)

  • avfilter/ebur128 : Simplify by using log10()

    31 décembre 2018, par Michael Niedermayer
    avfilter/ebur128 : Simplify by using log10()
    

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavfilter/ebur128.c
  • C program cannot find function which included in header file

    17 juin 2013, par Juneyoung Oh

    I made program like this.

     1 #include
     2 #include
     3 #include
     4 #include "libavformat/avformat.h"
     5
     6 int main (int argc, char* argv[]){
     7         av_register_all();
     8         return 0;
     9 }

    My header file located in

    root@ubuntu:/home/juneyoungoh/getDuration# find / -name "avformat.h"
    /root/ffmpeg/libavformat/avformat.h
    /usr/local/include/libavformat/avformat.h

    then I run with gcc getDuration.c , but I show message like below.

    root@ubuntu:/home/juneyoungoh/getDuration# gcc getDuration.c
    /tmp/ccwjonqH.o: In function `main&#39;:
    getDuration.c:(.text+0x10): undefined reference to `av_register_all&#39;
    collect2: ld returned 1 exit status

    Frankly, I do not have any idea what makes this.

    Thanks for your answers.

    ========================== edited #1 ===========================

    when I "ls /usr/local/lib", I get this.

    root@ubuntu:/home/juneyoungoh/getDuration# ls /usr/local/lib/
    libavcodec.a   libavutil.a    libopus.la       libvpx.a   python2.7
    libavdevice.a  libfdk-aac.a   libpostproc.a    libx264.a
    libavfilter.a  libfdk-aac.la  libswresample.a  libyasm.a
    libavformat.a  libopus.a      libswscale.a     pkgconfig

    you can see libavformat.a in the very first of the last line.

    so if I command like what you suggest, I get below.

    /root/ffmpeg/libavformat/vqf.c:244: undefined reference to `av_free_packet&#39;
    /usr/local/lib//libavformat.a(vqf.o): In function `add_metadata&#39;:
    /root/ffmpeg/libavformat/vqf.c:58: undefined reference to `av_malloc&#39;
    /root/ffmpeg/libavformat/vqf.c:64: undefined reference to `av_dict_set&#39;
    /usr/local/lib//libavformat.a(vqf.o): In function `vqf_read_header&#39;:
    /root/ffmpeg/libavformat/vqf.c:148: undefined reference to `av_dict_set&#39;
    /root/ffmpeg/libavformat/vqf.c:208: undefined reference to `av_log&#39;
    /root/ffmpeg/libavformat/vqf.c:216: undefined reference to `av_malloc&#39;
    /root/ffmpeg/libavformat/vqf.c:170: undefined reference to `av_log&#39;
    /root/ffmpeg/libavformat/vqf.c:121: undefined reference to `av_log&#39;
    /root/ffmpeg/libavformat/vqf.c:184: undefined reference to `av_log&#39;
    /root/ffmpeg/libavformat/vqf.c:136: undefined reference to `av_log&#39;
    /usr/local/lib//libavformat.a(wavenc.o): In function `wav_write_trailer&#39;:
    /root/ffmpeg/libavformat/wavenc.c:210: undefined reference to `av_rescale&#39;
    /usr/local/lib//libavformat.a(wavenc.o): In function `wav_write_packet&#39;:
    /root/ffmpeg/libavformat/wavenc.c:181: undefined reference to `av_log&#39;

    It is too long, so I just post little part of that.

    I think all link of libavformat has been broken, But I do not know

    what can I do to fix that link.

    I have installed that their official link said.

    https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuideQuantal

  • Why does the video lose few seconds after FFMPEG xfade ?

    25 août 2023, par promaxdev

    I am having a use case where I need to add a few xfade transitions to an existing video at uniform intervals. I followed an approach almost similar to the one explained in the official document here and the SO reply here

    &#xA;

    Here is the command that I use.

    &#xA;

    ffmpeg &#xA;-i clean_0.mp4 &#xA;-filter_complex "[0] split = 8[i1][i2][i3][i4][i5][i6][i7][i8]; &#xA;    [i1]select=&#x27;between(t\,0.0\,3.75)&#x27;,setpts=&#x27;PTS-STARTPTS&#x27;[i11]; &#xA;    [i2]select=&#x27;between(t\,3.75\,7.5)&#x27;,setpts=&#x27;PTS-STARTPTS&#x27;[i22]; &#xA;    [i3]select=&#x27;between(t\,7.5\,11.25)&#x27;,setpts=&#x27;PTS-STARTPTS&#x27;[i33]; &#xA;    [i4]select=&#x27;between(t\,11.25\,15.0)&#x27;,setpts=&#x27;PTS-STARTPTS&#x27;[i44]; &#xA;    [i5]select=&#x27;between(t\,15.0\,18.75)&#x27;,setpts=&#x27;PTS-STARTPTS&#x27;[i55]; &#xA;    [i6]select=&#x27;between(t\,18.75\,22.5)&#x27;,setpts=&#x27;PTS-STARTPTS&#x27;[i66]; &#xA;    [i7]select=&#x27;between(t\,22.5\,26.25)&#x27;,setpts=&#x27;PTS-STARTPTS&#x27;[i77]; &#xA;    [i8]select=&#x27;between(t\,26.25\,30.0)&#x27;,setpts=&#x27;PTS-STARTPTS&#x27;[i88]; &#xA;    [i11][i22]xfade=duration=1:offset=2.75:transition=dissolve [c1]; &#xA;    [i33][i44]xfade=duration=1:offset=2.75:transition=distance [c2]; &#xA;    [i55][i66]xfade=duration=1:offset=2.75:transition=fadegrays [c3]; &#xA;    [i77][i88]xfade=duration=1:offset=2.75:transition=pixelize [c4]; &#xA;    [c1][c2][c3][c4]concat=n=4:v=1:a=0 " &#xA;-pix_fmt yuv420p -y clean_out.mp4 &#xA;

    &#xA;

    (The above code is executed in a single line broken down for ease of understanding.)

    &#xA;

    What this does is splits the input video in to parts of equal length in duration and and inserts xfade effects in between and the concats them. So the net effect would be the original video with xfade effects added.

    &#xA;

    The input video is 30 seconds in length and has 25 fps. But the output video is 26 seconds.

    &#xA;

    Here are my analysis so far.

    &#xA;

      &#xA;
    • the no. of seconds reduced with each added transition. i.e. when 5 transitions are provided, the output video reduces to 25 seconds
    • &#xA;

    • ffprobe at different stages below&#xA;
        &#xA;
      • i1, i2,... being copies of input video had 750 frames @ 25fps ie 30 seconds
      • &#xA;

      • i11, i22,... -> had 94 frames @ 25fps resulting in 3.76 seconds (3.76 X 8 = 30.08s)
      • &#xA;

      • c1, c2,.. -> had 163 frames @ 25fps resulting in 6.52 seconds (6.52 X 4 = 26.08s)
      • &#xA;

      &#xA;

    • &#xA;

    • Enabling trace on ffmpeg showed different filters like 'Parsed_select_', 'Parsed_setpts_' and 'Parsed_xfade_', 'Parsed_concat_' corresponding to the 'select', 'setpts', 'xfade' and concat filters and there was another 'auto_scale_' auto inserted by ffmpeg. But details were found only for Parsed_select_ and Parsed_setpts_* filters in rest of the logs. There was no other trace of Parsed_xfade_* filters. So not much info from there
    • &#xA;

    &#xA;

    End result is concat of all c* videos resulting in reduced duration

    &#xA;

    So we can infer that xfade is causing some frames to be lost. (or I am doing it wrong) I need help to find the reason for the reduction in the duration of the final video and fix it.Also, Is there a way to log Xfade trace ?

    &#xA;