jhgorse / onevideo

Connected Collaboration: Peer-to-peer video conferencing
GNU Lesser General Public License v2.1
4 stars 0 forks source link

OS X native h.264 encode/decode pipeline #18

Open jhgorse opened 8 years ago

jhgorse commented 8 years ago

Realtime settings from twi_ => 233 ms of latency total (7 frames total, +2 for enc/dec)

gst-launch-1.0 avfvideosrc device-index=0 ! "video/x-raw(memory:GLMemory),width=1280,height=720" ! gldownload qos=true ! vtenc_h264 realtime=true ! "video/x-h264,profile=baseline" ! vtdec_hw ! glimagesink

Baseline without enc/dec => 166 ms of latency total (5 frames)

gst-launch-1.0 avfvideosrc device-index=0 ! "video/x-raw(memory:GLMemory),width=1280,height=720" ! glimagesink