You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
videoCodec, _:=NewStream(1920, 1080)
defervideoCodec.Free()
buffer:=make([]byte, 65536*2)
for {
// NALUSource is NALU data from iPhone h264 Streamn, _:=NALUSource.Read(buffer)
_=videoCodec.SendData(buffer[:n])
jpgBuffer, _:=videoCodec.ReceiveJpeg()
// It can be saved as an image or provided directly via websocket as a mjpeg stream making it playable with VLC.fmt.Println(len(jpgBuffer))
}
It helps to decouple h264 video streams from gst by converting them to any video encoding.
I'll implement a PoC for the project later if you think this will work.
I apologize for putting this on hold after offering to help a few months ago. (nnnpa31)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
All exceptions have been ignored
How to use:
It helps to decouple h264 video streams from gst by converting them to any video encoding.
I'll implement a PoC for the project later if you think this will work.
I apologize for putting this on hold after offering to help a few months ago. (nnnpa31)
Beta Was this translation helpful? Give feedback.
All reactions