Recherche avancée

Médias (0)

Mot : - Tags -/upload

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

Autres articles (42)

Sur d’autres sites (7783)

  • vf_psnr : fix rgb channel order mixup in final log message.

    11 juillet 2015, par Ronald S. Bultje
    vf_psnr : fix rgb channel order mixup in final log message.
    

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavfilter/vf_psnr.c
  • Revision 43a34557f1 : configure : append —extra-cflags to final set previously any flags added while

    27 août 2015, par James Zern

    Changed Paths :
     Modify /build/make/configure.sh


     Modify /configure



    configure : append —extra-cflags to final set

    previously any flags added while setting up the toolchain would
    override the user selections ; environment variables could be treated
    similarly

    Change-Id : Ibfcc644137d8e579af554d19a38d4020019a7a34

  • Changing YUV values of AVFrames

    31 janvier 2012, par Kage

    I'm trying to apply an effect to a video by altering the YUV values using FFMpeg programmatically in C.

    Let's say I want to increase the luminescence of each pixel of each frame by 10.

    At the moment I can open a video, get the video stream, find a frame, decode the frame, alter the YUV values of the AvFrame->data, encode the frame, and save the frame to be played back.

    When I play back the video, the first frame looks as expected, but the next is even brighter and the one after that is even brighter, and each frame seems to be having more and more added to the Y values instead of just 10.

    I tried changing the code so instead of altering the pixels for each frame, it just alters the first AVFrame's data. However when I play the video back, it is not only the first frame that has been altered, but like the first 30 or so frames.

    Why are the other frames effected when I only change the AVFrame->data of the first frame ?