[MPlayer-users] Donald Duck sound

Yan Seiner yan at cardinalengineering.com
Tue Oct 28 12:54:57 CET 2003


I started playing with grabbing sound directly from the bt878 card using 
btadudio while recording video tapes.

It captures fine, but the sound speeds up occasionally so that the 
characters sound like Donald Duck.  I've tried various settings, but no 
luck.  No apparent errors.

Here's the capture:

MEncoder 1.0pre1-3.3.1 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP 
Multiprocessor/Athlon
  XP eXtreme Performance (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading /home/yan/.mplayer/codecs.conf: Can't open 
'/home/yan/.mplayer/codecs.co
nf': není souborem ani adresár(em
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/c
odecs.conf': není souborem ani adresár(em
Using built-in default codecs.conf
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/yan/.mplayer/mencoder: není souborem ani adresár(em
success: format: 9  data: 0x0 - 0x0
TV detected! ;-)
Selected driver: v4l
  name: Video 4 Linux input
  author: Alex Beregszaszi
  comment: under development
Selected device: BT878(ATI TV-Wonder)
  Capabilites: capture tuner overlay clipping frameram scales
  Device type: 235
  Supported sizes: 48x32 => 924x576
  Inputs: 3
   0: Television: tuner audio tv camera  (tuner:1, norm:pal)
   1: Composite1: audio camera  (tuner:0, norm:pal)
   2: S-Video: audio camera  (tuner:0, norm:pal)
Unable to set trigger: 1
audio block size too low, setting to 8192!
Using input 'Composite1'
Selected input hasn't got a tuner!
[V] filefmt:9  fourcc:0x32315659  size:704x576  fps:25,00  ftime:=0,0400
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 1 ch, 16 bit (0x10), ratio: 88200->88200 (705,6 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [scale w=320 h=240]
Opening video filter: [crop w=704 h=576 x=0 y=0]
Crop: 704 x 576, 0 ; 0
Opening video filter: [pp=ci]
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 704 x 576 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 10 -> 12
SwScaler: reducing / aligning filtersize 10 -> 12
SwScaler: reducing / aligning filtersize 11 -> 10
SwScaler: reducing / aligning filtersize 11 -> 10

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (320x240 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
MP3 audio selected
Building audio filter chain for 44100Hz/1ch/16bit -> 44100Hz/1ch/16bit...
Forcing audio preload to 0, max pts correction to 0
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Writing AVI header...

preset=96
********************************************************
and here's the playback:

MPlayer 1.0pre1-3.3.1 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP 
Multiprocessor/Athlon
  XP eXtreme Performance (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf: není souborem 
ani adre
sár(em
Reading config file /home/yan/.mplayer/config
Reading /home/yan/.mplayer/codecs.conf: Can't open 
'/home/yan/.mplayer/codecs.co
nf': není souborem ani adresár(em
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/c
odecs.conf': není souborem ani adresár(em
Using built-in default codecs.conf
font: can't open file: /home/yan/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 
chars)
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /home/yan/.mplayer/input.conf: není 
souborem ani a
dresár(em
Can't open input config file /usr/local/etc/mplayer/input.conf: není 
souborem a
ni adresár(em
Falling back on default (hardcoded) input config
Setting up LIRC support...

Playing test.avi
AVI file format detected.
VIDEO:  [DIVX]  320x240  24bpp  25,000 fps  1079,9 kbps (131,8 kbyte/s)
Clip info:
  Software: MEncoder 1.0pre1-3.3.1
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 12000->176400 (96,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1152x864 with depth 24 and 32 bpp (":2.0" => local 
display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
This file was encoded with libavcodec build 4677
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,33:1 - prescaling to correct movie aspect.
VO: [xmga] 320x240 => 320x240 Planar YV12
[mga] Using 3 buffers
********************************************************

No errors, no complaints of dropped frames......

Capture from the sound card loopback works fine, except for some 
distortion which I'm guessing is due to the loopback (I have to turn 
igain and line in to single digits otherwise the distortion is awful.)

Any ideas/suggestions/etc?

--Yan

-- 
         o
      /\ /_       o__
    o*  ~(_)      ,>/'_      o__
Yan Seiner, PE  (_)\(_)     ,>/'_   o__     o__
Cardinal Engineering, Inc. (_)\(_)  ,>/'_   ,>/'_
http://www.cardinalengineering.com (_)\(_) (_)\(_)
spam killer code kpwq1jkcsEzdx39gnkVvgycd15ayqq

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3210 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20031028/7add1622/attachment.bin>


More information about the MPlayer-users mailing list