Jump to content

Recommended Posts

tsunami1701
Posted

Hi there,

I have a movie with 2 audio tracks: italian and english.

The italian track is out of sync but only when the movie is played in Emby; I tried to play the movie with VLC and other players and the track is on sync.

Thanks!

Davide

 

These are the movie data:

image.thumb.png.b9de38418ea1f34f88821eed55afc134.png

 

These are the stats for nerds for the italian track

image.png.4d92f729370a96a4e040e6094eaf4faf.png

 

These are the nerd stats for the english track

image.png.9b6da2afc86cf692a46d6557744ccd9f.png

 

 

 

 

tsunami1701
Posted

Hi there,

here is the server log

I've started to play the movie with the italian track (the one out of sync) on 2024-01-22 19:23 for about 3 minutes, then I've played the same movie from the beginning with the english track for 3 minutes and then again 3 minutes from the beginning with italian track and 3 minutes with the english track.

I attach even the direct stream log but this is generated only when i play the movie with the english track.

Thanks!

 

embyserver.txtffmpeg-directstream-00a7e09e-1c5d-4c22-807d-669c11b86f77_1.txtffmpeg-directstream-00a7e09e-1c5d-4c22-807d-669c11b86f77_12.txt

Posted

Are you able to try Edge and see how that compares?

visproduction
Posted (edited)

ffmpeg log shows on 44 Mhz aac codec English uses Timebase 1/48000, but the Italian audio is encoded at 48 Mhz aac and uses ffmpeg Timebase 1/90000.  
See: https://stackoverflow.com/questions/43333542/what-is-video-timescale-timebase-or-timestamp-in-ffmpeg/

This ffmpeg auto settings, different for 44.1Mhz vs. 48MHz audio, might be the cause of the sync issue after ffmpeg encoding.

 

Edited by visproduction
  • Thanks 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...