AV Out of Sync / mpegin.dll error during convertion

Moderator: Ken Berry

Post Reply
digikey1234

AV Out of Sync / mpegin.dll error during convertion

Post by digikey1234 »

Hello:
I previously wrote a post (http://phpbb.ulead.com.tw/EN/viewtopic. ... ht=#108804) and for whatever reason never got any reply, I want to think it was my fault, either the way I wrote it, the subject or simply because it was just to obvious for everyone, I will try to change the format now that I do have more information

Nature of the problem, VS10 crash ONLY when is converting particular "bad" files / Audio out of sync when using smartrender

Properties of your source files about 30-40 (per project) mpeg-2 files, previously renamed and aspect ratio corrected from originals MOD files (JVC Everio Camcorder)

What devices are involved and their mode of connection? Direct copy from JVC Camera to PC via USB port

Project Settings Same as Source file (MPEG files., 720 x 480, 16:9, Upper Field First, Dolby Digital Audio)

Output format MPEG-2 File (same as project properties / DVD)

PAL or NTSC NTSC

Error Codes At crash a window opens with a reference to error in the "mpegin.dll"

I must start confirming that I already tried ALL the recommended procedures including creating a profile, reinstalling, etc. anyway what I am sure is that nothing is wrong with my pc I have lots of memory and cpu power, maybe there is nothing wrong with the program is just that for some reason some of my video files make it crash, there is nothing different at least in properties between the good and the bad files.
At the beginning and after spending a lot of time rendering the files almost one by one to identify the bad ones I decided to remove the whole file, that was frustrating because I really want that part to be included in the project. So last night I decided to try something different and instead of removing the file I cut the very first 1 or 2 seconds of the video I render it again and to my surprise it worked, so is not that the whole file is "bad" there is something wrong at the beginning that VS10 doesn't like.. don't know what...
Another way to approach the problem was to not convert/render by creating a new file with the same project properties, in other words take my 30 files don't do any changes at all and create a new file (using smartrender), in this case I don't get any error messages (since it is not really converting the files just "taping" them) the process works well and is very fast, but I end up with 2 seconds difference between audio and video.
So the bottom line is (an this is where I'll like to have some feedback)

1. If I use smartrender and keep the same properties as the source files just to create 1 mpeg file I have NO crash problems but I do have AV Out of Sync
2. If I re-render my project (even if I didn't make any changes and the properties are the same as the source files, basically I just check off the smartrender option), there are NO AV sync issues, but then it will crash on the "bad" files, unless I remove them or cut the first few seconds at the start of them.

I hope that this is clear and thank you in advance for your comments
Trevor Andrew

Post by Trevor Andrew »

Hi

I have read through some of your previous posts and problems.
It appears that the main problem has been corrupt video files.
You have on one occasion fixed the video by cutting a few seconds from the start and end.

The corrupt files are probably produced during the capture/transfer process. (unless its the camera)
Using USB connection may have some bearing here.
But as its just a data file being transferred the time is irrelevant, it takes as long as it takes. The transfer does not have to be in real time.
I assume you copy the data to your hard drive then import to VS.

Even so I would recommend you use the Firewire IEEE1394 connection.
Assuming your camera has Firewire
What version of camera?

Regards

Trevor
digikey1234

Post by digikey1234 »

Thanks for your reply, my camera model is GZ-MG27, I think you are right the problem is a corrupted file, unfortunately I don't have any options about the video capture/importing, there is no firewall port on the camera, the only way to transfer video to the PC is via the USB, when you hookup the camera the pc looks at it as an external drive and just need to copy/paste the files..(you can also use the capture option in VS10+ as a portable device)
After all, this shouldn't even be an issue If I didn't have to rerender everything, I just want to create a new larger mpeg file, so when I burn a dvd it doesn't create a title from every mpeg file.. and .. as I said, if I do that it works (even with the "corrupted" files) but then the new created file has a huge audio/video sync problem..last night I tried to attach ONLY 4 files with a total length of 5 mins, created a new file using smart render (without rerendering the file) and there was a sync problem, then I did the same thing but this time WITHOUT smartrender,(re-rendering) it took longer and fortunately none of the 4 files was "corrupted" so I didn't get an error and the audio sync was OK.... the downside is that WITH the unnecessary re-rendering I loose some image quality (the original compressed mpeg file from the camera are not that great to start with) plus the possibility to have a bad file...thanks again
Post Reply