简体   繁体   English

交错视频帧的制作

[英]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.) (窗口中有一些动画,视频和文本。)

It is working great now for progressive formats, But my problem is the interlaced output.( PAL 720x576i format) 对于逐行格式,它现在工作得很好,但是我的问题是隔行输出。(PAL 720x576i格式)

I think that I should do the following steps to make each interleave frame: 我认为我应该执行以下步骤来制作每个交错帧:

1 - capture the window in time1 as image 1-将time1中的窗口捕获为图像
2 - Extract field1 (Even field) 2-提取字段1(偶数字段)
3 - capture the window in time2 as image 3-将time2中的窗口捕获为图像
4 - Extract field2 (Odd field) 4-提取字段2(奇数字段)
5 - Integration the Field1 and the Field2 to get frame1 5-整合Field1和Field2以获得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. 注意 :我知道有些工具可以做到,但是我想自己实现。

Please give me idea , algorithm , source code (.net or c++) or etc to make an interleave frame. 请给我一个想法,算法,源代码(.net或c ++)等来构成一个交错帧。

I found the best article about interleave video and video fields. 我找到了有关交错视频和视频字段的最佳文章。

All About Video Fields . 关于视频领域

Thanks to Chris Pirazzi. 感谢克里斯·皮拉兹(Chris Pirazzi)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM