Page 1 of 1

Subsonic showing double the duration of 64k MP3s

PostPosted: Sun Oct 11, 2015 10:30 pm
by carlosdanger
I have some 64k radio shows encoded in 64k bitrate that consistently show exactly double the actual length of audio file. The second half of the files is not seekable. standalone players like vlc show the correct duration. I have subsonic server installed in ubuntu 14.04. I am using the default transcoding commands. The error occurs in both android players as well as web player. Any ideas why this would happen? It seems 32 bit recordings of the same shows get the correct duration.

Re: Subsonic showing double the duration of 64k MP3s

PostPosted: Thu Oct 15, 2015 9:02 am
by cclecle
Where are your files from ?
can you check file duration with "ffmpeg -i YOURFILE" ?
Google search:
http://superuser.com/questions/607703/wrong-audio-duration-with-ffmpeg
http://stackoverflow.com/questions/29217273/ffmpeg-is-doubling-audio-length-when-extracting-from-video
Also, did you tried using system ffmpeg/lame instead of included one ?

Re: Subsonic showing double the duration of 64k MP3s

PostPosted: Sat Oct 17, 2015 4:14 pm
by carlosdanger
cclecle wrote:Where are your files from ?
can you check file duration with "ffmpeg -i YOURFILE" ?
Google search:
http://superuser.com/questions/607703/wrong-audio-duration-with-ffmpeg
http://stackoverflow.com/questions/29217273/ffmpeg-is-doubling-audio-length-when-extracting-from-video
Also, did you tried using system ffmpeg/lame instead of included one ?


I tried file duration with ffmpeg command. It shows the correct time time for me. I tried system ffmpeg by symlinking to them in /var/subsonic/transcode. Still no luck.
Here is a small 10 sec segments of an MP3 that gets incorrect duration.
https://www.dropbox.com/s/so1eejcwroru37t/test.mp3?oref=e