Progressive audio de-sync when watching video

An iOS Subsonic Client

Moderators: rich600, moderators

Progressive audio de-sync when watching video

Postby siberian » Tue Jan 03, 2017 7:02 am

Hi! AVSub is great but one thing I have never been able to get it to do well is have audio and video sync.

Any video will start off well but as time goes on the audio drifts away from the video until its so out of sync you have to go back to main screen and play the video again (skipping ahead to where you left off). This re-syncs the audio but then it starts its drift again.

When I watch the same video via subsonic webUI everything is fine, its only in AVSub that this happens.

Ive controlled for bandwidth (tested on a 300Mbps line and an 11Mbps line), platform (iPad Air and iPad 2 Air), server (Two different subsonic systems) and OS (iOS 9 and 10) and the only constant is AVSub.

Anyone have any ideas of what settings I may have set incorrectly that would cause the drift?

Tx!
siberian
 
Posts: 2
Joined: Tue Jan 03, 2017 6:57 am

Re: Progressive audio de-sync when watching video

Postby rich600 » Wed Jan 04, 2017 4:29 pm

Hi,

drift normally happens due to the ffmpeg transcoding command that Subsonic is using. What have you setup in transcoders in the Subsonic settings?

Does this happen is you cache a video locally then play it back also or just streaming?

Cheers
Rich
rich600
 
Posts: 118
Joined: Tue Aug 12, 2014 9:54 pm

Re: Progressive audio de-sync when watching video

Postby siberian » Wed Jan 04, 2017 11:16 pm

Hi Rich,
Here are the current settings, I think they are default out of the box.

Downsample:
ffmpeg -i %s -map 0:0 -b:a %bk -v 0 -f mp3 -

Live Streaming:
ffmpeg -ss %o -t %d -i %s -s %wx%h -v 0 -b:v %bk -maxrate %bk -bufsize 256k -flags -global_header -map 0:0 -map 0:%k -ac 2 -f mpegts -c:v libx264 -preset superfast -c:a aac -b:a 96k -strict -2 -threads 0 -copyts -

I don't have any filetype transcoding setup for video (only mp3)

Caching has never really worked for me. I have cache enabled in UX but nothing ever goes into the cache. Currently Read is on, Cache While playing is on and size is 4GB. I've tried playing videos from both Video area and Media area.

Not sure if it makes a difference but I always access my videos from Media, not Videos.
siberian
 
Posts: 2
Joined: Tue Jan 03, 2017 6:57 am

Re: Progressive audio de-sync when watching video

Postby rich600 » Thu Jan 26, 2017 10:11 pm

Hi

sorry for the late reply.

Try the recommended video transcoding setup as detailed on the AVSub website - http://www.avsubapp.co.uk/faqs.html#videoFormat

Cheers
Rich
rich600
 
Posts: 118
Joined: Tue Aug 12, 2014 9:54 pm


Return to AVSub

Who is online

Users browsing this forum: No registered users and 1 guest