Author Topic: Video & Sound Sync  (Read 3722 times)

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Video & Sound Sync
« Reply #15 on: September 08, 2016, 11:07:46 PM »
Can we see your log file. The video and audio process does do some logging. Maybe it can tell us what is going on.

Offline ronp

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: Video & Sound Sync
« Reply #16 on: September 09, 2016, 03:44:44 PM »
Gil, yours plays just like mine. Maybe I am being too picky, but at the end of the video when the red bulb breaks you hear the sound before the bulb is actually dropped. The sound is out of sequence. If you play just the video it is timed correctly.

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Video & Sound Sync
« Reply #17 on: September 09, 2016, 04:11:38 PM »
The frames should never be more than 1 out of sequence. It can't be perfect because the video frame rate does not match the sequence frame rate so we have to be slightly early or late but never more than your frame interval. At 40 fps this is 25ms out. No one watching your show will notice.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Video & Sound Sync
« Reply #18 on: September 09, 2016, 04:23:18 PM »
Ok that was finally some specific information to let me know what you were seeing that you didn't like.  Yes I see that its not lining up right.  So I did a test.  I went to YouTube and found the same video.  I found a YouTube to MP4 online converter and created an MP4.  Then I created the same sequence as before but used the MP4 instead of an AVI.  It worked perfect.  So you  need to ditch the AVI.  Apparently the ffmpeg converter doesn't work perfect for AVI files.  Checkout how the MP4 performed.

https://youtu.be/c6dpNbz_a54

Offline ronp

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: Video & Sound Sync
« Reply #19 on: September 09, 2016, 06:27:59 PM »
Perfect, converted the AVI to MP4 using hand break and the timing is great. Thanks for your help.