문제

Instead of using:

videoSink->startPlaying(*videoSource, afterPlaying, videoSink);

I'm looking for a way to feed videoSink image by image, one after another. This way I can get my webcam images and feed them to the Live555 for streaming.

Is that possbile?

도움이 되었습니까?

해결책

You can accomplish that using the live555 event trigger of the DeviceSource mechanism. Searching the live555 mailing list for EventTrigger, DeviceSource should provide you with a way to get started. AFAIR there was a section on live sources in the FAQ.

I would advise you to encode the data before hand. You can use FFMPEG to encode the JPG's into a frame and send it off to Live555 to be streamed as done similarly to this example project. Live555 has sinks for many video codecs so you'll have to use the appropriate sink.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top