Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (42)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Les thèmes de MediaSpip

    4 juin 2013

    3 thèmes sont proposés à l’origine par MédiaSPIP. L’utilisateur MédiaSPIP peut rajouter des thèmes selon ses besoins.
    Thèmes MediaSPIP
    3 thèmes ont été développés au départ pour MediaSPIP : * SPIPeo : thème par défaut de MédiaSPIP. Il met en avant la présentation du site et les documents média les plus récents ( le type de tri peut être modifié - titre, popularité, date) . * Arscenic : il s’agit du thème utilisé sur le site officiel du projet, constitué notamment d’un bandeau rouge en début de page. La structure (...)

Sur d’autres sites (5107)

  • FFMPEG exported video is all black

    5 mars 2024, par Kartikey

    I am trying to generate a video wall of 4 videos using ffmpeg like the given image

    


    enter image description here

    


    I am exceuting this below script to get the desired result

    


    def merge_videos(output_file):
    command = [
        'path_to_ffmpeg/ffmpeg.exe',
        '-i', 'path/playblasts/front.mp4',
        '-i', 'path/playblasts/side.mp4',
        '-i', 'path/playblasts/persp1.mp4',
        '-i', 'path/playblasts/persp2.mp4',
        '-filter_complex', '[0:v][1:v][2:v][3:v]xstack=inputs=4:layout=0_0|w0_0|0_h0|w0_h0[v]',
        '-map', '[v]',
        output_file
    ]
    subprocess.run(command)


    


    where as passing output file path as argument, but I am getting below result

    


    enter image description here

    


    Any help would be appreciated.
Thanks & Best Regards

    


  • Custom h.264 streams broken in some hardware decoders

    20 septembre 2021, par Charles Lohr

    I've been banging my head against a wall on this one. I'm working on a mechanism to code data into a valid h.264 stream. I've gotten it working and it plays back with tools like mplayer, celluloid, and vlc (software, VA-API and VA-API with DRM), and ffmpeg. ffmpeg can even repackage and all is well.

    


    But, in situations where hardware decoding is used for instance VDPAU, it doesn't work at all.

    


    This also holds true on windows !

    


    This can be seen on this example code here : https://www.cardinalpeak.com/blog/worlds-smallest-h-264-encoder

    


    The code I'm working with is a little more sophisticated and only has timestamp warnings in ffmpeg, https://github.com/cnlohr/h264fun/blob/dfa95a6ed0b669fe1e15d67cd3cbd45ac24cc79d/testbase.c

    


    But some of the things I'm worried about is if I_PCM is supported in hardware decoding or what could possibly be triggering issues ?

    


  • FFMPEG : Cannot record audio when using android_camera on Android mobile device or emulator

    12 octobre 2023, par JackE99

    I am attempting to livestream video and audio to my local network from a mobile android device as a use case for the company i work for.

    


    After searching around, I was able to create a video stream using the following command :

    


    ffmpeg -f android_camera -i 0 -c:v libx264 -f flv rtmp://$url

    


    The only issue with this command is in the title, I cannot figure out how to get audio input from the microphone built into the device. I have tried different iterations such as :

    


    Using android_audio

    


    ffmpeg -f android_camera -i 0 -f android_audio -i 0 -c:v libx264 -c:a aac -f flv rtmp://$url

    


    Using mapping

    


    ffmpeg -f android_camera -i 0 -f android_audio -i 0 -map 0:v -map 1:v -c:v libx264 -c:a aac -f flv rtmp://$url

    


    I feel as though I have hit a wall and am unable to progress. And before it is said, yes I do need to use FFMPEG as the command medium and cannot use a prebuilt project/package as the devices have a program already installed to take FFMPEG commands. Any help on this topic is greatly appreciated.

    


    P.S. If you can also help me figure out how to find the name of an Android device's internal microphone, that would be lovely.