Recherche avancée

Médias (91)

Autres articles (102)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (12888)

  • FFMPEG Image to video zoompan starting position

    4 août 2018, par lchn

    In creating mp4 slideshows out of images, I’ve taken some examples online for zoompan, but I still haven’t quite grasped how to make them start from a certain location in an image. Here’s the typical command :

    ffmpeg -i image-000.jpg -filter_complex "color=c=black:r=60:s=1920x1080[demo] ;[0:v]format=pix_fmts=yuva420p,scale=8000 :-1,zoompan=z=’min(zoom+0.0005,1.2)’:s=2000x1333:d=360:x=’if(gte(zoom,0.9),x,x+1/a)’:y=’if(gte(zoom,0.9),y,y+1)’,fade=in:0:25:alpha=1,setpts=PTS-STARTPTS+0.0/TB[v0] ;[demo][v0]overlay=format=yuv420"
    - t 6 -c:v libx264 -y out000.mp4

    Photos I use are typically 3x2 or 4x3 in aspect ratio, so I get that they’d have to be cut off somewhere in a 16x9 video. The thing with the above code (and many other "Ken Burns effect" samples) is that they start with the bottom portion of the images cut off, then either zoom in more or zoom out, never showing the bottom.

    How do I get the animation to start further down on the image ? Nothing I do in the y=’...’ section affects it. Not even putting in constant numbers between 0 and 100000 instead of adjusting values in that formula y=’if(gte(zoom,0.9),y,y+1)’.

    Note : I’ve had some success using crop or pad for the original image, but I’d rather understand how to better position zoompan inside of the image.

  • Convert audio files for CMU Sphinx 4 input

    5 août 2021, par Nate Glenn

    I have a big batch of files I'd like to run recognition on using CMU Sphinx 4. Sphinx requires the following format :

    



      

    • 16 khz
    • 


    • 16 bit
    • 


    • mono
    • 


    • little-endian
    • 


    



    My files are something like 44100 khz, 32 bit stereo mp3 files. I tried using Tritonus, and then its updated version JavaZoom, to convert using code from bakuzen. However, AudioSystem.getAudioInputStream(File) throws an UnsupportedAudioFileException, and I haven't been able to figure out why, so I have moved on.

    



    Now I am trying ffmpeg. The command ffmpeg -i input.mp3 -ac 1 -ab 16 -ar 16000 output.wav seems like it should do the trick (except for little endian), but when I check the output with Audacity, it still labels it as "32-bit float". The command I found on this site also uses -acodec pcm_s16le, which from its name seems to be outputting 16 bit little endian ; however, Audacity still tells me the output is 32 bit float.

    



    Can anyone tell me how to convert audio files into the format required by CMU Sphinx 4 ?

    


  • Convert audio files for CMU Sphinx 4 input

    31 décembre 2012, par Nate Glenn

    I have a big batch of files I'd like to run recognition on using CMU Sphinx 4. Sphinx requires the following format :

    • 16 khz
    • 16 bit
    • mono
    • little-endian

    My files are something like 44100 khz, 32 bit stereo mp3 files. I tried using Tritonus, and then its updated version JavaZoom, to convert using code from bakuzen. However, AudioSystem.getAudioInputStream(File) throws an UnsupportedAudioFileException, and I haven't been able to figure out why, so I have moved on.

    Now I am trying ffmpeg. The command ffmpeg -i input.mp3 -ac 1 -ab 16 -ar 16000 output.wav seems like it should do the trick (except for little endian), but when I check the output with Audacity, it still labels it as "32-bit float". The command I found on this site also uses -acodec pcm_s16le, which from its name seems to be outputting 16 bit little endian ; however, Audacity still tells me the output is 32 bit float.

    Can anyone tell me how to convert audio files into the format required by CMU Sphinx 4 ?