Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (63)

  • 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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (8551)

  • using ffmpeg for live streaming MPEG-TS with windows media services

    14 mars 2012, par Yanniv

    I'm trying to live stream MPEG-TS source to Windows Media service.
    I found how to live stream using RTMP with this code :

    ffmpeg -y -f mpegts -i udp://@:1234 -re -vcodec libx264 -maxrate 700k
    -r 25 -s 640x360 -deinterlace -acodec libvo_aacenc -ab 64k -ac 1 -ar 44100 -f flv "rtmp://rtmp1.youtube.com/videolive?sparams=<stream parameters="parameters" here="here">"
    </stream>
    • How can I convert it to support WM9/VC1 format ?
    • Does ffmpeg support pulling of the stream or only pushing to Windows Media services ?
  • ICL : fix out of tree building and resource file usage on Windows

    12 février 2012, par Steven Walters

    ICL : fix out of tree building and resource file usage on Windows

  • 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(&amp;m_param, "baseline");
          m_pEncoder = x264_encoder_open(&amp;m_param);
          x264_encoder_parameters(m_pEncoder,&amp;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(&amp;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, &amp;in_buf, &amp;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 &lt; 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, &amp;m_nals, &amp;i_nals, &amp;m_pic_in, &amp;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.