[MPlayer-users] TV capture problems

Nicolas Velasquez spidyno at yahoo.es
Wed Jan 9 18:12:01 CET 2002


Hi,
I'm having 2 problems, and I have a question,
is there a way to when encoding use deinterlace
filter(a diferent one from divx4) 

Thanx 

1. When I try to watch TV with mplayer it says no
sound, as you can see I can change channels, and
besides I hear the TV sound that, my tv card works
well with xawtv.

MPlayer 0.60-2.95.3 (C) 2000-2002 Arpad Gereoffy (see
DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird
(Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1
SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow
3DNowEx
Reading /root/.mplayer/codecs.conf: can't open
'/root/.mplayer/codecs.conf': No such file or
directory
Reading /usr/local/share/mplayer/codecs.conf: 26 audio
& 70 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file:
/usr/local/share/mplayer/font/font.desc
Using Linux's hardware RTC timing (1024Hz)
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi <alex at naxine.org>
 comment: under development
Selected device: BT878(Askey/Typhoon/Anubis Ma)
 Capabilites: capture tuner overlay clipping frameram
scales
 Device type: 235
 Supported sizes: 32x32 => 768x480
 Inputs: 3
  0: Television: tuner audio tv camera  (tuner:1,
norm:1)
  1: Composite1: audio camera  (tuner:0, norm:1)
  2: S-Video: audio camera  (tuner:0, norm:1)
 Audio devices: 1
Requested width: 640
Requested height: 480
Using input 'Television'
Selected norm: ntsc
Selected channel list: us-cable (including 133
channels)
palette: 5, depth: 32, bytesperline: 2560
Picture values:
 Depth: 32, Palette: 5 (Format: RGB 32-bit)
 Brightness: 32768, Hue: 32768, Colour: 32768,
Contrast: 32768
Detected TV! ;-)
Output format: RGB 32-bit
fps: 30.000000, frametime: 0.033333
Output size: 640x480
[V] filefmt:9  fourcc:0x52474220  size:640x480 
fps:30.00  ftime:=0.0333
Trying to force video codec driver family 5 ...
Can't find video codec for forced driver family,
fallback to other drivers.
Detected video codec: [rawrgb32] drv:8 prio:0 (RAW
RGB32)
Movie-Aspect is undefined - no prescaling applied.
VO: [sdl] 640x480 => 640x480 RGB 32-bit
SDL: Using driver: x11
Audio: no sound!!!
Start playing...
Selected channel: 83 (freq: 885.250)
Current frequency: 14164 (885.250)
Selected channel: 1 (freq: 73.250)%
Current frequency: 1172 (73.250)
Selected channel: 2 (freq: 55.250)%
Current frequency: 884 (55.250)
Selected channel: 3 (freq: 61.250)%
Current frequency: 980 (61.250)
Selected channel: 4 (freq: 67.250)%
Current frequency: 1076 (67.250)
Selected channel: 5 (freq: 77.250)%



2. The real problem is that I want to capture some
video, when I try to capture some video it works OK,
but then I try to play the avi and the avi goes too
fast time passes faster, althou the time is the same
as when I capture the file, I think is a problem that
mencoder can't capture the audio of my TV card, when
this happens the avi doesn't know how to count time or
something like that...here:


mencoder -tv
on:driver=v4l:width=640:height=480:fps=30:outfmt=i420
-vc rawi420 -ofps 24 -ovc divx4 -divx4opts
br=2000:key=300 -o test1.avi -v


MEncoder 0.60-2.95.3 (C) 2000-2001 Arpad Gereoffy (see
DOCS!)

Reading /root/.mplayer/codecs.conf: can't open
'/root/.mplayer/codecs.conf': No such file or
directory
Reading /usr/local/share/mplayer/codecs.conf: 26 audio
& 70 video codecs
CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird
(Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1
SSE: 0 SSE2: 0
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi <alex at naxine.org>
 comment: under development
Video fd: 3
Selected device: BT878(Askey/Typhoon/Anubis Ma)
 Capabilites: capture tuner overlay clipping frameram
scales
 Device type: 235
 Supported sizes: 32x32 => 768x480
 Inputs: 3
  0: Television: tuner audio tv camera  (tuner:1,
norm:1)
  1: Composite1: audio camera  (tuner:0, norm:1)
  2: S-Video: audio camera  (tuner:0, norm:1)
 Audio devices: 1
  0: TV: muted=no volume=100 bass=0 treble=0 balance=0
mode=mono
 channels: 1, samplerate: 44100, samplesize: 88200,
format: Signed 16-bit (Little-Endian)
mbuf: size=4259840, frames=2
Requested width: 640
Requested height: 480
Using input 'Television'
Selected norm: pal
Selected channel list: europe-east (including 133
channels)
palette: 15, depth: 12, bytesperline: 960
Picture values:
 Depth: 12, Palette: 15 (Format: Planar I420)
 Brightness: 32768, Hue: 32768, Colour: 32768,
Contrast: 32768
success: format: 0  data: 0x0 - 0x0
stream_seek: WARNING! Can't seek to 0x0 !
Detected TV! ;-)
==> Found video stream: 0
Output format: Planar I420
fps: 30.000000, frametime: 0.033333
Output size: 640x480
[V] filefmt:9  fourcc:0x30323449  size:640x480 
fps:30.00  ftime:=0.0333
Forcing video codec: [rawi420] drv:8 prio:0 (RAW I420)
Writing AVI header...
 
skip frame!!!

skip frame!!!
 
skip frame!!!
 
skip frame!!!
 
skip frame!!!
 
skip frame!!!
 
skip frame!!!
 
skip frame!!!
 
skip frame!!!
 
Writing AVI index...
Fixup AVI header...
 
Video stream: 2889.201 kbit/s  (361150 bps)  size:
571821 bytes  1.583 secs
*** free_stream() called ***



and when I want to play the file: (when playing I have
already tried -ni -idx -forceidx -mc 0)

mplayer test1.avi

MPlayer 0.60-2.95.3 (C) 2000-2002 Arpad Gereoffy (see
DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird
(Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1
SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow
3DNowEx
Reading /root/.mplayer/codecs.conf: can't open
'/root/.mplayer/codecs.conf': No such file or
directory
Reading /usr/local/share/mplayer/codecs.conf: 26 audio
& 70 video codecs
CommandLine: 'test1.avi' '-v' '-ni'
num_filenames: 1
get_path('font/font.desc') ->
'/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file:
/usr/local/share/mplayer/font/font.desc
Using Linux's hardware RTC timing (1024Hz)
Playing test1.avi
get_path('sub/') -> '/root/.mplayer/sub/'
Not an URL!
File size is 574818 bytes
Detected AVI file format!
======= AVI Header =======
us/frame: 41666  (fps=24.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED
TRUST_CKTYPE
frames  total: 38   initial: 0
streams: 1
Suggested BufferSize: 0
Size:  640 x 480
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 240000/10000 = 24.000
Start: 0   Len: 38
Suggested BufferSize: 66461
Quality 0
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 480
  biPlanes 1
  biBitCount 24
  biCompression 2021026148='divx'
  biSizeImage 921600
===========================
Regenerating keyframe table for DIVX 4 video
Found movie at 0x80C - 0x8C2FA
Reading INDEX block, 38 chunks for 38 frames
AVI index offset: 2056
Auto-selected AVI video ID = 0
AVI_NI: No Audio stream found...  ->nosound
AVI: Searching for audio stream (id:-1)
AVI: No Audio stream found...  ->nosound
AVI video length=571838
VIDEO:  [divx]  640x480  24bpp  24.00 fps  2889.3 kbps
(352.7 kbyte/s)
[V] filefmt:3  fourcc:0x78766964  size:640x480 
fps:24.00  ftime:=0.0417
Trying to force video codec driver family 5 ...
Detected video codec: [ffodivx] drv:5 prio:0 (FFmpeg
OpenDivX)
FFmpeg's libavcodec video codec
INFO: libavcodec init OK!
Movie-Aspect is undefined - no prescaling applied.
VO: [sdl] 640x480 => 640x480 Planar YV12
VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+
only!)
VO: Author: Ryan C. Gordon <icculus at lokigames.com>,
Felix Buenemann <atmosfear at users.sourceforge.net>
video_out->init(640x480->640x480,flags=0,'MPlayer',0x32315659)
SDL: Using 0x32315659 (YV12) image format
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 1024x768
SDL: Using driver: x11
SDL: using hardware-surface
SDL: setting windowed mode
INFO: Video OUT driver init OK!
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
ds_fill_buffer: EOF reached (stream: video)
EOF code: 1
SDL: activating XScreensaver/DPMS
*** free_stream() called ***
 
Exiting... (End of file)
max framesize was 66461 bytes






linux distribution
Jblinux 2.2

kernel version:
Linux cyno.cyno 2.4.7 #1 Mon Aug 6 16:23:50 GMT+1 2001
i686 unknown

libc version:
2.2.3

X version:
4.1.0

gcc and ld version:
2.95.3
2.11

binutils version:
2.11

CPU info:
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 4
model name      : AMD Athlon(tm) Processor
stepping        : 2
cpu MHz         : 807.976
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8
apic sep mtrr pge mca cmov pat pse36 mmx fxsr syscall
mmxext 3dnowext 3dnow
bogomips        : 1612.18

video card manufacturer and model:
Asus agp-7100

TV in:
Tview99 (Askey Magic TView  =>  card=24b)

video driver type & version:
X built-in drive

TV in:
modules.conf:
# bttv
alias char-major-81     videodev
alias char-major-81-0   bttv
options bttv            card=24 radio=1
options tuner           type=2 debug=1

sound card type & driver
Creative SBLive! with OSS drivers of Kernel



_______________________________________________________________
Do You Yahoo!?
Yahoo! Messenger
Comunicación instantánea gratis con tu gente.
http://messenger.yahoo.es




More information about the MPlayer-users mailing list