简体   繁体   中英

how to restream rtsp h264 as “live dvr” for iOs using ffserver?

I would like to grab an existing stream from an IP-Camera delivering h264 encoded rtsp stream and restream it for iPhone/Ipad, where the user would have the opportunity to jump back in time for aprox. 1 minute. And later jump back to the "live" feed.

Actually I would like to do the same as in wowza (http://www.wowza.com/addons/wowza-ndvr-addon) but with ff** software.

Thank you for all your hints!

As I recall ffserver does not support http streaming protocol, so what are you restreaming the video as. I know live555 server can be configured for http live streaming.

converting to http live streaming is the only possible reason I think of that you would want to re-stream at all.

there are frameworks that can be used to play live rtsp feeds.

Dropcam is one and is based on live 555 , we have one here based on ffmpeg

https://github.com/mooncatventures-group

neither of these have the scrub back x seconds you wish, but you could easily take the extracted frames , put them into a ring buffer and play from the buffer

take a look at ffplayer-tests that records video (not audio just yet) to a new h264 mov and stores it in the photo album

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