Recherche avancée

Médias (91)

Autres articles (86)

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (12147)

  • Read and check the duration of small mp4 files in a directory then concatenate into 3 mins each then assign a unique name in BASH

    23 septembre 2020, par super_nooba

    OS : Darwin Kernel Version 19.6.0

    


    Step 1 : Scan all the files until it reaches 3 mins of duration

    


    for f in *.mp4; 
do ffmpeg -i "$f" 2>&1 | grep "Duration" \
   | grep -o " [0-9:.]*, " | head -n1 | tr ',' ' ' \
   | awk -F: '{ print ($1 * 3600) + ($2 * 60) + $3 }')


    


    How do I assign a variable or loop until it reaches the combination of different videos until 3 mins minimum and 4 mins max ?

    


    Step 2 : Concatenate and assign a unique name when 3 mins is reached

    


    ffmpeg -i concat $f


    


    Step 3 : Resize to 1080p and fit to screen (spatial conform to fit)

    


    Step 4 : Continue until all the files have been concatenated

    


  • How do steps for make FFMPEG

    11 août 2017, par mobina varmazyar

    I do step 1 to step 6. I am sure that I take NDK and ffmepeg source in valid address but when I execute

    ./build_android.sh

    in the terminal the following lines will be shown :

    @mv103 telegram

    Can send for me libraries whose can successfully did step 1 to 6 ?

    /build_android.sh: line 8: --prefix=/root/桌面/rajabi/android-ndk-
    r12b/sources/ffmpeg-3.3.3/android/arm: No such file or directory
    ./build_android.sh: line 9: --enable-shared: command not found
  • Frame accurate seeking over extracted stream using ffmpeg

    7 septembre 2017, par nsp

    I am doing the following :

    Step 1 :
    Extracting a part of an 10min long mp4 clip, between 00:01:00.000 to 00:02:00.000 using the following option :

    ffmpeg -ss 60.000 -t 60.000 -i input.mp4 -copyts -an -c copy extracted_minute.mp4

    Step 2 : Use the following command to extract 10 second out of the 1 minute extracted clip (extracted_minute.mp4) and further encode it :

    ffmpeg -seek_timestamp 1 -ss 60.000 -i extracted_minute.mp4 -t 10.000 -copyts -an -filter:v "select='between(t\\,60.000\\,70.000)'[out];[out]setpts=PTS-STARTPTS" -c:v libx264 -y 10sec_encode.mp4

    I am facing issues when I try to seek on the extracted media in Step 2. I see that the "-ss/-t" option in "Step 2" somehow seems to operate on timestamps (starting from 0) and not the original timestamps (which had to start from 60) that are present in the stream, even though -copyts option is used. If I use -ss 0 and -t 10 in Step 2, I am able to extract frames. But, not when I use -ss 60 and -t 10.

    Am I missing something here, or is this the expected behavior from FFmpeg ?
    Is there any other method in which I can do frame accurate seeking for Step 2 ?

    Note :

    1. I need to be able to extract sequences from an already extracted stream
    2. Using -copyts option so that i have control over the exact sequences that I am extracting