YouTube Wireless Live! Anyone have Linux know how for this hack?

Discussion in 'SJ7 Star' started by Troy, Jul 19, 2017.

  1. Troy

    Troy Administrator Staff Member

    Joined:
    Feb 28, 2017
    Messages:
    10,279
    Likes Received:
    10,083
    Trophy Points:
    1,000
    SJ7 STAR YOUTUBE WIRELESS LIVE-STREAMING HACK!

    A guy named Arkadiusz posted a video of his SJ7 Star streaming video live to YouTube. Without cables!
    His youtube post includes instruction on how to do it.
    Note: Requires a Linux OS and probably some understanding of the command line.
    I'm wondering if anyone else has tried it, or wants to try it. If you want to give it a shot, please show us and post it here :)

    Here's the YouTube video I am referring to:



    I am reposting the instructions here, as I just talked to Arkadiusz, author of the hack's files.

    In verbatim:

    "How it works ?
    1. i modified firmware (linux partition) to run script from sdcard on boot via /etc/init.d script (hex edited firmware file with calculating new crc32 checksum).
    2. from script switched wifi mode from ap to sta (via module unload and load with sta firmware/config), connected to existing wifi,
    3. from script enabled rtsp streaming (same way like android app does but locally - 127.0.0.1:7878)
    4. run static compiled ffmpeg that takes input from rtsp://127.0.01/live, add null audio (rtsp dont send audio, i not found yet way to grab audio from mic), remux it for rtmp and send to youtube)"
     

    Attached Files:

    sjcam_admin likes this.
  2. TonySosa

    TonySosa Administrator Staff Member

    Joined:
    May 12, 2017
    Messages:
    144
    Likes Received:
    75
    Trophy Points:
    28
    Gender:
    Male
    Location:
    SZ
    Copied from the youtube description:

    Download:
    https://drive.google.com/open?id=0B4S...

    What you need:
    - modified firmware to run sh script after boot (Linux enviroment)
    - static compiled ffmpeg for armv7 (in zip)
    - download zip and extract on SD

    edit:
    - wpa_supplicant.conf (ssid, pass)
    - youtube.sh (rtmp://a.rtmp.youtube.com/live2/xxx-xxx-xxx-xxx)

    How it works:

    from script:
    - wifi switched to sta mode and connected to existing wifi network (with internet access)
    - enabled rtsp access by sending json query to localhost:7878
    - with ffmpeg transcode/remux rtsp + dummy audio and send to youtube rtmp server

    For now its ugly hack, but works !
     
    sjcam_admin likes this.
  3. sjcam_admin

    sjcam_admin Administrator Staff Member

    Joined:
    Feb 23, 2017
    Messages:
    127
    Likes Received:
    38
    Trophy Points:
    28
    Cool! Would be great if we can have the author here in the forums.
     
    Lazaros Filippidis likes this.
  4. ArekMe

    ArekMe New Member

    Joined:
    Jun 22, 2017
    Messages:
    9
    Likes Received:
    6
    Trophy Points:
    3
    Gender:
    Male
    Location:
    Poland
    I'm here :)
    This hack is more proof of concept than working solution and ugly written :)
    I make it more user friendly when i be back in home (in about 1 week)
     
  5. Troy

    Troy Administrator Staff Member

    Joined:
    Feb 28, 2017
    Messages:
    10,279
    Likes Received:
    10,083
    Trophy Points:
    1,000
    Alright, Arkadiusz is here! Guess we'll see more wireless streaming in the next weeks. :)
     
  6. Ötzi-1987

    Ötzi-1987 New Member

    Joined:
    Dec 18, 2017
    Messages:
    5
    Likes Received:
    2
    Trophy Points:
    3
    Gender:
    Male
    Hi, are there any news an Updates about this hack?

    I need just a local live stream not on youtube.
    I'm designing a turntable for the SJ7Star and i would have the Stream in my own webinterface.
    The Webserver is connected to the Wifi from the cam.

    Is this psossible and is there anywhere a tutorial?
    Is is it possible to integrate a RSTP Server?

    Please help me ;)
     

Share This Page