Video encoding in ios -


so know there existing questions on stackoverflow streaming live video on ios devices server i'm going ask encoding portion.

i'm bit lost on software encoding services available encode raw (live) video footage ios device send server aws. after using avcam capture videos, use ffmpeg encode raw video on fly , send encoded video server using http or rtsp? or have concepts wrong?

the video encoded when stored on ios device - encoding way of digitally representing video, in cases capturing values represent color , brightness etc of each pixel in each frame of video.

most encoding includes techniques compress video conserve space. these techniques include using of frames reference following frames (and in come cases preceding frames). example first frame might reference frame (commonly called frame) , following 5 frames, instead of storing pixel data, pixels have changes stored. easy understand how might save lot of storage, particularly scenes there little movement or change in scenes.

as general rule, lose quality when compress , more compress more quality lose. on ios can specify quality level want when setting video capture - see 'configuring session' in line below:

unless need store locally in different quality level sending server, should record in quality level want , avoid having compress on phone quite bit of work phone do, if can avoid it. if want have higher quality stored on phone , lower quality (to speed transmission or save bandwidth) send server, take @ answer:


Comments

Popular posts from this blog

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -