Re: Converting YUY2 format video to AVI



On Feb 26, 11:10 am, bharath_r <bharath.0...@xxxxxxxxx> wrote:
On Feb 23, 7:00 am, "Ken Maltby" <kmal...@xxxxxxxxxxxxx> wrote:





"Paul" <nos...@xxxxxxxxxx> wrote in messagenews:fpmsmd$q72$1@xxxxxxxxxxx
Ken Maltby wrote:
"bharath_r" <bharath.0...@xxxxxxxxx> wrote in message
news:5b06393f-7949-413d-a9bb-6786899b7525@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
O
Thanks for all the help Paul

Yes, this thread is related to my streaming thread. The reason for
XviD is that i tried looking around how to convert YUY2 to wmv or asf
directly. But i din't find any api that can do that. So the alternate
was to convert the H.264 to avi using VFW library api and then using
Windows media encoder sdk to convert avi to wmv. I know its a little
crazy but we need a streamable format video. The card that i am using
is a IBP 1704 card manufactured by IBASE, Taiwan. The card captures
videos and stores them in their proprietary format (.vgz not .avi). Do
you know of a utility that can convert YUY2 to wmv? I looked at the
WME sdk but i din't find anything that will take one frame at a time
and compress it into wmv.

Regards
Bharath

  The web description includes "Networking Function"s, one
of which is "Remote Live Image": "Remote access and record
the live image from the other host system."  In what format is
that conducted?

  Both VMR9 and the older VMR7 will accept a YUY2
colorspace stream, so I'm not sure I understand your problem.
If you are really having a problem with it as YUY2, then have
your H.264 video decoder output in another format, RGB
perhaps.  TMPGEnc will accept YUY2, but it will convert it
to RGB before encoding.

 Why not explore what you are actually getting with that
card and can develop for it, the easy way?  Just give
GraphEdit a try.

Luck;
    Ken

I think he wants to do this -

http://www.supercircuits.com/index.asp?PageAction=VIEWPROD&ProdID=6014

The difference in his project is, he wants to use ordinary CCTV
cameras, a capture card, and a computer, to take the place of a
product like the above. His capture card is the following -

http://www.ibase-usa.com/IBP1708.htm

The problem with the card is, it records in VGZ (Chateau Technical
propietary format), it records to a file, and won't stream to a
standard web browser. So he's building the streaming part of the
solution.

   Paul

  Yes, I understand that, as well.  It may be that there
is no usable/callable "filter" to provide access to the
capture card's crossbar and capture functions, but that
would be a more expensive way of going about it, for
no real benefit to the manufacturer.  The standard API
interfaces for audio and video provided by MS for XP
and earlier OS, include several means of working with
AV throughout the system.   In addition to the VFW,
and WMD API "filters", there is a set of DirectShow
Filters.  It would be odd if there were no use made of
that built-in capability, by the makers of the capture
card.

  I have no way of knowing if the programmers that made
the capture application included the code to register the
filter graph instance in the "Running Object Table" (ROT),
or if they removed it after testing.  If the program does
update the ROT, then GraphEdit can even create a graph
from the running capture program.  The crossbar and
capture "filters" will appear in the graph.  Right-clicking on
the filter box will let you select to see any Property Page
for the filter.  The property pages allow for making settings
to control the actions of the filter, (often more than are
offered through the capture software).

    (A quick way to gain some appreciation for the "Filters"
is to use Media Player Classic and right-click on a running
video then select Filters.  There will be a pop-out panel
listing most of the filters used to play the video.  Click on
one listed an see its property page. ) [MPC updates the
ROT, so you can use it to see how to capture a running
graph using GraphEdit.)

 The OP may be able to create a graph that will capture
with his hardware's filters and output to the "WM ASF
Writer" filter.  In other words, replace the display renderer
filter with the WM ASF Writer filter.   (It probably will be
a little more than that but basically that's all there is to it.)

Luck;
    Ken- Hide quoted text -

- Show quoted text -

Thank you all for all the help.

I was able to solve the problem. I converted the frames to bitmap and
then created an avi using the bitmaps. Also if u convert the frames to
bitmap its possible to create a wmv file using the bitmaps.

Regards
Bharath- Hide quoted text -

- Show quoted text -

I thought i got out of it. But i'm stuck again.

The resulting video seems to be a little fast. Its like doing 2x fast
forward. I tried playing around with the settings but was unable to
solve the problem. I am using the WME SDK to convert the bitmaps to
wmv video. I am using WMProfile_V80_384Video for encoding at 30 fps.
Can anybody help me solving this?


Thanks
Bharath


.



Relevant Pages

  • Re: DirectShow @ WM 5.0: Capture camera to memory?
    ... The still image pin will most likely expose higher resolutions than ... the capture pin which could negativly impact your performance, ... You'll need to create a sink filter that does your processing, RGB video ...
    (microsoft.public.pocketpc.developer)
  • Re: Converting YUY2 format video to AVI
    ... XviD is that i tried looking around how to convert YUY2 to wmv or asf ... Windows media encoder sdk to convert avi to wmv. ... His capture card is the following - ... filter graph instance in the "Running Object Table", ...
    (rec.video.desktop)
  • Re: Converting YUY2 format video to AVI
    ... Windows media encoder sdk to convert avi to wmv. ... is a IBP 1704 card manufactured by IBASE, ... His capture card is the following - ... filter graph instance in the "Running Object Table", ...
    (rec.video.desktop)
  • Lightweight Editing using GMFBridge
    ... keep DES from decompressing and recompressing DV video. ... The object is to combine clips to a standard formatted AVI. ... one for DV video in AVI files, one for WMV files. ... The DVSD filter is an in-place transform filter that insists on DVSD ...
    (microsoft.public.win32.programmer.directx.video)
  • HELP! Text overlay on live video
    ... which is for live video streaming with time frame on the video. ... // We don't have the necessary capture filters ... // filter only has a capture pin this should ... because the capture graph builder will use a smart tee filter ...
    (microsoft.public.win32.programmer.directx.video)