Link to home
Start Free TrialLog in
Avatar of jorbagw
jorbagw

asked on

Cleaning up AVI files

I have discovered a problem with many of my avi files when I try to use them on a hardware player. The files play fine under windows but stutter so badly they are unwatchable.

I am partway to a solution. I have discovered that the ripping tool I have been using - Magic DVD ripper 5 - adds a lot of crap into the file which windows can cope with but the hardware player cant. I need to "remux" the files and "remove junk" and there's one remaining outstanding problem. After doing this the soundtrack is out of sync with the video by a second or two when played on the hardware player (still plays fine on windows). So the problems I want to solve in order of priority are

1. How do I get the audio and video re-synced
2. Can anyone point me to a tool that will remux and remove junk and incorporates whatever the answer is to point 1 AND (this is the important bit) will do it in batch - I have over a thousand files to apply this to.

Any tips on a better ripping tool (pref open source) would also be appreciated
Avatar of Merete
Merete
Flag of Australia image

Whats the hardware player?
usually avi have divx  or Xvid codecs.
maybe you just need a codec divx to play them right or make sure the divx codec is inlcuded in the extract
I have no idea what junk/crap your refering to which this tools is supposed to be adding,
since the problem is only playback on this hardware player!!  don't remux them obviously it causes a problem.
I'd suggest you check what codecs are needed, to find out use Gspot drop one of the avi on
Establishes what video and audio codecs are required to play any video.
http://www.videohelp.com/tools/GSpot
Avatar of jorbagw
jorbagw

ASKER

The player is a popcorn hour A110.

This is the response I got on their support site.

http://www.networkedmediatank.com/showthread.php?tid=32861&pid=302493#pid302493

When I followed this advise, the file would play on the popcorn, but suffered the syncing problem
gsport-screenshot.JPG
try using Virtual dub with Virtual dub mod / sync
http://www.videohelp.com/tools?toolsearch=Virtual+dub&convert=&s=&orderby=Name&hits=50

Looking at your snap is this one of the originals?
You dont have any codecs installed for Xvid or divx
Riff avi is a chunk that has been split I'd say it's the Magic DVD ripper 5 dont use it.
Look for Easy Divx it converts a mpeg2 ie vobs to avi
http://www.digital-digest.com/dvd/articles/sefy/dvd2divx.html
http://www.digital-digest.com/dvd/articles/sefy/ImTOO.html
This is similar to your problem
http://www.networkedmediatank.com/showthread.php?tid=32861&pid=302493#pid302493
Avatar of jorbagw

ASKER

Sorry for taking so long to come back - silly season and all

Attached is a screenshot of another file. The reason codecs are not present is that I have just finished rebuilding - these have been installed now.

Ok on the dvd ripper. Looking at your links, this is the replacement ripper I need. Cool

it doesn't solve all my problems. I need to clean up several hundred files that have been created using this dodgy ripper. I no longer have the disks (part of the point of digitising was to get rid of the disks).

Your last link is not "like" my problem. It is my post. The solution offered is partially successful. remuxing and removing the junk does allow the file to play on the popcorn, but the sound is out of sync with the video - this is where I started this question.

I need to
1. Solve the audio/video sync problem
2. find a way to automate the remux/cleanup and whatever turns out to be the solution to 1

Thanx
gsport-screenshot2.jpg
Lol yeah i realized that after the fact>Your last link is not "like" my problem. It is my post.<< silly season :)
well not sure what to offer you
 I think you know it's not realistic to automate this stuff if it's even possible.
The format you have there Xvid ISO mpeg4
and 1 gig in size? Pity they are so big
I converted all my video to Xvid 700 megs  or less copied them all to my external  USB2 hard drive and play them from there on my TV
Nothing wrong there Gspot.., maybe the media player you use, try using VLC
http://www.videolan.org/vlc/
install ffdshow and see if that will render the files in the media player you use now
Download FFDShow MPEG-4
http://www.free-codecs.com/download/FFDshow.htm
Super video converter is my second tool I use the most good for re-encoding video you cue them up and encode them to a smaller size if you want  but not too many
http://www.videohelp.com/tools/SUPER

All my avi are like this snapshot Gspot



Xvid.jpg
Avatar of jorbagw

ASKER

I use VLC on the PC and it will play these fine.
I don't have the option of changing the player on the media player.

I'll have a play with the tools you've suggested and see if I can get what I need.
Thanx
Ok good, ffdshow should fix the out of sync if you use windows media player
since they play ok in VLC, the difference between Windows media player and  VLC is  vlc open source.
WMP may try to look up cddb or look DRM etc causing a lag.
Cheers
Avatar of jorbagw

ASKER

Fingers crossed,  but I dont get the sync problem on windows, only on the media tank. Have no idea what player it uses

Let me give it a try and come back to you
Oh I just recapped on this
 lets go to the guys who know this software
How to Remux an avi
http://www.networkedmediatank.com/showthread.php?tid=13884
How to Remux and Remove JUNK from an avi with Avi-MuxGUI
http://www.networkedmediatank.com/showthread.php?tid=13884
Avatar of jorbagw

ASKER

Moderator, it's the silly season. Things will take a little longer. Pls dont close
Hows the holidays :)
Just keeping your question open jorbagw
Avatar of jorbagw

ASKER

Thanx mate. Having fun. I will get around to testing the proposed solution on some more recent files today. (the original one which had the sound sync problem was originally released in the 70s). If this sound/video sync problem is gone then Q2 is still relevant and unanswered. I already have the Avi-MUXgui tool but it only does one file at a time. I have hundreds of files to reformat. I need an automated solution.
Avatar of jorbagw

ASKER

OK, I have tried this on a more recent movie(avi) and I still have the sound lag. i.e. the video runs about two seconds behind the audio. Windows seems to be able to deal with this, but the popcorn hour cant. How do I fix this?
ASKER CERTIFIED SOLUTION
Avatar of Merete
Merete
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jorbagw

ASKER

Tried all of these with no success. Given that the videos play fine on windows I think the most cost effective solution is to get new ripper software that doesnt cause the problem and replace the popcorn hour with a windows based media station.

Thanx for all of your help
J.
Avatar of jorbagw

ASKER

The problem was not resolved. Rather than fixing the avi files, I am throwing out the media player.
Avatar of jorbagw

ASKER

Have found a solution. The product Wondershare dvd converter ultimate will rip DVDs and convert existing avi's to a clean format. Only real complaint is that it ups the size of the file by about 50%. On the positive, no technical knowledge needed. select a format, press a button and you're done