Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (113)

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (33025)

  • ffmpeg upscale 4/3 video to fullhd by crop vertically

    27 novembre 2022, par marcoluca987

    I have some video 4:3 generally are 1280x960 and other resolutions.

    


    I like to upscale it to 1920x1080 and crop vertically to avod horizontal black borders.

    


    I have found this commmand :

    


    ffmpeg -i intro_NR_Upscale_4x.mp4 -filter:v "pad=ih*16/9:ih:(ow-iw)/2:(oh-ih)/2" -c:a copy intro_NR_Upscale_4x_ouput.mp4


    


    but not work and continue to show horizontal black borders.

    


    There is a command line that upscale low resolution 4:3 video to 16:9 and crop it ?

    


    Thanks !

    


  • `FFmpeg` `segment_time` inserts blank frames at the beginning of segment

    27 août 2017, par asdf

    I am using the following command to cut videos in parts.
    I need parts to be less than passed max_length param, I do not need precise cuts.

    ffmpeg -i input.mov \
    -segment_time 20 -f segment -reset_timestamps 1 input_%d.mov

    Every first part video file cut by ffmpeg is not 20s, but 20.5s long. And it has several black frames at the beginning inserted by ffmpeg.

    I don’t mind having 19.5s long parts if that is needed because of keyframes. But I need to get rid of those black frames at the beginning so that videos cut in parts could be concatenated in a single video later without any troubles.

    Could you give me an advice ?


    Upd :

    There were no black frames in an original video which was 23 seconds long.
    I made a cut setting 12 as a segment length.

    I also had to add -c copy because I would like to keep original quality if that’s possible.

    Leading black frames were added after a cut to part 1 which is 12 seconds long.

    Trailing black frames were added after a cut to part 2 which is 10 seconds long.

    https://www.dropbox.com/sh/zo8evta3w1xho3o/AABpTB3w3CuPa1WcghkSIVfna?dl=0

    The command used was

    ffmpeg -y -i /Users/nt/Desktop/cut/AAL_CrSlowMo_041413_1.mov -c copy -segment_time 12 -f segment -reset_timestamps 1 /Users/nt/Desktop/cut/AAL_CrSlowMo_041413_1_%d.mov

    Here’s output of ffmpeg :
    https://gist.github.com/nmtitov/ad102539f95fa03b95f10a46f8d99663

  • ffmpeg - Drawing rotated text on video with complex filters takes a very long time

    14 mai 2019, par Bedrule Paul

    I am trying to overlap different text pieces on some placeholders in a video, and I am using multiple complex filters of the following type :

    ffmpeg -i ~/Desktop/input.mp4 -filter_complex  \
       "color=black@0:100x100,format=yuva444p[c]; \
       [c][0]scale2ref[ct][mv31]; \
       [ct]setsar=1,split=1[t31];\
       [t31]\
       drawtext=text='text':x='main_w/2-text_w/2+70':y=210:fontsize="100":fontcolor=black,\
       drawtext=text='text2':x='main_w/2-text_w/2+75':y=340:fontsize="100":fontcolor=black,\
       rotate=-0.07:ow=rotw(-0.07):oh=roth(-0.07):c=black@0[txta31]; \
       [mv31][txta31]overlay=enable='between(t, 0, 1.15)':x='min(0,-H*sin(-0.07))':y='min(0,W*sin(-0.07))':shortest=1" \
          ~/Desktop/result.mp4 -y1

    My goal is to write differently rotated texts on different time intervals in the video. The problem is that at about 10-12 [t31]-like pieces(here is an example of only one command), the rendering time of the video is twice the time of the video, whereas drawing straight horizontal text takes about 10-20% of the total video length (examples, for a 1 minute video, it takes about 8-10 seconds to write straight horizontal text, and about 2 minutes to write the same amount of text, but inclined with an angle). Is there any better way to do these multiple rotated text bits with more performance ?