Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (75)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (6862)

  • Getting Audio issue on integrating YouTube Live Streaming in Android app

    27 mai 2017, par Basha

    Presently I was working in app which has an integration of YouTube Live streaming in my android application. I was using a project in GitHub(YT-Watch me), which is provided by YouTube for Live Streaming . Here I was able to get an live streaming video but not getting audio.Is there any change that I have to do in Ffmpeg-jni.c file ?

    please suggest me how to solve this issue.

  • FFMPEG : How to create video using 1 file .mov (transparent) and 1 image (.jpg)

    29 mai 2017, par Jim2k

    How to create video using 1 file .mov loop (transparent) and 1 image (.jpg Full length video)
    like same : https://www.youtube.com/watch?v=fXzh3sMxTpM

     !!!Sorry for my poor english !!!

  • How to reencode flash stream to MP4 or/and WebM inside server implementation ?

    18 avril 2013, par user2294505

    Hi guys, lets start with this that I'm totally new in video streaming.

    Currently I have to support one server implemented in C that work as mediator between stream producers and stream consumers. In my case I have one remote machine that generate flash stream and one or more clients that can watch it. The server work as proxy for all of them. We are using our server side implementation for rtmp protocol and for asynchronous work over HTTP we are using libevent library. All this construction work fine in common case.

    Now we need to transfer this stream to HTML5 clients and we need to support new formats. Our decision was that MP4 and WebM are enough for us. Base of the HTTP request our internal implementation recognized what type of stream client need. For example when the client need MP4 URI is something like this :

    http://192.168.0.5/video.mp4?blah-blah-blah

    where "blah-blah-blah" are few parameters to impersonate client. We have already implemented mechanism that convert input frames to raw pictures and this implementation work fine when we stream JPEGs as again we are using libavformat library to encode raw picture to JPEG. In case with JPEGs the contents of the stream data must contain HTTP meta data with description of every picture. The client stream request is same as this for MP4 stream but instead video.mp4 we are uising jpegstream.htm

    Now I need to convert this input stream to MP4 and/or WebM and here start my problems. For generating Mp4 and WebM videos I'm using ffmpeg libraries and base of one of ffmpeg examples (muxing) I'm trying to convert already generated pictures to currently selected new format. More or less this conversion is OK but after than I don't know why I can't send video to consumer. I'm using next code to prepare avio context :

    int iSize = 4 * 1024;
    unsigned char *ptrBuf = ( unsigned char * )av_malloc( iSize );
    ptrOFC->pb = avio_alloc_context( ptrBuf, iSize, 1, ptrTCDObj, NULL, write_pkg, NULL );
    if ( !ptrTCDObj->ptrOFC->pb ) {
       goto ERROR;
    }
    avformat_write_header( ptrOFC, NULL );

    When the server receive frame from flash we are converting it to corresponding output format with code like this :

    iResult = avcodec_encode_video2( ptrTCDataObj->m_ptrOCC, &packet, pictureFrame, &iGotPacket ) ;

    and write it to stream when succeed and packet exist with :

    av_interleaved_write_frame( ptrOFC, &packet );

    Here our code expect to receive in one moment call to write_pkg function. But nothing happen here :-(. Situation is 100% same if I'm using direct write with av_write_frame. The write_pkg function has very simple body :

    int write_pkg( void *ptrOpaque, uint8_t *ptrBuffer, int iBufferSize )
    {
       STransCoderData_t *ptrTCDObj = ( STransCoderData_t * ) ptrOpaque;
       struct evbuffer *ptrFrameOut;
       ptrFrameOut = evbuffer_new();
       evbuffer_add( ptrFrameOut, ptrBuffer,( size_t ) iBufferSize );
       http_client_write_video( ptrFrameOut, ptrTCDObj->m_ptrHTTPClient, NULL );
       evbuffer_free( ptrFrameOut );
       return iBufferSize;
    }

    Structure STransCoderData_t and function http_client_write_video is not interesting in this moment because we don't reach them for now :-(

    For test consumer I'm using VLC player as open network stream :

    http://192.168.0.5/video.mp4?blah-blah-blah

    VLC don't show anything even errors.

    Any ideas, comments and help are welcome.