Help - Search - Members - Calendar
Full Version: mp3 partial download
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - Tech
rubing
Hey all...great forum!

I am coding a php/curl script which automatically downloads a dozen or so mp3s every day from an afilliates site. However, I am really not interested in getting the whole mp3, but rather just the first 20-30secs.

I know that when I navigate to a site with mp3s and prematurely stop the downloading, I usually end up with a shorter recording, but that still plays fine. So, I am guessing I could just download the first megabyte or 2 of the file. I plan on using the files on my own site. Would this be problematic. Do I need better application for splitting up the files. I rather not waste all the bandwith and server resources.

Thanks!!
pdq
Simply truncating the files will lose any tags at the end of the file, but otherwise the files should play alright. If the files are not cbr then applications may have a problem seeking within them and the file length will display incorrectly.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.