[MPlayer-users] Problems in viewing and encoding TV

eric tanguy eric.tanguy at physique.univ-nantes.fr
Tue Jun 8 12:24:41 CEST 2004


Hello Stephan, the problem is the driver so i try to use v4l2 driver but
you have to indicate normid and also the device :
 mplayer -tv
driver=v4l2:device=/dev/video0:normid=2:width=640:height=480:outfmt=i420
-vc rawi420 -vo xv tv://
It runs but my problem is : without any sound.
How add sound ??
Eric

> Hello Eric,
>
> eric tanguy wrote:
>> I tried to use shalvideo to record tv but i got some errors about
>> drivers and so on. So i tried just to watch tv with mplayer using :
>> mplayer tv:// -tv driver=v4l:width=640:height=480:outfmt=i420 -vc
>> rawi420 -vo xv
>>
>> and nothing but this message :
>> #########################################################################
>> MPlayer 1.0pre4-3.3.3 (C) 2000-2004 MPlayer Team
>>
>> CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 1831 MHz (Family:
>> 6, Stepping: 0)
>> Detected cache-line size is 64 bytes
>> CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
>> Reading config file /etc/mplayer/mplayer.conf: Aucun fichier ou
>> répertoire de ce type
>> Reading config file /root/.mplayer/config
>> Reading /root/.mplayer/codecs.conf: Can't open
>> '/root/.mplayer/codecs.conf': Aucun fichier ou répertoire de ce type
>> Reading /etc/mplayer/codecs.conf: Can't open
>> '/etc/mplayer/codecs.conf': Aucun fichier ou répertoire de ce type
>> Using built-in default codecs.conf.
>> font: can't open file: /root/.mplayer/font/font.desc
>> Font /usr/share/mplayer/font/font.desc loaded successfully! (206
>> chars) Using Linux hardware RTC timing (1024Hz).
>> Can't open input config file /root/.mplayer/input.conf: Aucun fichier
>> ou répertoire de ce type
>> Can't open input config file /etc/mplayer/input.conf: Aucun fichier ou
>> répertoire de ce type
>> Falling back on default (hardcoded) input config
>> Opening joystick device /dev/input/js0
>> Can't open joystick device /dev/input/js0 : Aucun périphérique de ce
>> type Can't init input joystick
>> Setting up LIRC support...
>> mplayer: could not connect to socket
>> mplayer: Aucun fichier ou répertoire de ce type
>> Failed to open LIRC support.
>> You will not be able to use your remote control.
>>
>> Playing tv://.
>> TV detected! ;-)
>> Selected driver: v4l
>>  name: Video 4 Linux input
>>  author: Alex Beregszaszi
>>  comment: under development
>> ================================================================>
>> WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
>>  As the V4L1 compatibility layer is broken, this may not work.
>>  If you encounter any problems, use driver=v4l2 instead.
>>  Bugreports on driver=v4l with v4l2 drivers will be ignored.
>> ================================================================>
>> Selected device: BT848A video (Pinnacle PCTV Stu
>>  Capabilites: capture tuner overlay clipping scales
>>  Device type: 171
>>  Supported sizes: 48x32 => 924x576
>>  Inputs: 3
>>   0: Television: tuner audio tv camera  (tuner:1, norm:secam)
>>   1: Composite1: audio camera  (tuner:0, norm:secam)
>>   2: S-Video: audio camera  (tuner:0, norm:secam)
>> Using input 'Television'
>> ioctl get tuner failed: Argument invalide
>> Tuner isn't capable to set norm!
>> Error: Cannot set norm!
>>
>>
>> MPlayer interrupted by signal 11 in module: demux_open
>> - MPlayer crashed by bad usage of CPU/FPU/RAM.
>>   Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
>> disassembly. Details in
>> DOCS/HTML/en/bugreports_what.html#bugreports_crash.
>> - MPlayer crashed. This shouldn't happen.
>>   It can be a bug in the MPlayer code _or_ in your drivers _or_ in
>> your gcc version. If you think it's MPlayer's fault, please read
>>   DOCS/HTML/en/bugreports.html and follow the instructions there. We
>> can't
>> and
>>   won't help unless you provide this information when reporting a
>> possible
>> bug.
>> ##########################################################################
>>
>> I tried to look for this kind of errors in the mailing list but i'm a
>> newbie and not understand what i read.
>> So please help me, i use fedora core 2.
>> Thanxes.
>> Eric
>>
>>
>> _______________________________________________
>> MPlayer-users mailing list
>> MPlayer-users at mplayerhq.hu
>> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>>
>>
>
> try playing with the -tv parameter 'norm': The F man page says:
>
>                   norm=<value>
>                        available:  PAL,  SECAM, NTSC. For v4l2 use the
> normid option below.
>
> Best regards
>
> Stefan
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users






More information about the MPlayer-users mailing list