Commentary & Webcam Footage Out Of Sync With Gameplay Video

njosey4740njosey4740 Website User Posts: 58

So basically the title explains it, i have potentially lost two videos because of this 

the gameplay is recorded with fraps 3.5.9, the commentary (my voice) is recorded with audacity and my webcam footage is recorded with logitech webcam software

Webcam: Logitech C922 Pro Stream Webcam

My Microphone: Stadium USBMIC1 (you can only get this microphone in australia)

Laptop Specs:

Cpu: Amd radeon a6-7310 with radeon r4 graphics

Graphics: amd radeon r5m330

My Laptop Specs According To Piriform Speccy:

 Operating System
Windows 10 Home 64-bit
CPU
AMD K16 
Carrizo-L 28nm Technology
RAM
8.00GB Single-Channel DDR3 @ 798MHz (11-11-12-28)
Motherboard
FF50 06F7 (Socket FP4)
Graphics
Generic PnP Monitor ([email protected])
1024MB ATI AMD Radeon R4 Graphics (Toshiba) 
2048MB ATI AMD Radeon R5 M330 (Toshiba) 
CrossFire Disabled
Storage
931GB TOSHIBA MQ01ABD100 (SATA) 
Optical Drives
HL-DT-ST DVDRAM GUB0N
Audio
Realtek High Definition Audio

 

The webcam and gameplay footage have been trancoded into a constant frame rate with handbrake,

i do suspect that handbrake is converting my video files to constant but its not converting the audio in those video files to constant

the commentary is exported from audacity after it has been edited

MediaInfo Results:

-Converted With Handbrake

 -Gameplay Footage:

 General

Complete name : C:\Users\nicholasj\Desktop\Nicholas Josey-The Diamond Block\Resources & Files\_Resources\Re-Transcoded Videos\Turbo Dismount Ep01 VEF.mp4

Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/iso2/avc1/mp41)
File size : 520 MiB
Duration : 26 min 26 s
Overall bit rate mode : Variable
Overall bit rate : 2 747 kb/s
Encoded date : UTC 2018-06-28 15:52:39
Tagged date : UTC 2018-06-28 15:52:39
Writing application : HandBrake 1.1.1 2018061800

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings : 3 Ref Frames
Format settings, CABAC : No
Format settings, RefFrames : 3 frames
Format settings, GOP : M=1, N=8
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 26 min 26 s
Bit rate : 2 591 kb/s
Width : 800 pixels
Height : 600 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 30.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.180
Stream size : 490 MiB (94%)
Writing library : x264 core 155 r2901 7d0ff22
Encoding settings : cabac=0 / ref=3 / deblock=0:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=8 / keyint_min=5 / scenecut=40 / intra_refresh=0 / rc_lookahead=8 / rc=2pass / mbtree=1 / bitrate=2591 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2018-06-28 15:52:39
Tagged date : UTC 2018-06-28 15:52:39
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : mp4a-40-2
Duration : 26 min 26 s
Bit rate mode : Variable
Bit rate : 153 kb/s
Channel(s) : 2 channels
Channel(s)_Original : 1 channel
Channel positions : Front: C
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 28.9 MiB (6%)
Title : Mono / Mono
Default : Yes
Alternate group : 1
Encoded date : UTC 2018-06-28 15:52:39
Tagged date : UTC 2018-06-28 15:52:39

Webcam Footage:

General
Complete name : C:\Users\nicholasj\Desktop\Nicholas Josey-The Diamond Block\Resources & Files\_Resources\Re-Transcoded Videos\Turbo Dismount Ep01_Facecam VEF.m4v
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/iso2/avc1/mp41)
File size : 525 MiB
Duration : 26 min 34 s
Overall bit rate mode : Variable
Overall bit rate : 2 760 kb/s
Encoded date : UTC 2018-06-29 07:24:52
Tagged date : UTC 2018-06-29 07:24:52
Writing application : HandBrake 1.1.1 2018061800

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings : 3 Ref Frames
Format settings, CABAC : No
Format settings, RefFrames : 3 frames
Format settings, GOP : M=1, N=8
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 26 min 34 s
Bit rate : 2 594 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.094
Stream size : 493 MiB (94%)
Writing library : x264 core 155 r2901 7d0ff22
Encoding settings : cabac=0 / ref=3 / deblock=0:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=8 / keyint_min=5 / scenecut=40 / intra_refresh=0 / rc_lookahead=8 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2018-06-29 07:24:52
Tagged date : UTC 2018-06-29 07:24:52
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : mp4a-40-2
Duration : 26 min 33 s
Bit rate mode : Variable
Bit rate : 161 kb/s
Channel(s) : 2 channels
Channel(s)_Original : 1 channel
Channel positions : Front: C
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 30.6 MiB (6%)
Title : Mono / Mono
Language : English
Default : Yes
Alternate group : 1
Encoded date : UTC 2018-06-29 07:24:52
Tagged date : UTC 2018-06-29 07:24:52

MediaInfo Results (Commentary  Recorded In Audacity, Not Converted With Handbrake):

General

Complete name : C:\Users\nicholasj\Desktop\Nicholas Josey-The Diamond Block\Resources & Files\_Resources\Audacity Saves And Exports\Turbo Dismount Ep01 Commentary 153K.wav
Format : Wave
File size : 137 MiB
Duration : 24 min 55 s
Overall bit rate mode : Constant
Overall bit rate : 768 kb/s
Writing application : Lavf55.33.100

Audio
Format : PCM
Format settings : Little / Signed
Codec ID : 1
Duration : 24 min 55 s
Bit rate mode : Constant
Bit rate : 768 kb/s
Channel(s) : 1 channel
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 137 MiB (100%)

MediaInfo Results (Original Files):

Gameplay Footage:

General
Complete name : C:\Users\nicholasj\Desktop\Nicholas Josey-The Diamond Block\A-Fraps Screen Recordings\TurboDismount 2018-06-27 15-40-08-39.avi
Format : AVI
Format/Info : Audio Video Interleave
Format profile : OpenDML
File size : 7.29 GiB
Duration : 26 min 26 s
Overall bit rate : 39.5 Mb/s

Video
ID : 0
Format : Fraps
Codec ID : FPS1
Duration : 26 min 26 s
Bit rate : 37.9 Mb/s
Width : 800 pixels
Height : 600 pixels
Display aspect ratio : 4:3
Frame rate : 30.000 FPS
Color space : YUV
Bit depth : 8 bits
Bits/(Pixel*Frame) : 2.635
Stream size : 7.01 GiB (96%)

Audio
ID : 1
Format : PCM
Format settings : Little / Signed
Codec ID : 1
Duration : 26 min 26 s
Bit rate mode : Constant
Bit rate : 1 536 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 290 MiB (4%)
Alignment : Aligned on interleaves
Interleave, duration : 1000 ms (29.99 video frames)

Webcam Footage:

General
Complete name : C:\Users\nicholasj\Desktop\Nicholas Josey-The Diamond Block\Resources & Files\_Resources\Unedited WebCam Recordings\Logitech Webcam Software Recorded Facecam\Video 34.wmv
Format : Windows Media
File size : 105 MiB
Duration : 26 min 34 s
Overall bit rate mode : Variable
Overall bit rate : 555 kb/s
Maximum Overall bit rate : 3 275 kb/s
Encoded date : UTC 2018-06-28 13:28:20.812

Video
ID : 2
Format : WMV2
Codec ID : WMV2
Codec ID/Info : Windows Media Video 8
Description of the codec : Windows Media Video V8
Duration : 26 min 34 s
Bit rate mode : Variable
Bit rate : 1 592 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 10.000 FPS
Nominal frame rate : 15.000 FPS
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.173
Stream size : 303 MiB
Language : English (AU)
NumberOfFrames : 7970

Audio
ID : 1
Format : WMA
Format version : Version 2
Codec ID : 161
Codec ID/Info : Windows Media Audio
Description of the codec : Windows Media Audio 9.2 - 20 kbps, 32 kHz, mono (A/V) 1-pass CBR
Duration : 26 min 34 s
Bit rate mode : Constant
Bit rate : 1 411 kb/s
Channel(s) : 1 channel
Sampling rate : 32.0 kHz
Bit depth : 16 bits
Stream size : 268 MiB
Language : English (AU)
NumberOfFrames : 4986

 

 

 

Comments

  • njosey4740njosey4740 Website User Posts: 58

    i also might post a similar thread on the audacity support forums to see if i can get any helpfrom there

  • njosey4740njosey4740 Website User Posts: 58

    hello, anyone going to help

  • Triem23Triem23 Moderator Moderator, Website User, Ambassador, Imerge Beta Tester, HitFilm Beta Tester Posts: 18,303 Ambassador

    You seem to be correct, it does look like Handbrake is messing up the audio synch. 

    Have you tried bringing in the FRAPS AVI? MediaInfo reports the source footage is Constant Frame Rate, so if Hitfilm reads the codec you can skip the transcode.

    The webcam footage is odd. MediaInfo reports source frame rate as 10 but notes a 15 as nominal. I am thinking future webcam transcoding should be done at 15fps. 30 isn't creating more smoothness, just doubling frames. In theory Hitfilm should conform a 15 to 30 on the timeline, so you'd get a more efficient transcode.

    Hit up the Handbrake forum as well. That's where you're getting 30fps video and 45fps audio. They might be able to help.

    Otherwise my suggestion is to use Audacity to just strip your audio and render out as a WAV file. Straight WAV doesn't have an fps clock, so everything should just line up correctly after import to Hitfilm. 

    Hope this helps! 

  • njosey4740njosey4740 Website User Posts: 58

    i have tried bringing the fraps avi file into hitfilm but i wont import because i think fraps use their own proprietary codec/format 

  • Triem23Triem23 Moderator Moderator, Website User, Ambassador, Imerge Beta Tester, HitFilm Beta Tester Posts: 18,303 Ambassador

    I see in another thread you're on Express 4? I suggest upgrading to the current version which does better with sync issues. Use the same email you used for Express 4 so any add ons you have carry forward, but the current Hitfilm Express is a different download/program/install than 4 Express which has been out of development for two years.

    https://fxhome.com/express

  • njosey4740njosey4740 Website User Posts: 58

    i am using the most current version of express

  • njosey4740njosey4740 Website User Posts: 58

    @Triem23 i created a forum thread on this website: https://sound.stackexchange.com/questions/44548/audacity-recorded-commentary-is-out-of-sync-with-my-webcam-and-gameplay-recordin

    and one user is saying something about SMPTE drop time timing 

    here is a copied quote from that user on that website:

    "The video probably has SMPTE drop time timing information in it while the audio is assuming non-drop or something like that, and you’ll need to set up your video editing software to reconcile that. If the audio file is longer than the video, this is a likely cause."

    i have never experienced anything with SMPTE drop time before 

  • njosey4740njosey4740 Website User Posts: 58

    just putting something here since this thread has been inactive

    - i been looking into this problem of mine for a while and i think it might be fraps recordings that are going out of sync with the audio (i cant confirm this as the actual cause yet because i'm still looking at this problem), handbrake may be causing this issue as i have to convert the fraps recordings in that so i still cannot eliminate handbrake and fraps from causing the problem but i might be eliminating audacity from the cause of this problem since the audio does not appear to be "drifting out of sync" but if appears that the fraps recording is drifting out of sync with the audio (voice commentary).

This discussion has been closed.