Windows copy command does not concatenates video files properly
I have concatenated 3 mpg files to one avi file using windows COPY command.
I tried this from the command prompt as well as from my application that i created in C# (using system.diagnostics.process.start)

I found that the resultant file plays well on VLC but when i try to play the same file on Windows Media Player then the resultant file plays only parts belonging to 1st and 2nd mpg's and not the third one.Though the file size is perfect.


I also tried copying the 3 mpg files to output.mpg and then converting this to final.avi..But the problem is same

Command:

    Copy /b first.mpg /b + second.mpg /b + third.mpg /b output.avi /b



can anybody suggest me what should i do or what could be the possible issue.

Thanks.

Windows copy command does not concatenates video files properly
===

I have concatenated 3 mpg files to one avi file using windows COPY command.
I tried this from the command prompt as well as from my application that i created in C# (using system.diagnostics.process.start)

I found that the resultant file plays well on VLC but when i try to play the same file on Windows Media Player then the resultant file plays only parts belonging to 1st and 2nd mpg's and not the third one.Though the file size is perfect.


I also tried copying the 3 mpg files to output.mpg and then converting this to final.avi..But the problem is same

Command:

    Copy /b first.mpg /b + second.mpg /b + third.mpg /b output.avi /b



can anybody suggest me what should i do or what could be the possible issue.

Thanks.
