Go Back   MacRumors Forums > Apple Hardware > Apple TV and Home Theater

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 9, 2012, 05:38 PM   #1
From A Buick 8
macrumors 68030
 
From A Buick 8's Avatar
 
Join Date: Sep 2010
Location: Ky Close to CinCinnati
converted .AVI audio out of sync

Hello, I am having an issue with .AVI files that I am converting for iTunes. The audio is out of sync. I am converting using HB. The AVI files play fine (audio in sync), but after the conversion playing them on the apple tv the audio is not in sync.

I can play the .AVI file on the ATV ( using air video) and the audio is in sync, so it must be a setting I am missing during the HB conversion. I really want these in iTunes for easy playback.

I doubt it matters but these are old VHS tapes that were converted to .AVI files.
__________________
Homemade Interocitor, iPhone 6 Plus 128gb Silver, iPad 4, Two Apple TV's, -- 21.5-inch: 3.2GHz Intel Core i3 iMac.
From A Buick 8 is offline   0 Reply With Quote
Old Dec 9, 2012, 07:11 PM   #2
Idgit
macrumors 6502
 
Join Date: Mar 2004
Open the file up in Media Info and look to see if it has a packed bitstream. If it does, unpack it with Batch Unpacker and convert the unpacked AVI using Handbrake.

If that doesn't work, try converting it with Quicktime Player or MPEG Streamclip (which uses Quicktime). Just use one of the presets, like the Apple TV 2 one. For some reason, Quicktime can sometimes successfully convert problematic AVIs where Handbrake and other ffmpeg-based converters can't.

I have also had some AVIs that just could not be converted without audio sync problems. There was just something funky about them.
Idgit is offline   0 Reply With Quote
Old Dec 10, 2012, 09:37 AM   #3
From A Buick 8
Thread Starter
macrumors 68030
 
From A Buick 8's Avatar
 
Join Date: Sep 2010
Location: Ky Close to CinCinnati
Quote:
Originally Posted by Idgit View Post
Open the file up in Media Info and look to see if it has a packed bitstream. If it does, unpack it with Batch Unpacker and convert the unpacked AVI using Handbrake.

If that doesn't work, try converting it with Quicktime Player or MPEG Streamclip (which uses Quicktime). Just use one of the presets, like the Apple TV 2 one. For some reason, Quicktime can sometimes successfully convert problematic AVIs where Handbrake and other ffmpeg-based converters can't.

I have also had some AVIs that just could not be converted without audio sync problems. There was just something funky about them.
thanks i will try this, these are old episodes of MST3K, my son has recently found the joy of that program and we have seen all that netflix has to offer.
__________________
Homemade Interocitor, iPhone 6 Plus 128gb Silver, iPad 4, Two Apple TV's, -- 21.5-inch: 3.2GHz Intel Core i3 iMac.
From A Buick 8 is offline   0 Reply With Quote
Old Dec 10, 2012, 05:21 PM   #4
From A Buick 8
Thread Starter
macrumors 68030
 
From A Buick 8's Avatar
 
Join Date: Sep 2010
Location: Ky Close to CinCinnati
Quote:
Originally Posted by Idgit View Post
Open the file up in Media Info and look to see if it has a packed bitstream. If it does, unpack it with Batch Unpacker and convert the unpacked AVI using Handbrake.

If that doesn't work, try converting it with Quicktime Player or MPEG Streamclip (which uses Quicktime). Just use one of the presets, like the Apple TV 2 one. For some reason, Quicktime can sometimes successfully convert problematic AVIs where Handbrake and other ffmpeg-based converters can't.

I have also had some AVIs that just could not be converted without audio sync problems. There was just something funky about them.
Not sure if the bitstream is packed or not, here is what i see when I open it in media info. Also when i play the file in iTunes on my iMac the audio sync issue is not there, it only shows up when streaming on the ATV
Attached Thumbnails
Click image for larger version

Name:	info.jpg
Views:	16
Size:	59.6 KB
ID:	382789  
__________________
Homemade Interocitor, iPhone 6 Plus 128gb Silver, iPad 4, Two Apple TV's, -- 21.5-inch: 3.2GHz Intel Core i3 iMac.
From A Buick 8 is offline   0 Reply With Quote
Old Dec 10, 2012, 09:13 PM   #5
Idgit
macrumors 6502
 
Join Date: Mar 2004
Whatever app you're using, doesn't seem to display enough information. Try VideoSpec [free] or the open source MediaInfo.

Quote:
Originally Posted by From A Buick 8 View Post
Not sure if the bitstream is packed or not, here is what i see when I open it in media info. Also when i play the file in iTunes on my iMac the audio sync issue is not there, it only shows up when streaming on the ATV
Idgit is offline   0 Reply With Quote
Old Dec 11, 2012, 04:44 AM   #6
From A Buick 8
Thread Starter
macrumors 68030
 
From A Buick 8's Avatar
 
Join Date: Sep 2010
Location: Ky Close to CinCinnati
Quote:
Originally Posted by Idgit View Post
Whatever app you're using, doesn't seem to display enough information. Try VideoSpec [free] or the open source MediaInfo.
I had used media info, here is what i see with video spec
Attached Thumbnails
Click image for larger version

Name:	info.jpg
Views:	22
Size:	69.5 KB
ID:	382889  
__________________
Homemade Interocitor, iPhone 6 Plus 128gb Silver, iPad 4, Two Apple TV's, -- 21.5-inch: 3.2GHz Intel Core i3 iMac.
From A Buick 8 is offline   0 Reply With Quote
Old Dec 11, 2012, 11:58 AM   #7
Idgit
macrumors 6502
 
Join Date: Mar 2004
Quote:
Originally Posted by From A Buick 8 View Post
I had used media info, here is what i see with video spec
Thanks for that screenshot. The big thing that stands out to me is that your AVI doesn't contain a XVID or DivX video file, but rather a MS MPEG-4 v2 video file. That is most likely the source of your sync problems.

The audio is also in mono, not stereo. So I'm not surprised that you had sync problems.

My first suggestion would be to look for better quality files. Yours is low-res, mono, and encoded with a old, non-standard codec. You might want to try your public library. I've gotten many TV DVDs for old shows from our library system and ripped them.

However, if you still want to convert that file, make sure you have the latest Perian codec installed and try converting the video file with Quicktime. You might have to tinker with the settings. Keep the audio to mono. If you're lucky, it'll work.
Idgit is offline   0 Reply With Quote
Old Dec 11, 2012, 01:41 PM   #8
From A Buick 8
Thread Starter
macrumors 68030
 
From A Buick 8's Avatar
 
Join Date: Sep 2010
Location: Ky Close to CinCinnati
Thanks for the help i will give that a shot.

----------

Is it weird that the converted files does not have the sync problem when played through itunes on my mac, and only shows up when streamed through the ATV
__________________
Homemade Interocitor, iPhone 6 Plus 128gb Silver, iPad 4, Two Apple TV's, -- 21.5-inch: 3.2GHz Intel Core i3 iMac.
From A Buick 8 is offline   0 Reply With Quote
Old Dec 11, 2012, 01:44 PM   #9
Idgit
macrumors 6502
 
Join Date: Mar 2004
Quote:
Originally Posted by From A Buick 8 View Post
Is it weird that the converted files does not have the sync problem when played through itunes on my mac, and only shows up when streamed through the ATV
That's interesting. In the converted file, what HB preset did you use? Is the audio track AAC stereo or AAC mono?
Idgit is offline   0 Reply With Quote
Old Dec 11, 2012, 05:05 PM   #10
From A Buick 8
Thread Starter
macrumors 68030
 
From A Buick 8's Avatar
 
Join Date: Sep 2010
Location: Ky Close to CinCinnati
Quote:
Originally Posted by Idgit View Post
That's interesting. In the converted file, what HB preset did you use? Is the audio track AAC stereo or AAC mono?
Here is a screen shot of the same file as a .m4v
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2012-12-11 at 6.03.49 PM.png
Views:	11
Size:	143.0 KB
ID:	382972  
__________________
Homemade Interocitor, iPhone 6 Plus 128gb Silver, iPad 4, Two Apple TV's, -- 21.5-inch: 3.2GHz Intel Core i3 iMac.
From A Buick 8 is offline   0 Reply With Quote
Old Dec 11, 2012, 05:49 PM   #11
Idgit
macrumors 6502
 
Join Date: Mar 2004
Quote:
Originally Posted by From A Buick 8 View Post
Here is a screen shot of the same file as a .m4v
The only thing that stands out is the High@2.1 profile. Is that from the Apple TV 3 preset? Might want to try a Main profile encode.

I would try a re-encode using the iPad or Apple TV 2 preset in Quicktime to see if it works. If it does, the problem is with Handbrake and certain files.
Idgit is offline   0 Reply With Quote
Old Dec 11, 2012, 08:12 PM   #12
From A Buick 8
Thread Starter
macrumors 68030
 
From A Buick 8's Avatar
 
Join Date: Sep 2010
Location: Ky Close to CinCinnati
Quote:
Originally Posted by Idgit View Post
The only thing that stands out is the High@2.1 profile. Is that from the Apple TV 3 preset? Might want to try a Main profile encode.

I would try a re-encode using the iPad or Apple TV 2 preset in Quicktime to see if it works. If it does, the problem is with Handbrake and certain files.
All I have, is the Quicktime player I was thinking about getting quicktime though. Looking at the Mac App Store i do not see it
__________________
Homemade Interocitor, iPhone 6 Plus 128gb Silver, iPad 4, Two Apple TV's, -- 21.5-inch: 3.2GHz Intel Core i3 iMac.
From A Buick 8 is offline   0 Reply With Quote
Old Dec 11, 2012, 08:18 PM   #13
Idgit
macrumors 6502
 
Join Date: Mar 2004
Quote:
Originally Posted by From A Buick 8 View Post
All I have, is the Quicktime player I was thinking about getting quicktime though. Looking at the Mac App Store i do not see it
You use Quicktime Player to export the video file to another format. But you can use MPEG Streamclip, which is an excellent free app.
Idgit is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Hardware > Apple TV and Home Theater

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Burn AVI to DVD: Audio Not Working Lord_Bremen Mac Basics and Help 2 May 3, 2013 11:54 AM
Audio/Video Sync Problem Avi dkongee MacBook Pro 3 Jan 22, 2013 06:01 PM
kindle book converted to audio? MacDaddyMan Mac Applications and Mac App Store 0 Dec 17, 2012 11:55 PM
Need help with QuickTime Codecs (Casio .avi file playing only audio via iPhoto) purpleinnej Mac Applications and Mac App Store 4 Aug 14, 2012 07:38 AM
Casio Digital Camera video .avi file audio only in QuickTime purpleinnej Mac Applications and Mac App Store 9 Aug 11, 2012 07:18 AM

Forum Jump

All times are GMT -5. The time now is 09:18 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC