DShow: capture and mux to memory

This is a discussion on DShow: capture and mux to memory within the C++ Programming forums, part of the General Programming Boards category; Hi! I'm developing an app that should capture stream from a webcam, capture audio, mux it in a FLV(maybe other ...

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    1

    DShow: capture and mux to memory

    Hi!

    I'm developing an app that should capture stream from a webcam, capture audio, mux it in a FLV(maybe other container, e.g. mp4) and then stream it over a network. As I found in MS SDK, I can do it using a DirectShow, but the only option I have is to write a muxed stream to a file. So is there any options to write it to a memory buffer for furhter writing to a socket?

    Ofcourse there are some tricks like a continuous reading from a muxed file, but it looks too ugly.

    Another question is - can I split icoming muxed stream into frames? I mean if I have a 24 fps live source, is it possible to capture a muxed frame (audio + video), so I could drop some frames in case there is a really bad latency.

    Thanks in advance!

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,597
    I would not rely on DirectShow as it has been deprecated. I look for MS to completely remove it soon.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21