How can I cut a frame from YV12 video? I am new to video processing, so I do not even know what program should I use to open/view YV12 videos and images, please adviseAlso, where can I find a small YV12 video sample? Thanks!
+ Reply to Thread
Results 1 to 5 of 5
-
-
I have installed Media Player Classic and DirectX, but still no luck. When I choose File->Save Image, the only available options to save are .jpg, .png and .bmp. Nothing like .yuv, not to mention YV12...
All video samples I can find on internet are .flv, .avi, .wmv or .mpg. Are these all wrong formats? Will "DVD. Any XviD or DivX AVI" really make any difference? How can I make sure the video has correct format for YV12 image, what extensions should it have? -
Hmmm, it looks like I have solved my problem, I have downloaded a .yuv player from http://www.fileinfo.com/extension/yuv, and I had a set of .yuv images that appear to be frames of the same video. The yuv player says that these images have format yuv420, which i think is the same as yu12, right?
Thanks! -
What exactly are you looking for? Raw (no container) YV12 video? You need to differentiate between containers (AVI, MPG, M2TS, MKV, MP4, MOV) and the format of what's in them (uncompressed YUY2, uncompressed YV12, uncompressed RGB24, uncompressed RGB32, many different compression codecs).
Most high compression video codecs use YUV 4:2:0 chroma subsampling internally and will output uncompressed YV12 (a specific arrangement of that 4:2:0 data) frames to an editor. If you open such a file in VirtualDub and save without compression you will get an AVI with uncompressed YV12 frames.
This site:
http://media.xiph.org/ldv/pub/test_sequences/
Has some test videos in raw (no header data, no metadata, etc.) I420 format. That's the same as YV12 except the two chroma channels are reversed:
http://fourcc.org/yuv.php#YV12
http://fourcc.org/yuv.php#IYUV
You can open those with AviSynth's RawSource(). For example, the 720p stockholm video can be opened with this command:
RawSource("720p5994_stockholm_ter.yuv", 1280, 720, "I420")Last edited by jagabo; 14th Dec 2010 at 06:39.
Similar Threads
-
converting rotated ipod videos for pc viewing
By bkallsen in forum Newbie / General discussionsReplies: 2Last Post: 6th Mar 2010, 16:59 -
Viewing Downloaded Videos Seeking Problem
By imdaman in forum Video Streaming DownloadingReplies: 2Last Post: 30th Nov 2009, 00:13 -
cutting MPEG frame by frame
By headless chicken in forum EditingReplies: 3Last Post: 9th Nov 2009, 19:45 -
Help Viewing Videos
By Demonolith in forum Newbie / General discussionsReplies: 2Last Post: 11th Jul 2007, 11:03 -
problems viewing videos
By loa909 in forum Newbie / General discussionsReplies: 4Last Post: 19th Jun 2007, 10:15