LINUX.ORG.RU

Просмотр TV c помощью Mplayer ?


0

0

поставил TV Tuner Avermedia (чип bt878), работает на ура с XawTV. но вот проблема, с помощью Mplayer не удается просмотреть.

Смотрю так:
/usr/local/bin/mplayer -tv on:device=/dev/video0:driver=v4l:input=0:width=320:height=240:norm=SECAM:chanlis t=europe-east:channel=R12

Получаю в ответ следующее:
MPlayer 1.0pre6-3.4.1 (C) 2000-2004 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

-tv on is deprecated, use tv:// instead.

В чем может быть проблемма ? Спасибо.!

anonymous

Ответ на: комментарий от anonymous

man mplayer. Написано же, что -tv не используется, следует пользовать tv://. А вот как использовать -- Read The Fucking Manual.

Obidos ★★★★★
()
Ответ на: комментарий от Obidos

заметил как и посоветовали -tv на tv:// и ситуация изменилась, но картинки с ТВ тюнера так я и не увидел. :(

Имею я Mplayer, который шёл с дистрибутивом, запускаем его:
./TV_Tuner
MPlayer 1.0pre5-3.4.1 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Foster 1997 MHz (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 73 audio & 180 video codecs
Failed to open /dev/rtc: No such file or directory (it should be readable by the user.)
Using usleep() timing
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Input config file /etc/mplayer/input.conf parsed: 53 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.

Playing tv://.
Cache fill: 0,00% (0 bytes) TV detected! ;-)
Selected driver: dummy
name: NULL-TV
author: alex
Selected input hasn't got a tuner!
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 320 x 200 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 320x200 => 320x200 Planar YV12 [zoom]
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
V: 1,0 210966 0% 0% 0,0% 0 0 0%

Появлятся окно в зелёном цвете и всё.

******************************************************************************** ******************

так же я собрал ручками Mplayer
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


Failed to open /dev/rtc: No such file or directory (it should be readable by the user.)
Playing tv://.
TV detected! ;-)
Selected driver: dummy
name: NULL-TV
author: alex
Selected input hasn't got a tuner!
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 320 x 200 (preferred csp: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
V: 1,0 14228/14228 ??% ??% ??,?% 0 0

MPlayer interrupted by signal 2 in module: decode_video

в этот раз ни картинки ни звука нет.

Что не так ?? Спасибо.

anonymous
()
Ответ на: комментарий от anonymous

/usr/local/bin/mplayer -tv on:device=/dev/video0:driver=v4l:input=0:width=320:height=240:norm=SECAM:chanlis t=europe-east tv://R12

ты вот так запускал?

зы. лучше попробуй tvtime, супер программка.

uj2 ★★★
()
Ответ на: комментарий от uj2

вообще почти все твои настройки в -tv -- и так по дефолту, поэтому их вообще можно не указывать, т.е. `which mplayer` -tv driver=v4l:norm=secam:chanlist=europe-east tv://R12

uj2 ★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.