简体   繁体   中英

How can I get rgb frame from h264 stream, with gstreamer sdk 1.5 for iOS?

I have gstreamer on linux which streams RTP h264 video stream

I have iOS app which need to receive the RGB frames and pass them to video conference sdk.

I know gstreamer 1.5 is decoding with VideoToolBox, thats why I wanna use it

Has anyone done this?

Just use a capsfilter for the source of your h264 decoder:

gst-launch stream ! h264parse ! h264_decoder ! video/x-raw,format=RGB ! sink_to_location(needs RGB support as well to avoid negotiation problems)

Hope it helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM