audio wont stay synced after avi compression

Locked
User avatar
SaitoXD
Joined: Tue May 26, 2009 12:39 pm
Location: AltamonteSprings Florida
Contact:
Org Profile

audio wont stay synced after avi compression

Post by SaitoXD » Wed May 27, 2009 6:40 pm

i need help every time i compress the vid my audio wont stay synced the way i had it in the video editor and it dosent flow with the song .

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: audio wont stay synced after avi compression

Post by Scintilla » Wed May 27, 2009 8:29 pm

Are you using an AVISynth script to serve up the video for compression? If so, please post it.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
SaitoXD
Joined: Tue May 26, 2009 12:39 pm
Location: AltamonteSprings Florida
Contact:
Org Profile

Re: audio wont stay synced after avi compression

Post by SaitoXD » Wed May 27, 2009 8:48 pm

no im not im my video dosent stay the way i had it before i had it exported as a uncompressed avi file its all out of sync with the anime.....

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: audio wont stay synced after avi compression

Post by Qyot27 » Thu May 28, 2009 6:49 pm

Uncompressed video, like other lossless formats, is not meant for real time playback - your computer probably doesn't have the hardware strength to play it back correctly. Use VirtualDub to compress it to XviD, or use one of the available solutions (like Zarx264gui or MeGUI) to create an H.264 MP4 file with x264.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
SaitoXD
Joined: Tue May 26, 2009 12:39 pm
Location: AltamonteSprings Florida
Contact:
Org Profile

Re: audio wont stay synced after avi compression

Post by SaitoXD » Thu May 28, 2009 6:58 pm

O.o the graphics card in my comp cost me 3 grand alone not to mention my mother board and processor plus the memory

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: audio wont stay synced after avi compression

Post by Scintilla » Thu May 28, 2009 8:17 pm

When the file sizes are that huge, the hard drive speed can also become a bottleneck (uncompressed implies you don't have to decode anything, so the problem just becomes one of accessing huge amounts of data fast enough). I know my computer is capable of playing full-res HuffYUV files fine, but I've never tried uncompressed...
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: audio wont stay synced after avi compression

Post by Qyot27 » Thu May 28, 2009 9:43 pm

Well, the datarate for Uncompressed RGB at 720x480 and 23.976fps is around 24 MB/s (that's megabytes, not megabits), for 29.97fps would be around 30 MB/s and so on, as each frame is a little over 1 MB in size. I can't remember what the equation was at the moment, but there is one, and it factors in the fps, resolution, and color depth.

If you've got a higher res to work with (848x480, 720x576 or 768x576, 1024x576, 720p, 1080p, etc.), then the datarate for Uncompressed will be even higher. Some might be alright, others won't. What's the average throughput for 5600 and 7200 rpm drives?
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Willen
Now in Hi-Def!
Joined: Sun Jul 10, 2005 1:50 am
Status: Melancholy
Location: SOS-Dan HQ
Org Profile

Re: audio wont stay synced after avi compression

Post by Willen » Fri May 29, 2009 8:40 am

That's hard to say because there are many factors influencing data throughput. According to Wikipedia, a 7200rpm drive will have a "sustained "disk-to-buffer" data transfer rate of about 70 megabytes per second" (http://en.wikipedia.org/wiki/Hard_disk# ... cteristics). It's not clear exactly how that number is achieved. I can't get solid numbers from data sheets. Different companies use different measuring metrics or different terminology (disk-to-buffer, host-to/from-drive, Sustained Data Rate OD, etc.). Seagate's Momentus® 7200.3 2.5" 7200rpm drives are rated 80 MB/s versus their Momentus 5400.5 2.5" 5400rpm drives at 61.3 MB/s (Sustained Internal Transfer Rate). Real world numbers should typically be lower.

There are many factors to take into account such as:
- Rotational speed of the disk. Higher is better, but many drives use slower speeds to balance power consumption (especially for notebooks), heat generation (SFF/game consoles), noise (HTPCs), and vibration.

- Location of the data on the platter. The outer edges can provide higher data transfer due to higher number of sectors per track.

- The density of the sectors on the disk. Newer, higher capacity platters can deliver higher transfer numbers due to the density of data per physical area unit compared to older designs. Linked to the physical diameter of the platter/disk where the larger surface area of a larger diameter platter (e.g. 3.5" vs. 2.5") can provide a higher density of sectors. This can sometimes make up for the fact that the disk is rotating slower. Compare the numbers of a 2TB 3.5" 7200rpm drive to that of a 300GB 2.5" 10000rpm one.

- The size and speed of the cache buffer. More important in certain circumstances (see below), but ideally it should be a minor factor.

- The fragmentation of the drive and location of the data fragments or files. Probably the biggest factor. A single large file will be read faster than many small files assuming that the large file is in one continuous chunk. If it is highly fragmented, then it's possible that the large file will get read no faster than the many small ones. A large buffer can be of some help. Obviously, defragging a hard drive can possibly gain you a huge increase in performance.

- The type of disk interface the drive is using. SATA is the current desktop speed king, but older PATA (EIDE) interfaces could bottleneck your system.
Having trouble playing back videos? I recommend: Image

User avatar
SaitoXD
Joined: Tue May 26, 2009 12:39 pm
Location: AltamonteSprings Florida
Contact:
Org Profile

Re: audio wont stay synced after avi compression

Post by SaitoXD » Sat May 30, 2009 1:02 am

um im running a 1 terabyte sata 2 harddrice

Locked

Return to “Video & Audio Help”