[FFmpeg-trac] #3094(swscale:new): mjpeg and swscale: yuvj420p/yuv420p - pixel format problem

FFmpeg trac at avcodec.org
Tue Oct 29 13:30:30 CET 2013


#3094: mjpeg and swscale: yuvj420p/yuv420p - pixel format problem
-------------------------------------+-------------------------------------
             Reporter:  Marcin       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  swscale      |                  Version:  git-
             Keywords:  mjpeg        |  master
  yuv420p yuvj420p regression        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 My application extracts frames from h264 UDP stream and saves them as jpg
 files.
 Input pixel format is juv420p so mjpeg complains:
 Incompatible pixel format 'yuv420p' for codec 'mjpeg', auto-selecting
 format 'yuvj420p'

 Adding filter to convert pixel format from yuv420p to yuvj420p solved the
 problem, but since ffmpeg version n2.1 there is a new problem reported:
 [swscaler @ 0xb12fea0] deprecated pixel format used, make sure you did set
 range correctly

 Deprecated pixel format message is observed in custom applications which
 use ffmpeg libraries as well as in ffmpeg application.

 How to reproduce:
 {{{
 % ffmpeg -i SOME_H264_STREAM output_%d.jpg
 ffmpeg version: git-master, n2.1
 built on: ubuntu 12.04
 }}}

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


More information about the FFmpeg-trac mailing list