[FFmpeg-trac] #3545(avformat:closed): Unsupported pix_fmts in avi rawvideo are written without any warning

FFmpeg trac at avcodec.org
Sat Apr 12 13:26:05 CEST 2014


#3545: Unsupported pix_fmts in avi rawvideo are written without any warning
------------------------------------+------------------------------------
             Reporter:  peter_b     |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  minor       |                Component:  avformat
              Version:  git-master  |               Resolution:  fixed
             Keywords:  avi mov     |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by peter_b):

 Thanks a lot!

 I just compiled ffmpeg git-HEAD and verified your change. Works as
 expected.

 I see that for <=8bit, that depending on the output pix_fmt, a different
 FOURCC is automatically set when using rawvideo as codec. Since ffmpeg
 chooses the right FOURCC for <=8bit rawvideo, wouldn't it work to choose,
 for example fourcc=V210 for pix_fmt=yuv422p10le, etc?

 [http://msdn.microsoft.com/en-
 us/library/windows/desktop/bb970578(v=vs.85).aspx#fourcc_codes On MSDN,
 there are FOURCCs listed for YUV 10 & 16bit]:

 ||= FOURCC =||= Description =||
 || P016 || Planar, 4:2:0, 16-bit. ||
 || P010 || Planar, 4:2:0, 10-bit. ||
 || P216 || Planar, 4:2:2, 16-bit. ||
 || P210 || Planar, 4:2:2, 10-bit. ||
 || Y216 || Packed, 4:2:2, 16-bit. ||
 || Y210 || Packed, 4:2:2, 10-bit. ||
 || Y416 || Packed, 4:4:4, 16-bit ||
 || Y410 || Packed, 4:4:4, 10-bit. ||

 What would be the correct way of producing such AVI files with ffmpeg?


 Thank you very much.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3545#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list