umezawatakeshi / utvideo

Ut Video Codec Suite - fast lossless video codec
http://umezawatakeshi.github.io/utvideo/
GNU General Public License v2.0
288 stars 12 forks source link

Add P210 input/output to UQY2 / UQY2 に P210 での入出力を追加する #16

Closed umezawatakeshi closed 4 years ago

umezawatakeshi commented 7 years ago

Add P210 input/output to UQY2. VirtualDub FilterMod supports P210 input/output.

UQY2 に P210 での入出力を追加する。 VirtualDub FilterMod はコーデックに対して P210 で入出力することができる。

shekh commented 7 years ago

Note that P210 output is not implemented yet in VirtualDub FilterMod. With MagicYUV it works through FOURCC('Y', '3', 10, 10) instead. There is zero overhead with ('Y', '3', 10, 10), it is simple planar layout (direct match of AV_PIX_FMT_YUV422P10)

umezawatakeshi commented 7 years ago

Oops, VDFM supports P210 input from / output to codec, does not support P210 output to AVI file.

I know that Y3[10][10] is a simple planar format but I don't know any software that supports Y3[10][10] input from / output to VFW codec and AVI file. Do you know such software?

shekh commented 7 years ago

I am VDFM developer, it currently can: input P210, Y3[10][10], Y3[10][16] from codec or file output Y3[10][10], Y3[10][16] to codec output Y3[10][16] to file (cannot output Y3[10][10] to file because it requires to put option somewhere)

Output P210 to codec: it passes format negotiation but does not send picture.

Don't know other programs. ffmpeg can write all this to files.

umezawatakeshi commented 7 years ago

...oops, sorry...

Support by VDFM is enough.

it currently can: (snip)

It's nice. It would be better if output Y3[10][10] to file is supported.

Output P210 to codec: it passes format negotiation but does not send picture. oh...

shekh commented 7 years ago

would be better if output Y3[10][10] to file is supported

What is possible use for such file? Why do you want it? However it is not a big deal, I can put it in "other formats" list in the "pixel format" dialog.

Output P210 to codec: do you want it? I suspended implementation because there was nothing to gain

umezawatakeshi commented 7 years ago

Just because my benchmark tool currently only accepts AVI file, not raw binary (i.e. without any metadata).

P210: If VDFM does not support it, I don't need it now. I just wanted to support some more efficient (in speed) YUV422 10bit format than v210.

shekh commented 6 years ago

With current version P210 can be selected (pixel format->other...)

Y3[10][10] is still not in the menu, but you can write Y3[10][16] (Pixel format->4:2:2 planar 16-bit) and then change FOURCC in DIB header. The only difference is range of values.

umezawatakeshi commented 6 years ago

Thank you for implementation. I will try it.

umezawatakeshi commented 4 years ago

Released in version 21.1.0 / バージョン 21.1.0 でリリースした。