user27039: I had a 595mb .MP4 video (data rate: 510 kbps, Total bitrate 638 kbps). And I joined it with another .MP4 youtube video with a lower quality(only the end part).. The resulting video file has a data rate of 389kbps and Total bitrate of 517 kbps.. The size is also significantly smaller; 494mb.. I used a program called Video Combiner.. And side by side I can see the original one is better quality looking.. so what am i doing wrong? any suggestions? I just wanna join 2 video files without loss of total quality.

user24180: Your program probably re-encoded the resulting video file from scratch and used whatever setting it considered okay.
If you want to have more control about the process and/or do not want it to re-encode the video at all (if both are of the same format), then I strongly suggest looking into ffmpeg for this.
For reference, https://trac.ffmpeg.org/wiki/Concatenate - the concat demuxer is what you want.
As the most simple example, copy both your video files (let's call them videoA.mp4 and videoB.mp4) into the same folder. Create a videos.txt file with just this content:
file videoA.mp4
file videoB.mp4

Now run ffmpeg with this command:
ffmpeg -f concat -i videos.txt -c copy videoOut.mp4

If all goes well this gives you a new file with both videos in one file, with the original encoding intact.

27039: <p>I had a 595mb .MP4 video (data rate: 510 kbps, Total bitrate 638 kbps). And I joined it with another .MP4 youtube video with a lower quality(only the end part).. The resulting video file has a data rate of 389kbps and Total bitrate of 517 kbps.. The size is also significantly smaller; 494mb.. I used a program called Video Combiner.. And side by side I can see the original one is better quality looking.. so what am i doing wrong? any suggestions? I just wanna join 2 video files without loss of total quality.</p>
 24180: <p>Your program probably re-encoded the resulting video file from scratch and used whatever setting it considered okay.</p>

<p>If you want to have more control about the process <em>and/or</em> do not want it to re-encode the video at all (if both are of the same format), then I strongly suggest looking into ffmpeg for this.</p>

<p>For reference, <a href="https://trac.ffmpeg.org/wiki/Concatenate" rel="nofollow noreferrer">https://trac.ffmpeg.org/wiki/Concatenate</a> - the concat demuxer is what you want.</p>

<p>As the most simple example, copy both your video files (let's call them videoA.mp4 and videoB.mp4) into the same folder. Create a videos.txt file with just this content:</p>

<pre><code>file videoA.mp4
file videoB.mp4
</code></pre>

<p>Now run ffmpeg with this command:</p>

<pre><code>ffmpeg -f concat -i videos.txt -c copy videoOut.mp4
</code></pre>

<p>If all goes well this gives you a new file with both videos in one file, with the original encoding intact.</p>
