MEP Premium 2022 - sync with wav file

magix_dr wrote on 4/9/2024, 11:00 AM

hi,

I have a footage from the gig (my sony video) and wav file from mixer. I would like to replace my audio track by wav file. So I use Ctrl+H to make audio/video on separate tracks, next delete audio track from my camera file. Next I tried to synchronize both files - video from camera and audio (wav) from mixer. The movie starts synchronized, but after few seconds ..... Wav file seems to be too slow.

Rgds Darek

 

 

 

 

 


Laptop: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz   2.40 GHz RAM: 8,00 GB Graphics: AMD Radeon Windows10Home Ver: 22H2 Compilation: 19045.4170 WindowsFeatureExperiencePack 1000.19054.1000.0

Canon 6D; Sony HDR-XR50; GoPro6; DJI MavicPro; DJI MavicAir2;

Comments

me_again wrote on 4/9/2024, 11:50 AM

@magix_dr

Greetings Darek.

This sounds like a variable frame rate to me but we need more information.

In your previous posts you've been asked for your system information. That will help us plus the Mediainfo readout for the video.

See this post https://www.magix.info/us/forum/please-do-the-following-before-posting-your-question--621831/ for how to do this.

Alternatively you could just search this forum for variable frame rate problems, there are many, but any further

serious questions will require your system information.

Just put it all in your signature and save yourself hours or even days on the future.

AndyW

Last changed by me_again on 4/9/2024, 11:51 AM, changed a total of 1 times.

"Just when I think I've learned the workrounds of MEP/MS the bounders go and update it"

Aorus Z690 Elite DDR4 Motherboard

12th Gen Intel(R) Core(TM) i7-12700K, 3600 Mhz, 12 Core(s) 20 Logical Processor(s)

64gb (4x16gb sticks) DDR4 3200Mhz

Intel(R) UHD Graphics 770

Gigabyte GeForce RTX 4060 Eagle OC 8Gb DDR6 DLSS3 Windforce

Corsair RM750 PSU, be quiet! Pure Rock 2 cooling

System drive 500Gb 4.0NVMe M,2 SSD, dedicated video/audio drive 2Tb Gen 4 NVMe SSD, 2x 500Gb Local Fixed Disks (Music etc), USB3 expansion drive 5Tb and 2Tb

Audio Onboard ALC1220 Amp-Up, Windows 11 Home updated as and when

Movie Studio 2025 Suite, Photo Manager Deluxe 13

Norton 360

All Drivers updated as they become available.

johnebaker wrote on 4/9/2024, 12:05 PM

@magix_dr

Hi

. . . . my sony video . . .

From a Sony phone, camera or video camera and which model?

As @me_again has commented, this could be variable frame rate video.

For the MediaInfo data, see this tutorial on how to set up MediaInfo and analyse a video clip for all the data required, also analyse the WAV file and post the analysis.

John EB
Forum Moderator

 

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

browj2 wrote on 4/9/2024, 12:44 PM

@magix_dr

Hi,

Further to what the others said, rather than deleting the audio that comes with the video, leave it there. Move both the video/audio and imported audio files a bit to the right to give the program some space to move the objects. Select both audio parts (with the video still grouped to its audio), right-click on the first audio part, and select Align other audio objects with this track. If it works, great. That is how we normally get them aligned.

John CB

John C.B.

VideoPro X(16); Movie Studio 2024 Platinum; MM2025 Premium Edition; Samplitude Pro X8 Suite; see About me for more.

Desktop System - Windows 10 Pro 22H2; MB ROG STRIX B560-A Gaming WiFi; Graphics Card Zotac Gaming NVIDIA GeForce RTX-3060, PS; Power supply EVGA 750W; Intel Core i7-10700K @ 3.80GHz (UHD Graphics 630); RAM 32 GB; OS on Kingston SSD 1TB; secondary WD 2TB; others 1.5TB, 3TB, 500GB, 4TB, 5TB, 6TB, 8TB; three monitors - HP 25" main, LG 4K 27" second, HP 27" third; Casio WK-225 piano keyboard; M-Audio M-Track USB mixer.

Notebook - Microsoft Surface Pro 4, i5-6300U, 8 GB RAM, 256 SSD, W10 Pro 20H2.

YouTube Channel: @JCBrownVideos

magix_dr wrote on 4/9/2024, 1:29 PM

Hi,

First of all - thanks for your answers.

Below you will find some info about my files:

General
ID                                       : 0 (0x0)
Complete name                            : G:\__SOURCE\2024_01_NON_IRON\sony\00757.MTS
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 1.98 GiB
Duration                                 : 16 min 21 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 17.3 Mb/s
Maximum Overall bit rate                 : 18.0 Mb/s
Frame rate                               : 25.000 FPS
Recorded date                            : 2024-01-24 19:11:56+02:00
Writing application                      : Sony

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings                          : CABAC / 2 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 2 frames
Format settings, GOP                     : M=2, N=13
Codec ID                                 : 27
Duration                                 : 16 min 22 s
Bit rate mode                            : Variable
Bit rate                                 : 16.2 Mb/s
Maximum bit rate                         : 16.0 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan type, store method                  : Separated fields
Scan order                               : Top Field First
Bits/(Pixel*Frame)                       : 0.312
Stream size                              : 1.85 GiB (93%)
IrisFNumber                              : 1.800000

Audio
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : 129
Duration                                 : 16 min 22 s
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Delay relative to video                  : -80 ms
Stream size                              : 52.4 MiB (3%)
Service kind                             : Complete Main
AC3_metadata cmixlev                     : -3.0 dB
 surmixlev                               : -3 dB

Text
ID                                       : 4608 (0x1200)
Menu ID                                  : 1 (0x1)
Format                                   : PGS
Codec ID                                 : 144
Duration                                 : 16 min 22 s
Delay relative to video                  : -80 ms

 

 

.... and second (audio):

General
Complete name                            : G:\__SOURCE\2024_01_NON_IRON\WAV\R_20240123-192407.wav
Format                                   : Wave
Format settings                          : PcmWaveformat
File size                                : 409 MiB
Duration                                 : 37 min 10 s
Overall bit rate mode                    : Constant
Overall bit rate                         : 1 536 kb/s

Audio
Format                                   : PCM
Format settings                          : Little / Signed
Codec ID                                 : 1
Duration                                 : 37 min 10 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                              : 408 MiB (100%)

 

@browj2 I will try your method tomorrow and back to you with results ;-)

Rgds Darek


Laptop: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz   2.40 GHz RAM: 8,00 GB Graphics: AMD Radeon Windows10Home Ver: 22H2 Compilation: 19045.4170 WindowsFeatureExperiencePack 1000.19054.1000.0

Canon 6D; Sony HDR-XR50; GoPro6; DJI MavicPro; DJI MavicAir2;

magix_dr wrote on 4/10/2024, 2:40 AM

Hi John,
I just tried your method. Unfortunately, it's even worse - the program sets the audio track incorrectly - and at no point is it synchronized with the picture.
I don't have a problem with the synchronization itself. I am able to set the common point of picture and sound (such as hitting a snare drum or cymbal) with relative precision at the start. However, when I start a movie - the audio file "runs" faster than the picture and, for example, the sound of the singer appears much faster than you can see in the picture. At about 30 seconds of the movie this shift is already about 10 seconds!
Both audio files have a sampling rate of 48000

Rgds Darek


Laptop: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz   2.40 GHz RAM: 8,00 GB Graphics: AMD Radeon Windows10Home Ver: 22H2 Compilation: 19045.4170 WindowsFeatureExperiencePack 1000.19054.1000.0

Canon 6D; Sony HDR-XR50; GoPro6; DJI MavicPro; DJI MavicAir2;

AAProds wrote on 4/10/2024, 3:14 AM

@magix_dr

Darek, your WAV file (37min) is more than twice as long as your video (16min). It should show you that on the timeline, with the audio object for the WAV being much longer than the video object.

I'm not an expert on audio but it seems to me that you need to redo your WAV.

Last changed by AAProds on 4/10/2024, 3:14 AM, changed a total of 1 times.

All my forum comments are based on or refer to my System 1.

My struggle is over! I built my (now) system 2 in 2011 when DV was king and MPEG 2 was just coming onto the scene and I needed a more powerful system to cope. Since then we've advanced to MP4 and to bigger and bigger resolutions. I was really suffering, not so much in editing (with proxies) but in encoding, which just took ages. A video, with Neat Video noise reduction applied, would encode at 12% of film speed. My new system 1 does the same job at 160% of film speed. Marvellous. I'm keeping my old system as a capture station for analogue video tapes and DV.

System 1

Windows 11 v23H2 severely modified by Openshell and ExplorerPatcher

Power supply: 850W Cooler Master (should have got modular)

CPU: Intel i7 13700K running at 3400mhz, cooled by a Kraken 2x140mm All In One liquid cooler.

RAM: 64gb (2x32gb sticks) G.Skill "Ripjaws" DDR4 3200Mhz

GPU 1: iGPU UHD 770

GPU 2: NVidia RTX 3060Ti Windforce 8gb

C drive: NVME 500gb

Various other SSD and HDDs.

Monitor: 27"/68cm Samsung, 2560 x 1440, 43 pixels/cm.

MEP 2021 version 20.0.1.80

Movie Studio 2023 version 22.0.3.172

Magix Video Easy version 7.0.1.145

System 2

(Still in use for TV and videotape capture)

Windows 10 v22H2

CPU: i5-750 at 2670mhz with 12gb RAM

Onboard IEEE1394 (Firewire) port

GPU: ATI Radeon HD 4770 (512mb) which is ignored by MEP

Hard drives: C Drive 256gb SSD, various other HDDs.

Monitor: Dell 22"/56cm, 1680x1050, 35 pixels/cm

MEP 2021 version 20.0.1.80

Movie Studio 2023 version 22.0.3.172

VPX 12

emmrecs wrote on 4/10/2024, 3:33 AM

@magix_dr

Hi Darek,

I agree with what @AAProds (Al) has just said: there is something "seriously different" about that separate wav file!

Are you willing to post just that file to a file-sharing site - I use wetransfer, it's free for files up to 2GB - and then post the link here, or PM me the link if you don't want to share it publicly? I do quite a lot of pure audio work and would very much like to look at your audio file. From what you say I suspect it is not actually 48kHz but at a higher sample rate.

Jeff
Forum Moderator

Win 10 Pro 64 bit, Intel i7 Quad Core 6700K @ 4GHz, 32 GB RAM, NVidia GTX 1660TI and Intel HD530 Graphics, MOTU 8-Pre f/w audio interface, VPX, MEP, Music Maker, PhotoStory Deluxe, Photo Manager Deluxe, Xara 3D Maker 7, Samplitude Pro X7 Suite, Reaper, Adobe Audition 3, CS6 and CC, 2 x Canon HG10 cameras, 1 x Canon EOS 600D, Akaso EK7000 Pro Action Cam

magix_dr wrote on 4/10/2024, 6:04 AM

A brief explanation. The concert consisted of two parts. The first 37min, the second 45min. I have a separate WAV file for each part of the concert.
The SONY HDR-XR500 camera was turned (almost) on non-stop; During the recording, about 2GB files are created - each about 16min long. So for one WAV file I need three MTS from the camera.
So I take the first WAV file - and synchronize it with the first (one of three) files from the camera. My starting (sync) point is the drum beat. However, after just a few seconds you can see that it doesn't match - and after about 30sec this offset is already on the order of 10sec.


OK. I will try to send the first WAV file (about 400MB),
and a snippet from the first camera file (the whole has about.2GB) What is the best way to trim the mts file?

Rgds Darek


Laptop: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz   2.40 GHz RAM: 8,00 GB Graphics: AMD Radeon Windows10Home Ver: 22H2 Compilation: 19045.4170 WindowsFeatureExperiencePack 1000.19054.1000.0

Canon 6D; Sony HDR-XR50; GoPro6; DJI MavicPro; DJI MavicAir2;

AAProds wrote on 4/10/2024, 7:01 AM

@magix_dr

Darek, you can use AVIDemux, as per my guide here to trim your file and make a snippet:

https://www.aaproductions.net/avidemux.htm

Mark out the first roughly 30sec or so. That should be about 150mb.

Google Drive is another good file hoster. Just remember to set the "sharing" to "anybody with the link".

Another thing to check: are the video files on the timeline indicating the correct length eg 16minutes long and also, that the WAV file/s are the correct length too.

There is the "Object stretch" mouse mode which allows you to lengthen or shorten the audio object. I use this often if I have an increasingly out of sync condition. It's normally only a few seconds over an hour though, unlike yours.

One more thing: watch the vide closely: 10sec out in 30 is an appreciable speed up or down and may be noticeable; you may be able to ascertain which is playing in error, the video or the audio.

Last changed by AAProds on 4/10/2024, 7:02 AM, changed a total of 1 times.

All my forum comments are based on or refer to my System 1.

My struggle is over! I built my (now) system 2 in 2011 when DV was king and MPEG 2 was just coming onto the scene and I needed a more powerful system to cope. Since then we've advanced to MP4 and to bigger and bigger resolutions. I was really suffering, not so much in editing (with proxies) but in encoding, which just took ages. A video, with Neat Video noise reduction applied, would encode at 12% of film speed. My new system 1 does the same job at 160% of film speed. Marvellous. I'm keeping my old system as a capture station for analogue video tapes and DV.

System 1

Windows 11 v23H2 severely modified by Openshell and ExplorerPatcher

Power supply: 850W Cooler Master (should have got modular)

CPU: Intel i7 13700K running at 3400mhz, cooled by a Kraken 2x140mm All In One liquid cooler.

RAM: 64gb (2x32gb sticks) G.Skill "Ripjaws" DDR4 3200Mhz

GPU 1: iGPU UHD 770

GPU 2: NVidia RTX 3060Ti Windforce 8gb

C drive: NVME 500gb

Various other SSD and HDDs.

Monitor: 27"/68cm Samsung, 2560 x 1440, 43 pixels/cm.

MEP 2021 version 20.0.1.80

Movie Studio 2023 version 22.0.3.172

Magix Video Easy version 7.0.1.145

System 2

(Still in use for TV and videotape capture)

Windows 10 v22H2

CPU: i5-750 at 2670mhz with 12gb RAM

Onboard IEEE1394 (Firewire) port

GPU: ATI Radeon HD 4770 (512mb) which is ignored by MEP

Hard drives: C Drive 256gb SSD, various other HDDs.

Monitor: Dell 22"/56cm, 1680x1050, 35 pixels/cm

MEP 2021 version 20.0.1.80

Movie Studio 2023 version 22.0.3.172

VPX 12

emmrecs wrote on 4/10/2024, 7:04 AM

@magix_dr

If you are trying to synchronise that longer wave file with a video file which contains only the first part of the content of the audio file, I am not surprised that all the previous suggestions do not work!

You must ensure that ALL the video files required to "match" that audio file are on your timeline. MEP will try, very hard, to ensure the audio file is, as near as possible, the "same length" as the video. Hence, the considerable speed-up you are hearing!

In practice, I suspect you may need to export your 3 mts video files to create ONE file which you can then place on your MEP timeline and then add your separate wav file and synchronise them.

Jeff
Forum Moderator

Win 10 Pro 64 bit, Intel i7 Quad Core 6700K @ 4GHz, 32 GB RAM, NVidia GTX 1660TI and Intel HD530 Graphics, MOTU 8-Pre f/w audio interface, VPX, MEP, Music Maker, PhotoStory Deluxe, Photo Manager Deluxe, Xara 3D Maker 7, Samplitude Pro X7 Suite, Reaper, Adobe Audition 3, CS6 and CC, 2 x Canon HG10 cameras, 1 x Canon EOS 600D, Akaso EK7000 Pro Action Cam

AAProds wrote on 4/10/2024, 7:39 AM

@magix_dr @emmrecs

Darek, I'd second Jeff's suggestion. You can smart-join your three video files with AVIDemux; that will join them up without re-rendering them (as all will be the same codec), which is what would happen if you did it in Magix. After opening the first file, for the second use File>Append, then again for the third.

All my forum comments are based on or refer to my System 1.

My struggle is over! I built my (now) system 2 in 2011 when DV was king and MPEG 2 was just coming onto the scene and I needed a more powerful system to cope. Since then we've advanced to MP4 and to bigger and bigger resolutions. I was really suffering, not so much in editing (with proxies) but in encoding, which just took ages. A video, with Neat Video noise reduction applied, would encode at 12% of film speed. My new system 1 does the same job at 160% of film speed. Marvellous. I'm keeping my old system as a capture station for analogue video tapes and DV.

System 1

Windows 11 v23H2 severely modified by Openshell and ExplorerPatcher

Power supply: 850W Cooler Master (should have got modular)

CPU: Intel i7 13700K running at 3400mhz, cooled by a Kraken 2x140mm All In One liquid cooler.

RAM: 64gb (2x32gb sticks) G.Skill "Ripjaws" DDR4 3200Mhz

GPU 1: iGPU UHD 770

GPU 2: NVidia RTX 3060Ti Windforce 8gb

C drive: NVME 500gb

Various other SSD and HDDs.

Monitor: 27"/68cm Samsung, 2560 x 1440, 43 pixels/cm.

MEP 2021 version 20.0.1.80

Movie Studio 2023 version 22.0.3.172

Magix Video Easy version 7.0.1.145

System 2

(Still in use for TV and videotape capture)

Windows 10 v22H2

CPU: i5-750 at 2670mhz with 12gb RAM

Onboard IEEE1394 (Firewire) port

GPU: ATI Radeon HD 4770 (512mb) which is ignored by MEP

Hard drives: C Drive 256gb SSD, various other HDDs.

Monitor: Dell 22"/56cm, 1680x1050, 35 pixels/cm

MEP 2021 version 20.0.1.80

Movie Studio 2023 version 22.0.3.172

VPX 12

johnebaker wrote on 4/10/2024, 7:43 AM

@emmrecs, @magix_dr

Hi

. . . . From what you say I suspect it is not actually 48kHz but at a higher sample rate. . . . .

That was also my thought, an odd bitrate, however for this to speed up I would have expected it to be a lower sample rate.

However,

. . . . You must ensure that ALL the video files required to "match" that audio file are on your timeline. . . . .

I have been testing various WAV files of different sample rates, in the range 16 - 192 kHz and 16, 24 and 32 bit depths, with video of the same specs ( from my HDR-XR520VE )as the MediaInfo provided, also adjusting the sound card settings to different sample rates/bit depths, and cannot replicate the issue.

With the original files, we may find something different with the files.

John EB

Last changed by johnebaker on 4/10/2024, 7:49 AM, changed a total of 1 times.

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

magix_dr wrote on 4/10/2024, 8:03 AM

All in all, I didn't want to use the automatic synchronization function [Align other audio objects with this track].

I thought that if I set the footage from the camera on one track (one, two or three files - that is, about 16, 32, 48min), and put 37min of wav on the other track, and then manually set the position of the wav file relative to some characteristic point (e.g., a drum beat), the rest would "automatically" match - because, after all, the duration of the song on the video from the camera and on the WAV file should be the same. I can trim the redundant audio track (with 1 or 2 mts files) or video (with 3 mts files).
I haven't used (and don't want to use) the Align other audio objects with this track function - because then indeed both tracks should be of similar length.


I have done other projects in a similar way. At that time I had video footage from 2 cameras. (Files from each camera placed on a separate track), and on the third track I had an MP3 file. [On subsequent tracks subtitles etc]. At that time, I did not use multicam mode, or the Align other audio objects with this track function. I aligned all the elements on the timeline manually - and everything matched.
Now I'm doing the same thing, but instead of my own mp3 files I used before, I want to use a WAV file I received from the mixing table.


And I can't figure out what the problem is.... and how to solve it

 

Rgds darek


Laptop: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz   2.40 GHz RAM: 8,00 GB Graphics: AMD Radeon Windows10Home Ver: 22H2 Compilation: 19045.4170 WindowsFeatureExperiencePack 1000.19054.1000.0

Canon 6D; Sony HDR-XR50; GoPro6; DJI MavicPro; DJI MavicAir2;

johnebaker wrote on 4/10/2024, 8:57 AM

@magix_dr

Hi Darek

. . . . And I can't figure out what the problem is.... and how to solve it . . . .

That is why we need samples of the video file and the wav file to determine if this is reproducible and can find a cause, or there is something unique to your PC.

What is the sound card/chipset in your PC and its settings as found in the Properties dialogue shown below

John EB

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

me_again wrote on 4/10/2024, 9:26 AM

@magix_dr

Greetings Darek,

"The movie starts synchronized, but after few seconds ..... Wav file seems to be too slow"

Is the pitch and tempo the same?

Have you tried leaving the video audio on the timeline, putting the WAV on the timeline below it and create the waveform displays? Then you can roughly cut the WAV to the clip you want and move to match up with the video audio by lining uo the 2 starts and seeing how the "peaks and troughs" compare on each line. Once you've roughly lined everything up then you can play about with it to get it in sync using the stretch mouse or timestretch or resample.

I know this is simplistic and will probably send waves of horror through the people that know about these things but it will give you an idea of what's wrong and possibly how to fix it.

It's something I do infrequently but strangely I find it quite therapeutic.

AndyW

 

"Just when I think I've learned the workrounds of MEP/MS the bounders go and update it"

Aorus Z690 Elite DDR4 Motherboard

12th Gen Intel(R) Core(TM) i7-12700K, 3600 Mhz, 12 Core(s) 20 Logical Processor(s)

64gb (4x16gb sticks) DDR4 3200Mhz

Intel(R) UHD Graphics 770

Gigabyte GeForce RTX 4060 Eagle OC 8Gb DDR6 DLSS3 Windforce

Corsair RM750 PSU, be quiet! Pure Rock 2 cooling

System drive 500Gb 4.0NVMe M,2 SSD, dedicated video/audio drive 2Tb Gen 4 NVMe SSD, 2x 500Gb Local Fixed Disks (Music etc), USB3 expansion drive 5Tb and 2Tb

Audio Onboard ALC1220 Amp-Up, Windows 11 Home updated as and when

Movie Studio 2025 Suite, Photo Manager Deluxe 13

Norton 360

All Drivers updated as they become available.

emmrecs wrote on 4/10/2024, 11:02 AM

@magix_dr

Hi Darek,

Thank you for the PM and link to those files. Are you prepared to make the link public so that others can download them and try to achieve audio/video sync? If so, please copy here the link you sent me, or I can do this but will not without your agreement!

Having looked at them I have to say that the .mts file simply would not play on my machine at all, even if I used the option to reduce resolution etc!! I wonder whether this is because my computer is now distinctly "old" (which it is - I'm having to very seriously consider a major upgrade this year) or whether the problem is the 6-channel audio. I only ever work with stereo files.

So, what I did was to use Handbrake initially to convert your .mts to mp4 with stereo audio. Then I could play it!

However, whatever I tried with the separate audio file, I could not achieve any sort of synchronisation! I even put the mp4 and separate audio files into Red Giant Plural Eyes 3.5, an industry standard software for achieving audio/video synchronisation; it failed completely! Similarly with the original .mts and audio files.

I even cut the separate audio file to the same length as the supplied video, still no joy!

I'm completely baffled!

Jeff
Forum Moderator

Win 10 Pro 64 bit, Intel i7 Quad Core 6700K @ 4GHz, 32 GB RAM, NVidia GTX 1660TI and Intel HD530 Graphics, MOTU 8-Pre f/w audio interface, VPX, MEP, Music Maker, PhotoStory Deluxe, Photo Manager Deluxe, Xara 3D Maker 7, Samplitude Pro X7 Suite, Reaper, Adobe Audition 3, CS6 and CC, 2 x Canon HG10 cameras, 1 x Canon EOS 600D, Akaso EK7000 Pro Action Cam

johnebaker wrote on 4/10/2024, 5:41 PM

@magix_dr

Hi Darek

Also thank you for the samples.

The video file is, as @emmrecs has commented, difficult to work with in Movie Studio, it takes too long a time to load for its length and playback is not smooth, I also see no video (?).

The Wav file appears to sync using the method @browj2 posted above, however the choppy play back makes it difficult to hear if it stays in sync with the video audio. Comparing the waveforms is not possible due to phase differences and audio recording device characteristics.

In Vegas Pro I do see the video, however the WAV audio does not stay in sync being approx 10 secs out after 20 secs of play and increasing as play continues.

I loaded the WAV file into Sound Forge Pro and found what appear to be 2 issues:

  • I get a message: 'File is corrupt' with details saying the 'file contained an illegal sample loop' this, AFAIK, means either the end point of the file is set as being beyond the actual end point, or the data chunks do not match what is set in the file header.

    This may be why the sync is failing.
     
  • There appear to be 3 different audio sections joined together, I can hear 2 jumps, one at approximately 19 secs and the second, not quite so obvious, at 43 secs. This in theory should not cause any issues.

Has the audio file been extracted from a longer recording? If so what software was used to extract it?

John EB

Last changed by johnebaker on 4/10/2024, 5:42 PM, changed a total of 1 times.

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

AAProds wrote on 4/10/2024, 7:26 PM

@johnebaker

The video file is, as @emmrecs has commented, difficult to work with in Movie Studio, it takes too long a time to load for its length and playback is not smooth, I also see no video (?).

John, try changing the container from MTS to MP4 with AVIDemux.

All my forum comments are based on or refer to my System 1.

My struggle is over! I built my (now) system 2 in 2011 when DV was king and MPEG 2 was just coming onto the scene and I needed a more powerful system to cope. Since then we've advanced to MP4 and to bigger and bigger resolutions. I was really suffering, not so much in editing (with proxies) but in encoding, which just took ages. A video, with Neat Video noise reduction applied, would encode at 12% of film speed. My new system 1 does the same job at 160% of film speed. Marvellous. I'm keeping my old system as a capture station for analogue video tapes and DV.

System 1

Windows 11 v23H2 severely modified by Openshell and ExplorerPatcher

Power supply: 850W Cooler Master (should have got modular)

CPU: Intel i7 13700K running at 3400mhz, cooled by a Kraken 2x140mm All In One liquid cooler.

RAM: 64gb (2x32gb sticks) G.Skill "Ripjaws" DDR4 3200Mhz

GPU 1: iGPU UHD 770

GPU 2: NVidia RTX 3060Ti Windforce 8gb

C drive: NVME 500gb

Various other SSD and HDDs.

Monitor: 27"/68cm Samsung, 2560 x 1440, 43 pixels/cm.

MEP 2021 version 20.0.1.80

Movie Studio 2023 version 22.0.3.172

Magix Video Easy version 7.0.1.145

System 2

(Still in use for TV and videotape capture)

Windows 10 v22H2

CPU: i5-750 at 2670mhz with 12gb RAM

Onboard IEEE1394 (Firewire) port

GPU: ATI Radeon HD 4770 (512mb) which is ignored by MEP

Hard drives: C Drive 256gb SSD, various other HDDs.

Monitor: Dell 22"/56cm, 1680x1050, 35 pixels/cm

MEP 2021 version 20.0.1.80

Movie Studio 2023 version 22.0.3.172

VPX 12

johnebaker wrote on 4/11/2024, 2:20 AM

Hi Al

Thanks for the heads up, converted and plays smoothly.

The issue is with the extracted video - it has been changed to Constant Bitrate, Progressive from Variable Bitrate.

Technically AVCHD does support Progressive video however there can be playback issues with it.

Next step is to fix the WAV file 'File is corrupt - file contained an illegal sample loop' message in Sound Forge to see if this is the issue and cross check results with Vegas Pro

John EB

Last changed by johnebaker on 4/11/2024, 2:22 AM, changed a total of 1 times.

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

magix_dr wrote on 4/11/2024, 2:28 AM

@johnebaker, @emmrecs I'm very sorry I didn't check the video file you sent. I trimmed it in HD Video Converter because supposedly lossless and still as mts. Indeed this trimmed file (30sec) takes a very long time to load - probably even longer than the original containing 16min of video.
I trimmed the video again - this time in AVIDemux - but this time I can no longer save it as mts. So I made an mp4. Now it loads much faster. This could also mean that HDVideoConverter generates not fully correct files (after such a simple operation as trimming)
The resulting WAV file was hurriedly summed from all the tracks/channels on the mixing table. Maybe there were some errors during this operation and rush - hence the messages signaled by SoundForgePro. I will contact the acoustician again and ask for the correct files - because the current ones are indeed difficult to match (and this is not the first time I have done this).
Thank you very much for any help and suggestions. I will return to this topic in a few days when I get (hopefully) the correct files. I will let you know if it was indeed a problem with a faulty WAV file.

Rgds Darek

 

 


Laptop: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz   2.40 GHz RAM: 8,00 GB Graphics: AMD Radeon Windows10Home Ver: 22H2 Compilation: 19045.4170 WindowsFeatureExperiencePack 1000.19054.1000.0

Canon 6D; Sony HDR-XR50; GoPro6; DJI MavicPro; DJI MavicAir2;

johnebaker wrote on 4/11/2024, 2:39 AM

@magix_dr

Hi Darek

Thank you for the additional information.

Hopefully you will have a good outcome with a new WAV file.

John EB

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

AAProds wrote on 4/11/2024, 3:44 AM

@magix_dr

Darek, You'd be surprised how the file header and or extension messes with Magix's workings. If you reformat the file details, Magix often miraculously then handles it with ease. I saw your MTS is actually just a plain old AVC/H264 video "under the hood", so that's why I suggested AVIDemux to MP4 losslessly, via smart-render. AVC+MP4 is generally well handled by Magix, especially the latest versions.

All my forum comments are based on or refer to my System 1.

My struggle is over! I built my (now) system 2 in 2011 when DV was king and MPEG 2 was just coming onto the scene and I needed a more powerful system to cope. Since then we've advanced to MP4 and to bigger and bigger resolutions. I was really suffering, not so much in editing (with proxies) but in encoding, which just took ages. A video, with Neat Video noise reduction applied, would encode at 12% of film speed. My new system 1 does the same job at 160% of film speed. Marvellous. I'm keeping my old system as a capture station for analogue video tapes and DV.

System 1

Windows 11 v23H2 severely modified by Openshell and ExplorerPatcher

Power supply: 850W Cooler Master (should have got modular)

CPU: Intel i7 13700K running at 3400mhz, cooled by a Kraken 2x140mm All In One liquid cooler.

RAM: 64gb (2x32gb sticks) G.Skill "Ripjaws" DDR4 3200Mhz

GPU 1: iGPU UHD 770

GPU 2: NVidia RTX 3060Ti Windforce 8gb

C drive: NVME 500gb

Various other SSD and HDDs.

Monitor: 27"/68cm Samsung, 2560 x 1440, 43 pixels/cm.

MEP 2021 version 20.0.1.80

Movie Studio 2023 version 22.0.3.172

Magix Video Easy version 7.0.1.145

System 2

(Still in use for TV and videotape capture)

Windows 10 v22H2

CPU: i5-750 at 2670mhz with 12gb RAM

Onboard IEEE1394 (Firewire) port

GPU: ATI Radeon HD 4770 (512mb) which is ignored by MEP

Hard drives: C Drive 256gb SSD, various other HDDs.

Monitor: Dell 22"/56cm, 1680x1050, 35 pixels/cm

MEP 2021 version 20.0.1.80

Movie Studio 2023 version 22.0.3.172

VPX 12

johnebaker wrote on 4/11/2024, 9:43 AM

@AAProds, @magix_dr

Hi Al, Darek

The original MTS files from the camera should play OK in Movie Studio. My XR-520VE produces the same AVCHD files and these play OK.

It is only HD Video Converter extracted copy, which has been modified, that does not play correctly.

John EB

 

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.