ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] FFMPEG RTMP Thumbnail
@ 2010-11-17  3:52 Дмитрий Дегтярев
  0 siblings, 0 replies; only message in thread
From: Дмитрий Дегтярев @ 2010-11-17  3:52 UTC (permalink / raw)
  To: ALT Linux Community general discussions

  Добрый день!

Мне нужно делать картинки из видеопотока RTMP.

Делаю так:
ffmpeg -y -i rtmp://mydomain.ru/8d82044928caf4894b47b11138f9e78f/ 
-vframes 1 -ss 00:00:01 -an -s 320x240 -qmin 1 -f mjpeg /tmp/test.png

30 сек минимум. Это очень долго и для меня недопустимо.

Да и мне непонятно почему так необоснованно долго, ведь flash player 
воспроизводит сходу в туже секунду после открытия веб страницы и я вижу 
картинку на экране. В чём сложность записать один кадр в файл..

Если сделать тоже самое из файлы .avi то 1 секунда.

Подскажите пожалуйста кто знает, что я делаю не так? Возможно есть 
другие решения?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-17  3:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-17  3:52 [Comm] FFMPEG RTMP Thumbnail Дмитрий Дегтярев

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git