Recherche avancée

Médias (17)

Mot : - Tags -/wired

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 (11155)

  • Using hwaccel ffmpeg option with moviepy library

    12 octobre 2022, par Nicola Lepetit

    I am trying to add the hwaccel option of ffmpeg to a script I am working on in Python, based on the moviepy library, by passing the options via the ffmpeg_params parameter :

    


    from moviepy.editor import VideoFileClip

ASSETS_FOLDER = "./assets/backgrounds/road/"
video_file_name = "12386.mp4"
start_time = 5
end_time = 20
target_file = "output.mp4"

video = VideoFileClip(f"{ASSETS_FOLDER}{video_file_name}")
new = video.subclip(start_time, end_time)
new.fps = 25
new.write_videofile(target_file, ffmpeg_params= ['-hwaccel','cuda'])


    


    The problem is that these ffmpeg_params are added at the end of the ffmpeg command line, so I am getting the following error :

    


    [Errno 22] Invalid argument

MoviePy error: FFMPEG encountered the following error while writing file 
   ./assets/temp/3/cut1.mp4:

 b'Option hwaccel (use HW accelerated decoding) cannot be applied to output url 
  ./assets/temp/3/cut1.mp4 -- you are trying to apply an input option to an output file
  or vice versa. Move this option before the file it belongs to.\r\nError parsing
  options for output file ./assets/temp/3/cut1.mp4.\r\nError opening output files:
  Invalid argument\r\n'


    


    Is there another way to use the option with moviepy

    


  • transpose_vulkan : add passthrough option

    2 janvier 2022, par Wu Jianhua
    transpose_vulkan : add passthrough option
    

    The following command is on how to apply passthrough option :

    ffmpeg -init_hw_device vulkan -i input.264 -vf hwupload=extra_hw_frames=16,transpose_vulkan=passthrough=landscape,hwdownload,format=yuv420p output.264

    Signed-off-by : Wu Jianhua <jianhua.wu@intel.com>

    • [DH] libavfilter/vf_transpose_vulkan.c
  • avcodec/tiff : Option to decode embedded thumbnail

    30 mai 2019, par Nick Renieris
    avcodec/tiff : Option to decode embedded thumbnail
    

    Adds the "-thumbnail" option, that works like the current "-subifd"
    option, but only for non-full-sized images.

    This is particularly useful for DNG images (see next commit) that
    have SubIFDs that are not necessarily thumbnails.

    Signed-off-by : Nick Renieris <velocityra@gmail.com>

    • [DH] libavcodec/tiff.c