def play_rtmpdump_stream(player, url, params={}):
    cmdline="rtmpdump -r '%s' "%url
    for key in params.keys():
        cmdline+=key+" "+params[key] if params[key]!=None else ""+" "
    cmdline+=" -o - | %s -"%player
    print(cmdline)
    os.system(cmdline)
    # os.system("rtmpdump -r '%s' -y '%s' -o - | %s -" % (url, playpath, player))
    return
dataset/ETHPy150Open soimort/you-get/src/you_get/processor/rtmpdump.py/play_rtmpdump_stream/original