Nanonote video playback update
David Kuehling
dvdkhlng at gmx.de
Thu Apr 28 14:39:22 EDT 2011
BTW I noticed that the Nanonote can only natively play back audio at
44100 Hz sampling rate. The videos I encoded where at 48kHz, which
leads to very, very degraded audio quality due to some automatic
conversion being performed by the OSS audio subsystem. (I first thougt
it was the just the small speaker's quality).
You can fix that by appending -af resample=44100:0:1 to the mplayer
command line. I also uploaded new encodes with correct sampling rate:
http://mosquito.dyndns.tv/david/nanonote/bbb320.ogv
http://mosquito.dyndns.tv/david/nanonote/bbb.ogv
The most recent mplayer version in openwrt-packages.git drops OSS
support, since that is laggy and uses more CPU power, than just relying
on the native ALSA audio system. With ALSA 48kHz playback is just
impossible, so mplayer is inserting some audio filter (you should use
-af-adv force=2 to make sure it is not doing CPU-intensive resampling).
This also makes playback faster, since alsa seems to eat less CPU
cycles. I also changed the vorbis decoder to use optimizations that
make it much faster, just sacrificing a tiny bit of quality. The latest
version is here:
http://mosquito.dyndns.tv/~spock/openwrt/MPlayer_r33333-3_xburst.ipk
Now videos sized seem to 320x176 play back without problems, even at 30
FPS.
cheers,
David
--
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.en.qi-hardware.com/pipermail/discussion/attachments/20110428/ec8cb647/attachment.pgp>
More information about the discussion
mailing list