Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (84)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

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

  • vf_setdar : make config_props work properly when called multiple times.

    18 mars 2013, par Anton Khirnov
    vf_setdar : make config_props work properly when called multiple times.
    

    Do not overwrite the variable set through AVOptions.

    • [DBH] libavfilter/vf_aspect.c
  • avformat/img2dec : support nanosecond file times

    25 mai 2013, par Michael Niedermayer
    avformat/img2dec : support nanosecond file times
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] doc/demuxers.texi
    • [DH] libavformat/img2dec.c
  • Ffmpeg video overlay enable between/gte only works with times and not frames

    30 septembre 2021, par jgjr

    I am trying to overlay one video on top of another, at a specific time (either between two times or after one time). I had previously been doing this with enable='between(t,2,4)' (or gte) for example, but when I needed to place another overlay directly after it I would sometimes get a one frame gap in between them. Because of this I decided to switch to specifying the frames with enable='between(n,60,120)', which works well with other types of overlays but not videos. When the overlay comes at the start of the main video, it works fine, however when the overlay starts later on, nothing appears. The following command works perfectly, with the overlay video coming in a 5.779 seconds and staying until the end.

    &#xA;

    /opt/ffmpeg -loglevel error -y \&#xA;-ss 3.56 -t 7.860 -i "main_video.mp4" \&#xA;-ss 1.5 -i "overlay_video.mp4" \&#xA;-i "overlay_image.png" \&#xA;-filter_complex "\&#xA;[0:v:0] setpts=PTS-STARTPTS [0_p]; \&#xA;[1:v:0] setpts=PTS-STARTPTS&#x2B;5.779/TB [1_p]; \&#xA;[0_p] [1_p] overlay=y=0:x=0:enable=&#x27;gte(t,5.779)&#x27;:shortest=1 [0_p_o]; \&#xA;[0_p_o] [2:0] overlay=y=0:x=0 [0_p_o_o]; \&#xA;[0_p_o_o] drawbox=x=38:y=460:w=492:h=116:t=fill:color=#000000@0.7:enable=&#x27;between(n,0,173)&#x27; &#xA;[0_p_o_o_b]; \&#xA;-framerate 29.97 -c:v libx264 -crf 23 -pix_fmt yuv420p -vsync 2 \&#xA;-video_track_timescale 90000 \&#xA;-map "[0_p_o_o_b]" -t 7.860 "output.mp4"&#xA;

    &#xA;

    However this command does not work, and the only change is the enable='gte(n,173)' instead of enable='gte(t,5.779)'

    &#xA;

    /opt/ffmpeg -loglevel error -y \&#xA;-ss 3.56 -t 7.860 -i "main_video.mp4" \&#xA;-ss 1.5 -i "overlay_video.mp4" \&#xA;-i "overlay_image.png" \&#xA;-filter_complex "\&#xA;[0:v:0] setpts=PTS-STARTPTS [0_p]; \&#xA;[1:v:0] setpts=PTS-STARTPTS&#x2B;5.779/TB [1_p]; \&#xA;[0_p] [1_p] overlay=y=0:x=0:enable=&#x27;gte(n,173)&#x27;:shortest=1 [0_p_o]; \&#xA;[0_p_o] [2:0] overlay=y=0:x=0 [0_p_o_o]; \&#xA;[0_p_o_o] drawbox=x=38:y=460:w=492:h=116:t=fill:color=#000000@0.7:enable=&#x27;between(n,0,173)&#x27; &#xA;[0_p_o_o_b]; \&#xA;-framerate 29.97 -c:v libx264 -crf 23 -pix_fmt yuv420p -vsync 2 \&#xA;-video_track_timescale 90000 \&#xA;-map "[0_p_o_o_b]" -t 7.860 "output.mp4"&#xA;

    &#xA;

    My guess is that it has to do with the PTS, and I tried playing around with the setpts on the overlay video but the best I was able to achieve was displaying the last frame of the overlay video for the duration of its appearance on screen, or one frame flashing up at 5.779 seconds and nothing more.

    &#xA;

    Could this be a bug in Ffmpeg ? Or is there something else I need to do to get the overlay filter to work when specifying frames instead of times ? Could the videos having different timescales affect things ?

    &#xA;