[FFmpeg-trac] #3269(avformat:closed): Can't remux BIK to MKV

FFmpeg trac at avcodec.org
Sun Jan 12 08:42:14 CET 2014

#3269: Can't remux BIK to MKV
             Reporter:  Vika         |                    Owner:
  Apelsinova                         |                   Status:  closed
                 Type:  defect       |                Component:  avformat
             Priority:  normal       |               Resolution:  wontfix
              Version:  unspecified  |               Blocked By:
             Keywords:  bink mkv     |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |

Comment (by Vika Apelsinova):

 >> Unfortunately, there is no FourCC for Bink​
 > http://fourcc.org/bink/

 I mean that there are officially registered FourCCs for Bink: BINK, BIKb,
 BIKd, BIKf, BIKg, BIKh, BIKi.


 > if I understand mosu correctly.
 You don't need a new CodecID for that. That's what I'm trying to tell you.

 Use V_MS/VFW/FOURCC as the CodecID. Then create a BITMAPINFOHEADER
 structure same as in an AVI file, use 'BINK' as the FourCC in it, and
 put that structure into CodecPrivate.

 That's all there is to it.

 > Use V_MS/VFW/FOURCC as the CodecID.

 < You mean as Video CodecID? BIK files can contain multiple streams
 (one video stream compressed by Bink video codec and multiple audio
 compressed by Bink audio codec). What should we use as Audio CodecID for
 audio streams? Is there equivalent of the V_MS/VFW/FOURCC for audio

 > No, there isn't something like that for audio. You can chose
 an arbitrary CodecID (e.g. A_BINK) and define your own format for
 Then put that stuff into Matroska.

 > Commit f5f6e59495a34db0f11ceb4c33b119888698562c does not solve the
 problem. It only adds warning and only for Matroska container.
 > The problem reproduces for other containers (not only for Matroska) e.g.
 AVI. I can remux BIK to AVI and FFMPEG don't show any warnings.

 I mean that we need warnings for other containers (not only for Matroska).

Ticket URL: <https://trac.ffmpeg.org/ticket/3269#comment:12>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list