妄想したからといってすぐ実装するわけではない、と謎の予防線を張っておきます :-p

たぶん以下のようになると思います。

  • ARGB4444, RGB444, YUV422
  • 10bpc, 16bpc
    12bpc フォーマットは存在するようだが要るのだろうか?
    14bpc フォーマットって見たことないし要らないよね?
  • コーデック側では色空間変換はしない。
  • エンコードオプションはストリームヘッダではなくフレームヘッダに入る。
  • インターレースをどれくらい頑張るかは不明。
  • 継続的にテストできる環境が無い限り作らない。
    たとえば YUV422 10bpc で v210 入出力は VirtualDub でテストできる。

ところで、10+bpc ロスレスフォーマットって既にたくさんあるような気がするんですが、新たに作る意味あるんですかね? オープンソースであることが重要なんだ、と言われたらまあそうかもしれませんが。

Trackback

7 comments untill now

  1. Hi,

    There are few 8bit+ formats, which are sort of standard, so the best is to use them as input/output formats.
    Please look here for description of many of them:

    http://www.bitjazz.com/en/products/sheervideo/faq/formats/pixel_formats.php

    The most common are: v210, v410, b64a (16bit+ alpha), b48r, etc.

    The best would be 16bit formats- for anything which is not real 16bit rest of bits can be 0.

  2. 梅澤 威志 @ 2013-01-06 02:21

    Thank you for the web page. hmm…

  3. 梅澤 威志 @ 2013-01-08 09:51

    Ah, I know that page. I think that it is useful, too.

  4. Why dont you try this for now:
    – use existing format and store data as 8bit+8bit
    – implement v210 format on input and output (you can look at VirtualDub code or contact Myrsloik for help) There is good code for it.
    – once v210 format is working you can extend it to others: v410, b64a, are very common in MOV container (After Effects and many apps use it).
    – for testing you can use Vdub, ffmpeg, AE or QT player with BM, AJA codecs installed.

    Other idea- implement v210 as an input formats, but add good internal dithering (Floyd-Steinberg, Sierra). Look at code of this tool- it has been done:
    http://forum.doom9.org/showthread.php?t=166504

    This will at least allow to read very common v210 format and store as well dithered utvideo file. This can be also very useful.

    How much would you like to implement this?

  5. 梅澤 威志 @ 2013-01-19 15:16

    The reason is simple: I don’t have enough time to do it.

  6. Heh- very important reason.

Add your comment now