OGG transcoding and content-length

Need help? Post your questions here.

Moderator: moderators

OGG transcoding and content-length

Postby rich600 » Tue Dec 15, 2015 1:04 pm

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
rich600
 
Posts: 141
Joined: Tue Aug 12, 2014 9:54 pm

Re: OGG transcoding and content-length

Postby daneren2005 » Thu Dec 17, 2015 5:26 pm

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
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: OGG transcoding and content-length

Postby rich600 » Fri Dec 18, 2015 12:10 pm

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
rich600
 
Posts: 141
Joined: Tue Aug 12, 2014 9:54 pm

Re: OGG transcoding and content-length

Postby daneren2005 » Fri Dec 18, 2015 3:32 pm

DSub just downloads until the end of transmission
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 16 guests