Recherche avancée

Médias (0)

Mot : - Tags -/médias

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (105)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

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

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

Sur d’autres sites (16061)

  • YUY2 image ==>>sws_scale ==>>x264_encoder_encode doesn't work in Windows

    8 décembre 2011, par shiju sasi

    I have a multi media app in Windows using x264 built using MSYS-MingW and ffmpeg Windows binaries. This works for most of the cameras which capture data in RGB24 and RGB32 formats in most of the OSes. But when I tested the app on a Windows 7 (64 bit OS) Sony Vaio Laptop which has an integrated webcam capturing in YUY2 format, the x264_enoder_encode crashes. The sws_scale to convert the YUY2 data to YUV420 Planar any way works fine here too and returns proper stride values. Please check the relevant code fragments that I have attached below.

        x264_param_apply_profile(&m_param, "baseline");
          m_pEncoder = x264_encoder_open(&m_param);
          x264_encoder_parameters(m_pEncoder,&m_param);

          m_encoderConvertCtx = sws_getContext(g_iWidth, g_iHeight, PIX_FMT_YUYV422, SCALE_WIDTH, SCALE_HEIGHT, PIX_FMT_YUV420P, SWS_BICUBIC, NULL, NULL, NULL);

          x264_picture_t m_pic_in, m_pic_out;   //X264 picture variables to get the X264 encoded picture out.
          x264_picture_init(&m_pic_in);
    m_pic_in.i_type = X264_CSP_I420;

    x264_nal_t*  m_nals;


    srcstride = g_iWidth * 2;  //For YUYV422 Packed

    AVFrame* pictIn;
    AVFrame* pictOut;

    int iInBytes = avpicture_get_size(PIX_FMT_YUV420P, SCALE_WIDTH, SCALE_HEIGHT);
    uint8_t* outbuffer = (uint8_t*)av_malloc(iInBytes);
    pictOut = avcodec_alloc_frame();

    avpicture_fill((AVPicture*)pictOut, outbuffer, PIX_FMT_YUV420P, SCALE_WIDTH, SCALE_HEIGHT);

    sws_scale(m_encoderConvertCtx, &in_buf, &srcstride, 0, g_iHeight, pictOut->data, pictOut->linesize); //Scale from YUYV422 Packed to YUV420 Plane


    ///Code after Scale begins

    memcpy(m_pic_in.img.plane[0],pictOut->data[0],SCALE_WIDTH * SCALE_HEIGHT);
    memcpy(m_pic_in.img.plane[1],pictOut->data[1],SCALE_WIDTH * SCALE_HEIGHT/4);
    memcpy(m_pic_in.img.plane[2],pictOut->data[2],SCALE_WIDTH * SCALE_HEIGHT/4);
    m_pic_in.img.plane[3] = 0;

    for(int iPlane = 0; iPlane < 3; iPlane++)
    {
    m_pic_in.img.i_stride[iPlane] = pictOut->linesize[iPlane];
    }
    m_pic_in.img.i_stride[3] = 0;

    int frame_size = x264_encoder_encode(m_pEncoder, &m_nals, &i_nals, &m_pic_in, &m_pic_out);

    Please help if possible, as this has been consuming a lot of time at my end. But I am not able to dig in to the library side for debugging. Any experienced hands are requested to assist.

  • YUY2 image ==>>sws_scale ==>>x264_encoder_encode doesn't work in Windows

    8 décembre 2011, par shiju sasi

    I have a multi media app in Windows using x264 built using MSYS-MingW and ffmpeg Windows binaries. This works for most of the cameras which capture data in RGB24 and RGB32 formats in most of the OSes. But when I tested the app on a Windows 7 (64 bit OS) Sony Vaio Laptop which has an integrated webcam capturing in YUY2 format, the x264_enoder_encode crashes. The sws_scale to convert the YUY2 data to YUV420 Planar any way works fine here too and returns proper stride values. Please check the relevant code fragments that I have attached below.

        x264_param_apply_profile(&m_param, "baseline");
          m_pEncoder = x264_encoder_open(&m_param);
          x264_encoder_parameters(m_pEncoder,&m_param);

          m_encoderConvertCtx = sws_getContext(g_iWidth, g_iHeight, PIX_FMT_YUYV422, SCALE_WIDTH, SCALE_HEIGHT, PIX_FMT_YUV420P, SWS_BICUBIC, NULL, NULL, NULL);

          x264_picture_t m_pic_in, m_pic_out;   //X264 picture variables to get the X264 encoded picture out.
          x264_picture_init(&m_pic_in);
    m_pic_in.i_type = X264_CSP_I420;

    x264_nal_t*  m_nals;


    srcstride = g_iWidth * 2;  //For YUYV422 Packed

    AVFrame* pictIn;
    AVFrame* pictOut;

    int iInBytes = avpicture_get_size(PIX_FMT_YUV420P, SCALE_WIDTH, SCALE_HEIGHT);
    uint8_t* outbuffer = (uint8_t*)av_malloc(iInBytes);
    pictOut = avcodec_alloc_frame();

    avpicture_fill((AVPicture*)pictOut, outbuffer, PIX_FMT_YUV420P, SCALE_WIDTH, SCALE_HEIGHT);

    sws_scale(m_encoderConvertCtx, &in_buf, &srcstride, 0, g_iHeight, pictOut->data, pictOut->linesize); //Scale from YUYV422 Packed to YUV420 Plane


    ///Code after Scale begins

    memcpy(m_pic_in.img.plane[0],pictOut->data[0],SCALE_WIDTH * SCALE_HEIGHT);
    memcpy(m_pic_in.img.plane[1],pictOut->data[1],SCALE_WIDTH * SCALE_HEIGHT/4);
    memcpy(m_pic_in.img.plane[2],pictOut->data[2],SCALE_WIDTH * SCALE_HEIGHT/4);
    m_pic_in.img.plane[3] = 0;

    for(int iPlane = 0; iPlane < 3; iPlane++)
    {
    m_pic_in.img.i_stride[iPlane] = pictOut->linesize[iPlane];
    }
    m_pic_in.img.i_stride[3] = 0;

    int frame_size = x264_encoder_encode(m_pEncoder, &m_nals, &i_nals, &m_pic_in, &m_pic_out);

    Please help if possible, as this has been consuming a lot of time at my end. But I am not able to dig in to the library side for debugging. Any experienced hands are requested to assist.

  • windows SOX MP4/FFMPEG support

    4 septembre 2012, par user1125562

    i'm trying to use SOX to cut certain mp3s, convert them to different formats and add fade in-out to the files.

    It works fine with mp3 to mp3 but when i try to convert it from an MP3 to an m4r i get the error : "sox FAIL formats : no handler for file extension `m4r'".

    I'm using SOX in windows so how can i install the ffmpeg package on top of the SOX so it knows waht to do with the m4r format ?

    on the same machine i can use ffmpeg to convert from mp3 to m4r just fine. It sucks that ffmpeg doesn't offer FADE for audio.