mkotyk / qt428

Wrapper for DVR Live video streaming
Apache License 2.0
4 stars 1 forks source link

tons of network traffic, but nothing is ever written to the pipe #2

Open jidanni opened 7 years ago

jidanni commented 7 years ago

$ ./qt428 -c 6 59.126.105.57 > /tmp/S tcpflow shows lots of data going over the network into ./qt428, but nothing is ever written to the file.

jidanni commented 7 years ago

I can see some images from the tcpflow files I made during the process, $ mplayer -fps 1 -demuxer h264es /tmp/059.126.105.057.06036-122.118.144.210.43608

jidanni commented 7 years ago

With this patch, clear_as_day.txt I can now do .$ /qt428 -c 6 59.126.105.57 | mplayer -fps 15 -demuxer h264es - and now everything is clear as day, at least for me operating my neighbor's generic unknown DVR!

How did I get the idea to try it? Well https://github.com/mdrush/zmodopipe/ has

    char suppLoginBuf[] = {
    0x31, 0x31, 0x31, 0x31, 0x34, 0x00, 0x00, 0x00, 
    0x01, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
    0x01, 0x00, 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, 
    0x00, 0x00, 0x00, 0x00, 0x00/*high res*/, 0x00, 0x00, 0x00, 
    0x00, 0x00, 0x00, 0x00, 0x00/*low res*/, 0x00, 0x00, 0x00, 
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
    0x00, 0x00, 0x00, 0x00 };

    if (channel <= 7 && channel >= 0) {
        if (highres) {
            suppLoginBuf[28] = channel+1;
        }
        else {
            suppLoginBuf[36] = channel+1;
        }
    }

You see I was looking for a way to see low res, instead of high res, and just thought maybe...

jidanni commented 7 years ago

Anyways, all I know is the https://play.google.com/store/apps/details?id=com.tvt.network SuperLivePro app, right on the login screen, has the choice between "2G" and "3G" low and high resolution,(for users with GPRS vs. UMTS handsets / data plans) and your fork doesn't :-(. In fact I'm not sure if I am seeing high or low res.