Recherche avancée

Médias (91)

Autres articles (56)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (4416)

  • Looping Variables in a Batch File (for use with FFmpeg)

    16 avril 2021, par OrdinaryCarrot16

    I am creating a batch script that stores the input of the user into variables, that will later be used for creating converting files then adding metadata (via FFmpeg). It is working pretty good, now I'm just trying to figure out how to loop the FFmpeg line that uses all the variables the user inputted, and it will loop the command till it reaches the number specified in the 'track_amount' variable.

    


    Do you have any ideas on how to make this work ? Thanks !

    


    setlocal enabledelayedexpansion

:: Scan current directory for audio files
DIR *.mp3 OR *.m4a

set /P cover-art=Select the Audio/Image File with the Cover Art (ex. MP3/M4A or JPG/PNG): 
set /P artist=Artist/Band Name: 
set /P track_amount=How many tracks are in this album: 

if %track_amount% GTR 1 (
    set /P album=Album Name: 
)

set /P filename=Song File Name: 
set /P title=Song Name: 
set /P track=Track Number: 
set /P genre=Genre: 
set /P language=Language: 

ffmpeg -i "%cover-art%" -vf scale=512:512 -sws_flags bicubic cover_tmp.png

for %%t in (!track_amount!) do ffmpeg -i "%filename%" -i cover_tmp.png -map_metadata -1 -map 0:0 -map 1:0 -id3v2_version 3 -metadata artist="%artist%" -metadata album="%album%" -metadata title="%title%" -metadata track="%track%/%track_amount%" -metadata genre="%genre%" -metadata language="%language%" -c:1 png -disposition:1 attached_pic -c:a libmp3lame -ar 44100 -b:a 160k "%title%.mp3"

pause


    


  • FFmpeg Batch Merge From Input Folder

    4 septembre 2022, par Parham.8

    I have this command that works perfectly fine :

    


    echo off
mkdir inputs
mkdir outputs
set "InputFolder=%~dp0inputs"
for /R "%InputFolder%" %%i in (*.mp4) do ffmpeg -i "%%i" -c copy "outputs\%%~ni.mkv"


    


    I'm trying to make this command work as well with no success :

    


    echo off
mkdir inputs
mkdir outputs
set "InputFolder=%~dp0inputs"
for /R "%InputFolder%" %%i in (*.mp4) do (ffmpeg -n -i "%%~ni.mp4" -i "%%~ni-eng.srt" -c copy -max_interleave_delta 0 -map 0 -map -0:v:1? -map -0:v:2? -map 1 -fflags +bitexact -map_metadata:g -1 -map_metadata -1 -metadata title="" -metadata comment="" -metadata:s:v title="" -metadata:s:v language="und" -metadata:s:v VENDOR_ID="" -metadata:s:a title="" -metadata:s:a:0 language="eng" -metadata:s:a:0 handler_name="English" -metadata:s:a VENDOR_ID="" -metadata:s:s:0 language="eng" "outputs\%%~ni.mkv")


    


    Any suggestions to make it work ?

    


  • HOW TO CHOOSE AUDIO WHILE CONVERTING .MKV TO .MP4 [duplicate]

    30 janvier 2021, par sanjai cyber

    I am trying to convert a .mkv file to .mp4 file, I used the command

    


    


    ffmpeg -i in.mkv -codec copy out.mp4

    


    


    I got the output but the thing is, the file i am converting has 4 different language for example - english,french,chinese,german. I get the output in English but i want the audio in french (The first audio plays while I open the file in vlc is english)

    


    Does anyone know how to choose the language ?