|
|
| rgr |
| Posted: Sep 7 2012, 01:55 PM |
 |
|
Newbie

Group: Members
Posts: 4
Member No.: 35273
Joined: 8-August 12

|
Hi,
I tried to join multiple avi and I get desync (shifting audio). I googled and now know that joined clips must have video & audio tracks with this same length (VirtualDub doesn't warning me and now many hours of work is waste...)
Is there any automatic solution to joining avi? My avi is from camera (mjpeg+pcm) and every have shorter audio than video (about 0,1s per clip but when I joined 10 clips this is VERY noticeable).
I tried avi demux (recommended) but doesn't work (messed audio completely - video 50m, audio 1:30h!) |
 |
| Abrazo |
| Posted: Sep 7 2012, 07:50 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10

|
Please read this thread: http://forums.virtualdub.org/index.php?act...=ST&f=4&t=21110
You can also SEARCH (top right of the window) in this forum via "Search by keywords" |
 |
| rgr |
| Posted: Sep 21 2012, 12:09 PM |
 |
|
Newbie

Group: Members
Posts: 4
Member No.: 35273
Joined: 8-August 12

|
Well, seems that is impossible with VD to join multiple AVI without editing (and cutting video frames), right? |
 |
| Abrazo |
| Posted: Sep 21 2012, 05:14 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10

|
I think that it will not be possible to join and sync your files without any intervention. And the problem is not due to VirtualDub, but to the way that codecs split up your file. Audio- and Video-pieces are not equal in length !
But let us say that not all your work is waste.
You can keep each encoded videopart like it is and write it very fast to a new file by setting the VirtualDub's Video-menu to 'Direct stream copy'. In the same runtime you can best rewrite the audio as uncompressed (set the Audio-menu to 'Full processing' and after that set the Audio > Compression to 'No compression').
I would propose you test this out with one of your files by using the settings here above and write to a new file. Then open this new file in VirtualDub and look in File > Information... If video and audio do still not have exactly equal times, than retry the above steps but first remove the very last frame of your file.
After you have re-worked the several parts in this way, you can join them via opening the first part and then File > Append AVI segment... for every next one. Use again Direct stream copy for the Video and now set a Compression-codec for the Audio.
I hope this will help...
|
 |
| rgr |
| Posted: Sep 25 2012, 10:41 AM |
 |
|
Newbie

Group: Members
Posts: 4
Member No.: 35273
Joined: 8-August 12

|
Yes, I try this.
Source audio is uncompressed (PCM) and with Full processing (to uncompressed audio, to mp3 etc. I still get audio shorter than video - VDub doesn't add silence to align video and audio tracks. So this method doesn't work.
Removing last frame work, but I have a lot clips to join, so this method is very time-consuming. |
 |