Recherche avancée

Médias (91)

Autres articles (78)

  • 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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (9612)

  • avconv - drawtext - apply filter for given time period

    29 novembre 2015, par user3304297

    I am on Ubuntu 15.10 (wily). I want to add a text to the video for the 1st 30sec. I can add video to the entire length of the video by using the following command

    $ avconv -i input.MTS -metadata title="my video" -vf "drawtext=fontfile=/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf:text='My Text':fontcolor=white@0.8:x=7:y=60:fontsize=36" -strict experimental out.mp4

    With ffmpeg there is an option drawtext=enable=between(t,0,30) but with avconv this is not a valid option.

    $ avconv -i 00054.MTS -metadata title="my video" -vf "drawtext=enable='between(t,0,30)':fontfile=/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf:text='My Text':fontcolor=white@0.8:x=7:y=60:fontsize=36" -strict experimental out.mp4

    drawtext @ 0x18b8d20] No such option: enable.
    [AVFilterGraph @ 0x18c3000] Error initializing filter 'drawtext' with args 'enable=between(t,0,30):fontfile=/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf:text=My Text:fontcolor=white@0.8:x=7:y=60:fontsize=36'

    With avconv how can I add a text to the video for a given time period ?

    $ avconv --version
    avconv version 11.4-6:11.4-2ubuntu3, Copyright (c) 2000-2014 the Libav developers
     built on Aug 11 2015 07:00:13 with gcc 5.2.1 (Ubuntu 5.2.1-15ubuntu1) 20150808
  • split the video into five chunks using ffmpeg and batch script

    21 janvier 2019, par RJFF

    I want to split videos into five chunks using ffmpeg

    the first chunk represents 20% of the whole video
    the second chunk represents 40% of the whole video
    the third chunk represents 60% of the whole video
    the fourth chunk represents 80% of the whole video

    the fifth chunk represents 100% of the whole video

    I write the algorithm but I do not know how to write the batch code :
    1. find the duration of the video
    2. store the duration in variable
    3. divided the duration by 5
    4. split the video

    I want a batch script that takes the duration of the video then store the value of duration in the variable

    this is how I can take the duration of the video

    ffmpeg -i C:\video-splitter-master\1.avi 2>&1 | grep "Duration"| cut -d ' ' -f 4 | sed s/,// | sed 's@\..*@@g' | awk '{ split($1, A, ":"); split(A[3], B, "."); print 3600*A[1] + 60*A[2] + B[1] }'

    but how I can store the duration value in the variable ?

    can you please help me ?

  • Revision fa3483e5800eb1cc8280c5eb46ba4e0446e5dfb3 : SPIP 1.9.2, ereg/split obsolètes en PHP 5.3 git-svn-id : ...

    3 janvier 2010, par Committo,Ergo:sum — Log

    SPIP 1.9.2, ereg/split obsolètes en PHP 5.3 git-svn-id : svn ://trac.rezo.net/spip/branches/spip-1.9.2@14826 caf5f3e8-d4fe-0310-bb3e-c32d5e47d55d