Recherche avancée

Médias (91)

Autres articles (83)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (5154)

  • How can i have a good frame quality with PHP5-FFMPEG ?

    13 mars 2012, par Yeppao

    I'm trying tu use PHP5-FFMPEG in my website, but when i try to take some frame of any movie, the quality of this frame is really poor...

    Here's the simply way i use to write this frames into images.

     $frame = $mov->getFrame($_GET['frame']);
     $img = $frame->toGDImage();
     header("Content-type: image/jpeg");
     imagejpeg($img);

    Can i have a better quality with this extension ? Or I have to invoke a ffmpeg command line ?

    Image link :
    http://i.stack.imgur.com/OKXUj.jpg

  • FFMPEG : Mapping Decoded frame buffer to FFMPEG's output frame buffer

    9 décembre 2013, par Zax

    I have integrated my custom decoder into FFMPEG's multimedia framework.
    I have the AVCodec structure inside my video decoder as shown below :

    AVCodec ff_hello_decoder = {

       .name           = "myDec",
       .type           = AVMEDIA_TYPE_VIDEO,
       .id             = AV_CODEC_ID_HELLO,
       .init           = myDec_decode_init,
       .close          = myDec_decode_close,
       .decode         = myDec_decode_frame,
       .pix_fmts       = (const enum AVPixelFormat[]) {AV_PIX_FMT_YUV420P},
    };

    In function myDec_decode_init() i perform all initializations, memory allocation etc. In function myDec_decode_close(), all the allocated memory is deallocated. In function myDec_decode_frame(), i read the input stream, and decode a frame as shown below :

    static int myDec_decode_frame(AVCodecContext *avctx, void *data,int *got_frame_ptr, AVPacket *avpkt)
    {

        AVFrame *frame=data;
        unsigned char *YUVptr;

        //Here i read the input stream and pass it to the decoder.

        //Decoder gives me a address that points to the YUV data, i collect the address in YUVptr as shown below

        YUVptr=myDecodeFrame(...);

        //Inorder to map this pointer to the output frame pointer provided by ffmpeg, i perform the below operation
        frame->buf=YUVptr;

        //give indication to ffmpeg framework that the data has been mapped to frame buffer
        *got_frame_ptr=1;

        return 0;

    }

    When i execute the ffmpeg command from terminal i get the following message :

    ./ffmpeg -vcodec myDec -i input.bin output.yuv

    Codec 0xFF1081 is not in the full list

    Output file #0 does not contain any stream

    My Question is :

    1) Why am i getting the first message i.e. Codec ... is not in the full list ? What has to be done to get this solved

    2) Why am i getting the message Output file #0 does not contain any stream, althought in the definition of AVCodec i have specified that pix_fmts are of type AV_PIX_FMT_YUV420P ? How can this be resolved ?

    3) Lastly, i still doubt, that i'm actually not mapping the yuv buffer data properly with the ffmpeg's output buffer pointer i.e. void* data parameter. Am i doing something wrong here ?

    Any information regarding the same shall be really helpful to me. Please do provide you valuable suggestions. Thanks in advance.

  • FFSERVER streaming to any network

    7 février 2012, par user1191644

    Is there some way to stream a media file using ffserver to any network from a local network as my ffserver is configured on subnet machine.

    Right now I have it working only machines on the LAN (connected to my network) can view the file using http://localhost:8090/stream.mjpg , but I want people from the outside or any network also to be able to access it if they provide my machine address. Can anybody provide me some ideas on this.

    Thanks !