Recherche avancée

Médias (91)

Autres articles (79)

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (6876)

  • No Audio recorded with FFMPEG ALSA Loopback

    6 août 2019, par Dhruvin Bhatt

    I am trying to record screen with audio. I played an mp4 file with audio and video in browser and I tried the command specified here, and tried to save output to mp4 as well as mkv files. But the screen records with no audio. I have installed Alsa loopback with

    sudo apt-get install linux-image-extra-virtual

    modprobe snd-aloop

    The outputs of arecord -l and aplay -l are arecord -l aplay -l

    I have tried all hw devices like hw:0, hw:2, hw:0,1, hw:0,1,0

    I am using Ubuntu 18.04 with FFMPEG version 4.0.3-1 18.04.york0

    I have faced same issue with FFMPEG version 3.4.4-0ubuntu0.18.04.1

    The same issue is also faced in Ubuntu 16.04 with FFMPEG version 4.0.3-1 16.04.york0.

    Please help me solve this. I can not use any other packages like Simple-Screen-Recorder or PulseAudio, as the command which I am trying to run for an application uses only FFMPEG and Alsa Loopback, and is not changeable.

  • How to open anullsrc input ?

    5 mai 2022, par dgsgsdgsgdhddhg

    I'm trying :

    


        avformat_open_input(
        &input_context,
        "anullsrc",       
        NULL,
        NULL
    );


    


    That however does not work and input_context remains NULL.

    


    The 3rd argument, NULL, is an optional AVInputFormat.
https://ffmpeg.org/doxygen/trunk/group__lavf__decoding.html#gac05d61a2b492ae3985c658f34622c19d

    


    fmt    If non-NULL, this parameter forces a specific input format. Otherwise the format is autodetected.

    


    I wanted to supply it by first creating the AVInputFormat with av_find_input_format - that however fails to find the format (lavfi), because it seems not to be registered in file ./libavformat/allformats.c even though it exists in ./libavdevice/lavfi.c.

    


    Edit

    


    I might have found an issue. When I do :

    


    $ ffmpeg -v 0 -demuxers | grep lavfi


    


    The output is :

    


     D  lavfi           Libavfilter virtual input device



    


    However, when I do :

    


    main | grep lavfi


    


    Where main is my program which includes :

    


        while ((fmt = av_demuxer_iterate(&i)))                                      
        printf("%s\n", fmt->name);  


    


    I get no output (I confirm that some demuxers are listed if I don't grep for lavfi).

    


    So it seems then, that libavformat.h does not know about lavfi demuxer, whereas ffmpeg does. So it seems I need to fix this issue now.

    


  • How do I read an mp4 file directly into moviepy from S3 ?

    9 novembre 2022, par racket99

    Any idea how to read an S3 mp4 file directly into moviepy ?

    



    I have tried,

    



    import boto3
from io import BytesIO
from moviepy.editor import *

client = boto3.client('s3')
obj =  client.get_object(Bucket='some-bucket', Key='some-file')
VideoFileClip(BytesIO(obj['Body'].read())) 


    



    but I am getting,

    



    Traceback (most recent call last):&#xA;File "<stdin>", line 1, in <module>&#xA;File "/<path>/lib/python3.6/site-packages/moviepy/video/io/VideoFileClip.py", line 91, in __init__&#xA;fps_source=fps_source)&#xA;File "/<path>/lib/python3.6/site-packages/moviepy/video/io/ffmpeg_reader.py", line 33, in __init__&#xA;fps_source)&#xA;File "/<path>/lib/python3.6/site-packages/moviepy/video/io/ffmpeg_reader.py", line 243, in ffmpeg_parse_infos&#xA;is_GIF = filename.endswith(&#x27;.gif&#x27;)&#xA;AttributeError: &#x27;_io.BytesIO&#x27; object has no attribute &#x27;endswith&#x27;&#xA;</path></path></path></module></stdin>

    &#xA;&#xA;

    where path is my virtual environment

    &#xA;