开发者

Generate video thumbnail using ffmpeg; Grab from RTMP server

I have research how to generate a video thumbnail user FFMPEG like so:

ffmpeg -i myfile.flv -vcodec mjpeg -vframes 1 开发者_开发百科-an -f rawvideo -s 640x480 foo.jpg

But how can I generate a thumbnail when the file is on another server? Specifically a RTMP server? for example: rtmp://foo.rtmphost.com/videos


you can use rtmpdump to save stream to flv file and then to use FFMPEG to extract thumbnail from it.

something like:

rtmpdump -v -r rtmp://[stream_address] -o 1.flv
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜