[FFmpeg-trac] #2396(avfilter:new): Make the Blend effect work with yuvj420p pixel format

FFmpeg trac at avcodec.org
Sat Mar 23 16:22:41 CET 2013


#2396: Make the Blend effect work with yuvj420p pixel format
----------------------------------+---------------------------------------
             Reporter:  sun       |                     Type:  enhancement
               Status:  new       |                 Priority:  wish
            Component:  avfilter  |                  Version:  unspecified
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+---------------------------------------
 Using the command

 {{{
 ffmpeg -i (input) -y -vcodec libx264 -acodec copy -vb 100000k -vf "split
 [T1], [T2] blend [out]; [T1] copy [T2]" -r 25 (output)
 }}}
 With an input video in yuvj420p format, and also using

 {{{
 ffmpeg -i (input) -y -vcodec libx264 -acodec copy -vb 100000k -vf
 "format=yuvj420p, split [T1], [T2] blend [out]; [T1] copy [T2]" -r 25
 (output)
 }}}

 will output a video in yuv420p format, so color depth is lost.
 For my purposes I have simply added AV_PIX_FMT_YUVJ420P to the
 query_formats enum in vf_blend.c and it works well.
 It would be great if the blend filter would work with yuvjxxxp formats out
 of the box, too.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2396>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list