[MEncoder-users] FW: mplayer - problem recording sound

GAEREMYNCK Matthieu matthieu.gaeremynck at eurocontrol.int
Fri Sep 22 13:22:30 CEST 2006


A small tip to help me further ?



Sincerely,


Matthieu Gaeremynck

System Engineer
>DF/MIS/SM
>@PEOC (The Consortium) 
>
>Rue de la Fusée, 96
>B-1130 Brussels
>Belgium
>
*:+32 2 729 31 38 
*: Matthieu.Gaeremynck at eurocontrol.int

 

>-----Original Message-----
>From: mencoder-users-bounces at mplayerhq.hu 
>[mailto:mencoder-users-bounces at mplayerhq.hu] On Behalf Of 
>GAEREMYNCK Matthieu
>Sent: Friday 22 September 2006 09:02
>To: MEncoder usage discussions
>Subject: RE: [MEncoder-users] FW: mplayer - problem recording sound
>
>Line and capture have been set to "capture" in the alsamixer.
>
>Hereby some more info from what is happening :
>
>mg at srvubu:~$ mencoder tv:// -tv
>driver=v4l2:width=320:height=240:forceaudio:volume=100 -ovc 
>lavc -oac copy -o output.avi MEncoder 
>2:0.99+1.0pre7try2+cvs20060117-0ubuntu8 (C) 2000-2006 MPlayer Team
>CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
>Stepping: 1)
>CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 
>SSE2: 0 Compiled with runtime CPU detection.
>93 audio & 211 video codecs
>success: format: 9  data: 0x0 - 0x0
>Selected driver: v4l2
>name: Video 4 Linux 2 input
>author: Martin Olschewski <olschewski at zpr.uni-koeln.de>
>comment: first try, more to come ;-)
>Selected device: BT878 video (Hauppauge (bt878)) Tuner cap:
>Tuner rxs: MONO
>Capabilites:  video capture  video overlay  VBI capture device 
> tuner read/write  streaming supported norms: 0 = PAL; 1 = 
>NTSC; 2 = SECAM; 3 = PAL-Nc; 4 = PAL-M; 5 = PAL-N; 6 = 
>NTSC-JP; 7 = PAL-60;
>inputs: 0 = Television; 1 = Composite1; 2 = S-Video; 3 = 
>Composite3; Current input: 0 Current format: YVU420
>v4l2: current audio mode is : MONO
>Audio block size too low, setting to 8192!
>[V] filefmt:9  fourcc:0x32315659  size:320x240  fps:25.00  
>ftime:=0.0400 Opening video filter: [expand osd=1]
>Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 
>===============================================================
>===========
>Opening video decoder: [raw] RAW Uncompressed Video
>VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
>VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 
>undefined - no prescaling applied.
>videocodec: libavcodec (320x240 fourcc=34504d46 [FMP4]) 
>Selected video codec: [rawyv12] vfm: raw (RAW YV12) 
>===============================================================
>===========
>Building audio filter chain for 44100Hz/1ch/s16le -> 0Hz/0ch/??...
>audiocodec: framecopy (format=1 chans=1 rate=44100 bits=16 B/s=88200
>sample-2)
>Forcing audio preload to 0, max pts correction to 0
>Writing header...1f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
>ODML: Aspect information not (yet?) available or unspecified, 
>not writing vprp header.
>Writing header...
>ODML: Aspect information not (yet?) available or unspecified, 
>not writing vprp header.
>Pos:   3.1s     77f ( 0%) 21.06fps Trem:   0min   0mb  
>A-V:0.000 [959:705]]
>Flushing video frames
>Writing index...
>Writing header...
>ODML: Aspect information not (yet?) available or unspecified, 
>not writing vprp header.
>
>Video stream:  959.665 kbit/s  (119958 B/s)  size: 369471 
>bytes  3.080 secs
>77 frames
>
>Audio stream:  705.600 kbit/s  (88200 B/s)  size: 308700 bytes 
> 3.500 secs
>v4l2: 90 frames successfully processed, 0 frames dropped.
>
>
>***** so it seems I captured some audio ?
>
>
>mg at srvubu:~$ mplayer output.avi
>MPlayer 2:0.99+1.0pre8-0ubuntu4 (C) 2000-2006 MPlayer Team
>CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 
>(Family: 6, Model: 
>8, Stepping: 1)
>CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0 
>Compiled with runtime CPU detection.
>
>
>93 audio & 211 video codecs
>Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission 
>denied Try adding "echo 1024 > 
>/proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
>Opening joystick device /dev/input/js0
>Can't open joystick device /dev/input/js0: No such file or 
>directory Can't init input joystick Setting up LIRC support...
>mplayer: could not connect to socket
>mplayer: No such file or directory
>Failed to open LIRC support.
>You will not be able to use your remote control.
>
>Playing output.avi.
>AVI file format detected.
>VIDEO:  [FMP4]  320x240  24bpp  25.000 fps  959.7 kbps (117.1 
>kbyte/s) Clip info:
>Software: MEncoder 2:0.99+1.0pre7try2+cvs20060117-0ubuntu8
>===============================================================
>===========
>Opening audio decoder: [pcm] Uncompressed PCM audio decoder
>AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 
>88200->88200) Selected audio codec: [pcm] afm: pcm 
>(Uncompressed PCM) 
>===============================================================
>===========
>===============================================================
>===========
>Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec 
>family Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg 
>MPEG-4) 
>===============================================================
>===========
>alsa-init: using device default
>alsa: 44100 Hz/1 channels/2 bpf/32768 bytes buffer/Signed 16 
>bit Little Endian
>AO: [alsa] 44100Hz 1ch s16le (2 bytes per sample) Starting playback...
>VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
>VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 
>1.33:1 - prescaling to correct movie aspect.
>VO: [xv] 320x240 => 320x240 Planar YV12
>alsa-uninit: pcm closed 0.004 ct:  0.000  71/ 71 27%  3%  1.2% 7 0
>
>
>When I play it it detetcts that there is audio but I still 
>don't hear anything. Did I record an empty audio track ?
>What am I doing wrong ?
>
>
>
>
>Sincerely,
>
>
>Matthieu Gaeremynck
>
>System Engineer
>>DF/MIS/SM
>>@PEOC (The Consortium)
>>
>>Rue de la Fusée, 96
>>B-1130 Brussels
>>Belgium
>>
>*:+32 2 729 31 38
>*: Matthieu.Gaeremynck at eurocontrol.int
>
> 
>
>>-----Original Message-----
>>From: mencoder-users-bounces at mplayerhq.hu
>>[mailto:mencoder-users-bounces at mplayerhq.hu] On Behalf Of RC
>>Sent: Thursday 21 September 2006 18:49
>>To: MEncoder usage discussions
>>Subject: Re: [MEncoder-users] FW: mplayer
>>
>>On Thu, 21 Sep 2006 16:10:30 +0200
>>Stefan Sassenberg <stefan.sassenberg at gmx.de> wrote:
>>
>>> "line" is probably the device you must select for capturing.
>>
>>Actually, both the "Line" *and* "Capture" devices must be set to 
>>"Captur" in alsamixer.
>>_______________________________________________
>>MEncoder-users mailing list
>>MEncoder-users at mplayerhq.hu
>>http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>>
>____
>
>This message and any files transmitted with it are legally 
>privileged and intended for the sole use of the individual(s) 
>or entity to whom they are addressed. If you are not the 
>intended recipient, please notify the sender by reply and 
>delete the message and any attachments from your system. Any 
>unauthorised use or disclosure of the content of this message 
>is strictly prohibited and may be unlawful.
>
>Nothing in this e-mail message amounts to a contractual or 
>legal commitment on the part of EUROCONTROL, unless it is 
>confirmed by appropriately signed hard copy.
>
>Any views expressed in this message are those of the sender.
>
>
>_______________________________________________
>MEncoder-users mailing list
>MEncoder-users at mplayerhq.hu
>http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>
____

This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful.

Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy.

Any views expressed in this message are those of the sender.




More information about the MEncoder-users mailing list