Re: Playing 8-bit raw Audio with mplayer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



On Sat, Aug 22, 2009 at 05:22:58PM -0500, Martin McCormick wrote:
> This works for sure but:
> 
> mplayer -quiet -rawaudio samplesize=1:channels=1:rate=8000 -demuxer rawaudio \
> /tmp/rawaudio.tmp
> 
> 	I did discover an interesting little bug that is either
> a misunderstanding on my part or an off-by-one situation.
> 
> 	If you listen to the dump with headphones or a good pair
> of speakers, you can hear a rhythmic throbbing effect with a
> rate of about 1 throb per second. It reminds me of the effect
> you get when the tape guides on a tape machine are allowing the
> tape to skew a little so the movement over the head is not
> perfectly horizontal. You almost don't notice it but it is there
> at times and somewhat annoying.
> 
> 	It made me wonder if the codec was feeding audio that
> was being sampled a little faster than it should be.
> 
> 	I changed the sample rate to 8001 and the throb effect
> doubled in speed, telling me that this was the problem but I had
> gone in the wrong direction.

Try explicitly resampling to 48000 with lavcresample, maybe whatever
ALSA or your soundcard do to it is the issue.
_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux