Recherche avancée

Médias (0)

Mot : - Tags -/signalement

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (100)

  • 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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (7137)

  • Revision 38905 : Un logo pour cfg2 (icone mais plus grand)

    20 juin 2010, par kent1@… — Log

    Un logo pour cfg2 (icone mais plus grand)

  • 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'


    


  • 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'