Recherche avancée

Médias (91)

Autres articles (93)

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (12024)

  • I use ffmpeg to format videos according to tik-toke standards [closed]

    8 mai 2024, par John Red

    I use ffmpeg to format videos according to tik-toke standards, but I don't know why videos are not cropped and lose quality.

    


    const transcode = async () => {
    const ffmpeg = ffmpegRef.current;
    await ffmpeg.writeFile('input.mp4', await fetchFile(file));
    await ffmpeg.exec([
        '-i', 'input.mp4',
        '-vf', 'scale=1080:1920,crop=ih*(9/16):ih',
        'output.mp4'
    ]);
    const data = await ffmpeg.readFile('output.mp4');
    videoRef.current.src =
        URL.createObjectURL(new Blob([data.buffer], { type: 'video/mp4' }));
}


    


    Changed the resolution and cropped it. It didn't help in any way, only lost quality. Not what I wanted at all.

    


  • Trying to combine videos losslessly with ffmpeg

    16 novembre 2016, par Jarppi

    i am trying to create bath that would automatically join multiple videos that are in folder (liimattavat) and that would make them to .ts files in (roska) and after that it would just combine them all without quality loss to (valmis.mp4)
    but i dont seem to get it working as i get something like path doesn’t exist

    @echo off

    for %%a in ("liimattavat\*.mp4") do ffmpeg -i %%a -c copy -bsf:v h264_mp4toannexb -f mpegts "roska\%%~na.ts"
    for %%a in ("roska\*.ts") do "concat:"roska\*.ts" -c copy -bsf:a aac_adtstoasc valmis.mp4
    pause

    sorry if i was confusing, please ask me if you need more specific information.

  • I am getting a SAR error when combining videos. What did I do wrong ?

    24 mai 2019, par Dresden21

    I am using this command for combining a bunch of videos in the folder :

       FOR %i in (*.mp4) DO ffmpeg -i intro.mkv -i %i -filter_complex "[0:0]
       [0:1]
       [1:0][1:1]concat=n=2:v=1:a=1[v][a]" -map "[v]" -map "[a]" -crf 17 -preset
       veryfast -b:a 192k %i_intronew.mp4

    When I run this command I get this error :

       Input link in1:v0 parameters (size 1280x720, SAR 1281:1280) do not match
       the corresponding output link in0:v0 parameters (1280x720, SAR 1:1)

    What am I doing wrong ?