交错视频帧的制作 [英] Production of interleave video frames
问题描述
我正在开发一个简单的电视角色生成器软件。我需要捕获一个窗口并将这些像素实时写入视频卡缓冲区。
(窗口有一些动画,视频和文字。)
I am developing a simple TV Character Generator software. I need to capture a window and write that pixels on a video card buffer in real-time. (the window has some animation and video and text.)
现在它对于逐行扫描格式工作得很好,但我的问题是隔行扫描输出。(PAL 720x576i格式)
It is working great now for progressive formats, But my problem is the interlaced output.( PAL 720x576i format)
我认为我应该按照以下步骤制作每个交错帧:
I think that I should do the following steps to make each interleave frame:
1 - 在time1中捕获窗口作为图像
2 - 提取field1(偶数字段)
3 - 在time2中捕获窗口作为图像
4 - 提取field2(奇数场)
5 - 整合Field1和Field2得到frame1
1 - capture the window in time1 as image
2 - Extract field1 (Even field)
3 - capture the window in time2 as image
4 - Extract field2 (Odd field)
5 - Integration the Field1 and the Field2 to get frame1
(如果我错了请纠正我。)
(If I am wrong please correct me.)
因此,我需要从图像中制作字段以获得交错帧。
So, I need to make the fields from images to get interleave frames.
注意:我知道有些工具可以做到,但我希望自己实现它。
Note: I know that some tools can do it, but I want implementation it for myself.
请给我想法,算法,源代码(.net或c ++)等等做一个交错框架。
Please give me idea , algorithm , source code (.net or c++) or etc to make an interleave frame.
推荐答案
我找到了关于交错的最好的文章视频和视频字段。
I found the best article about interleave video and video fields.
感谢Chris Pirazzi。
Thanks to Chris Pirazzi.
这篇关于交错视频帧的制作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!