Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (90)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (16611)

  • ffmpeg conversion for apple tv

    24 janvier 2013, par Sam

    I have one particular movie file that is giving me grief while I am trying to convert my movie library to be able to be viewed on my Apple TV. I have been using iFlicks to convert all of my files and have only had one issue. The original of this particular movie file plays fine but after it has been converted the video freezes after a few minutes but the audio keeps playing. I tried using ffmpeg to convert the file but now the file is very choppy. The first time it is played the video will be choppy, the next time the audio will be choppy... but it plays fine in VLC for some reason. So I was thinking that maybe I have chosen the wrong codecs to suit Quicktime/Apple TV. Below is the command I used for ffmpeg. Have I chosen the right codecs and actually written the command correctly ? (I haven't really used ffmpeg before...)

    ffmpeg -i input.avi -vcodec libx264 -acodec libfaac output.m4v
  • h264 ffmpeg : How to initialize ffmpeg to decode NALs created with x264

    14 décembre 2014, par Raul Calvo

    I have encoded some frames using x264, using x264_encoder_encode and after that I have created AVPackets using a function like this :

    bool PacketizeNals( uint8_t* a_pNalBuffer, int a_nNalBufferSize, AVPacket* a_pPacket )
    {
       if ( !a_pPacket )
    return false;
       a_pPacket->data = a_pNalBuffer;
       a_pPacket->size = a_nNalBufferSize;
       a_pPacket->stream_index = 0;
       a_pPacket->flags = AV_PKT_FLAG_KEY;

       a_pPacket->pts = int64_t(0x8000000000000000);
       a_pPacket->dts = int64_t(0x8000000000000000);
    }

    I call this function like this :

    x264_nal_t* nals;
    int num_nals = encode_frame(pic, &nals);
    for (int i = 0; i < num_nals; i++)
    {
       AVPacket* pPacket = ( AVPacket* )av_malloc( sizeof( AVPacket ) );
       av_init_packet( pPacket );
       if ( PacketizeNals( nals[i].p_payload, nals[i].i_payload, pPacket ) )
       {
           packets.push_back( pPacket );
       }
    }

    Now what I want to do is to decode these AVPackets using avcodec_decode_video2. I think the problem is that I haven’t initialized properly the decoder because to encode I used "ultrafast" profile and "zerolatency" tune ( x264 ) and to decode I don’t know how to specify to ffmpeg these options.
    In some examples I have read people initialize the decoder using the file where the video is stored, but in this case I have directly the AVPackets.
    What I’m doing to try to decode is :

    avcodec_init();  
    avcodec_register_all();  
    AVCodec* pCodec;  
    pCodec=avcodec_find_decoder(CODEC_ID_H264);  
    AVCodecContext* pCodecContext;  
    pCodecContext=avcodec_alloc_context();  
    avcodec_open(pCodecContext,pCodec);  
    pCodecContext->width = 320;
    pCodecContext->height = 200;
    pCodecContext->extradata = NULL;
    unsigned int nNumPackets = packets.size();
    int frameFinished = 0;
    for ( auto it = packets.begin(); it != packets.end(); it++ )
    {
       AVFrame* pFrame;
       pFrame = avcodec_alloc_frame();
       AVPacket* pPacket = *it;
       int iReturn = avcodec_decode_video2( pCodecContext, pFrame, &frameFinished, pPacket );
    }

    But in iReturn always is -1.

    Can anyone help me ? Sorry if my knowledge in this area es low, I’m new.

    Thanks.

  • h264 ffmpeg : How to initialize ffmpeg to decode NALs created with x264

    14 décembre 2014, par Raul Calvo

    I have encoded some frames using x264, using x264_encoder_encode and after that I have created AVPackets using a function like this :

    bool PacketizeNals( uint8_t* a_pNalBuffer, int a_nNalBufferSize, AVPacket* a_pPacket )
    {
       if ( !a_pPacket )
    return false;
       a_pPacket->data = a_pNalBuffer;
       a_pPacket->size = a_nNalBufferSize;
       a_pPacket->stream_index = 0;
       a_pPacket->flags = AV_PKT_FLAG_KEY;

       a_pPacket->pts = int64_t(0x8000000000000000);
       a_pPacket->dts = int64_t(0x8000000000000000);
    }

    I call this function like this :

    x264_nal_t* nals;
    int num_nals = encode_frame(pic, &nals);
    for (int i = 0; i < num_nals; i++)
    {
       AVPacket* pPacket = ( AVPacket* )av_malloc( sizeof( AVPacket ) );
       av_init_packet( pPacket );
       if ( PacketizeNals( nals[i].p_payload, nals[i].i_payload, pPacket ) )
       {
           packets.push_back( pPacket );
       }
    }

    Now what I want to do is to decode these AVPackets using avcodec_decode_video2. I think the problem is that I haven’t initialized properly the decoder because to encode I used "ultrafast" profile and "zerolatency" tune ( x264 ) and to decode I don’t know how to specify to ffmpeg these options.
    In some examples I have read people initialize the decoder using the file where the video is stored, but in this case I have directly the AVPackets.
    What I’m doing to try to decode is :

    avcodec_init();  
    avcodec_register_all();  
    AVCodec* pCodec;  
    pCodec=avcodec_find_decoder(CODEC_ID_H264);  
    AVCodecContext* pCodecContext;  
    pCodecContext=avcodec_alloc_context();  
    avcodec_open(pCodecContext,pCodec);  
    pCodecContext->width = 320;
    pCodecContext->height = 200;
    pCodecContext->extradata = NULL;
    unsigned int nNumPackets = packets.size();
    int frameFinished = 0;
    for ( auto it = packets.begin(); it != packets.end(); it++ )
    {
       AVFrame* pFrame;
       pFrame = avcodec_alloc_frame();
       AVPacket* pPacket = *it;
       int iReturn = avcodec_decode_video2( pCodecContext, pFrame, &frameFinished, pPacket );
    }

    But in iReturn always is -1.

    Can anyone help me ? Sorry if my knowledge in this area es low, I’m new.

    Thanks.