User User name Password  
   
Tuesday 26.8.2025 / 09:49
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > digital video > video - everything else > [problem] help with cutting an avi formatted video
Show topics
 
Forums
Forums
[Problem] Help with cutting an AVI formatted video
  Jump to:
 
Posted Message
Page:12Next >
demonicme
Newbie
_
7. July 2005 @ 12:22 _ Link to this message    Send private message to this user   
[[[[[SOLUTION FOUND. See Page 2 ]]]]]


Problem here::
Recently I've been trying to cut this episode. I wanted to cut out both the beginning and ending song, so that the end result would be a smaller file size.

But, once I've cutted it and gone back to doublecheck everything is okay (Playing it again). The subtitles, the image, and the sound doesn't match up anymore. The file size became smaller but the video had become... "unwatchable".

I used the program called: "AVI MPEG ASF WMV Splitter". My friend uses it as well and hasn't experienced these problems. Can someone help me resolve this problem?

Thanks for your time! ^^

This message has been edited since posting. Last time this message was edited on 25. September 2005 @ 12:09

Advertisement
_
__
dvdplayah
Suspended due to non-functional email address
_
7. July 2005 @ 12:39 _ Link to this message    Send private message to this user   
try easy video splitter... download it from. any good torrent site...
AfterDawn Addict
_
7. July 2005 @ 14:37 _ Link to this message    Send private message to this user   
No, don't.
Just get VirtualDub.

Black holes are where God divided by zero...
Cheers, Jim
demonicme
Newbie
_
7. July 2005 @ 17:06 _ Link to this message    Send private message to this user   
Thanks for the help. I'm going to try it right now. I'll post again to tell you if it works. ^^ Thanks again.
Minion
AfterDawn Addict
_
7. July 2005 @ 17:37 _ Link to this message    Send private message to this user   
Well the Problem with AVI editing with many program is that they can only edit on a KeyFrame so if you make a Cut that is not on a Key Frame the Cut will actually be Made at the Closest Key Frame but the Audio will be Cut were at the Spot you selected so there will be a Sync Problem because the audio and Video aren"t being Cut at the Same Place.....

If you use Virtual-Dub to Cut your AVI file make sure you use the "KeyFrame" buttons to select your Cut point and Not the Frame By Frame Buttons as the KeyFrame Buttons will only let you navigate useing Keyframes.....

Cheers


PS: With Some AVI formats all of the Frames in the File are KeyFrames and these are the Most Desireable Formats for AVI editing, Some of these Formats include DV AVI, HuffYUV and Uncompressed AVI....

P-4 2.6ghz (Overclocked to 3.2ghz)
Abit IS7
1gb Dual Chanell DDR 400mhz
Zalman CNPS7000-CU Cooler(Modded with 50cfm Fan)
XFX Gforce 6600GT 128mb GDDR3 (500/1000)
Pinnacle DV500 ADVC Editing Card
RaidMax Scorpio ATX Case + 5 Led
demonicme
Newbie
_
7. July 2005 @ 17:56 _ Link to this message    Send private message to this user   
Okay, i'm on my first step to successs =.=" (Not really...)

I've gotten Virtual Dub but I don't quite understand how to use it... and how to cut it.

@Minion: What you said makes a lot of sense, except how do i use the Keyframe buttons and avoid using frame by frame? It sounds extremely complicated to me (someone who's cutting and using Virtual Dub for the first time).
And i don't quite understand the "PS" part... i think my AVI files are compressed...

Well, as you can probably see, I'm in a huge problem so help would be greatly appreciated! And once again, thanks for your time ^^
dvdplayah
Suspended due to non-functional email address
_
7. July 2005 @ 19:04 _ Link to this message    Send private message to this user   
thas y i said try easy video splitter..it's pretty simple and it works.!1
demonicme
Newbie
_
8. July 2005 @ 10:51 _ Link to this message    Send private message to this user   
Okay, I finally learned how to use Virtual Dub. There's still the same problem. Audio, and image isn't in sync. (They don't match up).

@Minion: I tried with using Keyframes. The result was a little better than using frame by frame...but it's only a little better...

@dvdplayah: Easy video splitter? Does that actually work and where do i look for it? (I think i'll be trying a search with google for the easy video splitter).

Am i the only one that's encountering these problems?!? So frustrated. I really need help. Any kind would do. Thanks!

PS: I think this may be the problem but i'm not sure. When i open up my avi. file in virtual dub, this thing pops out. It's contents read:

Virtual Dub has detected an improper VBR audio encoding in the source AVI file and will rewrite the audio header with standard CBR values during processing for better compatibility. THis may introduce up to 2025 ms of skew from the video stream. If this is unacceptable, decompress the *entire* audio stream to an uncompressed WAV file and recompress with a constant bitrate encoder. (bitrate: 118.3 [some kind of symbol here] 17.2kbps)

The above was taken word for word.. if this is the problem, how do I decompress and recompress a file to the said bitrate?

This message has been edited since posting. Last time this message was edited on 8. July 2005 @ 10:54

Minion
AfterDawn Addict
_
8. July 2005 @ 12:01 _ Link to this message    Send private message to this user   
Well you should have said before that you were getting that error when loading your File into Virtual-Dub...

What that message means is that the Audio in your AVI file uses VBR MP3 which will allways Go out of sync after rendering...

What you have to do first before editing the File is Decompress the audio in the AVI file and then Edit the AVI file with the Decompressed Audio....

You can use Virtual-dub to decompress the audio in your AVI file...
What you do is First Load your AVI into V-Dub and then go to "Video" and set it to "Direct stream copy" and then go to "Audio" and set it to "Full processing Mode" and then go to "File" to "Save As AVI" and save the File as an AVI file and in a Few Minutes you will have a New AVI file with Decompressed Audio that you will be able to edit in v-Dub useing the Keyframe Buttons without there being any sync problems.....

The Main reason why you were haveing Sync problems is because of the VBR MP3 audio in your AVI file.....

Cheers

PS: the New AVI file will be about twice as Big after decompressing the audio but this has no effect on the Size of the File if you decide to encode it to VCD/SVCD or DVD....

P-4 2.6ghz (Overclocked to 3.2ghz)
Abit IS7
1gb Dual Chanell DDR 400mhz
Zalman CNPS7000-CU Cooler(Modded with 50cfm Fan)
XFX Gforce 6600GT 128mb GDDR3 (500/1000)
Pinnacle DV500 ADVC Editing Card
RaidMax Scorpio ATX Case + 5 Led
demonicme
Newbie
_
8. July 2005 @ 13:49 _ Link to this message    Send private message to this user   
Sorry about not mentioning the above, I didn't think it was that important, a error on my part. Apologies..xp

I've tried step by step on what you said Minion, but another thing comes out, it reads:

No audio decompressor could be found to decompress the source audio format. (source format tag: 0055).

Maybe I'm doing something wrong again? sigh Please help ^^
Minion
AfterDawn Addict
_
8. July 2005 @ 14:12 _ Link to this message    Send private message to this user   
Do you have a MP3 codec installed??? because the error seems to say that you do not have a MP3 codec??

P-4 2.6ghz (Overclocked to 3.2ghz)
Abit IS7
1gb Dual Chanell DDR 400mhz
Zalman CNPS7000-CU Cooler(Modded with 50cfm Fan)
XFX Gforce 6600GT 128mb GDDR3 (500/1000)
Pinnacle DV500 ADVC Editing Card
RaidMax Scorpio ATX Case + 5 Led
demonicme
Newbie
_
8. July 2005 @ 17:04 _ Link to this message    Send private message to this user   
Hm....no, I most likely don't have a MP3 codec installed... do you by any chance know where I could get one? (By the way, I'm so grateful for your help)!
Minion
AfterDawn Addict
_
9. July 2005 @ 12:16 _ Link to this message    Send private message to this user   
You can download the "Lame Mp3 ACM Codec" here:

codec-Download-3159.html" class="korostus" target="_blank">http://www.softpedia.com/progDownload/LAME-ACM-codec-Download-315...

Cheers

P-4 2.6ghz (Overclocked to 3.2ghz)
Abit IS7
1gb Dual Chanell DDR 400mhz
Zalman CNPS7000-CU Cooler(Modded with 50cfm Fan)
XFX Gforce 6600GT 128mb GDDR3 (500/1000)
Pinnacle DV500 ADVC Editing Card
RaidMax Scorpio ATX Case + 5 Led
demonicme
Newbie
_
9. July 2005 @ 19:25 _ Link to this message    Send private message to this user   
I've downloaded the said codec from the given site. The same problem is still there. Any other suggestions? Thanks for your time, I really appreciate it.
Minion
AfterDawn Addict
_
10. July 2005 @ 11:47 _ Link to this message    Send private message to this user   
Sorry But I have No Idea why you are Still haveing Problems....

Can you Playback the audio on your PC and Hear it....If so then you allready have the Correct codecs Installed...

If you want You can PM Me with your e-mail address and I can send you simple Little tool that is used for decompressing the audio in AVI files....

P-4 2.6ghz (Overclocked to 3.2ghz)
Abit IS7
1gb Dual Chanell DDR 400mhz
Zalman CNPS7000-CU Cooler(Modded with 50cfm Fan)
XFX Gforce 6600GT 128mb GDDR3 (500/1000)
Pinnacle DV500 ADVC Editing Card
RaidMax Scorpio ATX Case + 5 Led
demonicme
Newbie
_
25. July 2005 @ 04:06 _ Link to this message    Send private message to this user   
Can anyone else help me please?
breencp
Newbie
_
2. August 2005 @ 17:51 _ Link to this message    Send private message to this user   
SOLUTION HERE!

Damn this was a tough one. I came across this thread in an effort to solve my own problem, which was exactly the same as yours, demonicme. The audio stream in my divx (avi) file was vbr mp3, and while every player I have (windows media, Ulead DVD Workshop, WinAmp, etc) would play the video and audio in sync just fine, every attempt to convert this divx file to DVD (vob) format failed. The "Virtual Dub has detected an improper VBR audio encoding" was the exact error message I got. In addition, trying to decode the audio to raw WAV with virtualdub failed with the same msg... "No audio decompressor could be found to decompress the source audio format. (source format tag: 0055)." I should mention I have just about every codec I could find on the web installed, and tried different versions of each. GSpot told me the file was just fine, and in fact listed the multiple codecs that all claimed they were capable of decoding the file. And in fact, this was true, they could decode the file for viewing, but again no conversion programs could read it. So anyway, enough story line, as it's all here already, here is how I solved MY problem, resulting in an MPEG2 file with perfectly sync'd audio and video.

Step 1) I extracted the audio from the avi using avi2wave found at http://agrgic.tripod.com/avi2wav/ . It's important to note that the resulting file is simply a direct stream from the avi file, it didn't actually convert anything, and in fact, it's still a VBR MP3 Audio file. I renamed the file to .mp3 because the next program I used will do the actual conversion to raw wav, and it required that the same file name with the .wav extension be available.

Step 2) I decoded the .mp3 file to raw WAV using RazorLame (http://www.dors.de/razorlame/download.php). Simply "add" the .mp3 file, and click "decode"! This is basically a front end GUI for the LAMEMP3 decoder. If you get an error at the end of the decoding, don't freak out, I got the error too. After careful inspection though, I found I now finally had a raw wav file containing the audio from my avi file.

Step 3) I used the wizard in TMPEGEnc Plus 2.5 (http://www.pegasys-inc.com/en/download/tp.html) to merge the video of the original avi file and the audio from the new raw wav file. I did this using the project wizard to make a DVD-NTSC with CBR MPEG-1 Layer II Audio. When I was done.... whala! Perfectly sync'd video and audio in MPEG2 DVD format.

I realize you are trying to cut segments from your video file as well, which I am not doing, but you should have much better luck with a DVD compliant mpg file, vice the original avi file. I know I was quite excited to finally get this working after a week of browsing forums and destroying the integrity of my OS with the new installation of dozens of apps and codecs, which is why I registered for this forum just so I could share the solution. Let me know if this worked out for you like it did me. Good Luck!

This message has been edited since posting. Last time this message was edited on 2. August 2005 @ 17:57

celtic_d
AfterDawn Addict
_
2. August 2005 @ 21:06 _ Link to this message    Send private message to this user   
Use VirtualDubMod. You said that the subtitles were out of sync to though? You would need to adjust the subs for the missing start seperatly.
Minion
AfterDawn Addict
_
2. August 2005 @ 21:22 _ Link to this message    Send private message to this user   
That seems like a lot of Work when you don"t have to ...

P-4 2.6ghz (Overclocked to 3.2ghz)
Abit IS7
1gb Dual Chanell DDR 400mhz
Zalman CNPS7000-CU Cooler(Modded with 50cfm Fan)
XFX Gforce 6600GT 128mb GDDR3 (500/1000)
Pinnacle DV500 ADVC Editing Card
RaidMax Scorpio ATX Case + 5 Led
demonicme
Newbie
_
17. August 2005 @ 16:24 _ Link to this message    Send private message to this user   
Sorry for the late reply. I was extremely busy these past few weeks.

@breencp: I tried what you told me. First, I downloaded the avi2wave thing, then i tried to follow step one...only it was a disaster...=.=
I selected it the AVI file and then tried to extract the audio... the problem is that i can't seem to find the "extract" button. I tried the "select" button at the bottom and the popup thing came out where you're asked to save. So i tried to rename it into .mp3 (i think this is what you meant with saving it with the ext. .mp3). But it didn't save. I'm not sure why....so far, I'm stuck on step one, which is pretty sad when i think about it...

@Celtic_d:
Quote:
Use VirtualDubMod. You said that the subtitles were out of sync to though? You would need to adjust the subs for the missing start seperatly.
I'm not sure what you mean by that. I'm not familiar with VirtualDubMod, so how do I adjust the subs for the missing start separately? Please help me.

Thanks to all. I'm seriously working on trying to solve the problem. Hopefully I will have the time these few days as things are going to be getting pretty hectic around here. But please do leave a reply if you do know the solution/can help me. I'd love any kind of help. Thanks!
demonicme
Newbie
_
21. August 2005 @ 16:14 _ Link to this message    Send private message to this user   
Can anyone help? =(
celtic_d
AfterDawn Addict
_
21. August 2005 @ 18:41 _ Link to this message    Send private message to this user   
I suggested VDubMod because of the VBR mp3 audio, not for the subs.
With the subs you need to figure out how much time you cut from the start of the video and then shift the subs by the same ammount. Subrip, subtitle workshop, etc. should be able to handle that fine.
demonicme
Newbie
_
22. August 2005 @ 09:59 _ Link to this message    Send private message to this user   
Could you please give me a step by step tutorial or could you suggest where I might be able to get a tutorial. I'm new to this splitting and cutting thing so i'm very unfamiliar with VDubMod.
Quote:
With the subs you need to figure out how much time you cut from the start of the video and then shift the subs by the same amount.
How do I do that? For example, if i cut 2:36 minutes in the beginning, i should shift the subs back 2:36 minutes?

Also, is Vdubmod the same thing as VirtualDub? Sorry if this question seems so... dumb. I'm not very familiar with these programs. Any help would be greatly appreciated Celtic_d! I'd love to hear from you again ^^
demonicme
Newbie
_
25. August 2005 @ 12:16 _ Link to this message    Send private message to this user   
Anyone? ^.^"
Advertisement
_
__
 
_
breencp
Newbie
_
25. August 2005 @ 20:49 _ Link to this message    Send private message to this user   
VirtualDubMod is different...

"VirtualDubMod is based on the famous video editing software VirtualDub by Avery Lee. Born as a unification of several existing modifications, a lot of new features have been added, including support for the matroska container format." Quoted directly from the virtualdubmod website, which is http://sourceforge.net/projects/virtualdubmod/ (hint: you can download it from there too)

Here is a general tutorial that might help get ya started...

http://www.doom9.org/index.html?/vdubmod-procedures.htm
 
Page:12Next >
afterdawn.com > forums > digital video > video - everything else > [problem] help with cutting an avi formatted video
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork