Jump to content

Fr0zEn

New Members
  • Posts

    2
  • Joined

  • Last visited

Fr0zEn's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Can I use Javascript to get the latest m3u8 link at the specific time ? I use livestreamer to capture video
  2. I'm trying to get file content to extract m3u8 link of this page: http://tv24.vn/livetv/vtv1.html It requires to login; (they use jlogin method) I give here my login info for you to test user: [email protected] pass: 12345678 <?php $return = file_get_contents("http://[email protected]:[email protected]/livetv/vtv1.html"); preg_match('/file: \"(.*?)\"/', $return, $m3u8); $hls=str_replace("http","hlsvariant://http",$m3u8[1]); echo "Starting livestreamer...\n\n"; echo passthru("C:\livestreamer\livestreamer \"$hls\" 496p -o C:\livestreamer\Test.ts"); echo "Done.\n"; ?> Any solution ? Sorry for my bad English
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.