ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexander Kuprin <ru_classic@gts.lg.ua>
To: community@altlinux.ru
Subject: [Comm] Проблемы с записью TV-программ при помощи mencoder
Date: Sat, 14 May 2005 00:20:24 +0300
Message-ID: <42851A18.9060408@gts.lg.ua> (raw)

Добрый вечер.

Ситуация следующая: звуковая карта SB Live 5.1 (используется alsa),
TV-тюнер WinFast Leadek 2000 XP

0000:02:0b.0 Multimedia video controller: Conexant CX22702 DVB-T 2k/8k
(rev 05)
0000:02:0d.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1
(rev 0a)

Просмотр программ более-менее работает в xawtv, хотелось бы их
записывать. Посоветовали делать это при помощи mencoder:

mencoder tv://SR1 \
-tv
driver=v4l2:input=0:brightness=60:contrast=25:normid=3:width=768:height=625:saturation=50:outfmt=yuy2:device=/dev
/video0:hue=0:immediatemode=1:audiorate=44100:alsa:amode=1 \
-oac pcm \
-of avi -ovc lavc -lavcopts vcodec=msmpeg4:vbitrate=3000 -o video.avi

Видео пишется, а вот звук, увы, нет. По-гуглив, нашёл
http://www.linux.org.ru/books/lor-faq/lorFAQ-20.html#ss20.4 Но мне совет
не очень помог. На всякий случай првоверил работу arecord -- прекрасно
пишет FM. Попробовал добавить ключи forceaudio и adevice, получил вот
такую строку:

mencoder tv://SR1 \
-tv
driver=v4l2:input=0:brightness=60:contrast=25:normid=3:width=768:height=625:saturation=50:outfmt=yuy2:device=/dev
/video0:hue=0:immediatemode=1:forceaudio:amode=1:adevice=hw,0,0:audiorate=44100:alsa
\
-oac pcm \
-of avi -ovc lavc -lavcopts vcodec=msmpeg4:vbitrate=3000 -o video.avi

mencoder теперь сообщает, что звук пишется, но при воспоизведении всё
равно тишина. :-( В конце концов, запустил mplayer в режиме
воспроизведения TV-программ, чтобы проверить работу звука:

mplayer tv://SR1 -tv
driver=v4l2:input=0:brightness=60:contrast=25:normid=3:width=768:height=625:saturation=50:outfmt=yuy2:device=/dev/video0:hue=0:immediatemode=1:forceaudio:amode=2:adevice=hw,0,0:alsa

Ничего хорошего не получается: при использовании ключа forceaudio
появляется звук, переходящий от низких частот к высоким. В общем не
жжужит мушка. :-( Может у кого-нибудь есть идеи на этот счёт? Буду
благодарен. Спасибо.

--
WBR, Alexaner Kuprin



             reply	other threads:[~2005-05-13 21:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-13 21:20 Alexander Kuprin [this message]
2005-05-14  7:07 ` Dolgov OV
2005-05-15 20:07   ` Alexander Kuprin

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=42851A18.9060408@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