[MPlayer-users] Get sound out of mencoder?

Lugo lugoteehalt at yahoo.co.uk
Sun Jul 18 08:24:15 CEST 2010


On Jul 17, 2:55 am, Lugo <lugoteeh... at yahoo.co.uk> wrote:
> Just trying to get mencoder to work for TV card.  Get picure recorded
> OK, but no sound.  Have unmuted everything in alsamixer, and slid up
> the sliders.  Thanks any help.
>
> $ artsdsp mencoder -o mencoderTest.avi -tv immediatemode=0 tv://
> MEncoder SVN-r31362-4.3.2 (C) 2000-2010 MPlayer
> Team
> success: format: 9  data: 0x0 -
> 0x0
> TV file format
> detected.
> Selected driver:
> v4l2
>  name: Video 4 Linux 2
> input
>  author: Martin Olschewski <olschew... at zpr.uni-
> koeln.de>
>  comment: first try, more to
> come ;-)
> Selected device: Philips Tiger reference
> design
>  Tuner cap: STEREO LANG1
> LANG2
>  Tuner rxs:
> MONO
>  Capabilites:  video capture  video overlay  VBI capture device
> tuner  read/write
> streaming
>  supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR;
> 4 = PAL; 5 = PAL-BG; 6 = PAL-H; 7 = PAL-I; 8 = PAL-DK; 9 = PAL-M; 10 =
> PAL-N; 11 = PAL-Nc; 12 = PAL-60; 13 = SECAM; 14 = SECAM-B; 15 = SECAM-
> G; 16 = SECAM-H; 17 = SECAM-DK; 18 = SECAM-L; 19 = SECAM-
> Lc;
>  inputs: 0 = Television; 1 = Composite1; 2 = S-
> Video;
>  Current input:
> 1
>  Current format:
> BGR24
> v4l2: current audio mode is :
> MONO
> [V] filefmt:9  fourcc:0x32315659  size:720x576  fps:25.000
> ftime:=0.0400
> ==========================================================================
> Opening audio decoder: [pcm] Uncompressed PCM audio
> decoder
> AUDIO: 32000 Hz, 1 ch, s16le, 512.0 kbit/100.00% (ratio: 64000->64000)
>
> Selected audio codec: [pcm] afm: pcm (Uncompressed
> PCM)
> ==========================================================================
> 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
> Movie-Aspect is undefined - no prescaling
> applied.
> videocodec: libavcodec (720x576 fourcc=47504a4d
> [MJPG])
> Selected video codec: [rawyv12] vfm: raw (RAW
> YV12)
> ==========================================================================
> 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.
>
> 1 duplicate frame(s)!
> Pos:   0.2s      3f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
> 1 duplicate frame(s)!
> ^CPos:  61.9s   1546f ( 0%) 24.88fps Trem:   0min   0mb  A-V:0.000
> [12801:512]
> Flushing video
> frames.
> Writing
> index...
> Writing
> header...
> ODML: Aspect information not (yet?) available or unspecified, not
> writing vprp
> header.
>
> Video stream: 12801.336 kbit/s  (1600166 B/s)  size: 99082339 bytes
> 61.920 secs  1546
> frames
>
> Audio stream:  512.000 kbit/s  (64000 B/s)  size: 3968000 bytes
> 62.000 secs
> v4l2: 1553 frames successfully processed, 0 frames
> dropped.
> eric at fido:~$ artsdsp mplayer mencoderTest.avi
> MPlayer dev-SVN-r26940
> CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ (Family: 15,
> Model: 67, Stepping:
> 3)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2:
> 1
> Compiled with runtime CPU
> detection.
> Can't open joystick device /dev/input/js0: No such file or
> directory
> Can't init input
> joystick
> 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 mencoderTest.avi.
> AVI file format detected.
> [aviheader] Video stream found, -vid 0
> [aviheader] Audio stream found, -aid 1
> VIDEO:  [MJPG]  720x576  24bpp  25.000 fps  12801.3 kbps (1562.7 kbyte/
> s)
> Clip
> info:
>  Software: MEncoder SVN-
> r31362-4.3.2
> open: No such file or
> directory
> [MGA] Couldn't open: /dev/
> mga_vid
> open: No such file or
> directory
> [MGA] Couldn't open: /dev/
> mga_vid
> [VO_TDFXFB] Can't open /dev/fb0: No such file or
> directory.
> s3fb: can't open /dev/fb0: No such file or
> directory
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec
> family
> [mjpeg @ 0xb40fa0]mjpeg: using external huffman
> table
> Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG
> decoder)
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: 32000 Hz, 1 ch, s16le, 512.0 kbit/100.00% (ratio: 64000->64000)
> Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
> ==========================================================================
> AO: [alsa] 48000Hz 1ch s16le (2 bytes per sample)
> Starting playback...
> VDec: vo config request - 720 x 576 (preferred colorspace: Planar
> YV12)
> VDec: using Planar YV12 as output csp (no 3)
> Movie-Aspect is undefined - no prescaling applied.
> VO: [xv] 720x576 => 720x576 Planar YV12
> No bind found for key 'MOUSE_BTN0'.                         3% 1 0
> A:  61.9 V:  61.9 A-V:  0.001 ct:  0.041 1548/1548  8%  0%  0.3% 0 0
>
> Exiting... (End of file)
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-us... at mplayerhq.huhttps://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

Sorry seems to be some sort of weird problem with my sound
arrangements.  So let's forget it.


More information about the MPlayer-users mailing list