Welcome, Guest
Username Password: Remember me
  • Page:
  • 1

TOPIC: Imported audio out of sync with video

Imported audio out of sync with video 1 week, 6 days ago #194283

  • Alvey42
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • 1 week, 6 days ago
Another newbie using v14.5
Importing video clips from a Canon Digital IXUS 80 IS.
Audio loading at excessive high frequency/speed with the result that a male pa system sounds like Donald Duck.
The audio also goes into a low frequency oscillation after a certain period.
I have tested the Audio-only media in the Import Commands where the only two options are Picture @ 30fps or Picture @ 29.97 fps. Neither has any effect on my problem.
Here is the MediaInfo text file for my camera files:
General
Complete name : MVI_2116.AVI
Format : AVI
Format/Info : Audio Video Interleave
File size : 63.6 MiB
Duration : 34 s 567 ms
Overall bit rate : 15.4 Mb/s
Mastered date : 2019-03- 2 11:50:43
Writing application : CanonMVI06

Video
ID : 0
Format : JPEG
Codec ID : MJPG
Duration : 34 s 566 ms
Bit rate : 14.7 Mb/s
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 30.000 FPS
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 1.598
Stream size : 60.7 MiB (95%)

Audio
ID : 1
Format : PCM
Format settings : Little / Signed
Codec ID : 1
Duration : 34 s 567 ms
Bit rate mode : Constant
Bit rate : 705.6 kb/s
Channel(s) : 1 channel
Sampling rate : 44.1 kHz
Bit depth : 16 bits
Stream size : 2.91 MiB (5%)
Alignment : Aligned on interleaves
Interleave, duration : 988 ms (29.63 video frames)
Interleave, preload duration : 1000 ms

Any helpful advice most greatly appreciated.

Re: Imported audio out of sync with video 1 week, 6 days ago #194286

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 17676
  • 1 week, 6 days ago
Hello,

MJPEG is a supported media format, shouldn't make trouble. It could be that the monaural audio stream confuses Lightworks somehow.

Would you mind sharing one of those clips on a file sharing service of your choice, e.g wetransfer.com/ ?
It's better to travel well than to arrive...
Last Edit: 1 week, 6 days ago by hugly.

Re: Imported audio out of sync with video 1 week, 6 days ago #194289

  • Alvey42
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • 1 week, 6 days ago
can I have an email address for wetransfer please?

Re: Imported audio out of sync with video 1 week, 6 days ago #194291

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 17676
  • 1 week, 6 days ago
You can use hugly@t-online.de, but you don't need one.

On wetransfer.com, click on the circle with three dots and select 'Send as' 'link'. Then you don't need any e-mail address. After upload has finished, copy and past the shown link.
It's better to travel well than to arrive...
Last Edit: 1 week, 6 days ago by hugly.

Re: Imported audio out of sync with video 1 week, 6 days ago #194303

  • Alvey42
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • 1 week, 6 days ago
Thanks hugly - never used wetransfer before.

we.tl/t-dUcCE9gQ2L

I'm in Brisbane so there could be a few delays in responding ...

Re: Imported audio out of sync with video 1 week, 5 days ago #194307

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 17676
  • 1 week, 5 days ago
I guess it's still way faster than taking the plane.

The problem seems to be fixable by simply remuxing AVI to AVI with ffmpeg.

See if this file works and sounds as expected: we.tl/t-Yjb1t4zCit
It's better to travel well than to arrive...

Re: Imported audio out of sync with video 1 week, 5 days ago #194312

  • Alvey42
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • 1 week, 5 days ago
It does indeed sound as expected.

I think I have ffmpeg installed correctly and for an additional bonus would you mind telling me what command you used to achieve this success please?

Life wasn't meant to be so hard …

Re: Imported audio out of sync with video 1 week, 5 days ago #194314

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 17676
  • 1 week, 5 days ago
.. For some more moments of easy living, replace <input> and <output> with file names and run this:

ffmpeg -i "<input>" -c:v copy -c:a copy -y "<output>".avi


If you run Windows, you can use the batch file attached as zipped archive below. Download and unpack to your desktop. It'll show as icon, named 'remux2avi.bat'. Drag and drop a selection of videos as input onto the icon to execute. On input location, a subfolder is created, named 'remux2avi', it contains the output. Logs are created next to the input which can be safely deleted if not needed.
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
It's better to travel well than to arrive...

Re: Imported audio out of sync with video 1 week, 4 days ago #194344

  • Alvey42
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • 1 week, 4 days ago
hugly

By now you must be wondering about the lengthening delay between replies.

The reason is my previous misleading statement - "I think I have ffmpeg installed correctly..."

Having now corrected the "Path" entry I am pleased to announce that ffmpeg is performing effortlessly.

Your .bat file is a gold nugget and I would like to thank you for your time and patience in solving my dilemma.

If you are ever in Brisbane let me know and I will buy you a beer.

Alvey42
  • Page:
  • 1
Time to create page: 0.34 seconds
Scroll To Top