Recherche avancée

Médias (91)

Autres articles (61)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

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

  • Anomalie #2676 : IE8 : les onchange et tests checked ont des comportements bizarres

    5 mai 2012, par cedric -

    meme si on remplace les onchange par des onclick, il faut bien tester l’etat de checked pour etre synchro. Qui plus est, il faudrait dans ce cas aussi agir sur le onkeydown pour le cas de modification au clavier. Cela est lourd au final, et je ne suis pas sur que ça en vaille le coup. Je (...)

  • How does the dataflow look like in case of using ffmpeg and ffserver ?

    6 mai 2015, par randomuser1

    I can capture the camera image by ffmpeg and send it to ffserver, but what happens next with the data ? Can I collect it on the other site with some other client that uses ffmpeg (e.g. some c# wrapper for it) ? If so - how exactly does the data look like and how can I present it to the final user ? Can I just display the data on display port ? Or is there some other controller for that ?
    Thanks !

  • How to pass BytesIO image objects to ffmpeg ?

    13 avril 2023, par Mr.Slow

    I a have a (nested) list od BytesIO objects (images) that I would like to pass to ffmpeg and make a video. I do know, the ffmpeg cannot take it straight. What should I convert it in first ? There might be a better way using 'pipe :', which I did not succeed to implement yet.
(in this example code I ignore image duration and audio, too)

    


    def merge_videos(file_id: float, audio_list: List[BinaryIO], duration_list: List[float], images_nested_list):
    # flatten the nested list of images
    images_list = [image for images_sublist in images_nested_list for image in images_sublist]
    
    additional_parameters = {'c:a': 'aac', 'c:v': 'libx264'}

    # Create a BytesIO object to hold the output video data
    output_data = io.BytesIO()

    # create the FFmpeg command with the specified parameters and pipe the output to the BytesIO object
    command = ffmpeg.output(*images_list, '-', vf='fps=10,format=yuv420p', preset='veryfast', shortest=None, r=10, max_muxing_queue_size=4000, **additional_parameters).pipe(output_data)

    try:
        # run the FFmpeg command with error and output capture
        subprocess.check_output(['ffmpeg', '-y', '-f', 'concat', '-safe', '0', '-i', 'audio.txt', '-i', '-', '-c:v', 'copy', '-c:a', 'aac', f"{PROJECT_PATH}/data/final-{file_id}.mp4"], input=output_data.getvalue())
        log.info("Final video with file_id %s has been converted successfully", file_id)


    


    ...this code returns :

    


    TypeError: Expected incoming stream(s) to be of one of the following types: ffmpeg.nodes.FilterableStream; got <class>&#xA;</class>

    &#xA;

    How to handle it please ? Thanks for help.

    &#xA;