Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (21)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

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

Sur d’autres sites (2866)

  • Python SWIG bindings with SomeType ** as function argument

    2 mai 2013, par vericule

    I couldn't find any working Python bindings for ffmpeg, so I decided to generate one with SWIG. Generation was quick and easy (no customization, just default SWIG interface), but these a problem using some functions like int avformat_open_input(AVFormatContext **ps, const char *filename, AVInputFormat *fmt, AVDictionary **options); from libavformat/avformat.h. Using C this can be run simply by :

    AVFormatContext *pFormatCtx = NULL;
    int status;
    status = avformat_open_input(&pFormatCtx, '/path/to/my/file.ext', NULL, NULL);

    In Python I try following :

    >>> from ppmpeg import *
    >>> av_register_all()
    >>> FormatCtx = AVFormatContext()
    >>> FormatCtx
    >
    >>> avformat_open_input(FormatCtx, '/path/to/my/file.ext', None, None)
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    TypeError: in method &#39;avformat_open_input&#39;, argument 1 of type &#39;AVFormatContext **&#39;
    </module></stdin>

    Problem is that Python do not have & equivalent. I tried to use cpointer.i and its pointer_class (%pointer_class(AVFormatContext, new_ctx)), but new_ctx() returns pointer and this is not I want definitely. %pointer_class(AVFormatContext *, new_ctx) is illegal and gives syntax error. I would be grateful for any help. Thanks.

    EDIT :
    I forgot to mention I tried to use typemaps, but don't know how to write custom typemap for struct and documentation has only examples for basic types like int or float...

  • Playing encrypted m4a on Android

    20 novembre 2013, par Fixee

    I'm pulling down encrypted music, decrypting on-the-fly to m4a plaintext buffer and want to then play this music on Android (4.x). It appears the options are bleak :

    1. Write the buffer to disk and use MediaPlayer() with a FileDescriptor
    2. Write the buffer to disk and use a proxy like nano to serve MediaPlayer() via a URI
    3. Decode the buffer to PCM and use AudioTrack to play it

    Options 1 and 2 require writing plaintext to SD, which isn't acceptable. Option 3 requires decoding in software (with, eg, ffmpeg) which seems ridiculous : if there are hardware decoders on the device we can't use them. And if there is a software decoder, we can't access it and put yet another decoder on the device (ffmpeg's).

    Note that using OpenSL doesn't help at all : you still cannot play m4a's from a buffer. Is there another way ?

  • ffmpeg live transcoding faster alternative ?

    6 août 2014, par ppoeas

    Is there any opensource alternative to ffmpeg and VLC to live video transcoding from HTTP streaming to RTMP or other ?

    ffmpeg caused my CPU (AMD 4.0GHZ 8Core) is loaded 100% with only 8 SD streams.

    Thanks for help.

    PS.
    I think I don’t need to transcode my video, I can also stream with something like http video proxy. Source is in HTTP streaming format, also I am under Linux.