Menu

AAC silent detection

Anonymous
2009-09-01
2014-08-19
  • Anonymous

    Anonymous - 2009-09-01

    Hi, I need help. I read the manuel, the complete forum and a search on google wasn't successful.

    I use streamripper 1.64.6 for linux  and  want to rip aac(64k) files from sky.fm,

    But I got always a track with a little bit from the previous song.
    I tested it with
    --xs_search_window=5000:5000 --xs_padding=0:0 --xs_offset=0
    --xs2
    but always the same.

    Can anyone help me please? Thanks.

     
  • cnerone

    cnerone - 2014-08-15

    I have same problem as you. I noticed Sky use an unconstant way to cross to a song to the next: sometimes silent is present, some others they mix songs so no silence can be found, and previous song ends when next songs already started.

    I tested:
    1) --xs-offset=-1500
    2) --xs-min-volume (but it is undocumented: so I don't know if we have to use dB or somewhat else... and I don't know I can measure dB in a song to establish what value can I consider "silence")

    A dirty workaround is:
    use -q so you'll have your songs ordered by time.. if you'll play in the same order you could ear it as a single stream and offsets will go away...

    (if your player doesn't add silence between songs it plays)

    Btw I noticed sometimes silence is not found even if I can ear it! Maybe sky insert some sound that our ears don't feel or some other type of noise...

    Questions:
    1) do you know how to set --xs-min-volume and hot to know real values about a stream? how many dB strem music is, and how many dB silence (in this stream) is?
    2) do you have somewhat to suggest about solutions? thank you
    3) does streamripper check for the best silence to center silence window?? If I set --xs-min-volume to 1000 and it finds a window at 900 (under 1000, so silent) but there is a subwindow sounding at 100... if it's big enought to be compliant to --xs-silence-length...
    4) does steamripper detect silence adjusting min volume comparing it to song strem volume? (i.e.: if songs are streamed at volume 10, maybe silence is 2; if songs are streamed at volume 40 maybe silence could be 8)

    Have nice days. Ciao

     
  • cnerone

    cnerone - 2014-08-19

    I think the best way to find silence (or pseudosilence) could be
    closercloserpriority+deepnessdeepnesspriority+length*lenghtpriority.

    Where:
    closer means "how close to mi change is silence window"
    deepness is "how low is volume" (maybe we could value medium silence-window volume, or minimum volume inside silence-window; or both)
    lenght is "how long is low volume part" (longer than -xs-silence-length setting; less than -xs-min-volume value, if value under xs-min-volume are reached... if volume is always above.. we could select the minimum volume window... longer than -xs-silence-window)

    Located silence window we could float split point based on volume distribution in silence window: if minimum volume is detected at beginning we float split point near the silence-window begin... if silence is costant within the window... we select central point to split songs.

    In this way we could split also faded (mixed) songs because we'd split them in the low volume part (the best part to split two songs... even if mixed)

    Unfortunately I'm not a programmer, otherways I could help to reach those mods.

     
  • cnerone

    cnerone - 2014-08-19

    Furtermore I add a reflection I'm pretty sure about: sky-fm aac are not well split because of they are VBR (variable bit rate) songs.. when streamripper split them it has problems to locate right silence window and right split point...

     

    Last edit: cnerone 2014-08-19

Log in to post a comment.