[MPlayer-users] Poor recording quality

Chittaranjan Mandal Chittaranjan.Mandal at cse.iitkgp.edu.eu.org
Sun Sep 21 19:08:35 CEST 2003


Hi,

The sound is un-naturally shrill and the image appears to be a bit jumpy, possibly
frames are being dropped. The command line used with mencoder and the output
is given below. Can someone please point out the problem?

The capture played back with mplayer (and sound with:
  sox -w  -r 32000 -t ossdsp /dev/dsp1 -t ossdsp /dev/dsp) appear to be fine.

-Chitta

$ mencoder -tv on:driver=v4l:device=/dev/video1:width=384:height=288:input=0:norm=PAL:adevice=/dev/dsp1:forceaudio:forcechan=2 -o $NAME.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900 -oac mp3lame -lameopts cbr:br=32 -endpos 20
MEncoder 0.91-RPM-3.1  (C) 2000-2003 MPlayer Team

CPU: Intel Pentium 4 Xeon Foster (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Reading /users/chittaLocal/.mplayer/codecs.conf: can't open '/users/chittaLocal/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
File not found: 'frameno.avi'
Reading config file /users/chittaLocal/.mplayer/mencoder: No such file or directory
success: format: 0  data: 0x0 - 0x0
TV detected! ;-)
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi <alex at fsn.hu>
 comment: under development
Selected device: BT878(Hauppauge (bt878))
 Capabilites: capture tuner overlay clipping frameram scales
 Device type: 235
 Supported sizes: 48x32 => 924x576
 Inputs: 4
  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)
  3: Composite3: audio camera  (tuner:0, norm:pal)
Unable to set trigger: 1
audio block size too low, setting to 16384!
Using input 'Television'
[V] filefmt:9  fourcc:0x32315659  size:384x288  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 176400->176400 (1411.2 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 384 x 288 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (384x288 fourcc=58564944 [DIVX])
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
MP3 audio selected
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Writing AVI header...
Forcing audio preload to 0, max pts correction to 0
Pos:  20.0s    690f ( 0%)  25fps Trem:   0min   0mb  A-V:0.000 [961:31]]

CBR audio: 4000 bytes/sec, 104 bytes/block

Writing AVI index...
Fixing AVI header...

Video stream:  961.193 kbit/s  (120149 bps)  size: 2407788 bytes  20.040 secs  690 frames

Audio stream:   32.000 kbit/s  (3999 bps)  size: 80039 bytes  20.010 secs



More information about the MPlayer-users mailing list