ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexander Kuprin <ru_classic@gts.lg.ua>
To: community@altlinux.ru
Subject: Re: [Comm] xawtv: streamer " не хочет " писать видео
Date: Mon, 25 Oct 2004 09:38:37 +0300
Message-ID: <200410250938.37549.ru_classic@gts.lg.ua> (raw)
In-Reply-To: <E1CLo2r-000GgB-00.n_list-mail-ru@mx1.mail.ru>

On Sunday 24 October 2004 22:28, Александр Новосёлов wrote:
> > Помогите, плз., разобраться с записью телесигнала. Просмотрел
> > архив рассылки, ничего интересного не нашёл, возможно у других
> > работает это "из коробки". Ситуация следующая -- пытаюсь
> > записать видео с TV-тюнера (пример строки подсмотрел здесь же,
> > в рассылке):
>
> Я записываю приложенным скриптиком

Угу. Спасибо, Александр. Но скрипт у меня работает наполовину. Пишется 
зелёный экран. Звук есть, изображения нет. :-( Вот-с. Хотя при помощи 
xawtv канал выбран. Интересно другое -- а при помощи какой утилиты 
можно в командной строке выбирать канал? Допустим для FM-тюнера 
подходит утилита radio (например):

radio -q -f 91.30

Кстати, при помощи streamer я таки смог записать видео, с вот такими 
ключами:

streamer -d -r 24 -s 768x576 -t 0:30 -n pal-dk -i Television \
-o film.avi -F stereo -b 48

Но 150 Мбайт за 30 секунд это многовато. :) Попытка добавить ключ -f 
mjpeg выдаёт практически ту же ругань, о которой я говорил в первом 
письме:

checking writer files [multiple image files] ...
  video name=ppm ext=ppm: ext mismatch [need avi]
  video name=pgm ext=pgm: ext mismatch [need avi]
  video name=jpeg ext=jpeg: ext mismatch [need avi]
checking writer raw [single file, raw video data] ...
  video name=rgb ext=raw: ext mismatch [need avi]
  video name=gray ext=raw: ext mismatch [need avi]
  video name=422 ext=raw: ext mismatch [need avi]
  video name=422p ext=raw: ext mismatch [need avi]
  video name=4mpeg ext=yuv: ext mismatch [need avi]
  video name=4mpeg-o ext=yuv: ext mismatch [need avi]
checking writer avi [Microsoft AVI (RIFF) format] ...
  video name=rgb15 ext=avi: name mismatch [need mjpeg]
  video name=rgb24 ext=avi: name mismatch [need mjpeg]
  video name=mjpeg ext=avi: OK
  audio name=mono8 ext=avi: name mismatch [need stereo]
  audio name=mono16 ext=avi: name mismatch [need stereo]
  audio name=stereo ext=avi: OK
avi / video: MJPEG (AVI) / audio: 16bit stereo (LE)
vid-open: trying: v4l2-old...
vid-open: failed: v4l2-old
vid-open: trying: v4l2...
v4l2: open
v4l2: device info:
  cx8800 0.0.4 / Leadtek Winfast 2000XP Expert @ PCI:02:0b.0
vid-open: ok: v4l2
cmd: "setinput" "Television"
cmd: "setnorm" "pal-dk"
movie_init_writer start
dsp-open: trying: oss...
oss: bs=4096 rate=44100 channels=2 bits=16 (16bit stereo (LE))
dsp-open: ok: oss
setformat: MJPEG (AVI) (768x576): failed
setformat: 16 bit YUV 4:2:2 (planar) (768x576): failed
no way to get: 768x576 MJPEG (AVI)
movie writer initialisation failed
v4l2: close

Размер выбираемой картинки роли не играет. :-\

-- 
WBR, Alexander Kuprin



  reply	other threads:[~2004-10-25  6:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-24 17:13 Alexander Kuprin
2004-10-24 19:28 ` Александр Новосёлов
2004-10-25  6:38   ` Alexander Kuprin [this message]
2004-10-25 16:55     ` Александр Новосёлов
2004-10-26  8:42       ` Alexander Kuprin
2004-10-26 17:59         ` Александр Новосёлов

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=200410250938.37549.ru_classic@gts.lg.ua \
    --to=ru_classic@gts.lg.ua \
    --cc=community@altlinux.ru \
    /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 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