Recherche avancée

Médias (91)

Autres articles (37)

  • 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

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (7110)

  • Batch file not running, only individual command runs

    11 décembre 2019, par Rajiv Sukhla

    I have a batch file of the following code

    cd C:\xampp\htdocs\Projects\videos\images_compare_english && ffmpeg -framerate .25 -i img-%02d.jpg -i music.mp3 -c:v libx264 -preset veryslow -crf 0 -c:a copy -shortest compare_english\output.mp4

    The above code has two commands which is separated by &&, means the second command will run only after the execution of the first. But it is not running. I am basically combining some images with music. But it is not working. However entering manually one command at a time works. Can anybody help me, what is the problem with command prompt ?

  • How to make watermark move till the video ends in FFMPEG

    27 décembre 2022, par Мохамед Русланович

    am using this command to move watermark around my video. It's working but it only move once around the edges and then desapers

    


    ffmpeg -i film.mp4 -i logo_white.png -filter_complex "[0][1]overlay=x='0+(t-0)*(W-w)/5':y=0:enable='between(t,0,5)'[img];[img][1]overlay=x=W-w:y='0+(t-5)*(H-h)/5':enable='between(t,5,10)'[img];[img][1]overlay=x=(W-w)-(t-10)*(W-w)/5:y=H-h:enable='between(t,10,15)'[img],[img][1]overlay=x=0:y=(H-h)-(t-15)*(H-h)/5:enable='between(t,15,20)'"  output2.mp4


    


    I also tried this command using the -loop tag

    


    ffmpeg -t 20 -loop 1 -i film.mp4 -i logo_white.png  -loop 0  -filter_complex "[0][1]overlay=x='0+(t-0)*(W-w)/5':y=0:enable='between(t,0,5)'[img];[img][1]overlay=x=W-w:y='0+(t-5)*(H-h)/5':enable='between(t,5,10)'[img];[img][1]overlay=x=(W-w)-(t-10)*(W-w)/5:y=H-h:enable='between(t,10,15)'[img],[img][1]overlay=x=0:y=(H-h)-(t-15)*(H-h)/5:enable='between(t,15,20)'" output2.mp4


    


    But it throws an error (option loop not found)

    


    How to repeat the overlay over and over till the video ends ?

    


  • ffmpeg - invalid duration

    22 septembre 2016, par OmidAntiLong

    For a project I’m working on I have a small bash script that loops over an input csv file of timecodes, and uses ffmpeg to create screenshots of a given film at each timecode. The csv file is in the format hh:mm:ss,id - it looks like this (extract)

    00:00:08,1
    00:00:49,2
    00:01:30,3
    00:02:38,4
    00:03:46,5
    00:04:08,6
    00:04:26,7
    00:04:37,8
    00:04:49,9
    00:05:29,10
    00:05:52,11
    00:06:00,12
    00:06:44,13
    00:07:49,14
    00:08:32,15
    00:09:28,16
    00:10:17,17
    00:10:44,18
    00:11:48,19
    00:12:07,20

    I’ve used it without issue in the past, but today I’ve come to update some of the films and I’m getting a weird issue where ffmpeg is complaining that my input timecode is invalid, despite being in the right format.

    The new input csv files are the same format as the old ones, but it seems like every so often ffmpeg drops the hours from the hh:mm:ss timestamp. If I comment out the ffmpeg line, everything prints to the terminal as expected (but obviously I get no screenshots).

    This is my loop code :

    while read code a
    do
     echo $code
     f="$(printf "%03d" $i)"

     ffmpeg -loglevel error -y -ss $code -i $FILM -vframes 1 -q:v 2 $OUTPUT/$f.jpg

     ((i++))
    done < $INPUT

    I’ve tried all sorts, including padding the csv with extra 0s - which works until the hours tick over to 01.

    Terminal output

    Does anyone have any ideas ? I’m scratching my head.

    Cheers