Discussion:
YV12 rendering
(too old to reply)
Stefano
2010-04-06 12:41:01 UTC
Permalink
Hello everyone. I need help with the rendering of a YV12 video stream.

I am currently working with Visual C++ and the output given by the DLL of a
korean DVR system. My program should connect to the DVR, receive the live
stream, and show it live to an operator.

The connection part is handled by the DLL, which receives the compressed
stream from the DVR (using an unknown IMM4 codec) and gives as output a live
YV12 stream (i have a getFrame function which gives me frame by frame the
original video).

I need to take these live raw YV12 frames (352x288, 13fps), and show them to
the end user. I was planning to use VMR9 or EVR. Since I am new to this, and
the documentation doesn't explain very well how to achieve this, can you
point me to some simple example?

Thankyou.
Geraint Davies
2010-04-07 11:38:18 UTC
Permalink
On Tue, 6 Apr 2010 05:41:01 -0700, Stefano
Post by Stefano
I need to take these live raw YV12 frames (352x288, 13fps), and show them to
the end user. I was planning to use VMR9 or EVR. Since I am new to this, and
the documentation doesn't explain very well how to achieve this, can you
point me to some simple example?
You need a custom source filter that calls your get_Frame method and
delivers it downstream. I have a YUV source filter that would make a
good sample to start from (it reads YUV from a file, but you could
easily adapt it). It's not published at the moment, but if you contact
me directly I will send it to you.

G
Tim Roberts
2010-04-08 05:46:57 UTC
Permalink
Post by Stefano
I need to take these live raw YV12 frames (352x288, 13fps), and show them to
the end user. I was planning to use VMR9 or EVR. Since I am new to this, and
the documentation doesn't explain very well how to achieve this, can you
point me to some simple example?
Although Geraint's generous offer will get you farther toward your goal,
for the purpose of posterity I'll point out that the "PushSource" sample in
the DirectShow section of the Platform SDK is also a great place to start.
It includes three sample sources: one from a fixed bitmap, one from a set
of bitmaps, and one from your live desktop.
--
Tim Roberts, ***@probo.com
Providenza & Boekelheide, Inc.
f***@gmail.com
2015-06-11 17:29:12 UTC
Permalink
Hello Stefano,

I have an old Korean DVR that uses IMM4 codec that probably is the same you used. I need to develop a program that receives a live streams and decodes this stream to raw data.
You told you have a DLL to get video from the DVR, unfortunately I can't find this DLL anywhere. Do you still have it?

Thank you for your help!
Francisco
Post by Stefano
Hello everyone. I need help with the rendering of a YV12 video stream.
I am currently working with Visual C++ and the output given by the DLL of a
korean DVR system. My program should connect to the DVR, receive the live
stream, and show it live to an operator.
The connection part is handled by the DLL, which receives the compressed
stream from the DVR (using an unknown IMM4 codec) and gives as output a live
YV12 stream (i have a getFrame function which gives me frame by frame the
original video).
I need to take these live raw YV12 frames (352x288, 13fps), and show them to
the end user. I was planning to use VMR9 or EVR. Since I am new to this, and
the documentation doesn't explain very well how to achieve this, can you
point me to some simple example?
Thankyou.
Loading...