This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Grab URL stream from UDP packets [+screenshot]

0

I'm trying to grab the stream url from a Mixlr.com channel using Wireshark. It seems to send UDP packets, but I don't know how to proceed. Here's a screenshot.

http://prntscr.com/1z4gx5/direct

My aim is to play the audio stream within foobar2000 or winamp.

asked 22 Oct '13, 20:31

redraw's gravatar image

redraw
1223
accept rate: 0%

edited 22 Oct '13, 20:32


One Answer:

0

I can not see the screenshot (campany's web proxy), but this is the workflow I follow...

  1. Capture the udp stream.
  2. With wireshark, right mouse, and Follow UDP Stream.
  3. Under the window "Follow UDP Stream", there is a combo: Select the direction of the stream you want to hear.
  4. Leave "RAW" an press Save As, and put the file in your hard disk, for example c:\tmp\listen.raw

Now, you need an audio program, I use Adobe Audition (COOLEDIT before)

  1. File->Open As, select your file c:\tmp\listen.raw, and a new window appears.
  2. Select sample rate, Mono/Stereo and bits per sample. You must try different parameters until you find the correct values or know exactly them from another source.
  3. In the second window (I don't know the title in English, but must be something like "Interprete sample format as") I usually put the same values as the second's.
  4. A third window called "PCM Raw Data (no header)" is presented. Play a little with the options. In telephony, A-Law or Mu-Law encoding is used, but I suppose is not your scenario. Click OK.
  5. The decoded audio is presented and you can play, pause, etc with the "Transport" window under the waveform.

I hope this solves your doubt.

answered 23 Oct '13, 00:30

Chirrin%20Dul%20Ari's gravatar image

Chirrin Dul Ari
11114
accept rate: 0%

edited 23 Oct '13, 00:34

Hey that's interesting! I'll try that for saving audio. However it's not what I needed. What I wanted is to grab the Stream URL. For example, http://live.radio.com:8080/play.m3u

I tried searching on the HTML code of some Mixlr channel but couldn't find any clue.

(23 Oct '13, 09:21) redraw