Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (37)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (9839)

  • Why do my Windows filenames keep getting converted in Python ?

    13 avril 2024, par GeneralTully

    I'm running a script that walks through a large library of .flac music, making a mirror library with the same structure but converted to .opus. I'm doing this on Windows 11, so I believe the source filenames are all in UTF-16. The script calls FFMPEG to do the converting.

    


    For some reason, uncommon characters keep getting converted to different but similar characters when the script runs, for example :

    


    06 xXXi_wud_nvrstøp_ÜXXx.flac

    


    gets converted to :

    


    06 xXXi_wud_nvrstøp_ÜXXx.opus

    


    They look almost identical, but the Ü and I believe also the ø are technically slightly different characters before and after the conversion.

    


    The function which calls FFMPEG for the conversion looks like this :

    


    def convert_file(pool, top, file):
    fullPath = os.path.join(top, file)
    # Pass count=1 to str.replace() just in case .flac is in the song
    # title or something.
    newPath = fullPath.replace(src_dir, dest_dir, 1)
    newPath = newPath.replace(".flac", ".opus", 1)

    if os.path.isfile(newPath):
        return None
    else:
        print("{} does not exist".format(newPath))
   
        cvt = [
            "Ffmpeg", "-v", "debug", "-i", fullPath, "-c:a", "libopus", "-b:a", "96k", newPath]
        print(cvt)

        return (
            fullPath,
            pool.apply_async(subprocess.run, kwds={
                "args": cvt,
                "check": True,
                "stdin": subprocess.DEVNULL}))


    


    The arguments are being supplied by os.walk with no special parameters.

    


    Given that the script is comparing filenames to check if a conversion needs to happen, and the filenames keep getting changed, it keeps destroying and recreating the same files every time the script runs.

    


    Why might this be happening ?

    


  • Extract just the audio link from a youtube video without converting

    27 janvier, par MR-4O4

    I know there are hundreds of sites to convert youtube video to mp3. Most of them do it by first downloading the video and then converting it to mp3(or any other audio format) on their server using youtube-dl, ffmpeg or similar programs.

    



    What I want to know is, is there any way I can just extract the audio link for any youtube video ? I don't know if it's possible but I saw a couple of websites doing it .

    



    First Website : Openaisearch.com
This website simply gives a download link for the audio(getting it from youtube videos). I searched for a song and saw the download url, it looked something like this :

    



    https://redirector.googlevideo.com/videoplayback?source=youtube&requiressl=yes&clen=3814013&upn=dzwY9aUVYME&lmt=1469875393441562&expire=1484854959&mime=audio%2Fmp4&nh=IgpwcjAxLnNlYTA5Kg01Mi45NS4yMTYuMTAy&itag=140........... 


    



    I believe that this is not done by first downloading and converting the video to audio format(Correct me if I am wrong).
Although the file which gets downloaded after using this link is without any extension, but adding ".m4a" at the end of downloaded file does the work.

    



    Second Website : http://keepvid.com/ ?url=https ://www.youtube.com/watch?v=PT2_F-1esPk

    



    Again similar website with similar audio link. You can check by visiting the URL and see link of audio files.

    



    Any idea how these websites get that "googlevideo.com" link ? Do they scrap the youtube video links or something ?

    



    Thanks.

    


  • FFmpeg : Keep image quality during moving the video screen along image

    15 janvier 2020, par ArmKh

    I have a FFmpeg command which is moving the video screen along image. From the TOP LEFT position to BOTTOM RIGHT

    Here is the ffmpeg command

    ffmpeg -y -loop 1 -t 5 -i 1.jpg -loop 1 -t 5 -i 2.jpg -loop 1 -t 5 -i 3.jpg -i song.mp3
    -filter_complex "
    [0:v]crop=1280:1280:((iw-ow)*t)/5:((ih-oh)*t)/5[v0];
    [1:v]crop=1280:1280:((iw-ow)*t)/5:((ih-oh)*t)/5[v1];
    [2:v]crop=1280:1280:((iw-ow)*t)/5:((ih-oh)*t)/5[v2];
    [v0][v1][v2]concat=n=3:v=1:a=0,fps=25,format=yuv420p[v]" -map "[v]" -map 3:a -shortest top_left_to_bottom_right.mp4

    I’m using images with 3000x3000 sizes and the video screen sizes are 1280x1280. So, the command works great but in the video, I don’t have the same images quality

    For example : Initial image

    enter image description here

    Image part in the video

    enter image description here

    The image in the video looks like zoomed ( scaled ) as well ?
    So, is there any way to keep the image quality and maybe a ratio as well ?