Recherche avancée

Médias (0)

Mot : - Tags -/utilisateurs

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (86)

  • 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 ;

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

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

  • How do I change the speed of an audio file in Python, like in Audacity, without quality loss ?

    23 août 2023, par Somnia Quia

    I'm building a simple Python application that involves altering the speed of an audio track.
(I acknowledge that changing the framerate of an audio also make pitch appear different, and I do not care about pitch of the audio being altered).
I have tried using solution from abhi krishnan using pydub, which looks like this.

    


    from pydub import AudioSegment
sound = AudioSegment.from_file(…)

def speed_change(sound, speed=1.0):
    # Manually override the frame_rate. This tells the computer how many
    # samples to play per second
    sound_with_altered_frame_rate = sound._spawn(sound.raw_data, overrides={
         "frame_rate": int(sound.frame_rate * speed)
      })
     # convert the sound with altered frame rate to a standard frame rate
     # so that regular playback programs will work right. They often only
     # know how to play audio at standard frame rate (like 44.1k)
    return sound_with_altered_frame_rate.set_frame_rate(sound.frame_rate)


    


    However, the audio with changed speed sounds distorted, or crackled, which would not be heard with using Audacity to do the same, and I hope I find out a way to reproduce in Python how Audacity (or other digital audio editors) changes the speed of audio tracks.

    


    I presume that the quality loss is caused by the original audio having low framerate, which is 8kHz, and that .set_frame_rate(sound.frame_rate) tries to sample points of the audio with altered speed in the original, low framerate. Simple attempts of setting the framerate of the original audio or the one with altered framerate, and the one that were to be exported didn't work out.

    


    Is there a way in Pydub or in other Python modules that perform the task in the same way Audacity does ?

    


  • Revision 4d6d061316 : Set max_intra_bsize to 32x32 At —good and speed 3 or above for resolution less

    14 août 2014, par Yaowu Xu

    Changed Paths :
     Modify /vp9/encoder/vp9_speed_features.c



    Set max_intra_bsize to 32x32

    At —good and speed 3 or above for resolution less than 720p. This
    disables the tests for 64x64 intra prediction modes. Encoding time
    reduction is about 1%.

    Change-Id : Ib396e3d1417fece416e3f0fee929b128acbb130f

  • Revision 9bd3be69a4 : Adjust full-pixel search method in real-time mode Use FAST_HEX in speed 5 and 6

    8 juillet 2014, par Yunqing Wang

    Changed Paths :
     Modify /vp9/encoder/vp9_speed_features.c



    Adjust full-pixel search method in real-time mode

    Use FAST_HEX in speed 5 and 6, which covers more points than
    FAST_DIAMOND and improves motion search quality.

    At speed 6, RTC set borg tests showed slight quality gain (psnr
    gain : 0.143%, ssim gain : 0.226%). No noticeable encoding speed
    change.

    Change-Id : Ifa62875d9a52ee382ec494f271382bb77d8c67bf