Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (72)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (8750)

  • ffmpeg batch reencode with subfolders

    25 janvier, par Alan

    I am trying to reencode a few hundred videos to X265 but there are many directories that have spaces in the filenames as do some of the files. I have looked at a bunch of scripts and am struggling to find one that works with the spaces and the different directory levels.

    



    This one works, as long as there is no sub directories :

    



    #!/bin/bash
for i in *.avi;
do 
    ffmpeg -i "$i" -c:v libx265 -c:a copy X265_"$i"
done


    



    I have been trying to work with this bash script, but it fails with the whitespaces I am guessing.

    



    #!/bin/bash
inputdir=$PWD
outputdir=$PWD
while IFS= read -r file ; do
  video=`basename "$file"`
  dir=`dirname "$file"`
 ffmpeg -fflags +genpts -i "$file" -c:v libx265 -c:a copy "$dir"/X265_"$video"
done < <(find "$inputdir" -name "*.avi" | head -100)


    



    On this thread it looks like a good solution for windows users, but not linux.
FFMPEG - Batch convert subfolders

    



    FOR /r %%i in (*.mp4) DO ffmpeg32 -i "%%~fi" -map 0:0 -map 0:1 -map 0:1 -c:v copy -c:a:0 aac -b:a 128k -ac 2 -strict -2 -cutoff 15000 -c:a:1 copy "%%~dpni(2)%%~xi"

    



    If you can point me to the right solution that is appropriate for bash, I would appreciate it.

    


  • ffmpeg batch reencode with subfolders

    4 octobre 2016, par Alan

    I am trying to reencode a few hundred videos to X265 but there are many directories that have spaces in the filenames as do some of the files. I have looked at a bunch of scripts and am struggling to find one that works with the spaces and the different directory levels.

    This one works, as long as there is no sub directories :

    #!/bin/bash
    for i in *.avi;
    do
       ffmpeg -i "$i" -c:v libx265 -c:a copy X265_"$i"
    done

    I have been trying to work with this bash script, but it fails with the whitespaces I am guessing.

    #!/bin/bash
    inputdir=$PWD
    outputdir=$PWD
    while IFS= read -r file ; do
     video=`basename "$file"`
     dir=`dirname "$file"`
    ffmpeg -fflags +genpts -i "$file" -c:v libx265 -c:a copy "$dir"/X265_"$video"
    done < <(find "$inputdir" -name "*.avi" | head -100)

    On this thread it looks like a good solution for windows users, but not linux.
    FFMPEG - Batch convert subfolders

    FOR /r %%i in (*.mp4) DO ffmpeg32 -i "%%~fi" -map 0:0 -map 0:1 -map 0:1 -c:v copy -c:a:0 aac -b:a 128k -ac 2 -strict -2 -cutoff 15000 -c:a:1 copy "%%~dpni(2)%%~xi"

    If you can point me to the right solution that is appropriate for bash, I would appreciate it.

  • List Directory of files to text file sorted by creation date but don't show creation creation date in file

    25 mars 2019, par Oli Shingfield

    I’ve been doing some research on this problem but I can’t get my head around it to suit my particular issue.

    I would like to create a text file of a list of files in a directory, sorted by date but I don’t want the date to be shown in the file.
    The code I have so far is :

    #create list of clips to merge
    save_path = 'downloads/'
    ignored = 'test.bat','mergeclips.bat','draw.bat'
    onlyfiles = [f for f in listdir('downloads/') if isfile(join('downloads/', f)) if f not in ignored]

    with open('downloads/clipstomerge.txt', 'w') as f:
       for item in onlyfiles:
           f.write("file '%s'\n" % item )

    This code ignores the bat files but lists everything else out to a text file in a format ready for ffmpeg to merge the clips. The format of the text file looks like this :

    file 'ARandomClipName.mov'
    file 'Butterflies.mov'
    file 'Chickens.mov'

    At the moment the files are sorted alphabetically but I would like it to be sorted by creation date.
    Does anyone have any ideas how I could modify my code to fix my problem ?