How do I stitch "chaptered" MP4 video files together seamlessly?

Comments

Tony-M78 wrote on 8/17/2019, 12:13 PM

I've actually downloaded the VP17 Trial version to see what is different/better, the video even appears jumpy and laggy in the full best preview screen there also. Rendering the video it appears to be ok though, I just need to find good rendering settings now. I went with HEVC one just a minute ago, seemed ok.

 

Thanks for your help, just perseverance now.

j-v wrote on 8/17/2019, 12:34 PM

the video even appears jumpy and laggy in the full best preview screen there also. Rendering the video it appears to be ok though,

I think that it depends on your used hardware, GPU for decoding and driverversion in that case. I showed you in my former comment what is possible with heavy 4K HEVC files.

 

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

paul-morgan wrote on 12/27/2019, 6:01 AM

@Tony-M78 Hi, hope you're well... Going back to your original post - Have you found a solution to this 'micro gap' issue? I've got the same issue with my gopro footage. A tiny tiny gap between clips. This is noticeable on all the footage I've tried stitching. 1080, 2.7, 4k. Especially when filming a live gig recently where the 'chaptered' footage happens mid song - a very noticeable 'blip' can be heard in the music. I need to stitch without any transitions. The sadly dropped gopro studio worked perfect for me... Any info appreciated. Thanks Paul

bob-justice wrote on 2/5/2020, 10:20 PM

@paul-morgan @Tony-M78

I've also been working around a similar problem with bringing GoPro AVC into Vegas Pro16. If I directly bring the file segments into Vegas, I get an audio dropout (about one frame, 1/30 second) at the end of each segment. When recording band performances, it can't be left that way. I would blame it on GoPro if I could. BUT, if I combine the clips first using Avidemux, I get no audio gap. So it seems like more of a Vegas issue (or a time setting issue that I haven't been able to figure out after much effort).

I attached a screenshot of a Vegas Pro16 project with two audio tracks. The top one is what I get if I directly bring the clips into Vegas via Project Media or drag/drop. Notice the one frame period of no audio. The second audio track is the same two GoPro segments pre-combined using Avidemux. Notice that there is NO audio gap. It's not a time issue, the waveform is exactly in sync between the two versions. The video frames are EXACTLY the same in the two versions, before and after the splice point. I do notice that there is about a third of a frame offset in the audio between the two versions AFTER the splice point (about 0.01 second?).

So, I've been working around this problem for years now. It seems to be a problem with files from GoPro HD3+ and HD5, and earlier also probably. Don't know about 6, 7, or 8. I just went back to check a HD3+ file, same issue, but it's only about half a frame dropout (still not acceptable for music).

My workaround has been to drop the files into Avidemux to join them; then "Save" using the "MP4v2 muxer" (or MP4 muxer also seems to work). Video and Audio are set to "Copy", so they are passed thru unchanged. It will do it fairly fast, think 300 fps. Then I can bring it into Vegas as a single file. Or, alternate is to just mark start and stop points in Avidemux, and not use Vegas at all if I just need plain unedited clips (without dropouts).

Most of the time, I'm using audio from a different source, so it doesn't matter. But one in a while, I have to use the GoPro audio, and that's when I encounter this problem.

paul-morgan wrote on 2/6/2020, 1:39 PM

Thanks @bob-justice for taking time out to give me some help and info - much appreciated. I will look into Avidemux for this process. The native software 'GoPro Studio' worked perfect for me for many years but this is now unavailable/not supported from GoPro @joelsonforte.br

Musicvid wrote on 2/6/2020, 4:27 PM

GoPro has a free editor called Quik, it replaces Studio.

Try mp4joiner as suggested.

My go-to choice would be VideoRedo.

You could try formatting your SD cards to NTFS, and see if it still splits the files in future shoots.

Did you try these suggestions from this same thread from 2019?

Doubtful about AVIDemux in truncated GOPs such as yours.

bob-justice wrote on 2/8/2020, 12:01 AM

@paul-morgan

Quik seems to be clunky, almost unusable. Doesn't even show the file names on clips to be sure they are in the right order. I tried updating my 2.4 to latest 2.7, still seems the same. I never finished trying it, too clunky.

I found this note on GoPro's website, after rooting around a while for info about GoPro Studio being discontinued.

"Unfortunately, we aren’t able to give out any older version of GoPro Studio. If you’re looking for a non-linear editor to make your own custom edits with, you can use iMovie on Mac or VSDC on Windows- http://www.videosoftdev.com/free-video-editor/download."

I haven't tried this software, but the website and link seem ok. I might try it to check it out sometime.

I never liked GoPro Studio because it required a "Convert" of all clips to a less compressed and much larger intermediate AVI file before you could do ANYTHING. And it was very slow; didn't seem to use the GPU at all. And then you have the larger files taking up space. And it was buggy, would freeze sometimes. I quit using it long ago.

But I do have the installer files for 5 versions from 2.0.1.319 to 2.5.7.549 and one from 2016, version unclear, maybe 2.5.8 . If you want one of those, I could probably get it to you, maybe via my GDrive. It was freeware, so shouldn't be a problem, I would think. Not sure why GoPro won't do it, though. LMK if you want to try that.

paul-morgan wrote on 2/9/2020, 12:35 PM

Hi @bob-justice Yes Quick and the app Splice from GoPro are of no use to me. I'd already found and used the software in your link from their website and downloaded the Studio freeware you also mentioned. The linked software is good although i need to use it more to get my head around it. It has various pre designed export options for different platforms/devices, something that i found useful in Studio too - especially as I'm struggling to make vid clips small enough to email to my phone for Instagram etc. Vegas is a bit too 'pro' for my needs but I'm getting my head around it with various tutorials. The stitch, basic colour adjustment, slo mo and ability to add my own music in Studio was perfect for my needs. It just got real glitchy and randomly wouldn't convert or just 'not respond'. Worked fine for years then got the feeling it was purposely playing up to make me find an alternative! Anyway, thanks again for taking the time out to give some help and advice, it's really much appreciated.

Tony-M78 wrote on 2/9/2020, 12:56 PM

@Tony-M78 Hi, hope you're well... Going back to your original post - Have you found a solution to this 'micro gap' issue? I've got the same issue with my gopro footage. A tiny tiny gap between clips. This is noticeable on all the footage I've tried stitching. 1080, 2.7, 4k. Especially when filming a live gig recently where the 'chaptered' footage happens mid song - a very noticeable 'blip' can be heard in the music. I need to stitch without any transitions. The sadly dropped gopro studio worked perfect for me... Any info appreciated. Thanks Paul

Hi there. I get a very small stutter, I just put up with it now.

 

I've got other issues now lol.

fred-w wrote on 2/10/2020, 10:45 AM

Hi all,

I wonder if you could help me possibly.

 

I'm recording larger files with GoPro Hero7 black but because they are 4k60 format, every 4GB it "Chapters" the files and breaks them into several individual files. When I then place the individual video files into Sony Vegas, each time the video plays at the cross over of each clip, there is a very little frame skip. Is there a way of making the transition from one video file to the next appear absolutely seamless with no visible clue that its two video files "stitched" together?

thanks in advance.

Here's GoPro Studio if anyone cares to download:
https://1drv.ms/u/s!Ak0WpUNIBCfngV_eZkSKoWp_fPUs?e=VtUgRx

Liberty610 wrote on 1/22/2021, 12:58 PM

I would like to come back to this topic, and I just got a Hero 9 and am using Vegas 17 and I am having the same exact issue. I am going to try the MP4 joiner app process.

Musicvid wrote on 1/22/2021, 10:26 PM

I suggest you start your own thread for your question.

forgotten-machines wrote on 1/28/2021, 11:24 PM

@j-v, thanks for this thread commetns. I'm new here, and new to Vegas Studio.

I have a GoPro 4 session, and when trying to import the multiple clips into Vegas Studio 17, I am getting a drop-out in audio of about 1 second at each join point, and missing at least that much video. I see your video examples above (in your video from 8/19/2019) where you indicate that there is no glitch/interruption between file clips, but I'm getting them using the same procedure you show, and my glitches & interruptions are obvious (to me anyway). The drop-out blip in audio is the most evident by-product of this.

I tried using Device Explorer in Vegas Studio to import, which works great for joining my auto-split AVCHD .MTS files recorded in long sessions on my older cameras, but doesn't recognize any of the folder structure of the GoPro SD card, so no such luck there. Notice how the "OK" button is greyed out in the screen shot below when I select the root folder with the videos...

Are there any updates since @bob-justice on 2/5/2020 reported the work-around above of using Avidemux first, before going to Vegas Studio?

His issue seems to be nearly identical to mine here.

And besides, isn't the point of Sony Vegas being able to do all of your video editing there, and not needing to go elsewhere to join and render stuff first, and potentially losing video quality in the process (not to mention TIME editing!) before bringing it in?

Are there any updates to this?

Thanks for any thoughts or advice!

Best,

AJ

Dexcon wrote on 1/29/2021, 12:53 AM

@forgotten-machines  ... it would be helpful if you could clarify exactly which Vegas product you have. You have mentioned Vegas Studio 17 which would make the product Vegas Movie Studio. You also mention Sony Vegas which would refer to a 5 years old product because Sony sold the Vegas line of products to MAGIX nearly 5 years ago. Vegas Pro 14 and Vegas Movie Studio 14 onwards are MAGIX products and understandably do not contain the brand name of the former owner.

The topic on this thread relates to Vegas Pro (14 in the case of the OP). Being a trimmed down version of Vegas Pro. Vegas Movie Studio is not as fully featured as Vegas Pro; consequently, improvements or additions made to some features of Vegas Pro may not ripple down to Vegas Movie Studio.

Cameras: Sony FDR-AX100E; GoPro Hero 11 Black Creator Edition

Installed: Vegas Pro 15, 16, 17, 18, 19, 20, 21 & 22, HitFilm Pro 2021.3, DaVinci Resolve Studio 20, BCC 2025, Mocha Pro 2025.0, NBFX TotalFX 7, Neat NR, DVD Architect 6.0, MAGIX Travel Maps, Sound Forge Pro 16, SpectraLayers Pro 11, iZotope RX11 Advanced and many other iZ plugins, Vegasaur 4.0

Windows 11

Dell Alienware Aurora 11:

10th Gen Intel i9 10900KF - 10 cores (20 threads) - 3.7 to 5.3 GHz

NVIDIA GeForce RTX 2080 SUPER 8GB GDDR6 - liquid cooled

64GB RAM - Dual Channel HyperX FURY DDR4 XMP at 3200MHz

C drive: 2TB Samsung 990 PCIe 4.0 NVMe M.2 PCIe SSD

D: drive: 4TB Samsung 870 SATA SSD (used for media for editing current projects)

E: drive: 2TB Samsung 870 SATA SSD

F: drive: 6TB WD 7200 rpm Black HDD 3.5"

Dell Ultrasharp 32" 4K Color Calibrated Monitor

 

LAPTOP:

Dell Inspiron 5310 EVO 13.3"

i5-11320H CPU

C Drive: 1TB Corsair Gen4 NVMe M.2 2230 SSD (upgraded from the original 500 GB SSD)

Monitor is 2560 x 1600 @ 60 Hz

forgotten-machines wrote on 1/29/2021, 1:15 AM

@Dexcon, thank you, and certainly! Sure enough, Movie Studio is exactly what it calls itself. I'm so new to this editor, I never noticed that, and you're the first to point it out. Thank you.

Yeah....the naming conventions for this product seem highly inconsistent in my research. SO many people are calling this thing Sony Vegas in my researching, that I'm getting confused. Thanks for setting me straight here.

OK, so we've confirmed, I'm talking about Vegas Movie Studio 17.0 Platinum, Build 204.

OK, so that said, do you think that the reason I'm having this issue is that since it's the "movie studio" version, that it's a by-product of the lower-featured program, where as the users of the more expensive Pro versions do not have this issue?

Dexcon wrote on 1/29/2021, 1:58 AM

do you think that the reason I'm having this issue is that since it's the "movie studio" version, that it's a by-product of the lower-featured program, where as the users of the more expensive Pro versions do not have this issue?

Re the joining of video events on the timeline, the original issue on this thread in late 2019 and early 2020 was related to Vegas Pro - I cannot recall that this joining feature was introduced with Vegas Pro 18 in August last year. Certainly, it is not mentioned in VP18's What's New listing in its user manual. Maybe others on the forum may know otherwise, but IMO joining (as against linking or grouping) multiple video events on the timeline into one video event without needing to render is still not an available feature of Vegas Pro - needless to say, it would be great if it were.

'Sony' is sometimes used by some who have owned/used Vegas Pro for maybe 10 years or more and are just in the habit of calling it Sony Vegas Pro. But software pirates offering/selling cracked versions of Vegas Pro curiously very often still call the product Sony Vegas Pro, and some who have taken that illegal route to obtain Vegas Pro end up on the forum seeking help but misname it here because that's the name that the pirates have used even for current VP releases.

With that in mind @forgotten-machines it would be a really good idea to remove the image that you've uploaded because it contains your VMS' serial number. As this is an open forum, anybody - including scammers - could copy and use that SN for questionable purposes. From posts on the forum in recent times, some people have apparently bought bargain-priced Vegas Pro along with a SN but activation fails because the SN has already been used. So it seems that the scammer is selling Vegas Pro with the same SN to those seeking a 'too-good-to-be-true' price with a stolen SN that will never work.

Oh, and thank you for clarifying that you have Vegas Movie Studio. Cheers.

 

Cameras: Sony FDR-AX100E; GoPro Hero 11 Black Creator Edition

Installed: Vegas Pro 15, 16, 17, 18, 19, 20, 21 & 22, HitFilm Pro 2021.3, DaVinci Resolve Studio 20, BCC 2025, Mocha Pro 2025.0, NBFX TotalFX 7, Neat NR, DVD Architect 6.0, MAGIX Travel Maps, Sound Forge Pro 16, SpectraLayers Pro 11, iZotope RX11 Advanced and many other iZ plugins, Vegasaur 4.0

Windows 11

Dell Alienware Aurora 11:

10th Gen Intel i9 10900KF - 10 cores (20 threads) - 3.7 to 5.3 GHz

NVIDIA GeForce RTX 2080 SUPER 8GB GDDR6 - liquid cooled

64GB RAM - Dual Channel HyperX FURY DDR4 XMP at 3200MHz

C drive: 2TB Samsung 990 PCIe 4.0 NVMe M.2 PCIe SSD

D: drive: 4TB Samsung 870 SATA SSD (used for media for editing current projects)

E: drive: 2TB Samsung 870 SATA SSD

F: drive: 6TB WD 7200 rpm Black HDD 3.5"

Dell Ultrasharp 32" 4K Color Calibrated Monitor

 

LAPTOP:

Dell Inspiron 5310 EVO 13.3"

i5-11320H CPU

C Drive: 1TB Corsair Gen4 NVMe M.2 2230 SSD (upgraded from the original 500 GB SSD)

Monitor is 2560 x 1600 @ 60 Hz

set wrote on 1/29/2021, 2:05 AM

... it would be a really good idea to remove the image that you've uploaded because it contains your VMS' serial number.

Don't worry - I have edited the screenshot blurring that e-mail and Serial number. - and @forgotten-machines, welcome !

Setiawan Kartawidjaja
Bandung, West Java, Indonesia (UTC+7 Time Area)

Personal FB | Personal IG | Personal YT Channel
Chungs Video FB | Chungs Video IG | Chungs Video YT Channel
Personal Portfolios YouTube Playlist
Pond5 page: My Stock Footage of Bandung city

 

System 5-2021:
Processor: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz   2.90 GHz
Video Card1: Intel UHD Graphics 630 (Driver 31.0.101.2127 (Feb 1 2024 Release date))
Video Card2: NVIDIA GeForce RTX 3060 Ti 8GB GDDR6 (Driver Version 551.23 Studio Driver (Jan 24 2024 Release Date))
RAM: 32.0 GB
OS: Windows 10 Pro Version 22H2 OS Build 19045.3693
Drive OS: SSD 240GB
Drive Working: NVMe 1TB
Drive Storage: 4TB+2TB

 

System 2-2018:
ASUS ROG Strix Hero II GL504GM Gaming Laptop
Processor: Intel(R) Core(TM) i7 8750H CPU @2.20GHz 2.21 GHz
Video Card 1: Intel(R) UHD Graphics 630 (Driver 31.0.101.2111)
Video Card 2: NVIDIA GeForce GTX 1060 6GB GDDR5 VRAM (Driver Version 537.58)
RAM: 16GB
OS: Win11 Home 64-bit Version 22H2 OS Build 22621.2428
Storage: M.2 NVMe PCIe 256GB SSD & 2.5" 5400rpm 1TB SSHD

 

* I don't work for VEGAS Creative Software Team. I'm just Voluntary Moderator in this forum.

forgotten-machines wrote on 1/29/2021, 4:03 AM

@set, thank you. I thought I took out the email addresses already, but just didn't care about the software keys. Now I realize I should have cared about both!

And @Dexcon thank you for that clarification, I understand the landscape of this much better now because of your detailed explanations.

Meanwhile, I do have some updates here, on my attempt at the work-around for this:

After trying avidemux as a work-around for this.
1) It appears that the MP4v2 muxer output option in the original suggestion, has now been removed as an option, because it is now obsolete, replaced by just MP4 muxer.  Good.


2) After going through the "append" procedure, here, I get this warning. What on earth is this warning telling me?  Is it warning me that the same problem I went here to solve will still persist?

 

That's what I wondered, but I just clicked "yes" and crossed my fingers, and the output was perfect!  It went right through the 12:00 & 24:00 minute marks where the original files were divided, and there was no indication whatsoever of an audio drop-out, or any skipped video frames.  Smooth as glass.  Excellent suggestion and work-around!

NOW, if we can just get these features installed (or repaired?) directly into Vegas Movie Studio or Pro...hmmmm

Anyway, thanks all for your feedback, and hopefully this will also help someone!

Best,
AJ

vkmast wrote on 1/29/2021, 10:25 AM

FYI re data protection to anyone posting as this seems to be often overlooked. Whenever you make a "New Post", there is this advice: "Please be mindful of data protection. Do not publish any personal information. Examples of personal information are your email address, telephone number, credit card number, serial number or order number." Thank you.