Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#416 closed defect (invalid)

Unimplemented resampler for mode 0x2 -> 6 channels conversion

Reported by: dack@… Owned by: alex@…
Priority: normal Component: af
Version: 1.0pre7 Severity: normal
Keywords: Cc: Dominik 'Rathann' Mierzejewski
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

There is no accelerated resampler for 2->6 channel conversion (works without
acceleration at the cost of CPU). I would think that it should just send
everything to the front L/R channels. Log below:

$ mplayer -channels 6 Pioneer\ Demo.ts
MPlayer 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

85 audio & 196 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 : Permission denied
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 Pioneer Demo.ts.
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -1,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG2(pid=17)AUDIO A52(pid=20) NO SUBS (yet)! PROGRAM N. 1
Opened TS demuxer, audio: 2000(pid 20), video: 10000002(pid 17)...POS=1504
VIDEO: MPEG2 1920x1080 (aspect 3) 29.970 fps 20000.0 kbps (2500.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
No accelerated IMDCT transform found
AC3: 2.0 (stereo) 48000 Hz 192.0 kbit/s
Unimplemented resampler for mode 0x2 -> 6 channels conversion - Contact MPlayer
developers!
Unimplemented resampler for mode 0x2 -> 5 channels conversion - Contact MPlayer
developers!
Unimplemented resampler for mode 0x2 -> 4 channels conversion - Contact MPlayer
developers!
Unimplemented resampler for mode 0x2 -> 3 channels conversion - Contact MPlayer
developers!
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 1920 x 1080 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/6ch/s16le...
AF_pre: 48000Hz/2ch/s16le
AO: [oss] 48000Hz 6ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/6ch/s16le...
Starting playback...
VDec: vo config request - 1920 x 1080 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1920x1080 => 1920x1080 Planar YV12
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
A: 0.6 V: 0.6 A-V: 0.031 ct: 0.041 22/ 22 70% 11% 1.3% 0 0 74%
Exiting... (Quit)

Attachments (1)

mplayer-1.0_pre7-stereo_to_6c.patch (928 bytes ) - added by dack@… 18 years ago.
Accelerated stereo to 6 channels converter

Download all attachments as: .zip

Change History (5)

comment:1 by dack@…, 18 years ago

Note - with -ao alsa, the un-accelerated conversion uses a LOT of CPU (enough to
bring an HDTV mpeg ts to a grinding halt on an althon XP 3200+)

by dack@…, 18 years ago

Accelerated stereo to 6 channels converter

comment:2 by dack@…, 18 years ago

Sends stereo audio to front L/R.

comment:3 by Dominik 'Rathann' Mierzejewski, 18 years ago

Cc: Dominik 'Rathann' Mierzejewski added

$ mplayer -channels 6 Pioneer\ Demo.ts
MPlayer 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
[...]

You seem to be using a badly miscompiled version of MPlayer. Please retry with
current CVS.

comment:4 by dack@…, 18 years ago

Resolution: invalid
Status: newclosed

whoops - works fine when you compile with optimizations on

:)

Note: See TracTickets for help on using tickets.