[MPlayer-users] no sound from mplayer but sound from vlc and ffplay(ffmpeg) works

Antonio Olivares olivares14031 at yahoo.com
Tue Feb 21 16:16:41 EET 2023


 On Monday, February 20, 2023 at 04:08:21 PM CST, Reimar Döffinger <reimar.doeffinger at gmx.de> wrote: 






> On 15 Feb 2023, at 15:24, Antonio Olivares <olivares14031-at-yahoo.com at ffmpeg.org> wrote:
> 
> AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
> Video: no video
> Starting playback...
> A: 129.4 (02:09.3) of 129.4 (02:09.3) ??,?%

No errors, so I guess it is working.
Need to check alsamixer or so?
And the right device etc, etc.
ffplay uses sdl I think, you can use -ao sdl in MPlayer as well (if it was compiled in).
_______________________________________________
MPlayer-users mailing list
MPlayer-users at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

Dear Sir,

Not working.  I have successfully updated to latest via svn.  Now compilation succeeds, but no sound. 

olivares at raspberrypi:~/Downloads/mplayer $ svn update
Updating '.':
U    configure
U    libmpcodecs/ad_spdif.c
Updated to revision 38412.

...
stream/realrtsp/rmff.o stream/realrtsp/sdpplin.o stream/realrtsp/xbuffer.o libmpcodecs/vd_mpng.o libmpcodecs/vf_pp.o stream/stream_pvr.o libmpcodecs/ad_realaud.o libmpcodecs/vd_realvid.o stream/cache2.o stream/frequencies.o stream/stream_tv.o stream/tv.o stream/tvi_dummy.o stream/tvi_v4l2.o stream/audio_in.o sub/unrar_exec.o stream/stream_vcd.o libmpcodecs/vd_xanim.o osdep/shmem.o ffmpeg/libpostproc/libpostproc.a ffmpeg/libavfilter/libavfilter.a ffmpeg/libavformat/libavformat.a ffmpeg/libavcodec/libavcodec.a ffmpeg/libswscale/libswscale.a ffmpeg/libswresample/libswresample.a ffmpeg/libavutil/libavutil.a -Wl,--version-script,binary.ver -Wl,-z,noexecstack -ffast-math -lncurses -lpng -lz -ljpeg -lgif -lasound -ldl -lpthread -lfreetype -lfontconfig -lfribidi -lz -lxml2 -lpthread -ldl -rdynamic -lm
olivares at raspberrypi:~/Downloads/mplayer $ sudo make install
install -d /usr/local/bin /usr/local/etc/mplayer /usr/local/lib
install -m 755 -s mencoder /usr/local/bin
install -d /usr/local/share/man/man1
install -m 644 DOCS/man/en/mplayer.1 /usr/local/share/man/man1/
cd /usr/local/share/man/man1 && ln -sf mplayer.1 mencoder.1
install -m 755 -s mplayer /usr/local/bin


olivares at raspberrypi:~/Music $ mplayer Tchaikovsky\ -\ The\ Nutcracker\ Suite\ -\ „\ Marche\ “\ \(Accordion\)-01ZR7QNREf8.ogg
MPlayer SVN-r38410-10 (C) 2000-2023 MPlayer Team

Playing Tchaikovsky - The Nutcracker Suite - „ Marche “ (Accordion)-01ZR7QNREf8.ogg.
libavformat version 60.4.100 (internal)
libavformat file format detected.
[lavf] stream 0: audio (vorbis), -aid 0, -alang eng
Load subtitles in ./
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 60.4.100 (internal)
AUDIO: 48000 Hz, 2 ch, floatle, 128.0 kbit/4.17% (ratio: 16000->384000)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Video: no video
Starting playback...
A: 129.4 (02:09.3) of 129.4 (02:09.3) ??,?%


Exiting... (End of file)

olivares at raspberrypi:~/Downloads $ cat /tmp/alsa-info.txt.p3ibOzy4SA
name=root&type=33&description=/tmp/alsa-info.txt&expiry=&s=Submit+Post&content=
!!################################
!!ALSA Information Script v 0.4.60
!!################################

!!Script ran on: Tue Feb 21 14:12:08 UTC 2023


!!Linux Distribution
!!------------------




!!DMI Information
!!---------------

Manufacturer:      
Product Name:      
Product Version:   


!!Kernel Information
!!------------------

Kernel release:    5.15.84-v8+
Operating System:  GNU/Linux
Architecture:      aarch64
Processor:         unknown
SMP Enabled:       No


!!ALSA Version
!!------------

Driver version:     k5.15.84-v8+
Library version:    1.2.4
Utilities version:  1.2.4


!!Loaded ALSA modules
!!-------------------

snd_bcm2835
snd_usb_audio
vc4
vc4


!!Sound Servers on this system
!!----------------------------


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [Headphones     ]: bcm2835_headpho - bcm2835 Headphones
                      bcm2835 Headphones
 1 [Plus           ]: USB-Audio - IPEVO Ziggi-HD Plus
                      IPEVO Inc. IPEVO Ziggi-HD Plus at usb-0000:01:00.0-1.4.5, high speed
 2 [vc4hdmi0       ]: vc4-hdmi - vc4-hdmi-0
                      vc4-hdmi-0
 3 [vc4hdmi1       ]: vc4-hdmi - vc4-hdmi-1
                      vc4-hdmi-1


!!PCI Soundcards installed in the system
!!--------------------------------------



!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!--------------------------------------------------------



!!Modprobe options (Sound related)
!!--------------------------------

snd_pcsp: index=-2
snd_usb_audio: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_bcm2835: enable_compat_alsa=0
snd_bcm2835: enable_hdmi=1


!!Loaded sound module options
!!--------------------------

!!Module: snd_bcm2835
-ne     
enable_compat_alsa : N
-ne     
enable_hdmi : Y
-ne     
enable_headphones : Y
-ne     
force_bulk : N

!!Module: snd_usb_audio
-ne     
autoclock : Y
-ne     
delayed_register : (null),(null),(null),(null),(null),(null),(null),(null)
-ne     
device_setup : 0,0,0,0,0,0,0,0
-ne     
enable : Y,Y,Y,Y,Y,Y,Y,Y
-ne     
id : (null),(null),(null),(null),(null),(null),(null),(null)
-ne     
ignore_ctl_error : N
-ne     
implicit_fb : N,N,N,N,N,N,N,N
-ne     
index : -2,-1,-1,-1,-1,-1,-1,-1
-ne     
lowlatency : Y
-ne     
pid : -1,-1,-1,-1,-1,-1,-1,-1
-ne     
quirk_alias : (null),(null),(null),(null),(null),(null),(null),(null)
-ne     
quirk_flags : 0,0,0,0,0,0,0,0
-ne     
skip_validation : N
-ne     
use_vmalloc : Y
-ne     
vid : -1,-1,-1,-1,-1,-1,-1,-1

!!Module: vc4
-ne     
fkms_max_refresh_rate : 85
-ne     
force_hotplug : 0
-ne     
tv_norm : (null)

!!Module: vc4
-ne     
fkms_max_refresh_rate : 85
-ne     
force_hotplug : 0
-ne     
tv_norm : (null)


!!USB Mixer information
!!---------------------------
--startcollapse--

USB Mixer: usb_id=0x17780221, ctrlif=3, ctlerr=0
Card: IPEVO Inc. IPEVO Ziggi-HD Plus at usb-0000:01:00.0-1.4.5, high speed
  Unit: 5
    Control: name="Mic Capture Volume", index=0
    Info: id=5, control=2, cmask=0x0, channels=1, type="S16"
    Volume: min=-22656, max=3000, dBmin=-8850, dBmax=1171
  Unit: 5
    Control: name="Mic Capture Switch", index=0
    Info: id=5, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
--endcollapse--


Any ideas?


Thanks && Best Regards,


Antonio 


More information about the MPlayer-users mailing list