Recherche avancée

Médias (91)

Autres articles (8)

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

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

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

Sur d’autres sites (3474)

  • How to compile FFProbe as stand-alone application ? (Mac/Linux/Win)

    16 janvier 2016, par Hanzaplastique

    I’m trying to compile FFMPEG (I’m actually only looking for FFProbe, which is included in the FFMPEG tools) as a standalone application for MacOS X, Linux and possibly Windows.
    With standalone I mean that the libraries (x264, OpenJPEG, etc) are "embedded" into the executable so that I have to distribute only one executable for FFProbe - I apologize that I don’t know the proper lingo for this (please let me know), I’m a newbie when it comes to this.

    I have started by trying to do this under MacOS X, without any luck, but plan to do this for Linux and MacOS X as well.

    I did see a few pre-compiled binaries that do this, and do not depend on extra libraries, but the versions I have found so far are either not the current version (1.x) or do not included the libraries in the executable (evermeet).

    I followed several guides (for example : FFMpeg MacOSX Compilation Guide, reneVolution), with or without the use of Brew, but none of these show me how to embed the libraries in the executable.
    I assume this is an option to be set for linking.

    I’m not sure if it’s appropriate to ask this question for Win, Mac and Linux at the same time - if it’s not appropriate : I’d like to start with doing this for the Mac version.

    My system runs MacOS X 10.9, XCode 5.0.2, with commandline tools and brew installed. I’m only looking for an Intel binary, so not a universal or PowerPC binary.

    For Windows I can use either Windows 8.1 or XP, for Linux I currently use Ubuntu 12, all of which are virtual machines.

  • Linux : Create a file for writing with controlled flushing to disk in large chunks [closed]

    12 août 2023, par Pete

    On Linux I have a process (ffmpeg) that writes very slowly (even slower than 1kb / s sometimes) to disk. Ffmpeg can buffer this to 256kb chunks that get written infrequently but ffmpeg hangs occasionally and if I try to detect these hangs by checking that the file is being updated I need to wait a long time between updates, up to 10 or 15 mins, otherwise I can sometimes mistakenly kill the ffmpeg process when it appears to have stopped writing when it fact its still filling its internal buffer.

    


    Theres no way to detect this it seems unless I use strace (that I can find anyway). So I am wondering about turning off buffering in ffmpeg and writing unbuffered to disk from ffmpeg.

    


    This will result in the disk constantly making tiny writes and wasting power (and probably, if I use a SSD, mess with wear levelling too).

    


    So I would like to make ffmpeg write to a 'virtual file' (in memory - either kernel memory or a process) which I can specify the flushing characteristics of. The idea being to perhaps specify flush every 2 minutes, then I can keep an eye on the file size and make sure its still being written.

    


    I don't think I've missed any other ways to do this job - even if I could watch the socket stream incoming to ffpmeg the process itself could still stop writing and lose data. Doing the buffering outside of ffmpeg seems like the best way.

    


    Is there a built in way to do this in Linux or does it mean a custom process ? I guess I know how to do this with a small C program and pipe the data in but I wonder if theres a neater way.

    


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