[MPlayer-users] I have no audio

Javier López Durá jld at alu.ua.es
Thu Oct 30 23:49:29 CET 2003


I can record movies from TV using V4L and Gnome2. I run the next example 
command:

jlopez at linux:~> mencoder -tv driver=v4l:width=768:height=576     -ovc 
lavc -lavcopts vcodec=mpeg4:vbitrate=900     -oac mp3lame  -vf 
crop=720:544:24:16,pp=lb -o output.avi tv://


And obtain the next output:
MEncoder 1.0pre2-RPM-3.2 (C) 2000-2003 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 800.1 MHz 
(Family: 6, Stepping: 6)
Detected cache-line size is 32 bytes
MMX2 supported but disabled
SSE supported but disabled
CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

Reading /home/jlopez/.mplayer/codecs.conf: Can't open 
'/home/jlopez/.mplayer/codecs.conf': No existe el fichero o el directorio
Reading /etc/mplayer/codecs.conf: 61 audio & 157 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/jlopez/.mplayer/mencoder: No existe el fichero 
o el directorio
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(Pinnacle PCTV Studio/Ra)
  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)
Using input 'Television'
[V] filefmt:9  fourcc:0x32315659  size:768x576  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: [pp=lb]
Opening video filter: [crop w=720 h=544 x=24 y=16]
Crop: 720 x 544, 24 ; 16
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 768 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.
videocodec: libavcodec (720x544 fourcc=58564944 [DIVX])
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
MP3 audio selected
Building audio filter chain for 44100Hz/1ch/16bit -> 44100Hz/1ch/16bit...
Writing AVI header...
Forcing audio preload to 0, max pts correction to 0
Pos:   3,9s     81f ( 0%)   5fps Trem:   0min   0mb  A-V:0,000 [983:38]]
Writing AVI index...
Fixing AVI header...

Video stream:  983,269 kbit/s  (122908 bps)  size: 481802 bytes  3,920 
secs  81
frames

Audio stream:   38,583 kbit/s  (4822 bps)  size: 18772 bytes  3,892 secs
   MJP: returning!
jlopez at linux:~>


The output doesn't match any error, but the movie has no audio playing 
it with MPlayer or avifile.

Using 'transcode' I have the same problem: the program can open 
/dev/video0 and /dev/dsp0, but the movie has no audio.

I need some help or comment. I run Suse Linux 8.2, kernel 2.4.20 and a 
Creative sound card. Running Gnome2 and the following programs...

   PID TTY      STAT   TIME COMMAND
     1 ?        S      0:05 init
     2 ?        SW     0:00 [keventd]
     3 ?        SW     0:00 [kapmd]
     4 ?        SWN    0:00 [ksoftirqd_CPU0]
     5 ?        SW     0:07 [kswapd]
     6 ?        SW     0:00 [bdflush]
     7 ?        SW     0:00 [kupdated]
     8 ?        SW     0:00 [kinoded]
    10 ?        SW     0:00 [mdrecoveryd]
    14 ?        SW     0:00 [kjournald]
   154 ?        SW<    0:00 [lvm-mpd]
   207 ?        SW     0:00 [kjournald]
   210 ?        SW     0:00 [kjournald]
   678 ?        S      0:00 /sbin/syslogd
   681 ?        S      0:00 /sbin/klogd -c 1 -2
   743 ?        SW     0:00 [khubd]
  1005 ?        S      0:00 /sbin/resmgrd
  1030 ?        S      0:00 [portmap]
  1138 ?        S      0:00 /usr/sbin/cupsd
  1428 ?        S      0:00 /usr/sbin/sshd -o PidFile /var/run/sshd.init.pid
  1618 ?        S      0:00 [master]
  1640 ?        S      0:00 [qmgr]
  1673 ?        S      0:00 [atd]
  1702 ?        S      0:00 /usr/sbin/cron
  1802 ?        S      0:00 /usr/sbin/nscd
  1811 ?        S      0:00 /usr/sbin/nscd
  1815 ?        S      0:00 /usr/sbin/nscd
  1817 ?        S      0:00 /usr/sbin/nscd
  1818 ?        S      0:00 /usr/sbin/nscd
  1819 ?        S      0:00 /usr/sbin/nscd
  1820 ?        S      0:00 /usr/sbin/nscd
  1856 ?        S      0:00 /opt/kde3/bin/kdm
  1901 tty1     S      0:00 /sbin/mingetty --noclear tty1
  1902 tty2     S      0:00 /sbin/mingetty tty2
  1903 tty3     S      0:00 /sbin/mingetty tty3
  1904 tty4     S      0:00 /sbin/mingetty tty4
  1905 tty5     S      0:00 /sbin/mingetty tty5
  1906 tty6     S      0:00 /sbin/mingetty tty6
  1907 ?        R      4:22 /usr/X11R6/bin/X vt7 -auth 
/var/lib/xdm/authdir/authf 1908 ?        S      0:00 -:0
  1952 ?        S      0:01 /opt/gnome2/bin/gnome-session
  1968 ?        S      0:00 /opt/gnome/bin/medusa-idled
  1990 ?        S      0:01 /opt/gnome2/lib/GConf/2/gconfd-2 11
  1992 ?        S      0:00 
/opt/gnome2/lib/bonobo-activation/bonobo-activation-s 1994 ?        S 
    0:00 gnome-smproxy --sm-config-prefix /.gnome-smproxy-YXip 1996 ? 
      S      0:00 gnome-settings-daemon --oaf-activate-iid=OAFIID:GNOME 
2002 ?        S      0:02 xscreensaver -nosplash
  2005 ?        S      0:17 metacity --sm-save-file 
1064511909-2009-1624939100.ms 2007 ?        S      0:07 nautilus 
--sm-config-prefix /nautilus-dRsmLj/ --sm-cl 2009 ?        S      0:14 
gnome-panel --sm-config-prefix /gnome-panel-GYtwM2/ - 2010 ?        S 
    0:00 nautilus --sm-config-prefix /nautilus-dRsmLj/ --sm-cl 2011 ? 
      S      0:00 nautilus --sm-config-prefix /nautilus-dRsmLj/ --sm-cl 
2012 ?        S      0:00 nautilus --sm-config-prefix /nautilus-dRsmLj/ 
--sm-cl 2013 ?        S      0:00 nautilus --sm-config-prefix 
/nautilus-dRsmLj/ --sm-cl 2014 ?        S      0:00 nautilus 
--sm-config-prefix /nautilus-dRsmLj/ --sm-cl 2015 ?        S      0:00 
nautilus --sm-config-prefix /nautilus-dRsmLj/ --sm-cl 2016 ?        S 
    0:00 nautilus --sm-config-prefix /nautilus-dRsmLj/ --sm-cl 2018 ? 
      R     53:08 /usr/bin/xmule
  2021 ?        S      0:00 /usr/bin/xmule
  2022 ?        S      4:44 /usr/bin/xmule
  2090 ?        S      0:13 gnome-terminal
  2092 ?        S      3:39 /opt/mozilla/mozilla-bin
  2096 ?        S      0:00 [gnome-pty-helpe]
  2097 pts/0    S      0:00 bash
  2126 ?        S      0:00 /opt/mozilla/mozilla-bin
  2127 ?        S      0:01 /opt/mozilla/mozilla-bin
  2128 ?        S      0:00 /opt/mozilla/mozilla-bin
  2129 ?        S      0:02 /opt/mozilla/mozilla-bin
  2315 ?        Z      0:00 [netstat] <defunct>
  2386 ?        S      0:00 [pickup]
  2495 ?        S      0:00 /opt/mozilla/mozilla-bin
  2496 ?        S      0:00 /opt/mozilla/mozilla-bin
  2497 ?        S      0:00 /opt/mozilla/mozilla-bin
  2499 ?        S      0:00 /opt/mozilla/mozilla-bin
  2578 pts/0    R      0:00 ps xa
  2579 ?        S      0:00 /USR/SBIN/CRON
  2580 ?        R      0:00 /bin/sh -c  test -x /usr/lib/cron/run-crons 
&& /usr/l 2581 ?        R      0:00 /bin/sh -c  test -x 
/usr/lib/cron/run-crons && /usr/l
jlopez at linux:~>



More information about the MPlayer-users mailing list