Log in

View Full Version : How to join 2 different format avis?


Hibbs
21st July 2010, 15:56
I have two AVI's I wish to join. Virtualdubmod tells me that they are different formats and cannot do it. How do I process one to be the same as the other, in particular what properties must be the same?

MediaInfo follows:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
General
Complete name : F:\Movies\Pt01.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 697 MiB
Duration : 1h 32mn
Overal bit rate : 1049 Kbps
Writing application : VirtualDubMod 1.5.10.2 (build 2540/release)
Writing library : VirtualDubMod build 2540/release

Video
Format : MPEG-4 Visual
Format profile : Streaming Video@L1
Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default
Muxing mode : Packet Bitstream
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 1h 32mn
Bit rate : 910 Kbps
Width : 640 pixels
Height : 352 pixels
Display aspect ratio : 16/9
Frame rate : 25.000 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.162
Stream size : 604 MiB
Writing library : XviD 1.1.0 (UTC 2005-11-22)

Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Codec ID : 55
Codec ID/Hint : MP3
Duration : 1h 32mn
Bit rate mode : Variable
Bit rate : 127 Kbps
Nominal bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 84.1 MiB
Writing library : LAME3.90.
Encoding settings : ABR
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
General
Complete name : F:\Movies\Pt02.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 872 MiB
Duration : 1h 49mn
Overal bit rate : 1115 Kbps
Writing application : VirtualDubMod 1.5.10.2 (build 2540/release)
Writing library : VirtualDubMod build 2540/release

Video
Format : MPEG-4 Visual
Format profile : Streaming Video@L1
Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default
Muxing mode : Packet Bitstream
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 1h 49mn
Bit rate : 1000 Kbps
Width : 512 pixels
Height : 288 pixels
Display aspect ratio : 16/9
Frame rate : 25.000 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.271
Stream size : 781 MiB
Writing library : XviD 1.2.0.dev47 (UTC 2006-11-01)

Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Codec ID : 55
Codec ID/Hint : MP3
Bit rate mode : Constant
Bit rate : 128 Kbps
Minimum bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 83.4 MiB
Writing library : LAME3.97
Encoding settings : CBR
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Frame rate and aspect of 02 has been adjusted to that of 01.

Thanks, Hibbs.

Adub
21st July 2010, 19:07
Your going to have to encode one avi to be like the other. It looks like your resolution is different between the two, plus the audio bitrate on one is variable while the other is constant. I'm not sure if that is a problem but I think it is.

setarip_old
22nd July 2010, 02:24
@Hibbs

Hi!

The video bitrates are different as well.

I'd suggest you start from scratch with your original source material and create only one video.

BTW - Why did you use two different versions of LAME?

Hibbs
23rd July 2010, 02:14
These two files are a 2 part tv show from different sources, hence the differences. I made all properties the same using avifrate and xvid4psp. Virtualdubmod joined fine. Audio synch was lost in file 02 for some reason. I'll try another attack.

Thanks for your input.

Hibbs
28th July 2010, 16:03
After reprocessing the two originals with Xvid4PSP I now have what appears to be two identically formatted files. I cannot see any diferences when viewed with GSpot and MediaInfo. Neither VitualDub, VirtualDubMod nor AviDemux will let me join them. What gives?

VitualDub gives the attached error.

Guest
28th July 2010, 17:01
@Hibbs

Where did you get the AVI source files?

Hibbs
29th July 2010, 16:55
A curious question until I read your forum rules. Consider the thread closed.