Chapter 20 . Playing Music and Video 537 (Web host music)
Chapter 20 . Playing Music and Video 537 . Xine playback is choppy If playback of files from your hard disk is choppy, there are a couple of settings you can check: 32-bit IO and DMA, features that, if supported by your hard disk, generally improve hard disk performance. Here s how to check: Improper disk settings can result in destroyed data on your hard disk. Perform this procedure at your own risk. This procedure is only for IDE hard drives (no SCSI)! Also, be sure to have a current backup and no activity on your hard disk if you change DMA or IO settings as described in this section. 1. First, test the speed of hard disk reads. To test the first IDE drive (/dev/hda), type: # hdparm -t /dev/hda Timing buffered disk reads: 64 MB in 19.31 seconds = 3.31 MB/sec 2. To see your current DMA and IO settings, as root user type: # hdparm -c -d /dev/hda /dev/hda: I/O support = 0 (default 16-bit) using_dma = 0 (off) 3. This result shows that both 32-bit IO and DMA are off. To turn them on, type: # hdparm -c 1 -d 1 /dev/hda /dev/hda: I/O support = 1 (32-bit) using_dma = 1 (on) 4. With both settings on, test the disk again: # hdparm -t /dev/hda Timing buffered disk reads: 64 MB in 2.2 seconds = 28.83 MB/sec In this example, buffered disk reads of 64MB went from 19.31 seconds to 2.2 seconds after changing the parameters described. Playback would be much better now. . Xine won t play particular media Messages such as no input plug-in mean that either the file format you are trying to play is not supported or it requires an additional plug-in (as is the case with playing DVDs). If the message is maybe xyx is a broken file, the file may be a proprietary version of an otherwise supported format. For example, I had a QuickTime video fail that required an SVQ3 codec (which is currently not supported under Linux), although other QuickTime files played fine. Caution
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision web design programs services