I have 2 MP4 files that are the same frame size and same frame rate.
I want to concatenate them using C#
ANY reasonable solution is OK... I'm not limited to just using ffmpeg.
I also don't mind having to transcode one or both of the files.
Yes, I have tried using ffmpeg, using all of the various ideas from this post and others How to concatenate two MP4 files using FFmpeg?
Tried AVConv & MP4Box as well. I figured if I can find a command line option then my C# code can simply execute that command.
I WAS able to get them to concatenate AFTER doing a transcode on one input file and then used the Transport Stream intermediate file method. However, the resulting file was off by 1 frame. It was the last frame of the file and is a very important frame to my application.
I found a program, Avdshare Video Converter that does concatenate my files with zero issues. I just want to do it in my application now.