Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (34)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (3346)

  • ffmpeg-python : cannot get video info on macos after scaling

    6 août 2022, par Harun Sasmaz

    I am using ffmpeg-python 0.2.0 to scale a video on MacOS. However, after I run the following command :

    


    ffmpeg.input(path).filter("scale",720,1280).filter("fps",30).output(out).overwrite_output().run()


    


    I cannot see codec, duration, resolution info of the produced video when I right click on "Get Info" option.

    


    It looks like this

    


    I expect to see something like this

    


    Did I miss some commands ?

    


  • Flipping AVFrame while scaling

    2 mars 2017, par Marko

    I’m getting frames from web camera flipped vertically and I need to flip them if possible while resizing it in the same step.
    Can somebody give me an example of it. Here is my code

    AVFrame* inpic = av_frame_alloc();
    avpicture_fill((AVPicture*)inpic,
       m_CurrentFrame.bits(),
       AV_PIX_FMT_RGB32,
       m_CurrentFrame.width(),
       m_CurrentFrame.height());

    AVFrame* m_resizedFrame = av_frame_alloc();
    int num_bytes = avpicture_get_size(AV_PIX_FMT_YUV420P, m_szFrameSize.width(), m_szFrameSize.height());
    uint8_t *m_resizedFrame_buffer = (uint8_t *)av_malloc(num_bytes*sizeof(uint8_t));

    avpicture_fill((AVPicture*)m_resizedFrame, m_resizedFrame_buffer,
    AV_PIX_FMT_YUV420P, m_szFrameSize.width(), m_szFrameSize.height());

    SwsContext *resize = sws_getContext(m_CurrentFrame.width(),
    m_CurrentFrame.height(),
    AV_PIX_FMT_RGB32,
    m_szFrameSize.width(),
    m_szFrameSize.height(),
    AV_PIX_FMT_YUV420P,
    SWS_BICUBIC, NULL, NULL, NULL);

    sws_scale(resize, inpic->data, inpic->linesize, 0,
    m_CurrentFrame.height(),
    m_resizedFrame->data,
    m_resizedFrame->linesize);

    //Do work with resized frame...

    Thanks.

  • How can I do a lossless upscale of a pixel webm with nearest neighbor FFMPEG ?

    4 octobre 2022, par Tyuskwo

    ffmpeg -i input.webm -s 500x500 -sws_flags neighbor Resized.webm

    


    This is basically what found and used, but is there any way to improve it to get a more lossless result