-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Question: Do you have a plan to support Ut Video Codec Suite? #407
Comments
Lagarith support in Captura is through Vfw (Video for Windows) api in SharpAvi. BTW, Lagarith is implemented in just a few lines. It doesn't really bring out its whole potential but it works. Captura/src/Captura.SharpAvi/AviCodec.cs Line 36 in d071a36
If someone finds the |
ULY0, ULY2, ULRA, ULRG are the FourCC codes according to Wikipedia. |
UMH2, UMY2, UMH4, UMY4, UMRA, UMRG is T2 family |
Captura supports only RGB32 as of now. I'm trying to write GPU based conversion of RGB32 to YUV formats which will surely improve the performance. So, in future we might be able to use YUY2 or YV12. |
Is that means the things you said last year became true? |
Yup. But, the only format I could convert to using MediaFoundation was NV12. |
I just now trying to implement supporting ut video codec. However, it's not so much easy.
What is MPEG-4 Encoder? What is single thread video encoder wrapper? Ut Video Codec is a multi-thread, non-MPEG-4 codec. Today, almost all vfw codec supports multi-thread. (AMV4 is an exception because it is enough fast in a single thread.) I don't know why SharpAvi team think In any case, I'm currently debugging https://github.com/yumetodo/Captura/tree/feat/support_ut_video_codec |
I cut out In So, I investigated the Ut Video Codec implementation. https://github.com/umezawatakeshi/utvideo/blob/077a6a6202a3b5d60d1716559759210f6cedd795/utv_vcm/DriverProc.cpp#L41-L42 icinfo->dwFlags = m_pCodec->IsTemporalCompressionSupported() ? (VIDCF_TEMPORAL | VIDCF_FASTTEMPORALC | VIDCF_FASTTEMPORALD) : 0; When I'm investigating why SharpAvi requests such a limitation. BTW, As a result, only when So, I change FourCC to However, the produced movie file is broken. The produced broken avi file is here. |
Umm... These things are quite over my head. I'm no expert when it comes to video encoding. |
FFmpeg(avcodec) doesn't support ut video codec as an encoder. /*
* Ut Video decoder AVCodec ff_utvideo_decoder = {
.name = "utvideo",
.long_name = NULL_IF_CONFIG_SMALL("Ut Video"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_UTVIDEO,
.priv_data_size = sizeof(UtvideoContext),
.init = decode_init,
.close = decode_end,
.decode = decode_frame,
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
}; extern AVCodec ff_utvideo_decoder; https://github.com/FFmpeg/FFmpeg/search?o=desc&q=avcodec%2Futvideodec&s=committer-date&type=Commits |
Ut Video Codec Suite
is a fast lossless video codec(GPL2 software).https://github.com/umezawatakeshi/utvideo
This project already supports
Lagarith
, however,Ut Video Codec Suite
is about 3x faster ( or more!) thanLagarith
.Look up this benchmark.
2016-12-31: http://umezawa.dyndns.info/wordpress/?p=6203
After this benchmark,
Ut Video Codec Suite
release more fast codec( UtVideo T2 (UMxx)) on version 19.0.1.The new benchmark shows the speed.
2018-06-03: http://umezawa.dyndns.info/wordpress/?p=6911#more-6911
The text was updated successfully, but these errors were encountered: