Strange encoding glitch with H.264 and DivX at DVinfo.net

Go Back   DV Info Net > The Tools of DV and HD Production > Open DV Discussion

Open DV Discussion
For topics which don't fit into any of the other categories.


Reply
 
Thread Tools Search this Thread
Old June 12th, 2009, 09:27 PM   #1
Regular Crew
 
Join Date: Aug 2007
Location: Mt Laurel, NJ
Posts: 43
Strange encoding glitch with H.264 and DivX

Greetings, all. I've noticed a very peculiar glitch when I attempt to compress some of my raw .avi files. I first noticed it when I compressed the video to DivX, and again when I attempted it with H.264.

The problem is as follows: at approximately 9:26 into the video (any video of mine, actually), the frame flickers green (see screenshots below) and it is accompanied by a high pitched beep. I thought something had just gone awry during the encoding process, but here's where it gets strange. This error not only occurs at 9:26, but also roughly at every integer multiple of 9:26. For example, the same problem manifests itself at 18:53 and so forth.

The videos I'm encoding are about 40 minutes in length, so you can imagine how annoying these glitches are. What's more, this frame flicker/beep does NOT appear in the raw .avi file.

1 frame before glitch:
http://hate5six.com/glitch/frame1.png

Glitch:
http://hate5six.com/glitch/frame2.png


Does anyone have any clues as to why this might be happening? Thanks in advance!
Sunny Singh is offline   Reply With Quote
Old June 12th, 2009, 11:06 PM   #2
Inner Circle
 
Join Date: Feb 2007
Location: Fairfield, Dunedin, New Zealand
Posts: 3,634
Images: 18
Hi Sunny.............

You don't say what sort of system and resources you're using for this encoding.

Knowing nothing more than it's "a computer", I'd have to venture:

a. File size limit issue
b. Sleep/ standbye issue
c. Resource issue with competing applications - Firewall/ anti virus/ disc management/ auto data feed update etc.


Without more info I'm shooting blind, tho' even more info may not illuminate this one.


CS
Chris Soucy is offline   Reply With Quote
Old June 13th, 2009, 08:18 AM   #3
Regular Crew
 
Join Date: Aug 2007
Location: Mt Laurel, NJ
Posts: 43
Careless oversight on my part!

2.4 GHz P4 running Windows XP (32 bit)
1.5GB RAM
1TB of space between 3 drives (each 7200rpms)

The .avi's are generated using Premiere Pro 1.0 and/or Premiere Pro 2.0. Encoding has been tested with the following: Dr. DivX, h264, and Handbrake.

It's obviously an older machine, but I perform maintenance routinely and everything *seems* to be okay with it. It performs well enough for the editing I do, it's just the encoding process that goes awry.
Sunny Singh is offline   Reply With Quote
Old June 13th, 2009, 01:57 PM   #4
Regular Crew
 
Join Date: Aug 2007
Location: Mt Laurel, NJ
Posts: 43
The problem has been replicated on an older, albeit different, machine (1.06GHz Athlon, 384MB RAM). The glitch is again appearing with the same exact regularity at every 9 minutes and 26 seconds in the video(s).

Now I'll attempt it on a Linux box...
Sunny Singh is offline   Reply With Quote
Old June 13th, 2009, 05:25 PM   #5
Regular Crew
 
Join Date: Aug 2007
Location: Mt Laurel, NJ
Posts: 43
Okay, things just got even weirder!



I transferred the raw avi file from my Windows machine to my Linux box in an attempt to test a compression on that box. The entire file transferred over successfully (roughly 36 minutes long). VLC plays the video fine and indicates the correct duration of 36 minutes. However, another player (Totem to be exact) registers the video as only being 9:26 in length!



Now I'm starting to think it's a problem with the exported avi...
Sunny Singh is offline   Reply With Quote
Old June 13th, 2009, 05:43 PM   #6
Inner Circle
 
Join Date: Feb 2007
Location: Fairfield, Dunedin, New Zealand
Posts: 3,634
Images: 18
Hi again.........

Sunny, where are these files coming from?

Is it possible there is a problem with whatever is the source?

May be simplistic but it would appear that a file header value is being written incorrectly or a file record is being inserted after a certain file size that is throwing the compression algorithm.

Weird!


CS
Chris Soucy is offline   Reply With Quote
Old June 16th, 2009, 05:29 PM   #7
Inner Circle
 
Join Date: Aug 2005
Location: Atlanta/USA
Posts: 2,507
Sunny,

download copy of GSpot and analyze your video. As Chris mentioned, your problem is likely not the video itself but the embedded info.

GSpot Codec Information Appliance
__________________
Ervin Farkas, CDVS
Certified Legal Videographer
Ervin Farkas is offline   Reply
Reply

DV Info Net refers all where-to-buy and where-to-rent questions exclusively to these trusted full line dealers and rental houses...

Professional Video
(800) 833-4801
Portland, OR

B&H Photo Video
(866) 521-7381
New York, NY

Z.G.C.
(973) 335-4460
Mountain Lakes, NJ

Abel Cine Tech
(888) 700-4416
N.Y. NY & L.A. CA

Precision Camera
(800) 677-1023
Austin, TX

DV Info Net also encourages you to support local businesses and buy from an authorized dealer in your neighborhood.
  You are here: DV Info Net > The Tools of DV and HD Production > Open DV Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 



Google
 

All times are GMT -6. The time now is 07:38 PM.


DV Info Net -- Real Names, Real People, Real Info!
1998-2017 The Digital Video Information Network