HairyBizRat 21 Posted November 30, 2024 Posted November 30, 2024 everything seemed to be fine a few days ago so im sure its just a coincidence that i subscripted to preimere and now have lip sync issues but the timing is suspect. all the videos i play start off fine but have major lips sync issues as the show goes on attached are my logs , sane happens on my Roku TV and on my Android TV ive tried attempt playback correction many times but doesnt help embyserver.txt
HairyBizRat 21 Posted December 1, 2024 Author Posted December 1, 2024 closing topic as its impacting morm than just Roku so creating under general
HairyBizRat 21 Posted December 1, 2024 Author Posted December 1, 2024 hi Lets start with the Lip Sync issues, the shows play fine for the first 10mins or so and then slowly get out of sync and really bad that its unwatchable.Using the playback correction has no effect and restarting the show has no effect. this happens on all shows im watching and on both my Roku TV and Android TV. Has to be a coincidence but it started the same day i subscribed to Emby Premiere , imknow that sounds silly but its true. second issue is, skip intros doesnt show up. ive enabled it, refreshed my data and done a full scan and still nothing. i did have Emby Premiere for 1 month back in the summer and skip intros worked so not sure why its not working now. ive attached logs embyserver.txt
visproduction 315 Posted December 1, 2024 Posted December 1, 2024 (edited) HBR, Here is my guess. Encoding video apparently syncs audio on keyframes, (iframes) which is often sent to iframes ever 300 which becomes every 10 seconds. If the original media is shot at one FPS (frames per second) and converted digitally to another for playback, then audio sync can also get out. For example The Agency might have been shot on 30 fps digital which converts fine to US HD progressive playback, but it needs to be converted to 25fps for UK HD playback. Hence, different original blu-ray and broadcast media is made for UK and US. It even gets more complex if the original was shot with film at 24fps. If the original media has a high bitrate with iframes every 30 instead of a typical media compression with iframes every 300, that would help audio sync. But if the original media is set to an iframe rate of every 10 seconds (300 frames) then encoding from that can cause sync problems. Audio can slip past the point of any sync correction, several minutes into the encoded version. Setting the iframe limit lower to every 30 frames for encoding might make a difference. I am not sure there is such a detailed setting available with Emby. Normally, an overall bitrate limit slides iframe creation up and down, automatically. You may need a ffmpeg detailed custom command to make such a change. I am not familiar if that is possible. I don't use Emby encoding. Another method would be to separate the audio on it's own track and try to add it back in as an extra audio track to video that has also already been encoded and converted for playback. You would need a video editor for this. That would probably mean the video would need to be converted no larger than 1080P around 2400 kpbs and in h.264 and the audio .mp3 or .aac at as high bitrate as you like. This could solve it, but I don't think anyone is ready to do this for each media, since everyone likes the encoding to be done on the fly and wants to keep 4K media. Proper hardware encoding card and a fast server to keep up, would allow a more iframes, set to around 30 (1 per second). This would probably also improve the audio sync. see: https://help.encoding.com/knowledge-base/article/how-to-help-prevent-audio-video-sync-issues/ Edited December 1, 2024 by visproduction 1
rbjtech 5284 Posted December 2, 2024 Posted December 2, 2024 (edited) A very detailed reason why sync is an issue from @visproduction above - but in summary, you want to try and play media back at the frame rate it was broadcast. I see from the log - you have UK (25 fps) content as well as 23.976 (film) content. On the clients - if they are devices as opposed to built it - then you should be able to set 'Match frame rate' in Emby. This will then natively play the content at the correct frame rate (video) and thus Audio will be in sync. As explained above, with video, you can always drop/add frames - but with Audio you (generally) cannot do this without it being noticed. In summary, try looking at the settings in the Roku and Android TV apps - they should be able to fix the issue for you. re skip intro I see in the log it is working out the intro's - so assuming this is finished - then ensure it is turned ON in the clients as the default is off. Both AndroidTV (and I assume RokuTV) have the nice 'notification' the Intro was skipped (if set to auto), so either way, it should be obvious it is working. Edited December 2, 2024 by rbjtech Skip Intro 1
HairyBizRat 21 Posted December 2, 2024 Author Posted December 2, 2024 I’ll check the source files as far as the app setting there is no framrate playback setting in my google tv I just checked under Playback Settings. I do think I saw that in Roku but will double check there
rbjtech 5284 Posted December 2, 2024 Posted December 2, 2024 3 minutes ago, HairyBizRat said: I’ll check the source files as far as the app setting there is no framrate playback setting in my google tv I just checked under Playback Settings. I do think I saw that in Roku but will double check there 52 minutes ago, rbjtech said: On the clients - if they are devices as opposed to built it .. If it's built in (embedded), then some some odd reason, they don't have that setting...
Luke 42079 Posted December 9, 2024 Posted December 9, 2024 HI, has this helped? Are you still having an issue with this?
HairyBizRat 21 Posted December 9, 2024 Author Posted December 9, 2024 Other files are working so appears to be just this specific series . Maybe how it was encoded 1
Luke 42079 Posted December 10, 2024 Posted December 10, 2024 5 hours ago, HairyBizRat said: Other files are working so appears to be just this specific series . Maybe how it was encoded OK thanks for the update.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now