Page 1 of 1

OGG transcoding and content-length

PostPosted: Tue Dec 15, 2015 1:04 pm
by rich600
Hi,

I've setup transcoding for Ogg and have a problem with the estimated content-length calculated by Subsonic.

Sometimes it's accurate but most times it's over by about 15%, which causes my client to think there's more data to come. Even the Apple URL methods downloading the data time-out because they also think there's more data to come, when actually Subsonic has finished.

Is there any way to improve this?

Thanks
Rich

Re: OGG transcoding and content-length

PostPosted: Thu Dec 17, 2015 5:26 pm
by daneren2005
I'm not sure if anyone has a working ogg transcode line, but it doesn't really have anything to do with Subsonic since the server just passes the file to ffmpeg for transcoding. It is really a ffmpeg issue and probably depends on what version of ffmpeg you are using

Re: OGG transcoding and content-length

PostPosted: Fri Dec 18, 2015 12:10 pm
by rich600
Hi,

thanks for replying. Actually, I'm glad it was you who replied :-)

I'm having issues with a user transcoding to OGG. He's setup a transcoder in Subsonic and says it works fine in DSub, but not in AVSub (my iOS app). My app receives the estimated content length from Subsonic and doesnt stop trying the network until it gets that amount of data or times out.

How does DSub handle it?

Thanks
Rich

Re: OGG transcoding and content-length

PostPosted: Fri Dec 18, 2015 3:32 pm
by daneren2005
DSub just downloads until the end of transmission