Can't Join Files - Video compression format differ

Discussion about Avi2Dvd.
Requests and bug fixing.

Moderators: george, roger_rabbit, reburn, Excalibur!, skyheartblue

Post Reply
Mark

Can't Join Files - Video compression format differ

Post by Mark »

I have 3 avi's to join together. They are named correctly and I have done this before.

All three are from different sources.

When I press go I get the following error msg:

Can't Join Files - Video compression format differ: xvid <-> XVID

Avisynth open failure:
AVISource autodetect: couldn't open file
Error code: 2
(E:\avi2dvd\avi2dvd_temp\avisynth_script_file.avs, line2)


When I use AVIcodec all three files appear to be the same format.
AVIcodec output.

FileName;FileType;FileDate;FileRealSize;FileTheoSize;FileDuration;FileQuality;VideoCodec;vcName;vcUrl;vcDriver;vcSuppByVFW;AspectRatio;Width;Height;FramesNb;Fps;VSec;VSize;VAvgBPS;aStreamsNb;AudioCodec1;a1Name;a1Url;a1SuppByVFW;a1Channels;a1SamplesNb;a1Sps;a1AvgBPS;a1Sec;a1Size;AudioCodec2;a2Name;a2Url;a2SuppByVFW;a2Channels;a2SamplesNb;a2Sps;a2AvgBPS;a2Sec;a2Size
E:\AVI2DVD\Dr Who CD1.avi;AVI;2005-04-18 00:35:54;367329280;367328832;2700;56;XVID;"XVID Mpeg-4";http://www.koepi.org/xvid.shtml;;2;"16:9";640;368;67512;25.0;2700;323424684;958;1;0055;"MPEG Layer-3";http://www.free-codecs.com/MPEG_Layer_3_Codec_download.htm;1;2;112520;48000;130;2700;43893900;0000;"";;0;0;0;0;0;0;0
E:\AVI2DVD\Dr Who CD2.avi;AVI;2005-04-24 12:33:16;367182460;367182460;2574;68;XVID;"XVID Mpeg-4";http://www.koepi.org/xvid.shtml;;2;"16:9";640;368;64367;25.0;2574;305404418;949;1;0055;"MPEG Layer-3";http://www.free-codecs.com/MPEG_Layer_3_Codec_download.htm;1;2;107279;48000;192;2574;61776000;0000;"";;0;0;0;0;0;0;0
E:\AVI2DVD\Dr Who CD3.avi;AVI;2005-05-03 05:48:38;368025082;368025082;2718;67;XVID;"XVID Mpeg-4";http://www.koepi.org/xvid.shtml;;2;"16:9";640;368;67956;25.0;2718;302791040;891;1;0055;"MPEG Layer-3";http://www.free-codecs.com/MPEG_Layer_3_Codec_download.htm;1;2;113260;48000;192;2718;65232000;0000;"";;0;0;0;0;0;0;0


OTHER LOG FILES

[9:05:32 PM] AVI2DVD Started !
[9:05:34 PM] Type mode : Avi Input
[9:05:34 PM] Output : Dvd
[9:05:34 PM] Encoder Selected : QuEnc
[9:05:34 PM] Video Join ...
[9:07:43 PM] Video Joined successfully! [E:\AVI2DVD\Dr
Who CD Joined.avi -1 Bytes]
[9:07:43 PM] Start demuxing the selected audio ...
[9:07:43 PM] Demuxing of the selected audio finished
successfully !
[E:\AVI2DVD\Avi2dvd_temp\Extracted_Audio.mp3 0
Bytes]
[9:07:43 PM] Starts Audio correction ...
[9:07:43 PM] Audio corrected successfully !
[E:\AVI2DVD\Avi2dvd_temp\Fixed_Audio01.mp3 -1 Bytes]
[9:07:43 PM] Starts Mp3->Ac3 convertion ...
[9:07:43 PM] Ac3 generated successfully !
[E:\AVI2DVD\Avi2dvd_temp\AudioStream 1 MP3 2CH.ac3
0 Bytes]
[9:07:43 PM] Start creating avisynth script ...
[9:07:43 PM] Avisynth script created successfully !
[E:\AVI2DVD\Avi2dvd_temp\Avisynth_Script_File.avs 158
Bytes]
[9:07:43 PM] Bitrate used : 4095 Kbpps
[9:07:43 PM] Start video encoding ...
[9:08:56 PM] Video encoded successfully !
[E:\AVI2DVD\Avi2dvd_temp\Encoded_Video.m2v 0 Bytes]
[9:08:56 PM] Muxing audio+video ...
[9:08:56 PM] M2v muxed successfully !
[E:\AVI2DVD\Avi2dvd_temp\Encoded_Video_Muxed.mpg
-1 Bytes]
[9:08:56 PM] Zero subtitles found
[9:08:56 PM] Author script generation ...
[9:08:56 PM] Author script generated successfully !
[9:08:56 PM] Start authoring ...
[9:08:56 PM] Dvd authored successfully ! [
E:\AVI2DVD\Avi2dvd_temp\DVD ]
[9:08:56 PM] Generating iso ...
[9:08:57 PM] Iso generated successfully ! This is the file
that you must burn -->
[E:\AVI2DVD\Avi2dvd_temp\DVD_Image.iso 866304
Bytes]
[9:08:57 PM] Job Done !!!



BeSplit v0.82 by DSPguru.
--------------------------
Logging start : 05/03/05 , 21:07:43.

-core( -input E:\AVI2DVD\Avi2dvd_temp\Extracted_Audio.mp3 -prefix E:\AVI2DVD\AVI2DV~1\Fixed_Audio -type mp3 -fix -logfile E:\AVI2DVD\AVI2DV~1\BeSplit.txt )

[00:00:00:000] +------- BeSplit -----
[00:00:00:000] | Input : E:\AVI2DVD\Avi2dvd_temp\Extracted_Audio.mp3
Error openning Input file : "E:\AVI2DVD\Avi2dvd_temp\Extracted_Audio.mp3".
Quiting...



What can I do to have them recognises as the same format, is there an option or another program to convert them all to a format avi2dvd will work with?

Thanks for any help (again)
Mark
reburn
Senior Member
Posts: 49
Joined: Thu Mar 17, 2005 11:33 am

to join movies

Post by reburn »

all movie must have excact 'valuse'

frame rate (fps) , resolution , codec

example :

divx movie with 25fps ans 640*420 resolution * 3 parts

you can encoded them with virtual dub with some filter like reize to get the same resolution

i will try fo find you a simple guide but this is the main idea to encode the movie with some filter using virtual dub mod
Mark

divx files

Post by Mark »

As I understand the information in avicodec all three files are the same.

ie 25 fps
640*368 (16:9)
XVID=Mpeg-4

The only difference I see is the the length of the video and quality of the video. Last time I joined three episodes the quality was different in all of them so I dont think this is the problem.

Thanks for you help, sorry to be so much trouble but I am new at this and simply want to have Dr Who on DVD :)
Mark
reburn
Senior Member
Posts: 49
Joined: Thu Mar 17, 2005 11:33 am

you can join them simpllly

Post by reburn »

with virtual dub mod

1 go to C:\Program Files\Avi2Dvd\Programs\VirtualDubMod
run VirtualDubMod.exe

2 go step by step with this simple guide

http://www.afterdawn.com/guides/archive ... in_avi.cfm

3 i don't know what is the problem but this a good solution :-)

update us if you need more advice

good luck
skyheartblue
Senior Member
Posts: 50
Joined: Thu Mar 10, 2005 8:05 am

Post by skyheartblue »

Mark,
You have a problem with AviSynth output script, there are ways to handle it but more complicated...
As reburn suggested you should join the AVI files before loading it to Avi2Dvd.
None the less, VirtualDubMod that is included with Avi2Dvd package is well known to have issues with source AVI's that includes audio like MP3, so I would recommend you to try Nandub instead, you can download it from here:

http://www.doom9.org/Soft21/Encoders/MP ... c2-fix.zip

The procedure of how to join the files is exact as the one reburn sent you, I attached a different one for your convenient:
Start up Nandub, and load the first AVI file.

Then select File - Append video segment

Now set both video and audio to direct stream copy.

Now press F7, select a name for the new file (make sure it's different from the 2 original files), then press OK to save. After a short while you'll have your whole movie in one file.
In any case, after joining the files check the output file for any audio synchronization errors by playing it with Media player.

Cheers,
JB
Mark

Post by Mark »

Thank you both for your suggestions.

I tried virtual dub and nandub - both come back with the following error message on loading the second segment "Cannot append segment: The video streams use incompatible compression types".

The good news is that I can append 2 & 3, which is a two part series:)

Thanks
Mark
Post Reply