VideoHelp Forum
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Hi,

    We have WMV Files but we need files with YUY2 raw video format.

    Does normal WMV files has RGB raw video format ?

    Regards

    Deepak
    Quote Quote  
  2. WMV is usually YV12

    What application are you using that requires YUY2?

    You could use avisynth can convert it to YUY2 to feed it into your application, or you could encode to a lossless YUY2 intermediate e.g. using UT codec, or I think even Lagarith or some others lossless codecs
    Quote Quote  
  3. Member Safesurfer's Avatar
    Join Date
    Mar 2004
    Location
    United States
    Search Comp PM
    Have a read of http://www.microsoft.com/windows/windowsmedia/howto/articles/AdvancedEncoding.aspx

    Capturing to Optimal Pixel Formats
    It is recommended that you capture to a YUY2 (4:2:2) pixel format, which enables you to avoid pixel format conversions during encoding. The Windows Media Video 9 Series codec is primarily a 4:2:0 pixel format, except that if you choose to maintain the interlacing in your content (a new feature with Windows Media Encoder 9 Series), then a 4:1:1 pixel format is used. Because the YUY2 format is a superset of both 4:2:0 and 4:1:1 pixel formats, the content can be converted to either format without any data loss.

    An important note is that if you capture to a 4:2:0 AVI file (for example I420, YV12, or IYUV), you will not be able to maintain the interlacing in your source video.

    Older capture devices may create AVI files that do not fully conform to published specifications, resulting in upside-down video with the YUY2 pixel format. To prevent this, you can either set the driver on your capture device to use a different pixel format, or you can "flip" the image if your driver provides such a feature. Finally, there is also an option to flip the video in the encoder.

    The RGB pixel formats are not recommended, because they result in extra color-space conversions, bigger files, and more data to move across the bus.
    If you are encoding WMVs, WME has an option in the Processing tab of the Session Properties to set the pixel format.
    "Just another sheep boy, duck call, swan
    song, idiot son of donkey kong - Julian Cope"
    Quote Quote  
  4. If you want to check what is inside the raw video files, you can use 7yuv app (link from my signature).

    It is a raw image file viewer, which understands many raw YUV video formats.
    datahammer.de - home of 7yuv the Raw Image Video Sequence Analyzer
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!