Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (64)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (5998)

  • ffmpeg concat + invalid data found when processing + check for valid avi file

    11 juillet 2015, par user3585723

    I’m using ffmpeg to concatenate (merge) multiple avi files to a single avi file.
    I’m using the following command.

    ffmpeg -f concat -i mylist.txt -c copy out.avi

    The list of files to merge is given in mylist.txt

    Ex 'mylist.txt':
    file 'v01.avi'
    file 'v02.avi'
    file 'v03.avi'
    ...
    file 'vxx.avi'

    However, there is a problem when one of the file is corrupted (or empty).
    In this case, the video only contains the files up to the corrupted file.

    In this case, ffmpeg return the following errors :

    [concat @ 02b2ac80] Impossible to open 'v24.avi'
    mylist.txt: Invalid data found when processing input

    Q1) Is there a way to tell ffmpeg to continue merging even if it encounters an invalid file ?

    Alternatively, I decided to write a batch file that check if my avi files are valid before doing the merging.
    My second problem is that this operation takes more time that doing the merging itself.

    Q2) Is there a fast way to check if multiple avi files are valid with ffmpeg ? (and delete, ignore or rename them if they are not valid).

    Thanks in advance for your comments.

    ssinfod.

    For information, here is my current DOS batch file. (This batch is working but very slow because of the ffprobe to check if my avi are valids)

    GO.bat

    @ECHO OFF
    echo.
    echo == MERGING STARTED ==
    echo.
    set f=C:\myfolder
    set outfile=output.avi
    set listfile=mylist.txt
    set count=1

    if exist %listfile% call :deletelistfile
    if exist %outfile% call :deleteoutfile

    echo == Checking if avi is valid (with ffprobe) ==
    for %%f in (*.avi) DO (
       call ffprobe -v error %%f
       if errorlevel 1 (
           echo "ERROR:Corrupted file"
           move %%f %%f.bad
           del %%f
       )
    )

    echo == List avi files to convert in listfile ==
    for %%f in (*.avi) DO (
       echo file '%%f' >> %listfile%
       set /a count+=1
    )
    ffmpeg -v error -f concat -i mylist.txt -c copy %outfile%
    echo.
    echo == MERGING COMPLETED ==
    echo.
    GOTO :EOF

    :deletelistfile
    echo "Deleting mylist.txt"
    del %listfile%
    GOTO :EOF

    :deleteoutfile
    echo "Deleting output.avi"
    del %outfile%
    GOTO :EOF

    :EOF
  • Reduce video processing time using FFMpeg ?

    17 février 2020, par Ali Raza

    Users of my app upload videos to my server and I process them to create different qualities, thumbnails and gifs etc. Which are then useful for mobile and web apps. It takes almost 15-20 minutes for each video to be processed. I am using ffmpeg. How can I reduce my processing time ?

  • Keep FFMPEG processing if input fails

    17 janvier 2020, par Javier Urrestarazu

    I’m trying to save a stream to a video file. If the input stream goes down, FFMPEG automatically stops encoding, but I want to somehow still display those seconds in which the input is down (as a black frame or freezing the last frame).

    What I have tried :

    ffmpeg -i udp://x.x.x.x:y -c:v copy output.mp4

    I wonder if it is possible to keep writing the mp4 file even if the input goes down.