| File: YUVSourceFilter.zip Platforms: Windows XP, Windows Server 2003, Windows Vista Size: 37.7 KB |
Please read the license agreement found here or in the downloaded archives, if you do not agree with any of the terms of the agreement please refrain from using the software.
Semaca Raw Source Filter
Semaca Raw Source filter is a DirectShow® file source filter used to read raw video files. By registering this filter you will be able to view raw YUV files in any DirectShow base video player like Windows Media Player. Warning, by registering this filter you remove any previously file source filter registered with the ".yuv" extension.
It supports the following YUV formats: YV12, UYVY, AYUV, YUY2, YVYU, YVU9, Y211, Y41P, IYUV, CLJR and I420. Because raw video files do not have a header, you need to specify the width, height, frame rate (fps) and YUV format. There are two ways to do that:
Information in a .hdr file
You can create a .hdr file that has the same name and is located in the same folder as the video file you want to open. For example if you have a raw video file named myrawvideofile.yuv, you need to create a file named myrawvideofile.hdr with the following content:
[Width]
[Height]
[FramesPerSecond]
[YUVFormat]
Example:myrawvideofile.hdr
720
576
25
YV12
The “YUVFormat” must be one of the supported YUV formats: YV12, UYVY, AYUV, YUY2, YVYU, YVU9, Y211, Y41P, IYUV, CLJR and I420
Information in the file name
If the header file doesn’t exist the filter looks for the information he needs in the file name in the following way:
- Splits the name into tokens delimited by “_” or “.”
- Checks the tokens for the information
- If the token is of the form “number’x’number” the filter assumes the token contains information about width and height with width being the first number. For example a token of the form “1920x1080” is interpreted as specifying a width of 1920 and a height of 1080. Warning the filter is case sensitive use only lowercase ‘x’.
- If a token is of the form “number’fps’” the filter assumes the token contains information about frame rate and “number” is considered as the frame rate. The same warning as above applies use only lowercase letters.
- If a token is YV12, UYVY, AYUV, YUY2, YVYU, YVU9, Y211, Y41P, IYUV, CLJR or I420 the filters assumes the token specifies the YUV format of the video.
If more than one token represents the same information the last one encountered is used.
If you modify the file name of “myrawvideofile.yuv” to “myrawvideofile_720x576_25fps_YV12.yuv” you do not need the hdr file anymore.