All Questions
Tagged with audio-streaming mp3
95 questions
0
votes
0
answers
75
views
PHP audio stream method is slower than direct path using?
I need to hide direct path of my mp3 files. So rather than an audio tag like "
<audio controls>
<source src="sound.mp3" type="audio/mp3">
</audio>
I used ...
2
votes
1
answer
235
views
Is it possible to stitch MP3 frames together?
I'm working with CBR, no bit reservoir, 192k bitrate, and 48k sample rate MP3 files.
CBR + 192k bitrate + 48k sample rate gives a clean 576 bytes per frame.
No bit reservoir is to make each frame ...
2
votes
1
answer
214
views
How to know the byte offset of a specific CBR MP3 frame?
I created my own MP3 frame parser. I can read each frame individually if I do it sequentially.
My problem is that I have yet to figure out how to find the byte offset of the nth frame (without having ...
0
votes
1
answer
1k
views
How to detect delay or silence in an audio file?
I want to detect silence or delay in audio for a given duration file and remove it. For example, if someone started speaking and then paused for some duration to think.
There's this question but it ...
0
votes
0
answers
990
views
Mp3 stream: Invalid data found when processing input
I want to use mp3 stream as an audio to video stream using ffmpeg.
Here is audio stream: http://nspj.radiozamosc.pl/
It worked really well until today. I have no idea why it stopped working as audio ...
1
vote
1
answer
1k
views
how to record audio from a URL (podcast, radio, stream) into file without using mic. Flutter plugin Just Audio
I have a radio app where I play radio from URL using just audio in flutter (by using seturl() method and then play() method). I want to record audio using stream or some sort of other way than using ...
3
votes
1
answer
7k
views
How to play mp3 url in the background in reactjs app?
How do you add a mp3 url to your reactjs app and let it autoPlay in loop in the background?
I installed both reactplayer and react audio player packages.
Here's my code:
import "./App.css";
...
0
votes
1
answer
631
views
C/C++: Streaming MP3
In a C++ program, I get multiple chunks of PCM data and I am currently using libmp3lame to encode this data into MP3 files. The PCM chunks are produced one after another. However, instead of waiting ...
0
votes
1
answer
207
views
Equivalent of base64 -d in Javascript
My code submits an HTTP request for synthesizing speech to GCP Text-to-Speech. Suppose that the resulting audio stream is stored in the variable audioContent. When I use this code in Node.js, I am ...
0
votes
0
answers
250
views
Streaming audio through MP3 source in Java
I've been looking and reading in some old posts how to convert mp3 stream from URL and play it through Java.
my application is currently playing an audio from my PC, but I want to run a radio from ...
0
votes
0
answers
414
views
How can I stream .mp3 files in Java?
I want to stream mp3 files and accessing them using spring, but i dont know how :( have already searched the internet but havent found anything yet. I already tried it using Streams and it worked ...
-1
votes
1
answer
103
views
make it impossible to download the audio files
So guys, how do I prevent users from downloading audio files on my web app (running springboot in backend) by accessing the s3 url !
I want to make it impossible to download the audio files in my ...
0
votes
1
answer
649
views
Achieve wmpdmc audio casting via the Windows.Media.Casting (UWP)
For several versions of Windows, you've been able to right click on an MP3 file, and you'll see a menu item labeled "Cast to Device"
When I select my sonos device as listed above, it opens an app ...
0
votes
1
answer
452
views
Prevent download of MP3 files in wordpress
I know many people asks the opposite of what I am asking. I am trying to make browsers play the file instead of downloading when opening the mp3 files´ link. I do not care if the users download the ...
1
vote
2
answers
424
views
Properly split an MPEG-1 Layer 3 for streaming server
I'm working on a music streaming server. Right now i want to send MP3 file in chunks from the server to the client (through the http-range request/response). My client successfully decode the response ...
1
vote
1
answer
130
views
Audio Tracking / Analytics / Stats
I have several .mp3 (they do not have to be .mp3 I can convert them to another format - I just need to be able to play it through a browser) files on my server and I need to track:
numbers of start ...
2
votes
1
answer
443
views
What is the furthest an MP3 reservoir can be from a frame referencing it?
The compressed data of an MP3 frame can be smaller than the space available in a frame. When that happens, we call the space available a reservoir.
When a future frame is too large and can't fit in ...
1
vote
1
answer
3k
views
How do I compute the duration of an audio clip from a byte array?
I am synthesising speech using the Google cloud APIs. I have the following information about the speech synthesise response.
Sample rate: 8000 Hz
Audio format: MP3
Length of the byte array
The ...
3
votes
1
answer
2k
views
Stream mp3s From Firebase Storage
Issue
I am building a backend service that creates mp3s for an Android client to stream via ExoPlayer.
Looking at Firebase's Storage Pricing in the long term, if there are 10 gbs stored and 10,000 ...
1
vote
0
answers
242
views
Icecast Streaming using Winform compressing wave buffer into MP3
I am building this desktop application that is based on windows forms c# the goal is for it to capture sound from the sound card and stream it to an Icecast server.
Now for the streaming part I am ...
5
votes
0
answers
453
views
MP3 (MPEG I) chunk decoder for Python
I've been searching for a few days and trying many different libraries including PyDub, python_mp3_decoder (segmentation faults), pymad, but have had basically no luck in finding a library for Python ...
0
votes
1
answer
222
views
Android - extract one channel from stereo .mp3, apply it through both channels of an AudioStream
I'm trying to load an .mp3 file, and distinguish between the left and right channels. I would like to copy the data from the left channel and create an AudioStream that plays the data from the left ...
0
votes
1
answer
238
views
Setting Authorisation on Mp3 Files for Streaming
I would like to host some mp3 files for playing via a basic html5 audio player on a webpage that requires a log in, but the mp3 cant be publicly accessible.
My first thought was to setup a subdomain ...
2
votes
1
answer
597
views
Can I use javascript to retrieve the content header when setting the src on audio
I'm using the HTML5 audio control to play an mp3 file that is streaming from the server:
<audio id="audio" controls="controls" src="">
</audio>
And I am setting the src of that audio ...
0
votes
1
answer
1k
views
Streaming an MP3 cuts off last 1-2 seconds of audio
I've searched and googled for quite a bit with nothing really able to resolve my issue.
I have an mp3 file on my server that I need to serve to my end users so they can hear the recording and verify ...
0
votes
2
answers
642
views
Recognize and skip invalid (or proprietary?) MP3 frame headers from Web audio streams
I am writing an MP3 decoder (not to re-play any sound, but to analyze frequencies).
I can successfully identify ID3v1 and ID3v2 tags and skip them in their whole length (including the ID3v2 NULs ...
2
votes
1
answer
429
views
Android mediaplayer getDuration() returns 0 for some mp3 files
I have a large collection of mp3 files on my server and i'm using android media player for playing them. The problem is for almost all of them getDuration() method returns 0. I uploaded sample mp3 ...
2
votes
0
answers
2k
views
raspberry pi, ffmpeg, libmp3lame stream to icecast2 fails with: av_interleaved_write_frame(): Connection reset by peer
finally, i want to merge or mix audio channels from two streams into one new audio stream. but at first i want to relay or reencode an existing stream from an icecast2 server - and send it back to the ...
0
votes
1
answer
1k
views
Python Pyaudio -- How to play a file streamed via HTTP
I am trying to figure out how to play an mp3 that exists on my server served through HTTP. I tried to figure out pyglet but there were too many issues with AVBin to make that work (something about ...
0
votes
1
answer
251
views
What are good strategies to transfer an audio over web https?
My andriod app is bandwidh constraint. It should work in as low as 64kbps net.
The user will record voice (max length 120 sec, avrage 60 sec)
and then will encode it with encoder (options are:
1. ...
0
votes
1
answer
380
views
Chrome "stalling" when streaming mp3 file from nodejs windows only
We've got a really annoying bug when trying to send mp3 data. We've got the following set up.
Web cam producing aac -> ffmpeg convert to adts -> send to nodejs server -> ffmpeg on server converts ...
1
vote
0
answers
1k
views
Serve MP3 stream with PHP
I'm about to make a simple survey where the users has to listen to some audio (about 20. sec of a song) ..
I use the HTML5 Audio tag to listen to the audio files.
My audio files is stored in a ...
0
votes
1
answer
32
views
Streaming songs from pc
i wanted to create a project which :
a) Will have a list of MP3 file with each of their length.
b) Now i want to stream them
c) Using the timer the sound track will be new one after sudden interval.
...
1
vote
2
answers
392
views
Continue streaming audio when offline/disconnected for a few minutes?
I have searched for a few days, and I can't seem find a solution. I am hoping someone here can point me in the right direction.
I am building a radio iOS application using Cordova/Angular, and I ...
4
votes
3
answers
5k
views
Full quality MP3 streaming via webRTC
I'm interested in webRTC's ability to P2P livestream an mp3 audio from user's machine. Only example, that I found is this: https://webrtc-mp3-stream.herokuapp.com/ from this article http://servicelab....
2
votes
0
answers
207
views
How to get MP3 duration using MultiPlayer of aacdecoder library in Android
I am developing an android application that contains aac Mp3 Streaming. I am trying multiPlayer using aacdecoder library. Everything works well but i don't know how to take the total duration of an ...
4
votes
1
answer
4k
views
How to obtain mp3 audio packets for streaming in C/C++
I want to be able to break a song into packets and have access to these individual packets.
The reason for that is that I want to send each individual packet over the network using an experimental ...
0
votes
1
answer
109
views
same mp3 files behave differently in iPhone app
I have 2 mp3 files that are nearly identical. The first file refused to stream down and play in my Appcelerator iPhone app that I am developing:
http://www.zerogravpro.com/temp/bad.mp3 (you'll find ...
0
votes
1
answer
946
views
How to lower the bitrate of mp3 in iOS?
I made a Multipeer Audio Streaming app using the Tony's tutorial.
But I can only play .mp3 with 128kbps bit rate.
So I need to lower .mp3 with 192kbps or more bit rate to 128kbps.
I found a similar ...
1
vote
1
answer
707
views
How to avoid audio track skipping audio buffer in android?
I want to implement live audio streaming for my Android application.So I used OpenCORE aacdec library and wrapped it.Because I have to play both MP3 and AAC.
Saved the stream as files (having size ...
1
vote
2
answers
845
views
playing a growing mp3 file on a web page
need your advice.
I have a web-serivice which generates mp3 files out of wavs.
The process of conversion takes time and I want visitor to be able to start listening right away, while the conversion ...
1
vote
1
answer
899
views
MP3 meta data over http response
This is going to sound like an odd request.
I have a PHP script pulling a mp3 stream from SoundCloud and repeating the stream with the correct headers to allow WinAmp to play the file. But it only ...
-1
votes
1
answer
5k
views
Writing .mp3 file directly from stream
I'm trying to record samples from a stream and save the snippets as an .mp3 file. The following code properly reads the stream and saves the data to the file. The file plays in a media player but it ...
0
votes
1
answer
2k
views
how to trim header and side information of mp3 frame using Naudio and c#
My Problem is to get ACTUAL DATA of a mp3 frame. For this I have used NAudio and get RawData but I think in the RawData property, it returns all the bytes of the frame including header and side ...
0
votes
3
answers
4k
views
how to decode mp3 file in c# using NAudio
My task is to decode a mp3 file, exclude its header, side information and the optional checksum. I just need the actual data of every frame of the mp3 file.
I have googled a lot but did't find a way !
...
6
votes
1
answer
2k
views
How to loop an MP3?
How to loop an MP3?
I use this to play an MP3, but it only plays once.
I want to play the MP3 continuously.
/*jslint node: true, vars: true, maxerr: 50, indent: 4 */
(function (console, require, ...
1
vote
0
answers
3k
views
How to get additional data from audio mp3 stream
I'm currently developing iOS app for streaming audio for radio station, through mp3 file format.
I'm using AVPlayer and it is working like a charm!
In that stream (in mp3 file) server is also sending ...
2
votes
1
answer
725
views
Jmf Mp3 files not streaming on rtp
The player mp3 gives error:
RTP Handler internal error: javax.media.ControllerErrorEvent[source=com.sun.medi
a.content.unknown.Handler@baf4ae,message=Internal module com.sun.media.BasicRend
...
0
votes
1
answer
168
views
How can I protect streaming media?
How can I stream MP3 files and best minimize the risk of someone ripping them? I'm using RTMP via CloudFront right now, but rtmpdump is virtually cp for RTMP streams.
1
vote
1
answer
609
views
mediaplayer streaming a chunked encoded mp3 stream outputs no sound on the droid x2
I am connecting to a server that is streaming mp3 frames with a chunked transfer encoding over http 1.1. The android MediaPlayer api successfully plays this stream in 4 different phones I've tested it ...