Buffering on mp3, not FLAC - Android
Hello,
First, awesome project. Thank you sindre.
Managed to set up server (Windows 7) / android client (CDMA HTC Desire, 2.1 stock) - app/server are latest version as of yesterday...
Read many threads about transcoding, one very helpful one in particular was here: http://forum.subsonic.org/forum/viewtop ... c&start=60
Also, for 1st time setup, I think the FAQ should include a couple other pointers that I had to dig around the forums for (or, more 'stickied' pointers perhaps), but that's for another thread
Got FLAC transcoding to OGG and it works fine most times.
MP3, however, still pauses. I've tried all bitrates on the Android. Even w/full signal, it stops around 5 seconds into a song.
Tried transcoding MP3 > OGG, and it still stops and must re-buffer anywhere from 5-20 seconds into a song (VBR MP3 source, haven't tried any CBR files yet as I don't have many).
I find it strange that transcoding FLAC to OGG works nearly perfect, while MP3, or even transcoded MP3 suffers. In one thread (can't find it now) I recall reading something about Android (especially HTC w/Sense) having issues with a read buffer that's too small, and rooting enables some form of workaround. My phone's not rooted, nor do I intend to root it (at least, not anytime soon).
Just looking to see if there is any way to either fix the app to buffer a bit more on MP3 (it seems to buffer more data when FLAC > OGG is played...), or otherwise tweak this to work better. It's a great bit of programming, I'm just hopeful it can be fixed to operate more smoothly...
Tried changing quality setting (OGG) to 1 (don't want to dare try 0 ...yet...), and bitrate settings with little effect. Pausing still occurs on MP3 files, transcoded or not - - any help appreciated!!!
---
Transcoder settings:
FLAC > OGG:
oggenc2 --quiet --quality=1 -o - %s -s 1
MP3 > OGG:
ffmpeg -v 0 -i %s -f ogg -vn -acodec libvorbis -ar 44100 -aq 1 -ac 2 -map_meta_data 0:0 -
First, awesome project. Thank you sindre.
Managed to set up server (Windows 7) / android client (CDMA HTC Desire, 2.1 stock) - app/server are latest version as of yesterday...
Read many threads about transcoding, one very helpful one in particular was here: http://forum.subsonic.org/forum/viewtop ... c&start=60
Also, for 1st time setup, I think the FAQ should include a couple other pointers that I had to dig around the forums for (or, more 'stickied' pointers perhaps), but that's for another thread
Got FLAC transcoding to OGG and it works fine most times.
MP3, however, still pauses. I've tried all bitrates on the Android. Even w/full signal, it stops around 5 seconds into a song.
Tried transcoding MP3 > OGG, and it still stops and must re-buffer anywhere from 5-20 seconds into a song (VBR MP3 source, haven't tried any CBR files yet as I don't have many).
I find it strange that transcoding FLAC to OGG works nearly perfect, while MP3, or even transcoded MP3 suffers. In one thread (can't find it now) I recall reading something about Android (especially HTC w/Sense) having issues with a read buffer that's too small, and rooting enables some form of workaround. My phone's not rooted, nor do I intend to root it (at least, not anytime soon).
Just looking to see if there is any way to either fix the app to buffer a bit more on MP3 (it seems to buffer more data when FLAC > OGG is played...), or otherwise tweak this to work better. It's a great bit of programming, I'm just hopeful it can be fixed to operate more smoothly...
Tried changing quality setting (OGG) to 1 (don't want to dare try 0 ...yet...), and bitrate settings with little effect. Pausing still occurs on MP3 files, transcoded or not - - any help appreciated!!!
---
Transcoder settings:
FLAC > OGG:
oggenc2 --quiet --quality=1 -o - %s -s 1
MP3 > OGG:
ffmpeg -v 0 -i %s -f ogg -vn -acodec libvorbis -ar 44100 -aq 1 -ac 2 -map_meta_data 0:0 -
- Code: Select all
[7/12/11 5:59:27 PM CDT]
DEBUG
InputStreamReaderThread
(c:\subsonic\transcode\ffmpeg) Stream #0.0: Audio: vorbis, 44100 Hz, 2 channels, s16, 64 kb/s
[7/12/11 5:59:27 PM CDT]
DEBUG
InputStreamReaderThread
(c:\subsonic\transcode\ffmpeg) Stream mapping:
[7/12/11 5:59:27 PM CDT]
DEBUG
InputStreamReaderThread
(c:\subsonic\transcode\ffmpeg) Stream #0.0 -> #0.0
[7/12/11 5:59:27 PM CDT]
DEBUG
InputStreamReaderThread
(c:\subsonic\transcode\ffmpeg) Press [q] to stop encoding
[7/12/11 5:59:27 PM CDT]
DEBUG
InputStreamReaderThread
(c:\subsonic\transcode\ffmpeg) size= 2840kB time=256.26 bitrate= 90.8kbits/s
[7/12/11 5:59:28 PM CDT]
DEBUG
InputStreamReaderThread
(c:\subsonic\transcode\ffmpeg)
[7/12/11 5:59:28 PM CDT]
DEBUG
InputStreamReaderThread
(c:\subsonic\transcode\ffmpeg) video:0kB audio:2399kB global headers:4kB muxing overhead 18.203760%