Recherche avancée

Médias (91)

Autres articles (7)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (3472)

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

  • How to open anullsrc input ?

    5 mai 2022, par dgsgsdgsgdhddhg

    I'm trying :

    &#xA;

        avformat_open_input(&#xA;        &amp;input_context,&#xA;        "anullsrc",       &#xA;        NULL,&#xA;        NULL&#xA;    );&#xA;

    &#xA;

    That however does not work and input_context remains NULL.

    &#xA;

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

    &#xA;

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

    &#xA;

    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.

    &#xA;

    Edit

    &#xA;

    I might have found an issue. When I do :

    &#xA;

    $ ffmpeg -v 0 -demuxers | grep lavfi&#xA;

    &#xA;

    The output is :

    &#xA;

     D  lavfi           Libavfilter virtual input device&#xA;&#xA;

    &#xA;

    However, when I do :

    &#xA;

    main | grep lavfi&#xA;

    &#xA;

    Where main is my program which includes :

    &#xA;

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

    &#xA;

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

    &#xA;

    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.

    &#xA;

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