Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (97)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

Sur d’autres sites (10393)

  • Output file names with spaces to file without quotes in batch

    13 mai 2020, par user245115

    So, I wrote a script as a batch file that uses FFmpeg to "concat" several video files on my hard drive.
The script is as follows.

    



    @echo off
title Printing video info...
(for %%i in (
"%USERPROFILE%"/Dropbox/Video1.MKV
"%USERPROFILE%"/Dropbox/Video2.MKV
S:/Exports/Video3.MKV
../../video/Video4.mkv
) do ( if exist "%%i" echo file '%%i' )) > "%~n0.txt"
type "%~n0.txt"
title Copying to compiled video...
"C:\Program Files\ffmpeg\bin\ffmpeg.exe" -hide_banner -f concat^
                  -safe 0 -y -i "%~n0.txt" -c copy "%~n0.mkv"


    



    The problem here is the username on the computer has a space in the name, so the script doesn't work. If I put the quotes with %USERPROFILE%, then the file is detected by the batch script, but the batch script also puts the quotes into the output TXT file, which causes FFmpeg to fail when it hits that file.

    



    The contents of the text file the script outputs to should be :

    



    file 'C:\Users\Name/Dropbox/Video1.MKV'
file 'C:\Users\Name/Dropbox/Video2.MKV'
file 'S:/Exports/Video3.MKV'
file '../../video/Video4.mkv'


    


  • Output file names with spaces to file without quotes in bash

    13 mai 2020, par user245115

    So, I wrote a script as a batch file that uses FFmpeg to "concat" several video files on my hard drive.
The script is as follows.

    



    @echo off
title Printing video info...
(for %%i in (
"%USERPROFILE%"/Dropbox/Video1.MKV
"%USERPROFILE%"/Dropbox/Video2.MKV
S:/Exports/Video3.MKV
../../video/Video4.mkv
) do ( if exist "%%i" echo file '%%i' )) > "%~n0.txt"
type "%~n0.txt"
title Copying to compiled video...
"C:\Program Files\ffmpeg\bin\ffmpeg.exe" -hide_banner -f concat^
                  -safe 0 -y -i "%~n0.txt" -c copy "%~n0.mkv"


    



    The problem here is the username on the computer has a space in the name, so the script doesn't work. If I put the quotes with %USERPROFILE%, then the file is detected by the batch script, but the batch script also puts the quotes into the output TXT file, which causes FFmpeg to fail when it hits that file.

    



    The contents of the text file the script outputs to should be :

    



    file 'C:\Users\Name/Dropbox/Video1.MKV'
file 'C:\Users\Name/Dropbox/Video2.MKV'
file 'S:/Exports/Video3.MKV'
file '../../video/Video4.mkv'


    


  • how download m3u8 in chunks using ffmpeg ?

    9 mai 2020, par relidon

    I'm trying to convert m3u8 to mp4 and I found the following method that works

    



    ffmpeg -i 'https://....m3u8' -bsf:a aac_adtstoasc \
    -vcodec copy -c copy -crf 50 output.mp4


    



    The end result, however, is too big for me to drag into an external hard drive.

    



    I also tried writing directly to the hard drive /Volumes/2TR/output.mp4 but the end result is the same - the file is too big, the operation fails.

    



    I noticed that if I terminate the operation at any point, the output.mp4 file works perfectly, but that it's not the full video (perfect). If the video is one hour and I just want 30 minutes of it I can terminate the ffmpeg operation at that point.

    



    So I'm wondering whether there's a way for ffmpeg to download the contents in two parts, output-part1.mp4 and output-part2.mp4 ?