Streaming video recording from Game
by Squall · in Torque 3D Beginner · 08/03/2010 (8:15 am) · 0 replies
Hi all,
I have been trying to broadcast my game by modifying the game engine. If this succeeds, the game can be played while continue to stream in-game video over the Internet/LAN. So basically, my current plan is:
1. Capture in-memory frames from the back-buffer and put it into a video stream (done)
2. Put the video stream into a filter (using DirectShow) (???)
3. Use this filter as input for a broadcast program (any program like vlc/ffmpeg/WME) (done)
Because broadcast applications normally detect not only hardware graphics device but also video filters (UScreenCapture for example). That's why I thought of this. The first part has been done, I am able to record the game video output to an avi file. What I currently want is for this video stream to be encoded in-game and another software to stream.
Hope there are ppl who had experienced more with DirectShow filters/C++ to tell me whether the second step is possible.
Thank you and have a nice day
I have been trying to broadcast my game by modifying the game engine. If this succeeds, the game can be played while continue to stream in-game video over the Internet/LAN. So basically, my current plan is:
1. Capture in-memory frames from the back-buffer and put it into a video stream (done)
2. Put the video stream into a filter (using DirectShow) (???)
3. Use this filter as input for a broadcast program (any program like vlc/ffmpeg/WME) (done)
Because broadcast applications normally detect not only hardware graphics device but also video filters (UScreenCapture for example). That's why I thought of this. The first part has been done, I am able to record the game video output to an avi file. What I currently want is for this video stream to be encoded in-game and another software to stream.
Hope there are ppl who had experienced more with DirectShow filters/C++ to tell me whether the second step is possible.
Thank you and have a nice day