Audio out of sync even after using Handbrake Posted by misguidedghost - 02 May :50

Similar documents
I am new to video editing - a pro still shooter with a lot of web design work as well.

Game / screen capture, OBS, variable frame rate import and Lightworks - USE OBS STUDIO! Posted by jmoore2-12 Feb :25

Unable to import a video file into Lightworks Posted by Slashbuddy24-03 Mar :50

============================================================================

Change H.264 export settings Posted by filmoy - 10 Mar :07

Lightworks Import Won't Recognize my FLV Files Posted by Blue11msu - 17 Feb :41

[solved] Choppy playback with some source videos and edits in lightworks 12.x Posted by maxrp - 23 Nov :46

Limitations of the trial version? Posted by arpad.andrassy - 02 Jan :47

I imported a video from my PS4, when I try to play it in light works, it lags badly. What can I do to fix it?

Unable to import. ive read the docs/searched forums Posted by BuddyElkor - 05 May :02

Can Lightworks support JVC Everio file format? Posted by davidomatic - 17 Apr :51

.MTS (MPEG-TS) audio out of sync second clip Posted by Arvidovic - 12 Jun :50

Native playback H264 Video freezes on high spec pro system Posted by Julia - 03 Jul :27

EyeFrame - easy convert video to and from Lightworks with time code, reel name and proxies Posted by tin2tin - 15 Sep :42

.MTS (MPEG-TS) audio out of sync second clip Posted by Arvidovic - 12 Jun :50

Game / screen capture, OBS, variable frame rate import and Lightworks - USE OBS STUDIO! Posted by jmoore2-12 Feb :25

Report regarding digital audio analysis Basçalan Erdogan'in Yalanlarinin ve Yolsuzluklarinin Kaydi.mp4

ANALYSIS OF FACEBOOK S VIDEO ENCODERS JACEK EMIL WOLANIN. B.S., University of Colorado Denver, 2015

How can I re-wrap an AVCHD MTS file to MP4? Posted by shaunthesheep - 07 Jun :39

No audio yes video Posted by manemane - 29 Jan :42

I apologize if this has been asked before, but I've been searching the forums for the past few hours and haven't been able to find anything.

[SOLVED] MPEG2 Import: Lightworks (Free) (Not Responding) - Size Limit? [THANKS RONNIE!] Posted by blinvisible - 04 Jun :33

Video Options. The options available for video on the web are changing constantly. At the moment your options are divided between two types:

Export as DivX, Xvid, x264, MP4 Posted by DJKnuddel - 28 May :09

"Missing log" in edit viewer, all media gone Posted by prodeuser - 17 Aug :14

Voice over problems Posted by erir - 13 Oct :15

Azon Master Class. By Ryan Stevenson Guidebook #5 WordPress Usage

How to import, edit, AVI files? Posted by curmudgeon66-02 Dec :33

My question may be very simple, but I am a very beginner. Please let me know, how can I save my final edit as.avi (or whatever format).

What will be the ideal workflow for Blackmagic+Lightworks+DaVinci Resolve?

mid=81#15143

[Solved) Stuttering video playback in LWKS only,not on rest of laptop. Example included Posted by chj - 10 Sep :43

Still frames import with a length in frames Posted by jwrl - 28 Aug :59

Audio/Video outofsync after export Posted by bluehouserec - 18 Apr :58

Welcome to MainConcept AAC Encoder - Plug-In for Adobe Flash Media Live Encoder -

============================================================================

Multi tracks video edit - How to? Posted by pbhs - 28 Jan :19

Is there any plug-in to work with Lightworks that would do motion stabilization in LW?

Manual Updating To Ios 7 Ipad 3 Not Working

FREQUENTLY ASKED QUESTIONS ABOUT CLASS LOGISTICS AND TELECONFERENCE TECHNOLOGY

x264 Video Encoding Frontend

How to Improve Your Campaign Conversion Rates

Tvheadend - Bug #900 ts-stream not correct

Gecata by Movavi 5. Recording desktop. Recording with webcam Capture videos of the games you play. Record video of your full desktop.

Joomla! Page 1 of 1

============================================================================

'Broadcast Quality' Workflow with Timecode for 'Prosumer' Camcorders and DSLRS - (LW Pro) Posted by ozsteam - 13 Sep :56

Slow Motion with photo morphing software Posted by juhartik - 11 May :05

In today s video I'm going show you how you can set up your own online business using marketing and affiliate marketing.

Total Video Converter Error While Opening Codec

Fix Error Codec Windows Media Player 9 Avi

SPIRTON. Convert videos to 60fps (Updated 21 May 2015) Sections: Introduction: Introduction. Purpose. Instructions. Final Thoughts FAQ.

The Stack, Free Store, and Global Namespace

Close Your File Template

Update Manual Ios 7.1 Iphone 4s Wont >>>CLICK HERE<<<

It Might Be Valid, But It's Still Wrong Paul Maskens and Andy Kramek

Virtualdub Video Compression Error Code 2

Instructor: Craig Duckett. Lecture 04: Thursday, April 5, Relationships

Switch Release Notes. Switch

Version Developed & Programmed by Ryan Stevenson. Plugin Support:

Is this a known issue? Seems to affect only recurring events. I have some of them and all are shifted. Non-recurring events show properly.

iflix is246 Multimedia Metadata Final Project Supplement on User Feedback Sessions Cecilia Kim, Nick Reid, Rebecca Shapley

Exploring H.264. Part 2: H.264 Bitstream format

Understandable manual? Posted by Max Besser - 02 Feb :10

How to rip, transcode, and prepare a DVD for network streaming

Need To Find Manually Manage Music On Itunes 11 Without Erase

UPSTAGE VIDEO HACK ANNEX

FAN-TASTIC HOME Solar X-rays:

============================================================================

Recording for the Blind Part One

BEGINNER PHP Table of Contents

INSTRUCTION MANUAL 8hrs Coat Hanger DVR w/ Motion Detection and remote controller

SHOUTcast v2 - Broadcasting with Nicecast

How to import, edit, AVI files? Posted by curmudgeon66-02 Dec :33

Mark Kogan CTO Video Delivery Technologies Bluebird TV

X-FX Handler. Introduction 2

Who am I? I m a python developer who has been working on OpenStack since I currently work for Aptira, who do OpenStack, SDN, and orchestration

Overview. Features. anytime.

Codec Error Help Please Use Windows Media Player

Media Player Classic Error Codec Pack Windows 8 Mkv

Modern Cookie Stuffing

COMP : Practical 11 Video

Register FAQ Calendar Today's Posts Search

No audio output when using Windows 8 64 bit and Lightworks bit Posted by bobbradley - 25 Jun :15

VidPort Technical Reference Guide TD-VID-HD-REF-C

Instructor: Craig Duckett. Lecture 07: Tuesday, April 17 th, 2018 Conflicts and Isolation, MySQL Workbench

Online Help Browser Requirements Safari *Please note: Episode 7 does not support OS X or previous versions of Mac OS X.

Meet our Example Buyer Persona Adele Revella, CEO

Video. Add / edit video

Read & Download (PDF Kindle) Data Structures And Other Objects Using Java (4th Edition)

Dimo FLV Video Converter for Mac is an all-in-one Mac FLV conversion software. It can help convert FLV files to almost all video and

Digital Marketing Manager, Marketing Manager, Agency Owner. Bachelors in Marketing, Advertising, Communications, or equivalent experience

============================================================================

Chapter 11.3 MPEG-2. MPEG-2: For higher quality video at a bit-rate of more than 4 Mbps Defined seven profiles aimed at different applications:

convert MP4 m3u8 convert MP4 MP4 Convert MP4 MP4 MP4 M3U8 convert M3U8 MP4 mp4 MP4

BBC LEARNING ENGLISH 6 Minute English Wireless furniture for phones

Original Article Written at by Ashish Technospot.net

Azon Master Class. By Ryan Stevenson Guidebook #4 WordPress Installation & Setup

============================================================================

Premiere Pro Export Settings

Transcription:

Audio out of sync even after using Handbrake Posted by misguidedghost - 02 May 2016 03:50 Hi, Im new to Lightworks and have been struggling with importing a video. The video goes out of sync with internal audio after importing into lightworks. I tried using handbrake to convert the VFR to CFR, but the video still ends up out of sync after importing into lightworks. Same for Da vinci resolve. The video is taken using webcam. I was intending to use lightworks to sync an external recorded audio to the video, but the video drifts. I have checked the forum and all the solution ends at handbrake or eyeframe. I really hope someone could help me on this. Been working on it for a few days. Thanks! This is the report by mediainfo on the video after going through handbrake. General Complete name Format : C:UsersUserPicturesCamera RollAlways Video Recording.mp4 : MPEG-4 Format profile : Base Media / Version 2 Codec ID File size Duration Overall bit rate mode Overall bit rate : mp42 (isom/iso2/avc1/mp41) : 378 MiB : Variable : 8 729 Kbps Encoded date : UTC 2016-05-02 07:37:15 Tagged date : UTC 2016-05-02 07:37:15 Writing application : HandBrake 0.10.5 2016021100 1 / 14

Video ID : 1 Format Format/Info Format profile Format settings, CABAC Format settings, ReFrames Codec ID Codec ID/Info Duration Bit rate Width Height : AVC : Advanced Video Codec : Main@L4 : Yes : 4 frames : avc1 : Advanced Video Coding : 8 500 Kbps : 1 280 pixels : 720 pixels Display aspect ratio : 16:9 Frame rate mode Frame rate Color space : Constant : 30.000 fps : YUV Chroma subsampling : 4:2:0 Bit depth Scan type : 8 bits : Progressive Bits/(Pixel*Frame) : 0.307 Stream size : 370 MiB (98%) Writing library : x264 core 142 r2479 dd79a61 Encoding settings : cabac=1 / ref=1 / deblock=1:-1:-1 / analyse=0x1:0x1 / me=dia / subme=1 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=300 / keyint_min=30 / scenecut=40 / intra_refresh=0 / rc_lookahead=0 / rc=abr / mbtree=0 / 2 / 14

bitrate=8500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / nal_hrd=none / filler=0 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00 Encoded date : UTC 2016-05-02 07:37:15 Tagged date : UTC 2016-05-02 07:37:15 Color range Color primaries Transfer characteristics Matrix coefficients : Limited : BT.709 : BT.709 : BT.709 Audio ID : 2 Format Format/Info Format profile : AAC : Advanced Audio Codec : LC Codec ID : 40 Duration Bit rate mode Bit rate Channel(s) Channel positions Sampling rate Frame rate Compression mode : Variable : 192 Kbps : 2 channels : Front: L R : 48.0 KHz : 46.875 fps (1024 spf) : Lossy Stream size : 8.34 MiB (2%) Title Default : Stereo / Stereo : Yes Alternate group : 1 3 / 14

Encoded date : UTC 2016-05-02 07:37:15 Tagged date : UTC 2016-05-02 07:37:15 Posted by pfbr6a - 02 May 2016 07:00 I've had a few of these myself, and am still investigating what may be going on. From the information in that header, your file is benign. I can see two general possibilities: 1/ Lightworks is involved. 2/ Lightworks *isn't* involved. Taking # 2 first, if your original video came from a webcam then it was probably at a variable frame-rate. Is that correct? Assuming it is, keeping this in sync with a separate audio track is not always handled well by programs, and even though Handbrake has converted this into constant frame-rate that doesn't necessarily mean that it has kept the overall time correct. So the next questions are: a) is the Duration of your original file identical to the Handbrake output? b) if you simply play this file in VLC or something like it, does it remain perfectly in sync throughout? Let me know and we can take it from there. Posted by RWAV - 02 May 2016 07:09 Same for Da vinci resolve 3/ Da vinci resolve is involved 4 / 14

4/ Da vinci resolve isn't involved 5/ handbrake is involved 6/ handbrake isn't involved Posted by pfbr6a - 02 May 2016 07:13 "3/ Da vinci resolve is involved 4/ Da vinci resolve isn't involved 5/ handbrake is involved 6/ handbrake isn't involved" Certainly. This is a Lightworks forum, and there may be a way of helping the user on Lightworks. Or not. So your point is? Posted by misguidedghost - 02 May 2016 07:47 okay, First, i have an original video taken from a webcam which is i suspect is VFR. Let's call it V#1. V#1 can be played on windows 10 "Film and Tv" default player just fine. I just ran it through VLC media player and there is no audio sync problems. However, Da vinci and LW cannot play it without it being out of sync. Second, I tried converting to other video formats using VLC mediaplayer, using the codec H.264 + MP3 (AVI). The default player have no problem playing it. LW and Da vinci still doesn't work. Deleted that. Let that be V#2. Third, I created V#3 by using handbrake, the media info is as posted in the first post. V#3 can also be played on VLC media player and default player without sync problems. 5 / 14

For your infomation, the mediainfo of V#1 is : (BOLD are just some of the differences i have noticed) General Complete name : C:UsersUserPicturesCamera RollWIN_20160501_21_35_00_Pro.mp4 Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID File size Duration Overall bit rate mode Overall bit rate : mp42 (mp41/isom) : 353 MiB : Constant : 8 135 Kbps Encoded date : UTC 2016-05-01 13:35:01 Tagged date : UTC 2016-05-01 13:35:01 Video ID : 1 Format Format/Info Format profile Format settings, CABAC Format settings, ReFrames : AVC : Advanced Video Codec : Main@L4 : Yes : 2 frames Format settings, GOP : M=3, N=30 Codec ID Codec ID/Info Duration Source duration : avc1 : Advanced Video Coding 6 / 14

Bit rate mode Bit rate Width Height : Constant : 7 900 Kbps : 1 280 pixels : 720 pixels Display aspect ratio : 16:9 Frame rate mode Frame rate Minimum frame rate Maximum frame rate Original frame rate Standard Color space : Variable : 30.174 fps : 15.633 fps : 31.612 fps : 30.000 fps : Component : YUV Chroma subsampling : 4:2:0 Bit depth Scan type : 8 bits : Progressive Bits/(Pixel*Frame) : 0.284 Stream size : 345 MiB (98%) Source stream size : 345 MiB (98%) Encoded date : UTC 2016-05-01 13:35:01 Tagged date : UTC 2016-05-01 13:35:01 Color range : Full mdhd_duration : 363585 Audio ID : 2 Format : AAC 7 / 14

Format/Info Format profile : Advanced Audio Codec : LC Codec ID : 40 Duration Source duration Bit rate mode Bit rate Nominal bit rate Channel(s) Channel positions Sampling rate Frame rate Compression mode : Constant : 175 Kbps : 192 Kbps : 2 channels : Front: L R : 48.0 KHz : 46.875 fps (1024 spf) : Lossy Stream size : 7.60 MiB (2%) Source stream size : 7.60 MiB (2%) Encoded date : UTC 2016-05-01 13:35:01 Tagged date : UTC 2016-05-01 13:35:01 mdhd_duration : 363600 Posted by pfbr6a - 02 May 2016 08:19 That was very thorough. With the caveat that I can't be certain about any of this because I don't have inside knowledge of Lightworks or Resolve, here is a possible diagnosis: On professional (and all traditional) equipment, both video and audio are recorded at a fixed rate. At 8 / 14

playback, you just play all the video-frames at their rate, and all the audio-samples at *their* rate, and they will be in sync. On webcams, smartphones and so on, audio is still recorded at a fixed-rate, but for processing reasons the video may be recorded at variable frame-rates. This means that while your audio has an exact and known number of samples, you don't know how many video-frames were shot in the same time. Therefore, just playing them all back at a fixed-rate will result in sync-failures. Instead, a player can deal with the problem like this: each video-frame has a timestamp that shows how long from the start of the shot the frame was recorded. You play the audio at its fixed-rate, but wait to display each new frame till you get to the correct moment. The video may not be perfectly smooth, but it *will* be in sync. A lot of professional programs don't yet deal with this - they never had to before - and this could be what is happening here. If it *is*, can it be fixed? I am slightly surprised that Handbrake didn't seem to fix it, because I thought that this was the purpose of converting to constant framerate. However, it may not be as clever about this as I thought - this I *can* check, and I will when I have time, which isn't now I'm afraid. It is *possible* that transcoding into a professional codec such as ProRes, using EyeFrame or ffmpeg, will deal with the problem. I'm inclined to think not, but it might be worth trying if you are prepared to spend a few minutes. This is only going to work if the transcode re-times your video, and repeats/removes frames as needed. If it doesn't, there are still possibilities. Posted by misguidedghost - 02 May 2016 09:02 9 / 14

Thanks for your help! I'm not so sure if handbrake has solved the problem because the only thing it changed is the mediainfo of the video. When i import the video, the V1 timeline is still longer than the A1 and A2 by the same margin. It looks like the drift is still the same. (In handbrake I set the "Video" options to "Constant frame rate" at specifically 30fps. But when i import it to Da vinci Resolve, they read it as 24 fps. In LW, my project is set at 30fps. is there another fps setting in lightworks that i need to adjust for project?) While looking through the mediainfo and comparing the two, i noticed that Bit rates that were at "constant" in V#1 were changed to all "variables" in V#3. Is that normal? Now that i know this Vfr thing is a real pain, do i have other options? Like how to prevent cameras from taking in VFR? What transcoding software is the best? or perhaps even another editor? Im stuck, if there no other way, i can't take my videos with external audio. Posted by pfbr6a - 02 May 2016 09:53 Bitrates aren't going to have any effect here - that's to do with what goes into the frames, not how many of them or when they occur. I'm interested to hear that Resolve disagrees about frame-rate - I've seen this on Lightworks too. Your original framerate varied between 15.6 and 31.6, which means that there will probably be *fewer* video samples than the 10890 that a fixed 30fps track would have in 6m:3s. Which direction does the drift go? On the basis of this, one would expect the video to progressively drift *ahead*. Does it? I'm slightly bemused by the V timeline being longer, but this may be a red-herring. I don't know how much of a hurry you are in: this is very closely related to something non-lightworks that I am working on at the moment, and I may be able to help further. But maybe not for another 24-48 10 / 14

hours. If you want to send a file, it's an efficient way of finding out as much as possible as quickly as possible. I'm very happy to look, because the more different kinds of file I measure, the more bugs I find in my own work. There are programs in the world that will do the conversion you (probably) need, but I don't use them - someone else here may. Most of the transcoders suggested on this forum ultimately use the ffmpeg libraries, AFAIK. For ProRes, people seem to have good luck with Eyeframe: but as I mentioned, this is probably a long-shot. Posted by misguidedghost - 02 May 2016 10:46 YES! I managed to solve the problem! Thanks man i was on the verge of giving up. I usually import using "Create Link" to preserve the look of my folder. Now, all I needed to do was to import V#3 using "transcode". Somehow that fixed the rest of the sync problems after handbrake. I haven't tried importing V#1 on trancode yet, but if it works, we may not even need an additional software like handbrake/eyeframe/ffmgpeg. Also, I must add, one slight out-of-the-norm symptom that I just discovered is that the "End time" signature of the affected file shows "???.??.??.??", while that of the transcoded file shows the actual "00:06:03.18"(sic) One can look out for that sign to determine that the solution is to import via transcode instead of Create link. Posted by pfbr6a - 02 May 2016 11:08 11 / 14

Congratulations! And that's interesting. So it looks like Handbrake does do it properly - it seemed odd that it wasn't working - but that it may take a combination of that plus Lightworks transcode to get everything straight. So actually we ended up with a sort of hybrid Schrodinger's scenario: Lightworks both is and isn't involved Many people have reported that the 'Transcode' import will often refuse to handle VFR files - but not always. Would be interesting to hear what yours do. Could I ask you to try Copy Local as well? Copy Local doesn't actually do what it says, but what it *does* do may also fix the problem. If it does, it's worth knowing-about for future reference. When you say "End time" signature, is that in the Project Browser? That field is, in my experience, very weird and often has entirely wrong values in it. Luckily, they don't seem to get used. Posted by donkpow - 02 May 2016 11:21 Setting constant frame rate solved one of the problems. Posted by misguidedghost - 02 May 2016 11:36 Create Link V#1 Audio out of sync V#3 Audio out of sync Copy Local V#3 Choppy video - could be due to the specs of my computer, but only during specific points do the video freezes while still playing. 12 / 14

Transcode V#1 Audio out of sync (ok.. does not work without handbrake) V#3 WORKS "end time" as in the details listed in project browser yes. Posted by pfbr6a - 02 May 2016 12:02 That's a very useful set of data-points: thank you. Enjoy your editing! Posted by goodluckie - 10 Sep 2017 10:52 I found a detailed Handbrake tutorial: Deleted because the references in the link are sales pitches, rather than a simple tutorial. briandrys It also talked about the audio out of sync even after using Handbrake, hope this can be helpful. Posted by hugly - 10 Sep 2017 13:28 Goodluckie, Why do you post a link to an obscure site which says it's related to Handbrake in fact it promotes other software? This isn't helpful at all. Wondershare! 13 / 14

Those guys have a really agressive marketing but in my view a totally crappy product, not useful for video editing purposes and there are roumors that they've hijacked GPL transcoder libraries. My suggestion based on experience, don't click on the link above and don't buy any Wondershare product. It isn't worth the money. 14 / 14