WilD FlY | 2 Mar 2011 04:08
Picon

configure script error[trunk version]

Good day !

Please fix following problem (cut from configure script):
--------------- current -- line 2891 -------------------
  echocheck "ARMv6t2 (SIMD instructions)"
  if test $_armv6t2 = "auto" ; then
    _armv6t2=no
    inline_asm_check '"movt r0, #0"' && _armv6t2=yes
  fi
  echores "$_armv6"
-------------- correct version -----------------------
  echocheck "ARMv6t2 (SIMD instructions)"
  if test $_armv6t2 = "auto" ; then
    _armv6t2=no
    inline_asm_check '"movt r0, #0"' && _armv6t2=yes
  fi
  echores "$_armv6t2"
I spent half of hour trying to understand how my ARM CPU can support both
set of instructions. Thanks.
Rashkae | 2 Mar 2011 04:56

Bug: Poor quality decoding of ac3 audio

I'm uploading some samples to the upload.mplayerhq.hu as 
ac3_decode_noise.tar.bz

I'm sorry for the very large file size. I did not want to cut the audio 
samples to avoid introducing  audio errors that way (since the error I'm 
reporting does sound a little like a 'cut' to my untrained ear)

Audio 'click' noise when mplayer decodes dvd audio.

In the above samples, when 3.ac3 is played with mplayer, an audio 
'click' can be heard at 157s.

3.ac3 was was created with mplayer -dumpaudio -dumpfile 3.ac3 3.vob

I've observed the same audio noise on several television dvd's when 
playing with svn mplayer for various releases the past year.  When the 
audio is decoded with a52dec, the output is perfect, without the extra 
clicks.

mplayer.ogg was created by:
mplayer 3.ac3 -ao pcm:file=3.wav
normalize-audio --peak 3.wav
oggenc -q 6 3.wav

a52dec.ogg was created by:
a52dec -o wav 3.ac3 > 3.wav
normalize-audio --peak 3.wav
oggenc -q 6 3.wav

You can clearly hear the difference if you play these two files with:
(Continue reading)

Reimar Döffinger | 2 Mar 2011 08:48
Picon
Picon

Re: Bug: Poor quality decoding of ac3 audio

On Tue, Mar 01, 2011 at 10:56:42PM -0500, Rashkae wrote:
> I'm uploading some samples to the upload.mplayerhq.hu as
> ac3_decode_noise.tar.bz
> 
> I'm sorry for the very large file size. I did not want to cut the
> audio samples to avoid introducing  audio errors that way (since the
> error I'm reporting does sound a little like a 'cut' to my untrained
> ear)
> 
> Audio 'click' noise when mplayer decodes dvd audio.

I would guess that the audio is maybe badly mixed and this causes clipping.
-af volume would probably fix it (maybe it needs some additional filters like
-af volume,format=floatne).
Reimar Döffinger | 2 Mar 2011 08:55
Picon
Picon

Re: configure script error[trunk version]

On Wed, Mar 02, 2011 at 05:08:12AM +0200, WilD FlY wrote:
> Good day !
> 
> Please fix following problem (cut from configure script):
> --------------- current -- line 2891 -------------------
>   echocheck "ARMv6t2 (SIMD instructions)"
>   if test $_armv6t2 = "auto" ; then
>     _armv6t2=no
>     inline_asm_check '"movt r0, #0"' && _armv6t2=yes
>   fi
>   echores "$_armv6"
> -------------- correct version -----------------------
>   echocheck "ARMv6t2 (SIMD instructions)"
>   if test $_armv6t2 = "auto" ; then
>     _armv6t2=no
>     inline_asm_check '"movt r0, #0"' && _armv6t2=yes
>   fi
>   echores "$_armv6t2"
> I spent half of hour trying to understand how my ARM CPU can support both
> set of instructions. Thanks.

Fixed in SVN r32996.
Please use svn diff though to show the correct changes, the above
is very hard to understand what you changed.
Carl Eugen Hoyos | 2 Mar 2011 12:44
Picon

Re: Bug: Poor quality decoding of ac3 audio

Rashkae <rashkae <at> tigershaunt.com> writes:

> Audio 'click' noise when mplayer decodes dvd audio.
> 
> In the above samples, when 3.ac3 is played with mplayer, an audio 
> 'click' can be heard at 157s.

Assuming you mean before a man says "how much more time do you need", I do not
hear any issue with current MPlayer svn and 3.ac3.
(But even for my not very sensible ears, both mplayer.ogg and a52dec.ogg
sound horrible.)

For future bug-reports:
Please cut such samples with dd and add complete, uncut output of MPlayer when
playing the sample.

Carl Eugen
Rashkae | 2 Mar 2011 16:20

OT: Was: Re: Bug: Poor quality decoding of ac3 audio


> Assuming you mean before a man says "how much more time do you need", I do not
> hear any issue with current MPlayer svn and 3.ac3.
> (But even for my not very sensible ears, both mplayer.ogg and a52dec.ogg
> sound horrible.)
>    
The only processing that would make those ogg's sound 'horrible' is the 
normalize --peak I applied, which amplifies them by about 11db.

On my system, the only difference that makes is I don't have to crank up 
my volume up higher when playing video that was downmixed from 5.1.  
Otherwise, I can't hear a difference with / without the amplification.  
Maybe your audio setup is having trouble when the audio level is close 
to maximum?
Rashkae | 2 Mar 2011 19:42

Re: Bug: Poor quality decoding of ac3 audio

On 11-03-02 02:48 AM, Reimar Döffinger wrote:
> I would guess that the audio is maybe badly mixed and this causes 
> clipping.
> -af volume would probably fix it (maybe it needs some additional filters like
> -af volume,format=floatne).
>    

Unfortunately, that did not work (assuming you mean floatle).  However, 
on further testing, the noise is introduced by the a52 downmixing.

If I output to wav with -channels 6, the audio sounds clean.  I can then 
downmix that wav file with mplayer to 2 channels without trouble.

However, downmixing the ac3 directly from mplayer still produces the 
glitch.  I'll see if I can find a better sound sample, since it seems 
it's hard to hear in the one I provided.
Vladimir Mosgalin | 2 Mar 2011 20:07

Re: Bug: Poor quality decoding of ac3 audio

Hi Rashkae!

 On 2011.03.02 at 13:42:33 -0500, Rashkae wrote next:

> Unfortunately, that did not work (assuming you mean floatle).
> However, on further testing, the noise is introduced by the a52
> downmixing.
> 
> If I output to wav with -channels 6, the audio sounds clean.  I can
> then downmix that wav file with mplayer to 2 channels without
> trouble.

I didn't check this sample, but some ac3 streams which have too loud
sounds can get cracking and other artifacts when downmixing due to some
overflows, the solution is to use
-channels 6 -af volume=-10,pan=.. (downmixing string)
or -channels 6 -af volume=-10,hrtf if you are downmixing for headphones.

--

-- 

Vladimir
Mahdiyar Noorbala | 2 Mar 2011 23:48
Picon

why can I watch it with gnome-mplayer but not with mplayer?

Hi

This should be a very elementary question. I have a URL like
http://SERVERNAME/file.wmv. When I enter it in "Open Location" in
gnome-mpLayer it connects to the server and plays the stream. But when
I run

mplayer "URL"

in the terminal I get a crazy endless loop of

Playing URL.
Resolving SERVERNAME for AF_INET6...
Couldn't resolve name for AF_INET6: SERVERNAME
Resolving SERVERNAME for AF_INET...
Connecting to server SERVERNAME[xxx.xx.xxx.xx]: 80...
Cache size set to 320 KBytes

I think my usage of mplayer in the terminal is correct, since I can
watch other URL's. It's only this specific one that doesn't work (I am
not authorized to write the URL because they want it to be
private!!!).

So my question is: Does anyone know why I get this loop? Or is it
possible to see how mplayer is called by gnome-mplayer and what output
messages it generates?

I use gnome-mplayer 0.9.9.2 and mplayer 1.0rc4-4.4.5 on Ubuntu 10.10.

Thanks,
(Continue reading)

Kevin DeKorte | 2 Mar 2011 23:53
Picon

Re: why can I watch it with gnome-mplayer but not with mplayer?


On 03/02/2011 03:48 PM, Mahdiyar Noorbala wrote:
> Hi
> 
> This should be a very elementary question. I have a URL like
> http://SERVERNAME/file.wmv. When I enter it in "Open Location" in
> gnome-mpLayer it connects to the server and plays the stream. But when
> I run
> 
> mplayer "URL"
> 

My guess is that the URL is a playlist... try this

mplayer -playlist "URL"

I would guess that would fix it.

Kevin
--

-- 
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1

Gmane