Recherche avancée

Médias (91)

Autres articles (96)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9208)

  • I cannot convert a set of images taken from a FTP to a video using FFMPEG

    7 septembre 2022, par Victoriano Fernández Tomás

    I am writting a python code where I am trying to convert a set of images that I take from a FTP into a video using FFMPEG but I cannot. I have tried, instead of reading the folder where the images are, to read a txt file with the name of the images that I want to use, with the format needed in order that FFMPEG could read it propertly, but I get always the same error : Protocol 'ftp' not on whitelist 'tcp'
In the same code, I also try to change the format of one video and change the resolution and size, and this part of code works well.
However, writting as input the same reference of the FTP, the images' code fail and the video's code works.
Besides, I have tried in my terminal as local the same command I write in the code for the images, and in local it works propertly, but not in the code.
Here there is a part of my code :

    


    Video's code (it works) :

    


    command = """ffmpeg -i {i} -an -crf {r} {o}""".format(i=src_path,o=path,r=resolution)


    


    An example of this command when I run this is the next (I dont want to write the exact ip and port) :

    


    ffmpeg -i ftp://user:user@ip:port/landing_ffmpeg/pruebas/pruebahd.mp4 -an -crf 45 tmp/pruebasalida456.mp4


    


    And next the images' code (it doesnt work) :

    


    command = """ffmpeg -loop 1 -framerate {ips} -i {i} -t 10 -pix_fmt yuv420p {o}""".format(i=src_path,o=path,ips=img_per_sec)


    


    An example of this command is the next :

    


    ffmpeg -loop 1 -framerate 2 -i ftp://user:user@ip:port/landing_ffmpeg/pruebas/prueba_imagenes/prueba06.jpg -t 10 -pix_fmt yuv420p tmp/videoimagen.mp4


    


    And the error I get with this code is the next :

    


    [ftp @ 0x560eb3e11800] Protocol 'ftp' not on whitelist 'tcp'!
[image2 @ 0x560eb3e09380] Could not open file : ftp://user:user@ip:port/landing_ffmpeg/pruebas/prueba_imagenes/prueba06.jpg


    


    I dont get this error when I try to run the command of the video, only for the images. And both commands run propertly when I write in my terminal in local, with local paths.

    


    I would appreciate if someone can help me to solve the problem and fix my code.

    


    Thanks !

    


  • Batch convert wav to m4a files using ffmpeg

    26 avril 2021, par Ben Hardy

    I'm trying to batch convert thousands of wav files into 96k m4a files on Mac OS Mojave using ffmpeg in the terminal.
    
I'm trying to use the following code :
    
for f in *.wav; do ffmpeg -i "$f" -c:a libfdk_aac -b:a 96k  “${f%.wav}.m4a”; done
    
I'm being given the following error :
    
Unable to find a suitable output format for '“file.m4a”'
“file.m4a” : Invalid argument
    
Can anyone help ?

    


  • How To Convert Bit Rate (VBR) Of MP3 File Using PHP ?

    29 avril 2014, par Dave

    Using php, I am trying to convert and overwrite an mp3 file using the following command....doesn’t work.

    ffmpeg -i /Users/MacBookPro/Desktop/dragons.mp3 -ar 44100 -ab 128k -f mp3 /Users/MacBookPro/Desktop/dragons.mp3

    So even when I try the command from the terminal, the new mp3 file is only about 5 seconds (originally 3 minutes). What am I doing wrong & any ideas on how to get the command working ?

    Thanks in advance !