Jump to content
TSM Forums
Sign in to follow this  
JJMc

TMPGEnc

Recommended Posts

I'm trying to encode "Narc" and it only converts for a few seconds, then I get this message:

 

"Illegal Floating Decimal Point Calculation Order"

 

The video itself is very blocky and digitized, could this be why?

Share this post


Link to post
Share on other sites
Guest I'm That Damn Zzzzz

Google came up with this:

 

The file itself is a bit flawed, which is why it's being dumb. If you go to http://www.divx-digest.com/software/divfix.html, you can download DivFix. Make a copy of your file, for safety  Then open it in DivFix. Click the "Strip Index" button, and then the "Rebuild Index" button. This should detect any flaws in your file that would cause the bug in TMGEnc.

 

If that doesn't help, VirtualDub should be able to fix bad frames in the source video.

Share this post


Link to post
Share on other sites
Guest I'm That Damn Zzzzz

Check out these guides:

http://www.videohelp.com/forum/userguides/142555.php

Sometimes the regular virtual dub doesn't seem to work with bad frames(audio desync),so i use this method. it also works well with avi's that have VBR audio(you know,that annoying little box that comes up when you load your file:) ).

 

you need Vdub-mp3 :

http://www.digital-digest.com/dvd/downloads/virtualdub.html

 

 

Now this version makes a log of the bad frames at c:badframes.log

Load your avi

Video > Check video for freezes

 

Now open the log, it may have several bad blocks, so you need to delete the highest block numbers first (At keyframes)

 

12345

12346

12347

3345667

3345668

3345669 (Highest block of numbers)

 

Open Log and highlight the highest number (3345669) (COPY)switch to Vdub and select Edit> GO TO (Paste) 3345669

 

Now click the yellow keyframe forward once, then mark this as end

 

Back to the log highlight lowest number of that block (COPY)(3345667) switch back to Vdub and select GO TO (Paste) 3345667

 

Now click the yellow keyframe back once, then mark this as start

 

Press Edit> then delete key to remove those bad frames 3345667 to 3345669

 

Now do the same to the next highest block ( 12345 to 12347)

 

When you are done,then:

 

Video > direct stream copy

Audio > direct stream copy

SAVE AVI

 

Will save out a new copy without the bad frames...

 

 

http://www.videohelp.com/forum/userguides/153907.php

Fixing bad frames without losing any audio.

 

Fixing bad frames without losing any audio.

 

It's always a pain trying to work with a video that has bad frames. The video 'freeze' caused by bad frames during playback or encoder program crashes are very annoying. The most commonly used fix for bad frames involves completely cutting out the bad frame timeline from your video file - including the sound.

 

This comprehensive step-by-step guide will show you how to remove these bad frames without losing any audio! As a result, you'll have a file that won't have random audio and video gaps everywhere. Here's an example of why you would want to keep the audio:

Let's say you have a movie with two people talking and bad frames have damaged the conversation. You could remove the bad frames but still keep the flow of the conversation going by using this guide. If you were to simply cut out the frames, the conversation would seem awkward due to having various non-matching sentences joined together..

 

Tools & files required ( all free ):

VirtualDub 1.4.8 or newer (for frame masking)

VDub-MP3 (vdub_mp3_freeze)

The correct codec needed to view/open your file.

 

Guide:

Section 1

VDub-MP3 will be used in this section.

Step 1: Open VDub-MP3

Step 2: Open the file you'd like to fix using VDub-MP3.

Step 3: Click on "Video" and then "Check Video for Freezes?"

 

Step 4: The status bar at the bottom-left of VDub-MP3 will now say Examining #x-#y. Wait for the scan to finish and the "Scan Complete" dialog box to appear. Once the box appears, you may click "OK" and close VDub-MP3.

 

 

 

Section 2

VirtualDub 1.4.8 or newer will be used in this section.

Step 5: Browse to the contents of your C: drive with windows and open up the badframes.txt file.

 

Step 6: Find each set of non-consecutive numbers (ie: 1, 2, 3 are consecutive but 1, 3 are not) and put a carriage return everywhere the numbers are not consecutive. If there is more than one place in the file with bad frames, this procedure will split each set of bad frames into "chunks" that makes things easier to deal with later.

 

Step 7: With the badframes file open (do not close it), open VirtualDub.

Step 8: Open the file that you'd like to fix using VirtualDub.

Step 9: Click on "Video" and then "Direct stream copy"

 

Step 10: Make sure that "Direct "Direct stream copy" is selected under "Audio"

Step 11: Push CTRL+G or click on "Edit" and "Go to?"

 

Step 12: Type in the first number of a "bad frame chunk" that you made during Step 6 in "Jump to frame number" and push "OK"

 

Step 13: Push the "Start offset" button (bolded left arrow button).

 

Step 14: Push CTRL+G or click on "Edit" and "Go to?"

Step 15: Type in the last number of the "bad frame chunk" that you're dealing with in "Jump to frame number" and push "OK"

Step 16: Push the "Next Keyframe Button" (Yellow Key Button) and then the "End offset" button (bolded right arrow button).

 

 

Step 17: Click "Edit" and then "Mask selected frames."

 

Step 18: Repeat Steps 11-18 for each "bad frame chunk" that you made in Step 6.

Step 19: Push F7 or click on "File" and "Save as AVI?"

Step 20: Type in a name for a new file that your fixed output will be stored in.

Step 21: Click "Save" and wait for the process to finish. Once this is done, you can close everything and watch your fixed file!

Share this post


Link to post
Share on other sites

Thanks a lot, buddy. Unfortunetely, the one disc of Narc I was able to burn sucked ass so I decided to scrap the whole project. -Jim

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×