Все вопросы: [mp3]

169 вопросов

похожие теги:
1
голосов
2ответов
969 просмотров

Batch program script problem breaks with file names with spaces

The following is a batch script that calls mp3splt (a program that splits mp3s http://mp3splt.sourceforge.net/mp3splt_page/home.php) into partitions of 5 mins long. for /f %%a IN ('dir /b *.mp3') do call c:\PROGRA~1\mp3splt\mp3splt -t 5.0 -o output\@[email protected][email protected] %%a It breaks when the mp3 file...

3
голосов
4ответов
1444 просмотров

Editing MP3 metadata on a file-like object in Python?

We're generating MP3 files on the fly in Python, and need to edit the ID3 headers in-memory using a file-like object. All the ID3 libraries on PyPI appear to require you to pass a filesystem path as a string. I find this rather frustrating! Writing our generated MP3 out to disk (or ramdisk) j...

2
голосов
3ответов
5336 просмотров

What's the easiest way to extract the JPG data from an MP3 header in java?

I wrote a JSP that hands my Flash front-end an XML file that describes the contents of my mp3 folder, but am stuck trying to parse the individual file headers for the album art that is embedded therein. Can anyone recommend a good library that has something straight forward that in pseudo code wo...

10
голосов
4ответов
16130 просмотров

Setting up apache to serve PHP when an MP3 file is requested

I'm working on a way to serve up MP3 files through PHP and after some help form the SO massive, I got it working here However, that example doesn't appear to work when I use it as the source in an audio tag like this <html> <head> <title>Audio Tag Experiment</ti...

10
голосов
2ответов
18160 просмотров

Can I serve MP3 files with PHP?

In the same way that it's possible to serve up images with php, for use in CAPTACHAS and such, is it possible to do the same with audio files? I've tried this <?php $track = "sometrack.mp3"; if(file_exists($track)) { header('Content-type: audio/mpeg'); header('Content-length: ' . f...

13
голосов
2ответов
8318 просмотров

Is there a javascript way to check if a browser natively supports MP3?

If the browser can play MP3's then I'll use the audio tag to play a file. If not, I'll have to load in a flash player.

1
голосов
1ответов
1020 просмотров

Adobe Flash and mp3 licence

When I publish a Flash file that contains any sound (such as a WAV file), I can choose the sound compression method (MP3, raw, ADPCM, etc.). My question is about the mp3 compression and it's licence. Flash gives me the option to compress a WAV file as mp3, but is the licence to use the mp3 forma...

2
голосов
2ответов
1311 просмотров

Parse MP3 file in .NET v4.0

How can I parse an MP3 file to get its all attributes? Also how to edit and the attributes of the MP3 file? Is there any class available in .NET v4.0?

2
голосов
3ответов
2000 просмотров

Good mp3 player for music website to sell songs?

I am building a website for someone who is starting a music studio. They want an mp3 player on there so people can hear some music. They also want the songs to have a download and buy link. I usually stay away from any flash stuff, but I think a flash player is the way to go for this right? Is...

1
голосов
1ответов
715 просмотров

Read MP3 Tags with Silverlight

Does someone know a library that I can use to read MP3 tags in Silverlight 3? In WPF I was using taglib, but obviously I cannot reference it in Silverlight projects.

0
голосов
3ответов
1830 просмотров

How do I add RIFF header to MP3 files programatically?

More information about what I want to do here; http://www.studiodust.com/riffmp3.html I want a way so that my control panel (made with Perl and Webmin) can do this automatically. Right now I have to rely on system calls and have a binary for Linux. Is there a library that does it for Perl or som...

6
голосов
6ответов
9540 просмотров

C# : concatenate 2 MP3 files

I tried to concatenate 2 MP3 files using the code below. I got a new file which I can play the first half of (complete first file), but the second half is silent. The length of the new file was correct. What do I do wrong? List<Byte[]> files = new List<byte[]>(); var tempfile = File....

0
голосов
3ответов
922 просмотров

Play mp3 files in a webpage without gaps?

I have a web page that I would like to play several mp3's one after the other without gaps when the page is loaded. I have tried a couple of js mp3 player type things (niftyplayer, jsPlayer, flash-mp3-player-js) but all f them have have gaps between tracks. Is there any way to do this, with flash...

7
голосов
3ответов
6159 просмотров

Creating a sample mp3 with fade

I need to know if it is possible to create a 30 second sample MP3 from a WAV file. The generated MP3 file must feature a fade at the start and end. Currently using ffmpeg, but can not find any documentation that would support being able to do such a thing. Could someone please provide me the na...

2
голосов
3ответов
2188 просмотров

Universal MP3 and WMA tag reader for Delphi

I know similar subjects have appeared in SO, but there wasn’t answer I am looking for. I need a Delphi library for reading tag information from music files. Currently I am using TJvID3v1 from JEDI library, but as far as I see, JEDI does not work with WMA files. I have found some manuals on how t...

19
голосов
7ответов
12970 просмотров

Automatically trimming an mp3 in PHP

Are there any ways to automatically trim an MP3 uploaded to a website to 30 seconds (or some other length) in PHP? If not, is there any good 3rd party services that could be integrated (transparently to the user) to achieve the same effect? Thanks.

1
голосов
1ответов
346 просмотров

xslt playing an mp3 via xml

I have an xml feed and I need to play an mp3 from the feed. I have set up the player <div class="musicplayer"> <div id="musicplayercontainer060251712481gbakw0201569t"></div> <script type="text/javascript"> var flashvars = {file:"music/betty.mp3",as:"0"}; ...

42
голосов
1ответов
23871 просмотров

How to crop a mp3 from x to x+n using ffmpeg?

Following this question I decided to use ffmpeg to crop MP3s. On another question I found this way of doing it: ffmpeg -t 30 -acodec copy -i inputfile.mp3 outputfile.mp3 The problem is that I don't want to crop the first 30 seconds, I want to crop from x to x+n, like from 30s to 100s. How woul...

2
голосов
2ответов
1272 просмотров

How to crop a mp3 in ASP.NET + C#?

I am in an ASP.NET project using C#. The users can upload their MP3 (I have no control over the encoding) and specify a sample size and a sample starting point. On save, the system needs to create a sample of this MP3 based on the information provided. So the question is: How can Icrop a mp3 in ...

2
голосов
1ответов
1568 просмотров

Java: Fade out music

I'm making a game. Now if my player goes to another level the music is still playing. Now I want to let the music fade out to let start the new music of the next level. I use mp3 to play. With the packages: jl1.0, mp3spi1.9.4, tritonus_share-0.3.6. Oh yeah. Volume is not supported in the FloatCo...

1
голосов
2ответов
1150 просмотров

How to stream a remote mp3 without using a full screen player? e.g. shoutcast

how do I play a remote .mp3 in an iPhone app with full control over the playback controls and visuals shown? I know MPMoviePlayerController can stream .mp3s but it takes over the whole screen. If you could just point me in the direction of an appropriate guide or class reference that would be gr...

0
голосов
1ответов
755 просмотров

Advantages of creating .ram, .wvx, .m3u files for hosting and streaming audio/video files?

We will be soon hosting a large number of audio and video files that have been historically saved in 3 various formats. (.rm, .wmv, .mp3) Should we create pointer files (.ram, .wvx, .m3u) for Web site visitors and search engines to consume them? If I create links to the actual media files direc...

0
голосов
1ответов
1384 просмотров

Get mp3 total track time using either javascript or ASP.NET

I am using the below jQuery plugin for playing mp3 www.happyworm.com/jquery/jplayer However, there is a bug in Flash that the total play (track) time won't show up correctly UNTIL AFTER the whole mp3 is completed downloaded. I wonder if there is a way to work around this to get the correct to...

1
голосов
4ответов
8718 просмотров

Flash streaming player: shoutcast (mp3/aacplus), windows media audio

Is there a flash player that could handle all of the formats mentioned above. Or different players that could handle it?

-1
голосов
4ответов
226 просмотров

have an MP3\WAV in backgroung of HTML

i want to have an MP3 constantly playing and looping in an HTML page after a page has been loaded. I also want to control this sound with HTML interface for PLAY\STOP and if i can tune up down the volume as well then it would be great but that's an optional. Is there a way to first load the soun...

0
голосов
2ответов
1201 просмотров

Play/Pause/Rewind mp3 Audio on Web Page

I've been looking for a while for a good web page embed-able mp3 player. I've considered going with the Wimpy Player, but it appears to have problems with Flash 10, and their customer support is unresponsive. My requirements are pretty simple, I want to be able to play/pause/rewind audio. I'd ...

5
голосов
4ответов
5094 просмотров

Linux: Library to write ID3v2 data and cover art

I need to locate a command line tool that would allow me to write ID3v2 and album art to an MP3 file. Command line is required as it will be executed from PHP, so no graphical interface. Searches of Google have proved fruitless, so perhaps there is a tool available that will enable me to do this?

0
голосов
1ответов
866 просмотров

SoundManager + FFMPEG causing loud popping sound when streaming MP3s?

I built an application that plays both uploaded original mp3 files, and copies that have been converted with FFMPEG. I am finding that in some cases the FFMPEG files have a horrible popping/clicking/screeching sound for a split second at startup (hear below). But when I analyze the file in an aud...

0
голосов
1ответов
686 просмотров

How to get the uncompressed file size of an MP3 file using CoreAudio API

Using CoreAudio, I am able to get the sampleRate (frames per second) and the file size, but in order to get the "total" time of the song, I need to know the Real file size of that compressed mp3. AudioStreamBasicDescription asbd; UInt32 asbdSize = sizeof(asbd); // get th...

0
голосов
1ответов
3013 просмотров

Playing an mp3 on IPhone OS 2.2.1

When I run this sample code on a 2nd generation IPod touch with OS version 3.0, it works fine. However when I run it on a 1st generation IPod touch with OS version 2.2.1, it doesn't. I am playing an mp3 for my background music but it still plays the SFX mp3 on the 3.0 device just fine. I am wo...