1

I have Expression Encoder 4 which supports two sort of source types:

  1. Live Source and
  2. File Source

Now, I want to achieve my byte stream to be set as live source in Expression Encoder for live broadcasting. I have read about directshow filters but I do not know how to use it. Please let me know if you get something on it.

Otiel
  • 18,404
  • 16
  • 78
  • 126
Nikunj Patel
  • 21,853
  • 23
  • 89
  • 133

1 Answers1

0

A typical solution is to implement a virtual camera and stream data off it. Encoder will see it as a video capture device and you will be able to select it as a video source.

See also:

Briefly:

  1. The closest SDK sample to a virtual video source is Push Source Filters Sample
  2. A well known non-SDK sample for virtual camera is VCam project
  3. To quick check if the whole thing is going to work out with EE4, you can install a virtual video device wrapper over JPEG/M-JPEG IP cameras, set it up to take picture from some internet live demo and check it against Encoder 4 for compatibility and integration details
Community
  • 1
  • 1
Roman R.
  • 68,205
  • 6
  • 94
  • 158
  • Can you give me example of writting DirectShow Filter or setting existing filter as live source in Expression Encoder? – Nikunj Patel Dec 13 '11 at 12:11
  • I would check your points written and test them on my machine and see how it goes and let you know in case of any issues.please stay with me. – Nikunj Patel Dec 13 '11 at 13:20
  • I have tried your given options but I dont know how to use it I mean I need to have my byte stream which is raw video, I need to pass that as live source to Expression Encoder and for that I need to have virtual camera or virtual Video capture device which takes my passed video streams. This thing I can not implement. Please Help me out – Nikunj Patel Dec 14 '11 at 05:55
  • `PushSource` and `VCam` above do generate data, and it could be from a memory byte stream - as an option. – Roman R. Dec 14 '11 at 06:01
  • If you have anything as an example please show me coz I dont know how to use it. I have tried myself but could not make it. Help me in this – Nikunj Patel Dec 14 '11 at 07:32
  • this link seems to be useful but I dont know in what editor to use and to write program and how to? Please let me know on the above if you know anything.. – Nikunj Patel Dec 14 '11 at 07:40
  • I am confused, you are not sure that `Visual Studio` is the development environment to use and `MSDN` is source of technical information? – Roman R. Dec 14 '11 at 13:37
  • I am using Microsoft Expression Encoder which is the same as Flash Media Encoder for flash. However, I am using silverlight. Basically, in Expression Encoder, there are two source types. Live and File Source as I stated first, in Live we can set the Web Cam video capture to broadcast it live. Now I want to set Other client's Web cam as the live source of my host's Expression Encoder. And I am already getting the streams on the server using web service.Which I want to set as the live source of Expression Encoder. – Nikunj Patel Dec 15 '11 at 05:22
  • And I read somewhere it can be accomplished using making DirectShow Filter so I am trying but could not so far. Please help me out in this – Nikunj Patel Dec 15 '11 at 05:22