VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Member
    Join Date
    Nov 2015
    Location
    Dallas
    Search PM
    Hello,

    I have search and read a lot about this, but could not find an answer to my question. Hope you guys could help me.

    Suppose that I have an M3U8 url for a radio station like this:
    http://iaa.flashmediacast.com:2387/live//radio-93-3/playlist.m3u8

    ( I don not own the station nor the website)

    and I want to find out the source file in which they are streaming (Mp3 or AAC).

    Here is what I did. I downloaded the m3u8 file and opened it with a text editor and found this:

    Code:
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-STREAM-INF:BANDWIDTH=257949,CODECS="mp4a.40.2"
    chunklist_w696678307.m3u8
    so substituted playlist.m3u8 with chunklist_w696678307.m3u8 to have this url:

    http://iaa.flashmediacast.com:2387/live//radio-93-3/chunklist_w696678307.m3u8

    So I downloaded the file, opened it with text editor and got this:

    Code:
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-ALLOW-CACHE:NO
    #EXT-X-TARGETDURATION:11
    #EXT-X-MEDIA-SEQUENCE:7752
    #EXTINF:10.08,
    media_w696678307_7752.aac
    #EXTINF:9.984,
    media_w696678307_7753.aac
    #EXTINF:9.984,
    media_w696678307_7754.aac
    Then substituted chunklist_w696678307.m3u8 with media_w696678307_7754.aac to have this url:

    http://iaa.flashmediacast.com:2387/live//radio-93-3/media_w696678307_7754.aac

    but this is not a valid url! Turned out I am doing it wrong.

    Is there any possible way to get the source files url (in this case media_w696678307_7752.aac or media_w696678307_7753.aac or media_w696678307_7754.aac)

    I would appreciate any help.
    Quote Quote  
  2. Originally Posted by habboubih View Post
    Hello,

    I have search and read a lot about this, but could not find an answer to my question. Hope you guys could help me.

    Suppose that I have an M3U8 url for a radio station like this:
    http://iaa.flashmediacast.com:2387/live//radio-93-3/playlist.m3u8

    ( I don not own the station nor the website)

    and I want to find out the source file in which they are streaming (Mp3 or AAC).

    Here is what I did. I downloaded the m3u8 file and opened it with a text editor and found this:

    Code:
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-STREAM-INF:BANDWIDTH=257949,CODECS="mp4a.40.2"
    chunklist_w696678307.m3u8
    so substituted playlist.m3u8 with chunklist_w696678307.m3u8 to have this url:

    http://iaa.flashmediacast.com:2387/live//radio-93-3/chunklist_w696678307.m3u8

    So I downloaded the file, opened it with text editor and got this:

    Code:
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-ALLOW-CACHE:NO
    #EXT-X-TARGETDURATION:11
    #EXT-X-MEDIA-SEQUENCE:7752
    #EXTINF:10.08,
    media_w696678307_7752.aac
    #EXTINF:9.984,
    media_w696678307_7753.aac
    #EXTINF:9.984,
    media_w696678307_7754.aac
    Then substituted chunklist_w696678307.m3u8 with media_w696678307_7754.aac to have this url:

    http://iaa.flashmediacast.com:2387/live//radio-93-3/media_w696678307_7754.aac

    but this is not a valid url! Turned out I am doing it wrong.

    Is there any possible way to get the source files url (in this case media_w696678307_7752.aac or media_w696678307_7753.aac or media_w696678307_7754.aac)

    I would appreciate any help.
    hi it's live link so when you try to open http://iaa.flashmediacast.com:2387/live//radio-93-3/media_w696678307_7754.aac
    for example this fragment is already expired

    so if you want record this radio in real time you can use ffmpeg

    aac format
    Code:
    ffmpeg -i "http://iaa.flashmediacast.com:2387/live//radio-93-3/playlist.m3u8" -c copy radio.aac
    mp3 format
    Code:
    ffmpeg -i "http://iaa.flashmediacast.com:2387/live//radio-93-3/playlist.m3u8" -acodec mp3 -ab 257k radio.mp3
    Quote Quote  
  3. Member
    Join Date
    Nov 2015
    Location
    Dallas
    Search PM
    Originally Posted by biezom View Post

    hi it's live link so when you try to open http://iaa.flashmediacast.com:2387/live//radio-93-3/media_w696678307_7754.aac
    for example this fragment is already expired

    so if you want record this radio in real time you can use ffmpeg

    aac format
    Code:
    ffmpeg -i "http://iaa.flashmediacast.com:2387/live//radio-93-3/playlist.m3u8" -c copy radio.aac
    mp3 format
    Code:
    ffmpeg -i "http://iaa.flashmediacast.com:2387/live//radio-93-3/playlist.m3u8" -acodec mp3 -ab 257k radio.mp3
    Thank you for the reply. The problem is I have many other radio stations that has the same problem. If I do this with every radio station, that would consume a lot of bandwidth and maybe slow down my server. Any alternatives?
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!