Finance

Finance



SearchSearch   Users   Registration   Entrance
Today: 11.08.2026 - 18:09:56
Pages:  1  

x264 audio sync problem

MessageAuthor

hi all, ive encoded a film with the following x264_663f_ptw32_hrd_pulldown_aq DirectShowSource("C:\Documents and Settings\1\Desktop\FEATURE.rebuilt.EVO",fps=23.98,audio=false) #deinterlace #crop BicubicResize(1920,1080,0,0.5) # Bicubic (Neutral) #denoise #source=AssumeFPS(source,24000,1001) ConvertToYV12() x264.exe --threads 2 --thread-input --keyint 12 --min-keyint 4 --vbv-maxrate 28000 --vbv-init 1.0 --vbv-bufsize 14745 --mvrange 511 --level 4.1 --nal-hrd --bframe 2 --bime --weightb --ref 4 --mixed-refs --direct auto --deblock -1:-1 --bitrate 11129 --pass 1 --stats "x264_stat.log" --qcomp 0.75 --ipratio 1.10 --pbratio 1.10 --partitions "all" --8x8dct --me "hex" --subme 5 --aud --sar 1:1 --deadzone-intra 6 --deadzone-inter 6 --progress -o lakehouse.264 h:\l.avs everytime i mux with sonic scenarist 4.1 the audio is allways miles in front of the video! anbody tell me what im doing wrong thanks




jwocky

Developer


Statistics:
Messages: 247
Registration: 04.07.2002
10.10.23 - 04:38:04
Message # 1
RE: x264 audio sync problem

use the build labeled x264test.... should fix the problem im also assuming your command line has --pulldown 32 in it too?




nicom3

Developer


Statistics:
Messages: 823
Registration: 02.28.2002
10.10.23 - 04:45:24
Message # 2
RE: x264 audio sync problem

trahald m8 i got x264_663g_test build of x264 and used the --pulldown 32 code. im still having the same problem with the audio playing in front of the video. i tried to mux the video and audio with mkv merge and i still got the same results, the audio is about 10secs in front of the video. I have seen in other post that ppl put the frame count into the avs, but i dont.does this matter that much? i have used cinevision but the resulting video has a jerk all the way thorough the film, but the audio does match. i think it has to do with the frame rate. cinevision said the video was 29.97fps!and it encodeed the video to 29.97fps please help me im starting to pull my hair out!!!




E368Dude

Developer


Statistics:
Messages: 42
Registration: 08.14.2003
10.10.23 - 04:52:27
Message # 3
RE: x264 audio sync problem

just a little update,ive just encoded the same video, but ive removed --thread-input and changed --threads 2 to --threads 3. ive also changed --keyint 12 --min-keyint 4 --ref 3 and the video now seems to be in sync!! it was only a 5min test i did but im now doing a full 2hour film!!




Crazy 13immer

Developer


Statistics:
Messages: 3,436
Registration: 12.03.2003
10.10.23 - 04:58:38
Message # 4
RE: x264 audio sync problem

well.. i was thinking its the fps issue.. x264 is honoring avisynth @ 23.976 (which im not sure if directshowsource on an evo will output 23.976?) and cinevision is ignoring fps and doing 29.97 so thats why it was syncing. However, the fps difference should show even on 5 mins so im a bit confused. let me know how it goes musky




nmadd

Developer


Statistics:
Messages: 66
Registration: 11.10.2002
10.10.23 - 05:08:22
Message # 5
RE: x264 audio sync problem

trahald m8, done another 2 hour film and after 5mis or so the sound goes out! im going to demux vc1 stream from evo and see if that changes anything, will let you know if that works cheers




dazed^

Developer


Statistics:
Messages: 87
Registration: 05.29.2003
10.10.23 - 05:14:10
Message # 6
RE: x264 audio sync problem

got it!!! i demuxed the vc1 stream from the evo and added a framecount muxed withscenarist and bingo the sound stays in sync!!!!!!!!!!!:)




TheNeek

Developer


Statistics:
Messages: 5,708
Registration: 01.02.2003
10.10.23 - 05:24:38
Message # 7
RE: x264 audio sync problem
Next topic: Recording mandolin...
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants

inside: XenForo Ltd 7.2.4