I am trying to compress a video down from 3 gb to be able to upload onto youtube. It is a music video for a song I've created, but once it is processed by Handbrake the audio and visuals are off. The audio starts at around 50 seconds from where it is supposed to start, but the visuals start at the correct time. No tinny-ness or loss of audio quality can be heard, just the audio-visuals being clearly out of sync.
I made the video with ZGameEditor Visualizer in Fl Studio 12, and rendered it into a 60 fps 1920 x 1080 mp4. I run it through handbrake on the "normal" preset and I get a video with the above-mentioned error.
Handbrake Version 1.0.7
I am using Windows 7.
Here is the activity log:
https://pastebin.com/GziksvDZ
Music Video is Extremely Out of Sync!
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
- JohnAStebbins
- HandBrake Team
- Posts: 5726
- Joined: Sat Feb 09, 2008 7:21 pm
Re: Music Video is Extremely Out of Sync!
When is the audio suppose to start? The first audio timestamp (which we can see in the log) says the audio starts about 52 seconds after the start of video.
-
- Posts: 2
- Joined: Thu Dec 28, 2017 5:12 am
Re: Music Video is Extremely Out of Sync!
That's exactly the problem. The audio is supposed to start at 0 seconds, yet it is starting at ~52 seconds
Re: Music Video is Extremely Out of Sync!
So, the source is an "MP4", eh? Look again...The Wise 1 wrote: ↑Thu Dec 28, 2017 5:25 amI made the video with ZGameEditor Visualizer in Fl Studio 12, and rendered it into a 60 fps 1920 x 1080 mp4. I run it through handbrake on the "normal" preset and I get a video with the above-mentioned error.
Code: Select all
Input #0, asf, from 'C:\Users\user\Desktop\Don't You Want Chinese Food.wmv': Metadata: creation_time : 2017-12-27 21:50:55 WMFSDKVersion : 12.0.7601.17514 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0 Duration: 00:07:42.16, start: 0.000000, bitrate: 57262 kb/s Stream #0:0(eng): Video: vc1 (Advanced) [WVC1 / 0x31435657] yuv420p, 1920x1080 60 fps, 1k tbn Metadata: IsVBR : 0 DeviceConformanceTemplate: AP@L4 Stream #0:1(eng): Audio: wmapro [b[1][0][0] / 0x0162] 44100 Hz, stereo, fltp, 440 kb/s Metadata: IsVBR : 0 DeviceConformanceTemplate: M2 WM/WMADRCPeakReference: 32767 WM/WMADRCPeakTarget: 32767 WM/WMADRCAverageReference: 4041 WM/WMADRCAverageTarget: 4041
We're proceeding on the basis that this Vista-era Media Foundation source is actually synced in the first place, yes?
There's a whole bunch of reasons why this might not be working, from absolutely using the wrong HB preset, to not using the HB Nightly, to using an inappropriate or incompatible export format from ZGameEditor.
I have my own suspicions, so please do the following:
1. Download FFMPEG from https://ffmpeg.zeranoe.com/builds/
2. Copy what's in the BIN\ directory to somewhere in your path (or into the dir with the source video)
3. Open a Command Line in the same directory as the source file
4. Enter: ffmpeg -i "Don't You Want Chinese Food.wmv" -c:a aac -c:v h264 SyncedOrNot.mp4
5. Tell me if SyncedOrNot.mp4 still lags the audio at the start.
This result will narrow all the possibilities down by at least half.