ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: <ddv@bgc.perm.ru>
To: <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] FFMPEG RTMP Thumbnail
Date: Wed, 17 Nov 2010 00:09:34 +0500
Message-ID: <c6bda579e28d9564247ecbf13806e08f@bgc.perm.ru> (raw)

Добрый день!

Мне нужно делать картинки из видеопотока 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 секунда.

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



                 reply	other threads:[~2010-11-16 19:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c6bda579e28d9564247ecbf13806e08f@bgc.perm.ru \
    --to=ddv@bgc.perm.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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