Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (55)

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

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

  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

Sur d’autres sites (5021)

  • ffmpeg drawtext on ubuntu : ffmpeg does not change text location [closed]

    10 juin 2024, par Wolf Wolf

    I am designing a video editor bot for Telegram. I want to use ffmpeg
and I need a text to be placed on the video and change the place of
the text randomly every few seconds.

    


    There is an example on the site itself.

    


    I used the following command :

    


       ffmpeg -i
   "/home/editor/downloads/video_2023-07-10_17-53-05_7375753324605210932.mp4"
   -filter:v drawtext="fontsize=30:fontfile=/usr/share/hellotext=hellotext/share/World':
   x=if(eq(mod(t\,30)\,0)\,rand(0\,(w-text_w))\,x):y=if(eq(mod (t\,30
   )\, 0)\,rand(0\,(h-text_h))\,y)" -codec:v libx264 -codec:a copy
   -preset slow -crf 18 -y output.mp4


    


    This command executes and even the text is placed on the video, now
the problem is that it doesn't change the location of the text. I
tested this before and it worked fine, but now it doesn't run
properly.

    


  • Dynamically check (and change ?) audio file codec [closed]

    25 juillet 2024, par user2m

    Hey all I have a web app where users can upload audio files like mp3's, wavs and m4a's.
I'm simply using the default html audio player to render the audio.
A while back I started noticing that a sporadic few of the audio players were greyed out.

    


    I went into my supabase backend to open the actual audio file and found that I was able to play the audio file
when I downloaded it to my PC.

    


    Upon reading this thread (Why is this specific m4a audio file not playing on the )
it looks like the issue is the codec with some .m4a files.
Some m4a files are using the AAC (widely supported) codec and some are not.

    


    Currently I have JS code that

    


      

    1. grabs the file blob
    2. 


    3. checks if the upload name contains mp3, wav or m4a
    4. 


    5. uploads the blob to supabase
    6. 


    


    in between 2 and 3 I'd like to check that the codec of the blob is AAC and if possible change the codec (??)
I've asked CGPT for a solution but it point sme to FFMPEG and from reading the docs it looks like FFMPEG core is about 30MB to load...
(https://ffmpegwasm.netlify.app/docs/getting-started/usage/)
This seems like a lot to me - granted most of the app will have already been loaded by the time a user gets to this flow.
I just wanted to reach out and see if anyone has figured out a better solution

    


  • Change order of codecs that ffmpeg will attempt [closed]

    11 septembre 2024, par Martin Rauscher

    TBH this might be a bug since I cannot see why this would be designed behavior :

    


    I'm converting user-submitted videos to png thumbnails with this command.

    


    ffmpeg $codec -xerror -ss 1 -t 0.05 -i "$1" -update 1 -frames:v 1 -vf "scale=-1:256" -y "thumb.png"


    


    This works great when there is no transparency involved, but when it is I get PNGs with black (or green, whatever the non-transparent component is) background. I need to manually select the input codec for VP8 (alpha_mode=1), VP9, and fallback (seems to use vp8 (native)) like this to fix it

    


    for codec in "-vcodec libvpx-vp9" "-vcodec libvpx" ""; do


    


    Now my questions are

    


      

    • is there a way to just set my preference order of codecs as a command line option ?
    • 


    • WHY is FFMPEG failing to use the best codec in the first place ?
    •