Writing to H.264 file on windows8 with opencv [closed]

asked 2013-10-01 05:09:59 -0500

BRAD gravatar image

updated 2020-10-26 11:32:58 -0500

How can someone write to H.264 file in opencv? I am trying to build my own real time two way video conferencing system built on H.264. I am using a logitech web cam 1080P. What should be considerations, code and implementation strategy?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-10-27 16:05:22.359457

Comments

VideoWriter

you'll probably need to download the codec as well

berak gravatar imageberak ( 2013-10-01 05:39:48 -0500 )edit

Thanks! But do you have a sample of the code. Also an explanation of how to build a container that takes real time video streams and converts it to H.264 format then streams this in real time to another end user system in a video conferencing fashion. How can this be done from step 1. I want understand the process and try it.

BRAD gravatar imageBRAD ( 2013-10-02 03:21:11 -0500 )edit

oh, streaming .. total different story. the comment above was just about writing images to a file.

opencv can (with a bit of luck) read network streams, but not write those. you'll have to look into gstreamer, ffmpeg and such

berak gravatar imageberak ( 2013-10-02 04:31:06 -0500 )edit

Great that's a start! I will look into gstreamer & ffmpeg. I just need to conceptualize to procedure from stage1(compression of video stream using H.264) to Stage n (transmission and decoding on the end user system) all in real time.

BRAD gravatar imageBRAD ( 2013-10-02 06:37:28 -0500 )edit