Quantcast Encoding is adding duplicate frames - digitalFAQ.com Support Forum
Go Back   digitalFAQ.com Support Forum > Digital Video > DVD Project Help > Encode, Convert

Reply
LinkBack Thread Tools
  #1  
09-01-2010, 05:22 PM
bbartley9 bbartley9 is offline
Premium Member
 
Join Date: Jun 2010
Location: Chicago suburbs
Posts: 21
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via AIM to bbartley9
Need some help understanding a video conversion issue I am seeing. I'm taking a captured AVI file (HuffYUV encoded, 640x480, 29.970 FR, audio is PCM 48kHz) from PC to Mac, then using Apple Compressor to convert to an editable format for FCP. I choose Apple's ProRes422 HQ, and I see a difference in the encoded output when I use the setting "Frame Rate = 29.97" versus using "Frame Rate = Same As Source". When I use 29.97, I have noticed that some duplicate frames are added to the video (perhaps substituted, not sure yet). This creates some slight jittery spots in some places. In this case, the audio is in sync with the output video.

When encoded with "Same as Source" frame rate choice, I don't see the duplicate frames anymore, but I also notice in that case that the output has about 49 frames less (out of 200K or so) than the original AVI. Also, the output audio is out of sync with the output video in that case, even when I set Compressor to do "pass through" audio (...and I get the same result when audio is set to PCM in compressor).

I am wondering if Compressor is seeing bad frames and dropping them (and substituting a duplicate when I use the 29.97 frame rate setting to maintain the rate?). Is there any way to tell which case it is? Also, what's a good way to make sure the audio is in sync with the video, if I choose to stick with the video output that doesn't add duplicates?

Maybe I should be figuring out if it's bad frames (and fixing?) first? I am not aware of any tools that do that yet.
Reply With Quote


  #2  
09-01-2010, 05:52 PM
admin's Avatar
admin admin is offline
Site Staff / Media Project and Technical Adviser
 
Join Date: Oct 2003
Posts: 3,890
Thanks: 109
Thanked 405 Times in 353 Posts
And you have a full TBC in the capture chain, correct?
__________________
If this site has been as helpful as a book or magazine, then donate a few dollars or consider upgrading your membership.
Don't forget to Like Us on Facebook or Follow Us on Twitter for special news and deals. Thanks!
You must be logged in to view images and download attachments.
Reply With Quote
  #3  
09-01-2010, 06:42 PM
bbartley9 bbartley9 is offline
Premium Member
 
Join Date: Jun 2010
Location: Chicago suburbs
Posts: 21
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via AIM to bbartley9
Correct, in general (AVT 8710).... I am trying to remember if this particular capture had it in the path, though ... maybe not. The frame that seems to be missing looks OK to me in VLC with the AVI (unless VLC is just not showing the frame I was comparing, around the spot where there is a duplicate).

Last edited by bbartley9; 09-01-2010 at 06:42 PM. Reason: add detail
Reply With Quote
  #4  
09-01-2010, 06:55 PM
admin's Avatar
admin admin is offline
Site Staff / Media Project and Technical Adviser
 
Join Date: Oct 2003
Posts: 3,890
Thanks: 109
Thanked 405 Times in 353 Posts
Maybe there's an issue with FCP or the HuffYUV Mac codec?
__________________
If this site has been as helpful as a book or magazine, then donate a few dollars or consider upgrading your membership.
Don't forget to Like Us on Facebook or Follow Us on Twitter for special news and deals. Thanks!
You must be logged in to view images and download attachments.
Reply With Quote
  #5  
09-01-2010, 08:18 PM
bbartley9 bbartley9 is offline
Premium Member
 
Join Date: Jun 2010
Location: Chicago suburbs
Posts: 21
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via AIM to bbartley9
Could be the HuffYUV, which is done through the Perian package on Mac. FCP is out of the picture, I think, as I see this right after the first encode to ProRes422 using Compressor (before importing to FCP). I'm going to play around some more and see if I can narrow down things to specific frames that seem bad or are getting substituted out.

Can you recommend and PC software that's good at analyzing AVI's and maybe correcting them? I do have GSpot, but will have to run it again to see if it reports any errors.
Reply With Quote
  #6  
09-01-2010, 10:37 PM
admin's Avatar
admin admin is offline
Site Staff / Media Project and Technical Adviser
 
Join Date: Oct 2003
Posts: 3,890
Thanks: 109
Thanked 405 Times in 353 Posts
Something just does not sound like it's being decoded properly. And this is something I've seen and read about before. Not with Mac or Huffyuv specifically, but just codecs in general. Although it's often with MP4's more than others.

I'm not seeing anything obvious.
__________________
If this site has been as helpful as a book or magazine, then donate a few dollars or consider upgrading your membership.
Don't forget to Like Us on Facebook or Follow Us on Twitter for special news and deals. Thanks!
You must be logged in to view images and download attachments.
Reply With Quote
  #7  
09-01-2010, 11:05 PM
bbartley9 bbartley9 is offline
Premium Member
 
Join Date: Jun 2010
Location: Chicago suburbs
Posts: 21
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via AIM to bbartley9
Yeah, I was initially wondering if the Apple ProRes codec is making some occasional mathematical errors in the process of trying to enforce a 29.97 frame rate (by adding duplicates), which might explain why it doesn't happen when i set the frame rate to match the source with the other compression settings staying thr same. That assumes the latter mode would shut off any frame stuffing or subtracting algorithms. I don't know, buy I'll have to work around it in this case.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding background music to the DVD menus Superstar Edit Video & Audio 2 07-19-2009 04:52 PM
Need pgm to extract frames from avi mlaviolette Edit Video & Audio 3 04-30-2006 11:06 AM
Adding subtitles fortunec00kie Edit Video & Audio 0 03-29-2006 07:18 AM
ATI All in Wonder dropping frames allaboutduncan Capture, Record, Transfer 5 06-13-2005 03:10 AM
Adding unlimited text in Adobe Pro 1.5 jrnyhead Encode, Convert 2 05-26-2005 02:05 PM

Thread Tools



 
All times are GMT -5. The time now is 12:12 PM  —  vBulletin Copyright © 2011 Jelsoft Enterprises Ltd  —  SEO by vBSEO