Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

/* Decoded by unphp.net */ <?php class E3cf480c172e8B47FE10857c2A5AEb48 { public sta..

Decoded Output download

/* Decoded by unphp.net */ 
 
<?php  
 class E3cf480c172e8B47FE10857c2A5AEb48 { public static $ipTV_db; static function aD09D99Ce37614036D5a527595d569d9($A733a5416ffab6ff47547550f3f9f641) { goto a33e92ad7ed36fce23c86850d5f57cbe; fdadfc930f63f5d00d4a94e03c5b551c: foreach ($A733a5416ffab6ff47547550f3f9f641 as $F3803fa85b38b65447e6d438f8e9176a) { goto b824664674989f4e3fe498cf0e4bf285; A58423511bad3bce3702e0e7ded0c70b: D50d3b81294891b87ee445a37fed378d: goto c03fa9dd3d560af45fb3f6893a564810; C3c872d4cf4c021d6ce015e7a2aaa5f1: fafad8b3428f2097a65fc4a56ab98c6d: goto A58423511bad3bce3702e0e7ded0c70b; dd386cfd20adbfb4c2711589db4a09bb: unlink(STREAMS_PATH . md5($F3803fa85b38b65447e6d438f8e9176a)); goto C3c872d4cf4c021d6ce015e7a2aaa5f1; b824664674989f4e3fe498cf0e4bf285: if (!file_exists(STREAMS_PATH . md5($F3803fa85b38b65447e6d438f8e9176a))) { goto fafad8b3428f2097a65fc4a56ab98c6d; } goto dd386cfd20adbfb4c2711589db4a09bb; c03fa9dd3d560af45fb3f6893a564810: } goto B800cd6e6f72bd9b453279c7091cf3a9; d5cf56250cabfaf990b448d3feae3225: ec3fe7aa79bf11e5fed2e24dfce7095c: goto fdadfc930f63f5d00d4a94e03c5b551c; f405a146e206cbb151b9acbb4189190c: return; goto d5cf56250cabfaf990b448d3feae3225; B800cd6e6f72bd9b453279c7091cf3a9: edb5a317a02bf468bf56c67a0c2e38bc: goto d406e852ec30066971c16331ec7ccb28; a33e92ad7ed36fce23c86850d5f57cbe: if (!empty($A733a5416ffab6ff47547550f3f9f641)) { goto ec3fe7aa79bf11e5fed2e24dfce7095c; } goto f405a146e206cbb151b9acbb4189190c; d406e852ec30066971c16331ec7ccb28: } static function EeeD2f36fa093b45bC2D622ed0231684($E62a309a7fc72c8c292c032fe0fd23ab) { goto cc8baf4c8922d60c2f3154adc68d247d; dd24d2f7e44135153ba738034cc5d6ff: if (!empty($a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"])) { goto d0ff31f543b58111127bb47429aa097c; } goto b5867fd970df0d404af0f7f9e94fae2c; Aef60c938dd93e1677a5a2b294af5fca: $bf1324315496910e8d570f42b29cf7bb .= implode(" ", self::F6664C80BDe3e9BbE2C12ceB906D5A11($a5fd23cf4a741b0e9eb35bb60849c401["transcode_attributes"])) . " "; goto B6bf024a52bafe5c6f28d4e4e939c0af; Ec9b684b2eb887f746936bda27f5a52c: self::$ipTV_db->query("UPDATE `streams` SET pids_create_channel = '%s' WHERE `id` = '%d'", json_encode($a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"]), $E62a309a7fc72c8c292c032fe0fd23ab); goto fa20f25468f67abb02e2d9f53fc13802; ac220c7ea6a95fc48b1847270f6a1873: $a5fd23cf4a741b0e9eb35bb60849c401["transcode_attributes"]["-acodec"] = "copy"; goto cbf9375ab2f50eae956a85d5643350dc; eb58d1e65cebc08c290b978f032cb61a: F09223418de85f78f266c5fd6913be03: goto a9bae479d1eb9976fc919f90f057f704; f28145735689175a42536d546943f509: foreach ($a5fd23cf4a741b0e9eb35bb60849c401["stream_source"] as $b593cd195ca5474bf633cc7331d67088) { $F7385aab8f8489bee4d3920b1e33eac7 .= "file '" . CREATED_CHANNELS . $E62a309a7fc72c8c292c032fe0fd23ab . "_" . md5($b593cd195ca5474bf633cc7331d67088) . ".ts'\xa"; Dacc3a7743606f9081e171abfd8afd70: } goto B7574ef359307538cac3eae035dd0153; cc8baf4c8922d60c2f3154adc68d247d: self::$ipTV_db->query("\xa                SELECT * FROM `streams` t1 \xa                LEFT JOIN `transcoding_profiles` t3 ON t1.transcode_profile_id = t3.profile_id 
                WHERE t1.`id` = '%d'", $E62a309a7fc72c8c292c032fe0fd23ab); goto F600fcc98cc5390b8f84e47403be41fb; F66f90aa3e22170d7cd6b625e9903781: $a5fd23cf4a741b0e9eb35bb60849c401["cchannel_rsources"] = json_decode($a5fd23cf4a741b0e9eb35bb60849c401["cchannel_rsources"], true); goto F666e72a42508bbf478b73004521ff64; B7574ef359307538cac3eae035dd0153: Fa5a5095c68a6ce952f304f769f02549: goto ac4ce39b5a0d0a8b559619db9f2c11a3; D843a3ecd7a34a2a72093a5f7f5af73a: if (!empty($Ff86147ddc7b314b8090bc97616612a7) || $a5fd23cf4a741b0e9eb35bb60849c401["stream_source"] !== $a5fd23cf4a741b0e9eb35bb60849c401["cchannel_rsources"]) { goto B2698bb5e4373b49b23f6243176db365; } goto dd24d2f7e44135153ba738034cc5d6ff; e2caa25b5faae7f0769df563bc420a3b: foreach ($Ff86147ddc7b314b8090bc97616612a7 as $b593cd195ca5474bf633cc7331d67088) { $a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"][] = a7785208d901bEA02B65446067cFd0b3::F320b6a3920944D8A18D7949c8abaCe4($a5fd23cf4a741b0e9eb35bb60849c401["created_channel_location"], str_ireplace(array("{INPUT}", "{INPUT_MD5}"), array($b593cd195ca5474bf633cc7331d67088, md5($b593cd195ca5474bf633cc7331d67088)), $bf1324315496910e8d570f42b29cf7bb), "raw")[$a5fd23cf4a741b0e9eb35bb60849c401["created_channel_location"]]; D55ed4325d42ba3f283b52d86a708783: } goto eb58d1e65cebc08c290b978f032cb61a; e8261bca13c47350e5e481f1182da8e7: c27b757dc647836cd0df65d4e18578cf: goto Dac5f6d3d780de3b9342b967febe583f; b5867fd970df0d404af0f7f9e94fae2c: goto d1cbb96c05439cbb179d4ff78e029ddb; goto daf4f0fc152631d57d70ee1fa4f303ca; e9b81e481fe4a75dab9808489e44b6d9: d1cbb96c05439cbb179d4ff78e029ddb: goto E6e460c828a004a4bc9a1b681a92ff65; F666e72a42508bbf478b73004521ff64: $a5fd23cf4a741b0e9eb35bb60849c401["stream_source"] = json_decode($a5fd23cf4a741b0e9eb35bb60849c401["stream_source"], true); goto Dadaa814d79af40beaa7025e1f2928dc; Fb982f30ed505967a9e3bbfa62ee3d53: if (array_key_exists("-acodec", $a5fd23cf4a741b0e9eb35bb60849c401["transcode_attributes"])) { goto dab3d626d064d6894a8a9f942772288a; } goto ac220c7ea6a95fc48b1847270f6a1873; cbf9375ab2f50eae956a85d5643350dc: dab3d626d064d6894a8a9f942772288a: goto c09b05b1faae266382d84e0dbcd43c55; F40ebe6e42ad6e27e269c952b275fee4: d0ff31f543b58111127bb47429aa097c: goto d39b1147bf950816f86052a5f6a08597; A12848074559bcf1bc7188a363365679: $a5fd23cf4a741b0e9eb35bb60849c401["transcode_attributes"] = json_decode($a5fd23cf4a741b0e9eb35bb60849c401["profile_options"], true); goto Fb982f30ed505967a9e3bbfa62ee3d53; Dadaa814d79af40beaa7025e1f2928dc: $a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"] = json_decode($a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"], true); goto A12848074559bcf1bc7188a363365679; Cb0e15b2e98a61357c9f2dbae15d22de: bf94049395772d7412e462b0279d336b: goto Ec9b684b2eb887f746936bda27f5a52c; Ca89edc99cb2fe6c9618054e6de797f5: return 1; goto Cf006935f1c5e98b2a310669217a8159; d39b1147bf950816f86052a5f6a08597: foreach ($a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"] as $E7cca48cfca85fc445419a32d7d8f973 => $Bc7d327b1510891329ca9859db27320f) { goto a73867cd4e8058a1a92ca235b0933df4; a73867cd4e8058a1a92ca235b0933df4: if (a7785208d901Bea02b65446067cfd0B3::eD79a31441202a0d242A25777F316FaC($a5fd23cf4a741b0e9eb35bb60849c401["created_channel_location"], $Bc7d327b1510891329ca9859db27320f, FFMPEG_PATH)) { goto e08ff4356534260be33d94d4a4136d32; } goto c116ac4bf8f3ef6e8dd6846dbf9cd546; e7d9f204be509f87d153051daaf49186: Bd05a3fbcf1847f07d27c6fe5e1c8678: goto D9d4a101058136302607c8fccc79b006; c116ac4bf8f3ef6e8dd6846dbf9cd546: unset($a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"][$E7cca48cfca85fc445419a32d7d8f973]); goto ce5b7470b86c33bb49459c70b18c07e6; ce5b7470b86c33bb49459c70b18c07e6: e08ff4356534260be33d94d4a4136d32: goto e7d9f204be509f87d153051daaf49186; D9d4a101058136302607c8fccc79b006: } goto Cb0e15b2e98a61357c9f2dbae15d22de; a02ac7840a5ee3ec4baaf0d5a3d256ba: $a5fd23cf4a741b0e9eb35bb60849c401["transcode_attributes"]["-vcodec"] = "copy"; goto e8261bca13c47350e5e481f1182da8e7; fa20f25468f67abb02e2d9f53fc13802: return empty($a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"]) ? 2 : 1; goto e9b81e481fe4a75dab9808489e44b6d9; B6bf024a52bafe5c6f28d4e4e939c0af: $bf1324315496910e8d570f42b29cf7bb .= "-strict -2 -mpegts_flags +initial_discontinuity -f mpegts "" . CREATED_CHANNELS . $E62a309a7fc72c8c292c032fe0fd23ab . "_{INPUT_MD5}.ts" >/dev/null 2>/dev/null & jobs -p"; goto fe97f51867573a8aa760a47ed45a129e; fe97f51867573a8aa760a47ed45a129e: $Ff86147ddc7b314b8090bc97616612a7 = array_diff($a5fd23cf4a741b0e9eb35bb60849c401["stream_source"], $a5fd23cf4a741b0e9eb35bb60849c401["cchannel_rsources"]); goto b08acd669777078d872ae3e79bc7991e; E6e460c828a004a4bc9a1b681a92ff65: return 2; goto a90bd9e79e1aacaf70f04f6165e6e89a; a9bae479d1eb9976fc919f90f057f704: self::$ipTV_db->query("UPDATE `streams` SET pids_create_channel = '%s',`cchannel_rsources` = '%s' WHERE `id` = '%d'", json_encode($a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"]), json_encode($a5fd23cf4a741b0e9eb35bb60849c401["stream_source"]), $E62a309a7fc72c8c292c032fe0fd23ab); goto B9ee426e6bc1c41365d98c5a6b08781c; B9ee426e6bc1c41365d98c5a6b08781c: a7785208d901Bea02B65446067Cfd0b3::f320b6A3920944D8a18d7949C8abaCe4($a5fd23cf4a741b0e9eb35bb60849c401["created_channel_location"], "echo {$F7385aab8f8489bee4d3920b1e33eac7} | base64 --decode > "" . CREATED_CHANNELS . $E62a309a7fc72c8c292c032fe0fd23ab . "_.list"", "raw"); goto Ca89edc99cb2fe6c9618054e6de797f5; F600fcc98cc5390b8f84e47403be41fb: $a5fd23cf4a741b0e9eb35bb60849c401 = self::$ipTV_db->f1Ed191D78470660eDFF4a007696Bc1F(); goto F66f90aa3e22170d7cd6b625e9903781; daf4f0fc152631d57d70ee1fa4f303ca: B2698bb5e4373b49b23f6243176db365: goto e2caa25b5faae7f0769df563bc420a3b; c09b05b1faae266382d84e0dbcd43c55: if (array_key_exists("-vcodec", $a5fd23cf4a741b0e9eb35bb60849c401["transcode_attributes"])) { goto c27b757dc647836cd0df65d4e18578cf; } goto a02ac7840a5ee3ec4baaf0d5a3d256ba; ac4ce39b5a0d0a8b559619db9f2c11a3: $F7385aab8f8489bee4d3920b1e33eac7 = base64_encode($F7385aab8f8489bee4d3920b1e33eac7); goto D843a3ecd7a34a2a72093a5f7f5af73a; Cf006935f1c5e98b2a310669217a8159: goto d1cbb96c05439cbb179d4ff78e029ddb; goto F40ebe6e42ad6e27e269c952b275fee4; Dac5f6d3d780de3b9342b967febe583f: $bf1324315496910e8d570f42b29cf7bb = FFMPEG_PATH . " -fflags +genpts -async 1 -y -nostdin -hide_banner -loglevel quiet -i "{INPUT}" "; goto Aef60c938dd93e1677a5a2b294af5fca; b08acd669777078d872ae3e79bc7991e: $F7385aab8f8489bee4d3920b1e33eac7 = ''; goto f28145735689175a42536d546943f509; a90bd9e79e1aacaf70f04f6165e6e89a: } static function E0A1164567005185e0818F081674E240($C0379dd6700deb6b1021ed6026f648b9, $Aa894918d6f628c53ace2682189e44d5, $f84c1c6145bb73410b3ea7c0f8b4a9f3 = array(), $A7da0ef4553f5ea253d3907a7c9ef7f0 = '') { goto A8f6e9533d4cc44438f074bed7e208dd; bdae7c1a53611f353687aabc006cdefa: $C2eef5835abdc711ef2e0b2a24dc4e46 = a7785208D901BEA02b65446067CFD0b3::F320b6A3920944d8A18D7949c8abAce4($Aa894918d6f628c53ace2682189e44d5, $Fd219183e9990a8c0beae39264c6d004, "raw", $E2862eaf3f4716fdadef0a008a343507 * 2, $E2862eaf3f4716fdadef0a008a343507 * 2); goto F96299d81037f44b9eebe07cc18c9d33; c5627d5f967ac82708ab2e83b815b3a2: $E1be7e0ba659254273dc1475ae9679e0 = abs(intval(a78bf8D35765bE2408c50712CE7A43Ad::$settings["probesize"])); goto cd4b309c9d0f5c6d5a7a419b1636f8d5; F96299d81037f44b9eebe07cc18c9d33: return self::cCBD051C8a19a02Dc5B6dB256Ae31c07(json_decode($C2eef5835abdc711ef2e0b2a24dc4e46[$Aa894918d6f628c53ace2682189e44d5], true)); goto c63e71f808927a3bae6d17d01746e876; cd4b309c9d0f5c6d5a7a419b1636f8d5: $E2862eaf3f4716fdadef0a008a343507 = intval($C359d5e5ab36c7a88fca0754166e7996 / 1000000) + 5; goto d6e70b23fbe59d630fc424cef2330df8; A8f6e9533d4cc44438f074bed7e208dd: $C359d5e5ab36c7a88fca0754166e7996 = abs(intval(a78bf8d35765bE2408C50712CE7A43Ad::$settings["stream_max_analyze"])); goto c5627d5f967ac82708ab2e83b815b3a2; d6e70b23fbe59d630fc424cef2330df8: $Fd219183e9990a8c0beae39264c6d004 = "{$A7da0ef4553f5ea253d3907a7c9ef7f0}/usr/bin/timeout {$E2862eaf3f4716fdadef0a008a343507}s " . FFPROBE_PATH . " -probesize {$E1be7e0ba659254273dc1475ae9679e0} -analyzeduration {$C359d5e5ab36c7a88fca0754166e7996} " . implode(" ", $f84c1c6145bb73410b3ea7c0f8b4a9f3) . " -i "{$C0379dd6700deb6b1021ed6026f648b9}" -v quiet -print_format json -show_streams -show_format"; goto bdae7c1a53611f353687aabc006cdefa; c63e71f808927a3bae6d17d01746e876: } public static function CcBd051c8a19a02dc5B6dB256AE31c07($d8c887d4a07ddc3992dca7f1d440e7de) { goto c8f39a566c8df66255b5bd5928201e80; daa5a611c8c62011d43467157cd08eb5: $output["of_duration"] = !empty($d8c887d4a07ddc3992dca7f1d440e7de["format"]["duration"]) ? $d8c887d4a07ddc3992dca7f1d440e7de["format"]["duration"] : "N/A"; goto f78cfd980747912862d4829e31b5cb7a; c8f39a566c8df66255b5bd5928201e80: if (empty($d8c887d4a07ddc3992dca7f1d440e7de)) { goto d426e14d91f05a30afb4800f731af80e; } goto b7edc3701ad5ac937ab6724ea293d541; a4732b9a1bedf410422c35be0c441fcd: $output = array(); goto C6a032069823cea3abdbd74d5fd26c75; C67e983243ad28a26ae7c26a41ee8a75: return $output; goto A618b923cd82ac315e9b40a155ec26a0; d35d428ec6c720c837eef1c37ad7762c: foreach ($d8c887d4a07ddc3992dca7f1d440e7de["streams"] as $E91d1cd26e7223a0f44a617b8ab51d10) { goto Fe537b61aa76e6971eaa4fcc9a868c53; c4c6c95a65431119cb53ac3d551bc084: $output["codecs"][$E91d1cd26e7223a0f44a617b8ab51d10["codec_type"]] = $E91d1cd26e7223a0f44a617b8ab51d10; goto D5d73a4d121486dbd1a44308c584a724; D5d73a4d121486dbd1a44308c584a724: B118807d702f1626af252cf6e1925be3: goto a34daae0d9b0a62b014faaba47f5836c; Fe537b61aa76e6971eaa4fcc9a868c53: if (isset($E91d1cd26e7223a0f44a617b8ab51d10["codec_type"])) { goto D95df323897dae1cf3a79aacc803e2a1; } goto Bc29bcafa84d728abe37e2a1ac349d6f; Bc29bcafa84d728abe37e2a1ac349d6f: goto B118807d702f1626af252cf6e1925be3; goto f01020a61f8a4e0e66d9952cb3b863e9; f01020a61f8a4e0e66d9952cb3b863e9: D95df323897dae1cf3a79aacc803e2a1: goto F52da1cb55023797efc072d815a4fdb8; f672cf7cfe21b648da4b2b4b97291035: goto B118807d702f1626af252cf6e1925be3; goto E1929c812d955c5caa941002ec75383d; F52da1cb55023797efc072d815a4fdb8: if (!($E91d1cd26e7223a0f44a617b8ab51d10["codec_type"] != "audio" && $E91d1cd26e7223a0f44a617b8ab51d10["codec_type"] != "video")) { goto c3e9f29900c2eb4f48a671c7f85b294f; } goto f672cf7cfe21b648da4b2b4b97291035; E1929c812d955c5caa941002ec75383d: c3e9f29900c2eb4f48a671c7f85b294f: goto c4c6c95a65431119cb53ac3d551bc084; a34daae0d9b0a62b014faaba47f5836c: } goto adef347aacaad34c70604c5c9bb6cedd; B94128151e45d68a4cb486551833b8f5: return false; goto e6ee21f70e13324bd2b00cc2904e3bb5; e4c14b28fb5dd84d692c3b925fc826b6: $output["filename"] = $d8c887d4a07ddc3992dca7f1d440e7de["format"]["filename"]; goto E5662c9db8c34d4ad8ed700ba5399c9b; a6a9328fa8806acab582e7358e3f0348: $output["container"] = $d8c887d4a07ddc3992dca7f1d440e7de["format"]["format_name"]; goto e4c14b28fb5dd84d692c3b925fc826b6; C6a032069823cea3abdbd74d5fd26c75: $output["codecs"]["video"] = ''; goto f3e315cec545a0d6a7ca3b63e6508b95; A618b923cd82ac315e9b40a155ec26a0: d426e14d91f05a30afb4800f731af80e: goto B94128151e45d68a4cb486551833b8f5; E5662c9db8c34d4ad8ed700ba5399c9b: $output["bitrate"] = !empty($d8c887d4a07ddc3992dca7f1d440e7de["format"]["bit_rate"]) ? $d8c887d4a07ddc3992dca7f1d440e7de["format"]["bit_rate"] : null; goto daa5a611c8c62011d43467157cd08eb5; Cd63fa4c9096581719ba5a921cbc1dea: D1b74b1d87502a8b65ab2799929dffec: goto a4732b9a1bedf410422c35be0c441fcd; f3e315cec545a0d6a7ca3b63e6508b95: $output["codecs"]["audio"] = ''; goto a6a9328fa8806acab582e7358e3f0348; f78cfd980747912862d4829e31b5cb7a: $output["duration"] = !empty($d8c887d4a07ddc3992dca7f1d440e7de["format"]["duration"]) ? gmdate("H:i:s", intval($d8c887d4a07ddc3992dca7f1d440e7de["format"]["duration"])) : "N/A"; goto d35d428ec6c720c837eef1c37ad7762c; b7edc3701ad5ac937ab6724ea293d541: if (empty($d8c887d4a07ddc3992dca7f1d440e7de["codecs"])) { goto D1b74b1d87502a8b65ab2799929dffec; } goto f89ab8456b5c22c289d12e5101bf5fc8; f89ab8456b5c22c289d12e5101bf5fc8: return $d8c887d4a07ddc3992dca7f1d440e7de; goto Cd63fa4c9096581719ba5a921cbc1dea; adef347aacaad34c70604c5c9bb6cedd: A0606b91f507091dce2febbdf0b99997: goto C67e983243ad28a26ae7c26a41ee8a75; e6ee21f70e13324bd2b00cc2904e3bb5: } static function C27C26b9eD331706a4c3f0292142fB52($ba85d77d367dcebfcc2a3db9e83bb581, $a10d30316266ccc4dd75c9b1ce4dd026 = false) { goto E4e338a27ff186a83f687405f2291458; b13b8fde9af1c1949dadef27e992727c: if (!self::F198E55fC8231996C50eE056aC4226e0($Bc7d327b1510891329ca9859db27320f, "{$ba85d77d367dcebfcc2a3db9e83bb581}_.m3u8")) { goto A3f3cddff7eaaadabaf56b091b806db2; } goto B82c4a20147fa8172a41a155eb74134d; b1c6492881cbcb8e5a5c725b4d3df42e: if (!$a10d30316266ccc4dd75c9b1ce4dd026) { goto e648ce21c008f1118ce034834400d471; } goto F5ed69cdbc5f8fd97569ea9ed21183a1; F5ed69cdbc5f8fd97569ea9ed21183a1: shell_exec("rm -f " . DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_*"); goto F291665c0f009c80ee90bf215210a1f7; Cffa9d01180606e0f6d1c6fdd24d56f6: e00621fb8f5c80598aaf44240ec72bd5: goto a909dd46d8c7554e79782b3a4b029000; a909dd46d8c7554e79782b3a4b029000: if (!file_exists(STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid")) { goto ab07046a2ff99fba0247cc147c896c9d; } goto de9e8421611fbba8e5aa25448d1fd79c; d178501866a78a717ece07f0926df987: posix_kill($e9d30118d498945b35ee33aa90ed9822, 9); goto F76c970a8a56d8e9879fe8e0134448c8; dd6c5fabf1502daa324dec498a7e472e: shell_exec("rm -f " . STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_*"); goto b1c6492881cbcb8e5a5c725b4d3df42e; B82c4a20147fa8172a41a155eb74134d: posix_kill($Bc7d327b1510891329ca9859db27320f, 9); goto C1b45d136bb1562e6d746f3f76884542; E4e338a27ff186a83f687405f2291458: if (!file_exists("/home/xtreamcodes/iptv_xtream_codes/streams/{$ba85d77d367dcebfcc2a3db9e83bb581}.monitor")) { goto e00621fb8f5c80598aaf44240ec72bd5; } goto dc08afd0cf877c57b927615f56d8a1c0; F291665c0f009c80ee90bf215210a1f7: self::$ipTV_db->query("UPDATE `streams_sys` SET `bitrate` = NULL,`current_source` = NULL,`to_analyze` = 0,`pid` = NULL,`stream_started` = NULL,`stream_info` = NULL,`stream_status` = 0,`monitor_pid` = NULL WHERE `stream_id` = '%d' AND `server_id` = '%d'", $ba85d77d367dcebfcc2a3db9e83bb581, SERVER_ID); goto bff19ff49210498dc1659692f86b31ee; F76c970a8a56d8e9879fe8e0134448c8: e3d62cdd5b25b8bf9026c5f01c808a66: goto Cffa9d01180606e0f6d1c6fdd24d56f6; ce0c434ec047f26d414927c61dfe8686: ab07046a2ff99fba0247cc147c896c9d: goto dd6c5fabf1502daa324dec498a7e472e; bff19ff49210498dc1659692f86b31ee: e648ce21c008f1118ce034834400d471: goto d9cffe9eada6423e342c7d142fdd4945; c02425a73351cb29b6154f0eaed16881: if (!self::F198E55FC8231996C50ee056Ac4226E0($e9d30118d498945b35ee33aa90ed9822, "XtreamCodes[{$ba85d77d367dcebfcc2a3db9e83bb581}]")) { goto e3d62cdd5b25b8bf9026c5f01c808a66; } goto d178501866a78a717ece07f0926df987; dc08afd0cf877c57b927615f56d8a1c0: $e9d30118d498945b35ee33aa90ed9822 = intval(file_get_contents("/home/xtreamcodes/iptv_xtream_codes/streams/{$ba85d77d367dcebfcc2a3db9e83bb581}.monitor")); goto c02425a73351cb29b6154f0eaed16881; C1b45d136bb1562e6d746f3f76884542: A3f3cddff7eaaadabaf56b091b806db2: goto ce0c434ec047f26d414927c61dfe8686; de9e8421611fbba8e5aa25448d1fd79c: $Bc7d327b1510891329ca9859db27320f = intval(file_get_contents(STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid")); goto b13b8fde9af1c1949dadef27e992727c; d9cffe9eada6423e342c7d142fdd4945: } static function F198e55Fc8231996C50eE056ac4226e0($Bc7d327b1510891329ca9859db27320f, $Afd5f79d62d4622597818545a5cf00d1) { goto F2958d22f8bfa3835c2ee60b2caa15b2; D43478690452928e48c3afca71361cdc: return true; goto e1d6362026b272f8562de0c8d4f6b761; e1d6362026b272f8562de0c8d4f6b761: F81fa945f31855fd67f7e76934e52dbe: goto D18a6ea8ffc077cb08a1737fb93a54fa; dc20cecaf431294498474d480eb2e088: return false; goto cf91799b6a6bef0204b2673e27035dad; F2958d22f8bfa3835c2ee60b2caa15b2: if (!file_exists("/proc/" . $Bc7d327b1510891329ca9859db27320f)) { goto B19eb1e84d9ab28db2485113b3a23039; } goto F24d1f491821ca14d24d3b3ca9b6fedf; D18a6ea8ffc077cb08a1737fb93a54fa: B19eb1e84d9ab28db2485113b3a23039: goto dc20cecaf431294498474d480eb2e088; cf0a90314bfac3bdf510731b2d43c950: if (!stristr($ea5780c60b0a2afa62b1d8395f019e9a, $Afd5f79d62d4622597818545a5cf00d1)) { goto F81fa945f31855fd67f7e76934e52dbe; } goto D43478690452928e48c3afca71361cdc; F24d1f491821ca14d24d3b3ca9b6fedf: $ea5780c60b0a2afa62b1d8395f019e9a = trim(file_get_contents("/proc/{$Bc7d327b1510891329ca9859db27320f}/cmdline")); goto cf0a90314bfac3bdf510731b2d43c950; cf91799b6a6bef0204b2673e27035dad: } static function E79092731573697C16A932C339d0A101($ba85d77d367dcebfcc2a3db9e83bb581, $c6a482793047d2f533b0b69299b7d24d = 0) { goto Cf5a5dbed1b3dcc448ad4fe6224442f2; d8653d1259f06fd19b2d4af8a95b279b: $c6a482793047d2f533b0b69299b7d24d = intval($c6a482793047d2f533b0b69299b7d24d); goto afe0ce9055e5c87cb85d50d36653cc1f; afe0ce9055e5c87cb85d50d36653cc1f: shell_exec(PHP_BIN . " " . TOOLS_PATH . "stream_monitor.php {$ba85d77d367dcebfcc2a3db9e83bb581} {$c6a482793047d2f533b0b69299b7d24d} >/dev/null 2>/dev/null &"); goto a330950228fa6fe8e6e3f13224b908b1; adfc6a83fea6ea4c429a2f3651b7b1a6: $Ab9f45b38498c3a010f3c4276ad5767c = fopen($d0ecfdcd1b9396ba72538b60109bf719, "a+"); goto Bd0d03a54b651bd1460a173a059c2e58; C02994e2cfeba1472268266c72bed68f: flock($Ab9f45b38498c3a010f3c4276ad5767c, LOCK_UN); goto d84c1567dbce1dce074f2035415263ff; Bc7e01859665617019b29e7d11c4de2b: fclose($Ab9f45b38498c3a010f3c4276ad5767c); goto e820b306e2ef283500e25b0f4f636357; Cf5a5dbed1b3dcc448ad4fe6224442f2: $d0ecfdcd1b9396ba72538b60109bf719 = STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . ".lock"; goto adfc6a83fea6ea4c429a2f3651b7b1a6; a330950228fa6fe8e6e3f13224b908b1: usleep(300); goto C02994e2cfeba1472268266c72bed68f; Bd0d03a54b651bd1460a173a059c2e58: if (!flock($Ab9f45b38498c3a010f3c4276ad5767c, LOCK_EX | LOCK_NB)) { goto E9b9c3b1629504183a3a72be9c4be3bf; } goto d8653d1259f06fd19b2d4af8a95b279b; d84c1567dbce1dce074f2035415263ff: E9b9c3b1629504183a3a72be9c4be3bf: goto Bc7e01859665617019b29e7d11c4de2b; e820b306e2ef283500e25b0f4f636357: } static function b533E0f5f988919d1c3b076a87f9b0E3($ba85d77d367dcebfcc2a3db9e83bb581) { goto e35186ef3179866af54745d1a89d0e2c; Ecce87d37dceee67197b068cc2d980a7: D540591b9a648179f77278d4e6f7e08c: goto ff48cf61fbfea912db5bf6b1b149772e; ff48cf61fbfea912db5bf6b1b149772e: shell_exec("rm -f " . MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . ".*"); goto ffb1bf285debe751e045b6a5cd8e9d77; E4debb0ae4de5b2250a4996002166646: $Bc7d327b1510891329ca9859db27320f = (int) file_get_contents(MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid"); goto dd0f21ba3155847834b35ef75af53460; dd0f21ba3155847834b35ef75af53460: posix_kill($Bc7d327b1510891329ca9859db27320f, 9); goto Ecce87d37dceee67197b068cc2d980a7; e35186ef3179866af54745d1a89d0e2c: if (!file_exists(MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid")) { goto D540591b9a648179f77278d4e6f7e08c; } goto E4debb0ae4de5b2250a4996002166646; ffb1bf285debe751e045b6a5cd8e9d77: self::$ipTV_db->query("UPDATE `streams_sys` SET `bitrate` = NULL,`current_source` = NULL,`to_analyze` = 0,`pid` = NULL,`stream_started` = NULL,`stream_info` = NULL,`stream_status` = 0 WHERE `stream_id` = '%d' AND `server_id` = '%d'", $ba85d77d367dcebfcc2a3db9e83bb581, SERVER_ID); goto fa8faf6526c53dfc91843cdf6f60a2db; fa8faf6526c53dfc91843cdf6f60a2db: } static function f8aB00514d4DB9462A088927b8D3a8E6($ba85d77d367dcebfcc2a3db9e83bb581) { goto d77a4c0c5654c5dfd0eda4d8a4842d87; F9f2b01ad3f85c9fc3ab734b90067f35: $ed147a39fb35be93248b6f1c206a8023 = str_replace(" ", "%20", $B16ceb354351bfb3944291018578c764); goto f6afac7f6e0c481605a739107fe5edbb; Ea97f37d3edfa6f84de6f2b1a931021f: f55e57d76dfa73dbe4243f26122e8972: goto dad19c9ac16787014479784ee990cb2b; f77365ce13f3e337c08100809f307c18: $cded98e960569a6cd37bbbc155e6a799 = ''; goto e1af65e81f9984c3dd310061f994f8fb; C8ec29554ce449c269c0cd7f7aba9336: if (!(self::$ipTV_db->D1E5cE3B87bb868B9E6EfD39Aa355a4F() <= 0)) { goto e5e8eff010e7528e976233f6b3d079e2; } goto F79e47b2feac120d771979ea9fb6ec59; A5ebe715f3f834a99597da49b03ef96d: $ed147a39fb35be93248b6f1c206a8023 = a78Bf8d35765BE2408c50712ce7A43aD::$StreamingServers[$dc4f2a655eb3f009a9e741402d02f5fb]["api_url"] . "&action=getFile&filename=" . urlencode($a3cc823f429df879ce4a238c730d5eb1[2]); goto f535ddd1482b3ee409562a41f969dd44; C7e285b78b1a15ecb8b6dd5f90f9b8e2: $f2130ba0f82d2308b743977b2ba5eaa9 .= "-map " . ($C48e0083a9caa391609a3c645a2ec889 + 1) . " -metadata:s:s:{$C48e0083a9caa391609a3c645a2ec889} title={$fd91db723d1a9a2b33d242b8850c593f["names"][$C48e0083a9caa391609a3c645a2ec889]} -metadata:s:s:{$C48e0083a9caa391609a3c645a2ec889} language={$fd91db723d1a9a2b33d242b8850c593f["names"][$C48e0083a9caa391609a3c645a2ec889]} "; goto F33799d512d141ac8d33a2e8eaa75564; B1c52a0c810e88d79afc40d2e5fbfc5d: if ($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["enable_transcode"] == 1) { goto Cbb258d7d61da749d51a7e51465ff1ec; } goto bade368b77f247feb32e1aa22fc83cd3; F290f5af9ffd31da0cdc5d65b35f2037: if ($dc4f2a655eb3f009a9e741402d02f5fb != SERVER_ID) { goto ef48b6553f2633aea27ded2d31a469f0; } goto a951b28539f5b0305396139249ec17a8; Fdc60eea95cfd226cd04034b8f907b2e: goto C001984484eb7a1780f704ac0e17f07b; goto Def6e1916f64cca9ea4fd1acd3ca9f48; ae6197e9074150b567d597c59fb6187a: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-acodec"] = "copy"; goto c6a40931b6c95c16b532ed45bd2c3b38; d77a4c0c5654c5dfd0eda4d8a4842d87: $c3a18c26bfa971a25d2e6ada870ff735 = array(); goto Bd719432cc507adb4ccbc56005c0221c; c2179802e7956fb24cc305011f647181: $d8143e98f4313d9c05f0b2697179789c = $fd91db723d1a9a2b33d242b8850c593f["charset"][$C48e0083a9caa391609a3c645a2ec889]; goto fb9e0da61762e450d65bb9705949e5d1; bb0561ee36fce88284b058dc1f1110bf: goto C001984484eb7a1780f704ac0e17f07b; goto B85c73f87cb7bdb45999e9a9a86e18c4; B90efbf84d8c8327fa546ff5139b662a: $F53be324c8d9391cc021f5be5dacdfc1 = substr($B16ceb354351bfb3944291018578c764, 0, strpos($B16ceb354351bfb3944291018578c764, "://")); goto F9f2b01ad3f85c9fc3ab734b90067f35; D2005dad6aa37b03d80a3e8973746bc7: E404feeb4139fcd9698f5b6a92c598c8: goto D93b549b75ff0d81f222d04ee5fd02d9; Ceddc60523e3e25558650293b81751e5: B2a7cb896c9dc4ce64ef17732cd83dec: goto e48a6d6809b9c3a0ceef5a7257ce54c8; b196aacda27436f4c55fca936dd9a377: $feb3f2070e6ccf961f6265281e875b1a = ''; goto fd9dbac5661e79c7909b269427f40671; f22a4df8c93df5a3b3c67640a1eeddf7: if (substr($B16ceb354351bfb3944291018578c764, 0, 2) == "s:") { goto f55e57d76dfa73dbe4243f26122e8972; } goto B90efbf84d8c8327fa546ff5139b662a; A988605a6a6358d97f70e813742145ab: if (json_last_error() === JSON_ERROR_NONE) { goto B9ee39f380d734864191ff596d3fc949; } goto fe94ff53ff3ef5fdbd92dde35c7e431b; c9cd40707eb8c7f5a5239f7b506fd85c: $C48e0083a9caa391609a3c645a2ec889++; goto b13a9eae365edb07134ec37381d7822f; b7959a0ef882ae6c39bbea4f1b13e52b: goto f1ffc9a8f6509ac68c6a7020d9b5ee8d; goto edc64143b64c18308283d7457a4f5c5f; Cc8d0807506ff9266b40d2c1241787f6: $af428179032a83d9ec1df565934b1c89 = "ln -s "{$ed147a39fb35be93248b6f1c206a8023}" " . MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "." . pathinfo($ed147a39fb35be93248b6f1c206a8023, PATHINFO_EXTENSION) . " >/dev/null 2>/dev/null & echo $! > " . MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid"; goto B600e2097c29a0d86a5dd57d5bf80e25; d012f5ef6d73a4bf81ccc412bba11b7b: if (array_key_exists("-acodec", $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"])) { goto B276fd4a46f78cb55c6e6b0cc23b4e25; } goto ae6197e9074150b567d597c59fb6187a; Ffdac25bffd2f42d217d32353450bc87: ebacfc6ec00e9c20da5c1bde5fe9e113: goto dc0d29e659be113bf4ea459195f25be0; f6afac7f6e0c481605a739107fe5edbb: $be9f906faa527985765b1d8c897fb13a = implode(" ", self::eA860C1D3851c46D06e64911E3602768($c3a18c26bfa971a25d2e6ada870ff735["stream_arguments"], $F53be324c8d9391cc021f5be5dacdfc1, "fetch")); goto f96fd7996ae2000c5fdbf3a0ae752a38; Da097bb6d6b92fc21d3353daac072590: Add372654c63d6f8e793535ca0c4358d: goto Eba75c822dc52b1e205473dcef935776; Af1d0dcf5f99b18dff07471dc74f6657: if (!($C48e0083a9caa391609a3c645a2ec889 < count($fd91db723d1a9a2b33d242b8850c593f["files"]))) { goto ad3c3b402990229299a009de2ca8b278; } goto C7e285b78b1a15ecb8b6dd5f90f9b8e2; D93b549b75ff0d81f222d04ee5fd02d9: $f2130ba0f82d2308b743977b2ba5eaa9 = ''; goto bdba319364e1ce1ec01dad15dec6b30b; A99208d93b2795175081698152d0c7a0: foreach ($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["target_container"] as $E2e6656d8b1675f70c487f89e4f27a3b) { $A7c6258649492b26d77c75c60c793409[$E2e6656d8b1675f70c487f89e4f27a3b] = "-movflags +faststart -dn {$fd85ae68a4de5cc6cec54942d82e8f80} -ignore_unknown {$f2130ba0f82d2308b743977b2ba5eaa9} " . MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "." . $E2e6656d8b1675f70c487f89e4f27a3b . " "; a346f1a3f8ef9650581483d29e5eaab0: } goto F44d6e8359fa37327bd174fd53498ce1; c310cb8112ce3dc70684a4844f7e7221: foreach ($A7c6258649492b26d77c75c60c793409 as $bca72c242cf770f855c0eae8936335b7 => $cd7bafd64552e6ca58318f09800cbddd) { goto Ce28c6ec4a21f375285dfcb192007cd3; e84cfd19bf54ea85407c20f51ee8620b: goto b846d8cb5c86b6cf1d81683bcfa1c327; goto Ef410894099926df36e87fdcb891cc71; a004845df02aa85c83f580f83f4adcb0: $af428179032a83d9ec1df565934b1c89 .= $cd7bafd64552e6ca58318f09800cbddd; goto D6014c428af1aeb6676b49b01375c9b8; cd8f5f1376f8d8f7d52e9f713210aa82: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-scodec"] = "srt"; goto A60285388a4ab7b0b0c4a9b0bf44b3bc; b7017dcce0157c108b95722b17dec9e5: Ba7803b04b89aabeb5d7f38481286a05: goto cd8f5f1376f8d8f7d52e9f713210aa82; Ce28c6ec4a21f375285dfcb192007cd3: if ($bca72c242cf770f855c0eae8936335b7 == "mp4") { goto dbac771c7bb31b3cafe5bd4906c9b6b4; } goto D88cd10b2682ca5953485ba3739eab3f; A60285388a4ab7b0b0c4a9b0bf44b3bc: b846d8cb5c86b6cf1d81683bcfa1c327: goto F90f361f556594c9275d6516b5323ad8; Dbe4af8ff0f0892e9c36a1a079a2b3d0: goto b846d8cb5c86b6cf1d81683bcfa1c327; goto b7017dcce0157c108b95722b17dec9e5; e6e5595ea5f7343075c1f7612c5209a4: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-scodec"] = "copy"; goto e84cfd19bf54ea85407c20f51ee8620b; a64545eefe04e0fe6235a4bdd7940e79: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-scodec"] = "mov_text"; goto Dbe4af8ff0f0892e9c36a1a079a2b3d0; D6014c428af1aeb6676b49b01375c9b8: B18fb3f9a634a226217b7c9309ac6a19: goto d279dffb2e56d7d1d0b65e94c5cc8df0; Ef410894099926df36e87fdcb891cc71: dbac771c7bb31b3cafe5bd4906c9b6b4: goto a64545eefe04e0fe6235a4bdd7940e79; F90f361f556594c9275d6516b5323ad8: $af428179032a83d9ec1df565934b1c89 .= implode(" ", self::F6664c80BDe3e9bbe2c12CEb906D5A11($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"])) . " "; goto a004845df02aa85c83f580f83f4adcb0; D88cd10b2682ca5953485ba3739eab3f: if ($bca72c242cf770f855c0eae8936335b7 == "mkv") { goto Ba7803b04b89aabeb5d7f38481286a05; } goto e6e5595ea5f7343075c1f7612c5209a4; d279dffb2e56d7d1d0b65e94c5cc8df0: } goto F0bccc298b30219b46ec292754105245; dc0d29e659be113bf4ea459195f25be0: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"] = array_merge(self::ea860c1d3851c46d06E64911e3602768($c3a18c26bfa971a25d2e6ada870ff735["stream_arguments"], $F53be324c8d9391cc021f5be5dacdfc1, "transcode"), json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"], true)); goto a421934ee0592f7196b0122f70d42f41; bffbd648cdc6422d2f39176a14126d96: $C48e0083a9caa391609a3c645a2ec889++; goto D73f689e15d178eeca4f0a7ffb0705da; Ae55818838467917b5cb15c3d791c102: ad3c3b402990229299a009de2ca8b278: goto ea9463342ea06d29240138ceca75dd0a; F0bccc298b30219b46ec292754105245: Ff78ab08e68eb0c83af0d7549527aac6: goto C16cd19c4628dbed4f2dc5ba06d3117a; be28a181c4b35d7232795bc2dd48b8e1: goto b675deeb1a001d8fcadcf5cf5ed0d08a; goto D32cf3049ee304375b9eff5ce568c4b0; bdba319364e1ce1ec01dad15dec6b30b: $C48e0083a9caa391609a3c645a2ec889 = 0; goto Ed6fc17439aa88bec293c97197a80324; F798d56b3e0374ac2605e3b77a6054e8: $ecb89a457f7f7216f5564141edfd6269 = json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["target_container"], true); goto A988605a6a6358d97f70e813742145ab; e1af65e81f9984c3dd310061f994f8fb: $C48e0083a9caa391609a3c645a2ec889 = 0; goto Bf6379e3172f722f2dfb5660d2f14fd0; F88126d5bda48fbf84e8669f74f04adf: shell_exec($af428179032a83d9ec1df565934b1c89); goto A23b0cbb7c477a980fc40da59f005b37; ea9463342ea06d29240138ceca75dd0a: $af428179032a83d9ec1df565934b1c89 = FFMPEG_PATH . " -y -nostdin -hide_banner -loglevel warning -err_detect ignore_err {FETCH_OPTIONS} -fflags +genpts -async 1 {READ_NATIVE} -i "{STREAM_SOURCE}" {$cded98e960569a6cd37bbbc155e6a799}"; goto b196aacda27436f4c55fca936dd9a377; Bde569321b7698caa69e7ba1a06fda09: goto b51196ced3db1f3201f17e394565a638; goto a59a0d8d6c73fb797858958eae99d9a6; F4e0c89af70a0a0b6136756d77fe6a3e: goto abae99a95e3f1c23706b778724464f14; goto Ffdac25bffd2f42d217d32353450bc87; e520abeff56ac46745da77994c106831: $fd85ae68a4de5cc6cec54942d82e8f80 = "-map 0 -copy_unknown "; goto Cbfc3a907c9ab8ae9a474dfdd8da1dc5; F33799d512d141ac8d33a2e8eaa75564: c2aaadf3c9aedd6138f0c4edf0821eee: goto c9cd40707eb8c7f5a5239f7b506fd85c; B148605db0d07d7bb77c183c38d8f654: if ($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["remove_subtitles"] == 1) { goto E33f7b7470ddb69197047e3db94bc0d6; } goto bb0561ee36fce88284b058dc1f1110bf; f535ddd1482b3ee409562a41f969dd44: E725e66f82f0093213ce2738af2fceb8: goto A75887417f460fc962d421325ad9fab3; a421934ee0592f7196b0122f70d42f41: abae99a95e3f1c23706b778724464f14: goto Eeb26a3fc3be9993e79ced83ee8d6964; dad19c9ac16787014479784ee990cb2b: $a3cc823f429df879ce4a238c730d5eb1 = explode(":", $B16ceb354351bfb3944291018578c764, 3); goto c7f42e2973210d18256cddc96fab0592; bade368b77f247feb32e1aa22fc83cd3: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"] = array(); goto b7959a0ef882ae6c39bbea4f1b13e52b; Eba75c822dc52b1e205473dcef935776: if (isset($dc4f2a655eb3f009a9e741402d02f5fb) && $dc4f2a655eb3f009a9e741402d02f5fb == SERVER_ID && $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["movie_symlink"] == 1) { goto ad99fe107711832dc41ace2638e12a08; } goto D135fd9779780def953fdde35d14eb8e; bceb944198e6e639feab36b432478888: self::$ipTV_db->query("UPDATE `streams_sys` SET `to_analyze` = 1,`stream_started` = '%d',`stream_status` = 0,`pid` = '%d' WHERE `stream_id` = '%d' AND `server_id` = '%d'", time(), $Bc7d327b1510891329ca9859db27320f, $ba85d77d367dcebfcc2a3db9e83bb581, SERVER_ID); goto de4a9df77fac366486467f72b43949e2; C617368ad605acaca55c9a7c386f8c84: $fd85ae68a4de5cc6cec54942d82e8f80 = $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_map"] . " -copy_unknown "; goto Fdc60eea95cfd226cd04034b8f907b2e; a7f3a60b484b65ab8bfeff6a891004b5: $feb3f2070e6ccf961f6265281e875b1a = "-re"; goto A3c8a70e8e7e2f77202d9f554fbfc91d; A75887417f460fc962d421325ad9fab3: $F53be324c8d9391cc021f5be5dacdfc1 = null; goto Da097bb6d6b92fc21d3353daac072590; c7f42e2973210d18256cddc96fab0592: $dc4f2a655eb3f009a9e741402d02f5fb = $a3cc823f429df879ce4a238c730d5eb1[1]; goto F290f5af9ffd31da0cdc5d65b35f2037; f398bb61e5b78c0144a000ea39d3a778: $cded98e960569a6cd37bbbc155e6a799 .= "-sub_charenc "{$d8143e98f4313d9c05f0b2697179789c}" -i "" . a78BF8D35765be2408c50712Ce7a43aD::$StreamingServers[$fd91db723d1a9a2b33d242b8850c593f["location"]]["api_url"] . "&action=getFile&filename=" . urlencode($f26614792b40297912d260cb0d2fa273) . "" "; goto b529e3702600fb1a529b37b0307b370f; d79a62976231809fe703c4527214676e: $A7c6258649492b26d77c75c60c793409 = array(); goto A99208d93b2795175081698152d0c7a0; D135fd9779780def953fdde35d14eb8e: $fd91db723d1a9a2b33d242b8850c593f = json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["movie_subtitles"], true); goto f77365ce13f3e337c08100809f307c18; fd9dbac5661e79c7909b269427f40671: if (!($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["read_native"] == 1)) { goto F3aa8df193ebf09bc588974e590fc95d; } goto a7f3a60b484b65ab8bfeff6a891004b5; b8cb8f5724836a4bf8d49a60f31eb7f4: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"] = self::$ipTV_db->f1ed191d78470660eDfF4A007696bc1f(); goto F798d56b3e0374ac2605e3b77a6054e8; f561b6cee9e5d088c880793425812290: b675deeb1a001d8fcadcf5cf5ed0d08a: goto b55bc8db4c5b0ed19feb00f0ecf692c2; Ef664cd2e4a95f566f111eb02e6cf554: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"] = json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["profile_options"], true); goto F4e0c89af70a0a0b6136756d77fe6a3e; b68fdd69502f5232156f250ac915f58a: E9acd5edfe5276948201823a2631cb0b: goto d79a62976231809fe703c4527214676e; Bfb27515645c62cdafb003b709ce4a86: goto E725e66f82f0093213ce2738af2fceb8; goto E395122608a5edcdcc31011a462beb94; a18cf43aeafe1a6085670e05f56e8a66: self::$ipTV_db->query("SELECT t1.*, t2.* FROM `streams_options` t1, `streams_arguments` t2 WHERE t1.stream_id = '%d' AND t1.argument_id = t2.id", $ba85d77d367dcebfcc2a3db9e83bb581); goto e9c5caa0f6ce16cd00c71ca3e0e004fc; d9ce0a5442159c8b1369de2946a25025: return false; goto fba37713950ece7218725b2588fbe34d; e27e9d54d7fe76f25e172ce6e27b0248: $af428179032a83d9ec1df565934b1c89 = str_replace(array("{FETCH_OPTIONS}", "{STREAM_SOURCE}", "{READ_NATIVE}"), array(empty($be9f906faa527985765b1d8c897fb13a) ? '' : $be9f906faa527985765b1d8c897fb13a, $ed147a39fb35be93248b6f1c206a8023, empty($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_ffmpeg"]) ? $feb3f2070e6ccf961f6265281e875b1a : ''), $af428179032a83d9ec1df565934b1c89); goto Bde569321b7698caa69e7ba1a06fda09; b13a9eae365edb07134ec37381d7822f: goto E6e19d8ac7fbc7bd7196ad89afc70796; goto Ae55818838467917b5cb15c3d791c102; Aad73018904a647604112291c05bc559: C001984484eb7a1780f704ac0e17f07b: goto d012f5ef6d73a4bf81ccc412bba11b7b; Cbfc3a907c9ab8ae9a474dfdd8da1dc5: if (!empty($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_map"])) { goto ab37a681ced15fd3155a018a6c2e6d1c; } goto B148605db0d07d7bb77c183c38d8f654; de4a9df77fac366486467f72b43949e2: return $Bc7d327b1510891329ca9859db27320f; goto ced154e81db967bd9c0d2da3aa28299b; Ed6fc17439aa88bec293c97197a80324: E6e19d8ac7fbc7bd7196ad89afc70796: goto Af1d0dcf5f99b18dff07471dc74f6657; e5dcf6f06852a514c01139086723c20d: e5e8eff010e7528e976233f6b3d079e2: goto Bdba356bf98ae9a0b1b0a8d79c86e293; ae87ed74268b66f0eafae21030c7fe14: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["target_container"] = $ecb89a457f7f7216f5564141edfd6269; goto f561b6cee9e5d088c880793425812290; f96fd7996ae2000c5fdbf3a0ae752a38: goto Add372654c63d6f8e793535ca0c4358d; goto Ea97f37d3edfa6f84de6f2b1a931021f; Bd719432cc507adb4ccbc56005c0221c: self::$ipTV_db->query("SELECT * FROM `streams` t1 \xa                               INNER JOIN `streams_types` t2 ON t2.type_id = t1.type AND t2.live = 0 
                               LEFT JOIN `transcoding_profiles` t4 ON t1.transcode_profile_id = t4.profile_id  
                               WHERE t1.direct_source = 0 AND t1.id = '%d'", $ba85d77d367dcebfcc2a3db9e83bb581); goto Acc75607385c47fdb915db324fd2e01a; e48a6d6809b9c3a0ceef5a7257ce54c8: $cded98e960569a6cd37bbbc155e6a799 .= "-sub_charenc "{$d8143e98f4313d9c05f0b2697179789c}" -i "{$f26614792b40297912d260cb0d2fa273}" "; goto E68c59603b4a40f4d2ba961cc20d5269; B600e2097c29a0d86a5dd57d5bf80e25: b51196ced3db1f3201f17e394565a638: goto F88126d5bda48fbf84e8669f74f04adf; D95b147b7fe076b73873336ea2156f77: $fd85ae68a4de5cc6cec54942d82e8f80 = "-map 0:a -map 0:v"; goto Aad73018904a647604112291c05bc559; Eeb26a3fc3be9993e79ced83ee8d6964: f1ffc9a8f6509ac68c6a7020d9b5ee8d: goto e520abeff56ac46745da77994c106831; b2bd8e1002414ee6c96284012644f630: if ($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_profile_id"] == -1) { goto ebacfc6ec00e9c20da5c1bde5fe9e113; } goto Ef664cd2e4a95f566f111eb02e6cf554; Bdba356bf98ae9a0b1b0a8d79c86e293: $c3a18c26bfa971a25d2e6ada870ff735["server_info"] = self::$ipTV_db->f1ed191D78470660EDFF4a007696BC1f(); goto a18cf43aeafe1a6085670e05f56e8a66; D32cf3049ee304375b9eff5ce568c4b0: B9ee39f380d734864191ff596d3fc949: goto ae87ed74268b66f0eafae21030c7fe14; D73f689e15d178eeca4f0a7ffb0705da: goto A939828d8872169b1d363ce60f3db680; goto D2005dad6aa37b03d80a3e8973746bc7; A23b0cbb7c477a980fc40da59f005b37: file_put_contents("/tmp/commands", $af428179032a83d9ec1df565934b1c89 . " 
", FILE_APPEND); goto e324162650504f04d37635d336ab0212; F79e47b2feac120d771979ea9fb6ec59: return false; goto e5dcf6f06852a514c01139086723c20d; fba37713950ece7218725b2588fbe34d: E178f3014b8fb33b99151ec234590642: goto b8cb8f5724836a4bf8d49a60f31eb7f4; a951b28539f5b0305396139249ec17a8: $ed147a39fb35be93248b6f1c206a8023 = $a3cc823f429df879ce4a238c730d5eb1[2]; goto Bfb27515645c62cdafb003b709ce4a86; c6a40931b6c95c16b532ed45bd2c3b38: B276fd4a46f78cb55c6e6b0cc23b4e25: goto Ed31a64b95e8df3145765ac5df422439; d6393e72edc70689ac1dbfec6d07d06c: if (!($C48e0083a9caa391609a3c645a2ec889 < count($fd91db723d1a9a2b33d242b8850c593f["files"]))) { goto E404feeb4139fcd9698f5b6a92c598c8; } goto a512cdc49389a59f7e230875420dc900; e9c5caa0f6ce16cd00c71ca3e0e004fc: $c3a18c26bfa971a25d2e6ada870ff735["stream_arguments"] = self::$ipTV_db->c126FD559932F625CDf6098d86C63880(); goto Cd9bf6c4450b118d07f39a7a95020385; Acc75607385c47fdb915db324fd2e01a: if (!(self::$ipTV_db->d1E5CE3B87bB868b9e6Efd39AA355A4F() <= 0)) { goto E178f3014b8fb33b99151ec234590642; } goto d9ce0a5442159c8b1369de2946a25025; B32d0b77dce99e8dac519b6a1171c5f9: F5d53f6df467fe26a04aeb55a026dbf1: goto bffbd648cdc6422d2f39176a14126d96; edc64143b64c18308283d7457a4f5c5f: Cbb258d7d61da749d51a7e51465ff1ec: goto b2bd8e1002414ee6c96284012644f630; F44d6e8359fa37327bd174fd53498ce1: fe946122aac06dda7a5bcfaa6c3e2a5a: goto c310cb8112ce3dc70684a4844f7e7221; fe94ff53ff3ef5fdbd92dde35c7e431b: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["target_container"] = array($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["target_container"]); goto be28a181c4b35d7232795bc2dd48b8e1; b529e3702600fb1a529b37b0307b370f: goto ef634eb3bd7a80ccfd3f8f1a69b80635; goto Ceddc60523e3e25558650293b81751e5; Cd9bf6c4450b118d07f39a7a95020385: $B16ceb354351bfb3944291018578c764 = urldecode(json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["stream_source"], true)[0]); goto f22a4df8c93df5a3b3c67640a1eeddf7; B85c73f87cb7bdb45999e9a9a86e18c4: ab37a681ced15fd3155a018a6c2e6d1c: goto C617368ad605acaca55c9a7c386f8c84; a512cdc49389a59f7e230875420dc900: $f26614792b40297912d260cb0d2fa273 = urldecode($fd91db723d1a9a2b33d242b8850c593f["files"][$C48e0083a9caa391609a3c645a2ec889]); goto c2179802e7956fb24cc305011f647181; a59a0d8d6c73fb797858958eae99d9a6: ad99fe107711832dc41ace2638e12a08: goto Cc8d0807506ff9266b40d2c1241787f6; fb9e0da61762e450d65bb9705949e5d1: if ($fd91db723d1a9a2b33d242b8850c593f["location"] == SERVER_ID) { goto B2a7cb896c9dc4ce64ef17732cd83dec; } goto f398bb61e5b78c0144a000ea39d3a778; Bf6379e3172f722f2dfb5660d2f14fd0: A939828d8872169b1d363ce60f3db680: goto d6393e72edc70689ac1dbfec6d07d06c; e324162650504f04d37635d336ab0212: $Bc7d327b1510891329ca9859db27320f = intval(file_get_contents(MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid")); goto bceb944198e6e639feab36b432478888; D96898d4b7cac38a7ba7395e28dc1a12: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-vcodec"] = "copy"; goto b68fdd69502f5232156f250ac915f58a; A3c8a70e8e7e2f77202d9f554fbfc91d: F3aa8df193ebf09bc588974e590fc95d: goto B1c52a0c810e88d79afc40d2e5fbfc5d; E395122608a5edcdcc31011a462beb94: ef48b6553f2633aea27ded2d31a469f0: goto A5ebe715f3f834a99597da49b03ef96d; b55bc8db4c5b0ed19feb00f0ecf692c2: self::$ipTV_db->query("SELECT * FROM `streams_sys` WHERE stream_id  = '%d' AND `server_id` = '%d'", $ba85d77d367dcebfcc2a3db9e83bb581, SERVER_ID); goto C8ec29554ce449c269c0cd7f7aba9336; C16cd19c4628dbed4f2dc5ba06d3117a: $af428179032a83d9ec1df565934b1c89 .= " >/dev/null 2>" . MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . ".errors & echo $! > " . MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid"; goto e27e9d54d7fe76f25e172ce6e27b0248; E68c59603b4a40f4d2ba961cc20d5269: ef634eb3bd7a80ccfd3f8f1a69b80635: goto B32d0b77dce99e8dac519b6a1171c5f9; Ed31a64b95e8df3145765ac5df422439: if (array_key_exists("-vcodec", $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"])) { goto E9acd5edfe5276948201823a2631cb0b; } goto D96898d4b7cac38a7ba7395e28dc1a12; Def6e1916f64cca9ea4fd1acd3ca9f48: E33f7b7470ddb69197047e3db94bc0d6: goto D95b147b7fe076b73873336ea2156f77; ced154e81db967bd9c0d2da3aa28299b: } static function CEBeee6A9C20e0da24C41A0247cf1244($ba85d77d367dcebfcc2a3db9e83bb581, &$bb1b9dfc97454460e165348212675779, $B71703fbd9f237149967f9ac3c41dc19 = null) { goto A0d120e3619e31aa8f0afba2f52785c3; F04a155d53dd4b7dfbb2d94e2d46c43c: copy(DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8", DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8_old"); goto E71edd621c999724980131f9b1b1b389; bbcae040288c0c5f88af0fc521723433: self::Ad09d99ce37614036d5A527595d569D9($A733a5416ffab6ff47547550f3f9f641); goto D0afdccccec4b4616a05e3e4f128e577; a0b1b6afbcf1a75e0ed974074df19ce6: if (!($Baee0c34e5755f1cfaa4159ea7e8702e !== false)) { goto D63aacc4ea564f12e24abd6538c7b052; } goto A89059ee0e35afb67b9c99274f644e97; E71edd621c999724980131f9b1b1b389: goto dd0526e2b77400e9c24a9c60c9812955; goto a772d6fd4324806051123be934179918; Edda592749fe30203f1d3da1f4e1155e: A593dfcdaa5e9ff9b3f42a9d21396d3b: goto C1e5f945db9e05cf02a58cbc09c806d7; f32705ea043d73ab75dabc69c708c11f: C89c9ed51c1208202cd91f7bfa6b3b12: goto Af353e9eba35f8e791cf80cdf8d49eb7; D96a94d1a2ed791bb0a7e928f7bedace: if ($F7b03a1f7467c01c6ea18452d9a5202f) { goto ebd27b3edaaacb30705e86c5be704ca9; } goto bbcae040288c0c5f88af0fc521723433; de29ba88097aa2d531d78676261146a4: ba73a6e82ea0f7696f05a6511ba8b6a4: goto Ab3616c8de8bd4a36124f90f72d5bf1e; A1e2067417926f4da48a28622cb2757b: if (empty($c3a18c26bfa971a25d2e6ada870ff735["server_info"]["current_source"])) { goto e7eedc2b99021a3a11f4a0933af2c2b1; } goto A490a0100845022bfa4bc7e1942f6a98; ea7689965104d59227fac258264fc58c: if (!file_exists(DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8")) { goto b5c7effa65c597936232525ef71cee85; } goto E3d3b8c11088224e78a92e4f1ebbf396; Bad546709720a6102f3c88d000770bfa: if (!preg_match("/\_(.*?)\.ts/", $Ca434bcc380e9dbd2a3a588f6c32d84f[count($Ca434bcc380e9dbd2a3a588f6c32d84f) - 1], $ae37877cee3bc97c8cfa6ec5843993ed)) { goto E376243a25162a7e9a96615f05736000; } goto F1ba59a0be639859b02b430d57ab97d5; Bbefd602594d606c064faaeb38fc48f2: C620c23e1bfc3164def5bb8281898865: goto d42170a221646fe96aac52e382d3ef26; D82756933c32374e03f659f66ca0294f: if (!(count($A733a5416ffab6ff47547550f3f9f641) > 0)) { goto Addf182f86a94b305381bd0e81174f08; } goto D09fb073638eb11ef1c30ce69371b10c; a0e0e379d0036193bf0c60ec22e3ee98: $fd85ae68a4de5cc6cec54942d82e8f80 = "-map 0 -copy_unknown "; goto C51cef42781148661fbed8fd88e84f0b; c8d3d2ebcb83cc537923e3e40a40127f: $af428179032a83d9ec1df565934b1c89 = str_replace(array("{INPUT}", "{FETCH_OPTIONS}", "{GEN_PTS}", "{STREAM_SOURCE}", "{MAP}", "{READ_NATIVE}", "{CONCAT}", "{AAC_FILTER}"), array(""{$B16ceb354351bfb3944291018578c764}"", empty($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_ffmpeg"]) ? $be9f906faa527985765b1d8c897fb13a : '', empty($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_ffmpeg"]) ? $e9652f3db39531a69b91900690d5d064 : '', $B16ceb354351bfb3944291018578c764, empty($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_ffmpeg"]) ? $fd85ae68a4de5cc6cec54942d82e8f80 : '', empty($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_ffmpeg"]) ? $feb3f2070e6ccf961f6265281e875b1a : '', $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["type_key"] == "created_live" && $c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"] == 0 ? "-safe 0 -f concat" : '', !stristr($e49460014c491accfafaa768ea84cd9c["container"], "flv") && $e49460014c491accfafaa768ea84cd9c["codecs"]["audio"]["codec_name"] == "aac" && $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-acodec"] == "copy" ? "-bsf:a aac_adtstoasc" : ''), $af428179032a83d9ec1df565934b1c89); goto b5de6d84a09f1d72891d22dba89221b6; C82df06e5fa12f41744bf21c58d2b1e6: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-scodec"] = "copy"; goto fb2a6160e1b849ef588a33123dbfc873; C90562f404fb0e72328fe172489728ef: dc9cc6d59e4235d361ef5eda9337f0d2: goto f15e43f235f6e887815981863f0afb47; dcd31fe9c005d847df9c993546e72870: if (!($Dedb93a1e8822879d8790c1f2fc7d6f1 <= 0)) { goto ccbae97f6af29994e24944d9fa86c5ee; } goto de552689f7587700907ec092972bd7a7; f15e43f235f6e887815981863f0afb47: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"] = array_merge(self::EA860c1D3851c46d06E64911E3602768($c3a18c26bfa971a25d2e6ada870ff735["stream_arguments"], $F53be324c8d9391cc021f5be5dacdfc1, "transcode"), json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"], true)); goto E697cb32a3c22753497cd0431dae3aa2; c2e9c65d1d592207c1262ccb4ad0b5c0: if (empty($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_ffmpeg"])) { goto A593dfcdaa5e9ff9b3f42a9d21396d3b; } goto d223422dfd7b56e28a96edc028545f85; a67642cc7ee104b70e14b8fc6e9e6ebe: return false; goto ad27cd0179e0bea9d3cdeec4fb7f63d4; b6788605b80e524fe1de8e4c05874e64: if (!empty($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_map"])) { goto Dc744fb7e990d5b473a8aa9a3c2427cb; } goto dd43e5758da695b950acae4bdad551da; C284d08402628d76571706d6847e7161: f283f80882362b693eafe8affe5b7574: goto e353e26d823fb2f2ad99a0de13f35f2a; a1309b93845446e4cd9506e7d9ee3665: unlink(STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid"); goto c7a963a2294ddd8b273b9b9a1401e4bb; ac0a7d65392617ea8232b8f816a6c0b4: self::$ipTV_db->query("SELECT * FROM `streams_sys` WHERE stream_id  = '%d' AND `server_id` = '%d'", $ba85d77d367dcebfcc2a3db9e83bb581, SERVER_ID); goto Cc4a305edadfdd1d8737bc84be960103; d42170a221646fe96aac52e382d3ef26: $C48e0083a9caa391609a3c645a2ec889++; goto cf3cc42896433bf03b403f546382c306; ba628c063254e10f55fdbd1059f9c47e: shell_exec("sed -i '/EXTINF\|.ts/!d' " . DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8_old"); goto Bb78eb9c44efca565d4e7263bcc49b55; f24a72bc3ef2ca23aea61f50a29261ea: $fd85ae68a4de5cc6cec54942d82e8f80 = ''; goto B394cf667ccf64cf71deb16276092e74; Bfb51bcba12d3ea286d0e5c64a906c0c: return false; goto A15b95b2acfb948687c7cd34a0e950ad; C2628ca62bdca20ad5591a573f03933d: if ($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_profile_id"] == -1) { goto dc9cc6d59e4235d361ef5eda9337f0d2; } goto Bac7189cd52e5f01a848beeeb17cb3d4; De2c3be014eadbcd6d572d6421f2f8d6: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-acodec"] = "copy"; goto f32705ea043d73ab75dabc69c708c11f; f062b607b0c3bafda6d2f7e13dac7e31: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"] = array(); goto a07abb6203fe9fdf4f334c6f416f8b98; A0d120e3619e31aa8f0afba2f52785c3: ++$bb1b9dfc97454460e165348212675779; goto Bb16dcc14fa63b772656ae31ad604dd8; E3ff3c7a9c043f4d8ddbb4cd87044f0a: $af428179032a83d9ec1df565934b1c89 .= "{MAP} -individual_header_trailer 0 -f segment -segment_format mpegts -segment_time " . A78bF8D35765bE2408c50712cE7a43Ad::$SegmentsSettings["seg_time"] . " -segment_list_size " . $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["delay_minutes"] * 6 . " -segment_start_number {$ccac9556cf5f7f83df650c022d673042} -segment_format_options "mpegts_flags=+initial_discontinuity:mpegts_copyts=1" -segment_list_type m3u8 -segment_list_flags +live+delete -segment_list "" . DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8" "" . DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_%d.ts" "; goto be4128517776905db04029fcdfba7a20; E3d3b8c11088224e78a92e4f1ebbf396: $Ca434bcc380e9dbd2a3a588f6c32d84f = file(DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8"); goto Ef90b6d05faeb471910872dff25454bb; a7a98d12f39e077666c69bf45ca37dfa: Dc744fb7e990d5b473a8aa9a3c2427cb: goto A39da3761e62211f5097daa9a683ddd6; F1ba59a0be639859b02b430d57ab97d5: $ccac9556cf5f7f83df650c022d673042 = intval($ae37877cee3bc97c8cfa6ec5843993ed[1]) + 1; goto ed3d7638253c69d7a27fde6759f8c15c; d7f5dba0f5535d7099e780b3b14a9fd3: return array("main_pid" => $Bc7d327b1510891329ca9859db27320f, "stream_source" => $B16ceb354351bfb3944291018578c764, "delay_enabled" => $Dac1208baefb5d684938829a3a0e0bc6, "parent_id" => $c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"], "delay_start_at" => $f32785b2a16d0d92cda0b44ed436f505, "playlist" => $Bb37b848bec813a5c13ea0b018962c40); goto D1486d02abf37792724e2b7bef1e260d; Ebae4b761e9183ba9b9b880eec952442: F153c4512deca390dba74e8db2fbea36: goto C31d0d6f24788d502e990a26b63a44b3; C4a7f6838c4c6986f8e9eb8cf0e9f57b: self::$ipTV_db->query("SELECT * FROM `streams` t1 \xa                               INNER JOIN `streams_types` t2 ON t2.type_id = t1.type AND t2.live = 1\xa                               LEFT JOIN `transcoding_profiles` t4 ON t1.transcode_profile_id = t4.profile_id \xa                               WHERE t1.direct_source = 0 AND t1.id = '%d'", $ba85d77d367dcebfcc2a3db9e83bb581); goto D9b0fa1bc159252e1b1345f708641a19; E697cb32a3c22753497cd0431dae3aa2: d8e23af75e9f89b764ccf530a01acbf3: goto D724bdd07744b75724723c57be250efb; Aec6beac472aeac3069bb605be29ab0b: if (!($ccac9556cf5f7f83df650c022d673042 > 0)) { goto A5521d14dac6bbbe40d9e44c33dfa8a9; } goto d9a982588ba95fb5346107319c66a9b2; D316a4f6ac0d00185f45ce068e720ba9: $E1be7e0ba659254273dc1475ae9679e0 = $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["probesize_ondemand"]; goto a5f99a9dda156af298a59469446eb82d; f8041740b21b73f8554e3133223adc34: $e9652f3db39531a69b91900690d5d064 = "-fflags +genpts -async 1"; goto a6cb04ba2fdaf4417d4a82959148687f; ad27cd0179e0bea9d3cdeec4fb7f63d4: E6918dd2087443c78184dfc7cdf7512f: goto F640d97105059ea2932ecea69152010d; da63ab577220b92f869065d53b6cb2a5: afe4d20824debb37c5f6f53f983e4f25: goto Abf50ff9dc44957d377515902ecb0a6b; b2c1e8cc9c1f9a5f72f58f7e79090e11: goto ea30083703d1c2cde3fd27e4d0fd9f9f; goto bd059131eacab3b6bca532fa308f0d23; d9a982588ba95fb5346107319c66a9b2: $Dedb93a1e8822879d8790c1f2fc7d6f1 -= ($ccac9556cf5f7f83df650c022d673042 - 1) * 10; goto dcd31fe9c005d847df9c993546e72870; Fb428fba5e2e49cf959c2c94a321606e: Addf182f86a94b305381bd0e81174f08: goto fecdbb85f6df4b71f741c2acacb76a94; C51cef42781148661fbed8fd88e84f0b: goto F7052b7340617388b1314ad99c08b3b6; goto a7a98d12f39e077666c69bf45ca37dfa; Ab3616c8de8bd4a36124f90f72d5bf1e: F9938bfcca244b4d743009902cc4255e: goto c8ec760f646d4146ba52186bd4567055; f45426f454a319d0c7fbe7ff33a53490: $ccac9556cf5f7f83df650c022d673042 = 0; goto ea7689965104d59227fac258264fc58c; f9b7df46ba803273d7e58c0c8fc9bf22: goto F7052b7340617388b1314ad99c08b3b6; goto Ebae4b761e9183ba9b9b880eec952442; bd059131eacab3b6bca532fa308f0d23: D8d186a189b03f485db980b151c7e4df: goto D316a4f6ac0d00185f45ce068e720ba9; Abf50ff9dc44957d377515902ecb0a6b: foreach ($A7c6258649492b26d77c75c60c793409 as $bca72c242cf770f855c0eae8936335b7 => $f72c3a34155eca511d79ca3671e1063f) { goto eda2ea3c480066f1767a3b6aa77b20ef; Abd608e255501ee1d03a82758a126a64: E5ddc8fda4d1dc1a348197623353deb3: goto b69b1c67a1d07a916fa0df390902dd25; eda2ea3c480066f1767a3b6aa77b20ef: foreach ($f72c3a34155eca511d79ca3671e1063f as $cd7bafd64552e6ca58318f09800cbddd) { goto Eb7d6a1ca25261e5b88cee92a33a5406; Dfde22f007ca91f2f235d997dec4d82a: $af428179032a83d9ec1df565934b1c89 .= $cd7bafd64552e6ca58318f09800cbddd; goto d8a6e91b8a015d7938bbc87fc94a560c; d8a6e91b8a015d7938bbc87fc94a560c: Ebb5e3ea9467c33b140f230491043b37: goto D32eacd5b69db4d22e9a8299939c8268; Eb7d6a1ca25261e5b88cee92a33a5406: $af428179032a83d9ec1df565934b1c89 .= implode(" ", self::f6664c80bde3e9BBe2c12ceb906d5a11($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"])) . " "; goto Dfde22f007ca91f2f235d997dec4d82a; D32eacd5b69db4d22e9a8299939c8268: } goto F9d89ad018ad8080b9b5da328d3f921b; F9d89ad018ad8080b9b5da328d3f921b: Cbccb6a302a094120f540dfbd60a8dbe: goto Abd608e255501ee1d03a82758a126a64; b69b1c67a1d07a916fa0df390902dd25: } goto de29ba88097aa2d531d78676261146a4; A7314975472ac8c8f1bdd009199221a3: f38db3d39bb5dbf7da7a81bff51d7b2d: goto d30caef513590002924056f8056eb6c7; a837c8f75f6eb78b800705defbf6422b: ab4b9fd020e95bcd610e36802fdc7435: goto C725b6004bb9081a642e2df941aeb619; e88226833f24ab88d15e9cecff6a2849: if (($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["gen_timestamps"] == 1 || empty($F53be324c8d9391cc021f5be5dacdfc1)) && $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["type_key"] != "created_live") { goto D6db7ca24de8cfa35b17c05aacd29ad4; } goto Ed38712b303801ad3833f07237fc6f61; e87fb50c94aa003a6ffeb5f944df2537: $f32785b2a16d0d92cda0b44ed436f505 = 0; goto bb4302726dd59a74af94cf547a5713a6; fdd0d18ab1ce781729d0b492540803fc: file_put_contents(STREAMS_PATH . md5($B16ceb354351bfb3944291018578c764), json_encode($e49460014c491accfafaa768ea84cd9c)); goto Ba51895456fef16376c9a7cb869f13a7; b5de6d84a09f1d72891d22dba89221b6: shell_exec($af428179032a83d9ec1df565934b1c89); goto cda22268b480df121a8e9fe479826ea8; Fe89e81a98aa29d0a4dea1435fcb60a1: goto Bb46ea9acc61599e9243d1d952984b8a; goto b554d0db14bbfafaff4cf88257a8a4ab; b63e2f7a2a7972466e00980cd3d8ef74: if (array_key_exists("-scodec", $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"])) { goto cc3a8ad39c0f9a89d4e0743a7ee460fe; } goto C82df06e5fa12f41744bf21c58d2b1e6; ba6e577422d6cd57e0ea713358121ba2: $A733a5416ffab6ff47547550f3f9f641 = $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["type_key"] == "created_live" ? array(CREATED_CHANNELS . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.list") : json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["stream_source"], true); goto f881a4588c552e13e0f605962a965426; bf9043f0fc8f7efe0c9c8154c3af3a8e: Cc9dcf3a82486cdcbe22b0df03cd3043: goto Eb9a875a255359a4baba1bed56c2f032; A89059ee0e35afb67b9c99274f644e97: $C48e0083a9caa391609a3c645a2ec889 = 0; goto Ec2b7ab329d88d87a61c04b29618ce0b; Edde5aef1822e8b98c9bad2f97a6731b: e3e69a24c681601661118639b33fb2c2: goto ba6e577422d6cd57e0ea713358121ba2; d5f843efae7472f27ae55e820eba3804: self::$ipTV_db->query("UPDATE `streams_sys` SET `delay_available_at` = '%d',`to_analyze` = 0,`stream_started` = '%d',`stream_info` = '%s',`stream_status` = 0,`pid` = '%d',`progress_info` = '%s',`current_source` = '%s' WHERE `stream_id` = '%d' AND `server_id` = '%d'", $f32785b2a16d0d92cda0b44ed436f505, time(), json_encode($e49460014c491accfafaa768ea84cd9c), $Bc7d327b1510891329ca9859db27320f, json_encode(array()), $F3803fa85b38b65447e6d438f8e9176a, $ba85d77d367dcebfcc2a3db9e83bb581, SERVER_ID); goto Efab38b64f3f30479969bf74f3894177; Ce093f5a0811959f2732cb518aa8a8b7: goto f38db3d39bb5dbf7da7a81bff51d7b2d; goto Edda592749fe30203f1d3da1f4e1155e; b31947a7284d41a96a385422d885d8ed: if (array_key_exists("-acodec", $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"])) { goto C89c9ed51c1208202cd91f7bfa6b3b12; } goto De2c3be014eadbcd6d572d6421f2f8d6; c7a963a2294ddd8b273b9b9a1401e4bb: ebaf8e83d6903e697b868e20baf33caa: goto c442ae522f4b0b74c5cb594d77242eab; Ef90b6d05faeb471910872dff25454bb: if (stristr($Ca434bcc380e9dbd2a3a588f6c32d84f[count($Ca434bcc380e9dbd2a3a588f6c32d84f) - 1], $ba85d77d367dcebfcc2a3db9e83bb581 . "_")) { goto A2a103797dee1660ea002b00a72429f7; } goto F1c9fa9f7468e19f9babec6fcdfcfa24; e353e26d823fb2f2ad99a0de13f35f2a: if ($c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"] == 0 and $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["enable_transcode"] == 1 and $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["type_key"] != "created_live") { goto D86bd2873aa1d53b090aeacd3542baf5; } goto f062b607b0c3bafda6d2f7e13dac7e31; e6e0ac78bb4789f8396dd2055e62e961: goto ac8a864b3489c444d14e1904ec5dfd7e; goto bf9043f0fc8f7efe0c9c8154c3af3a8e; d21fe7d658499358a718f57d64d67935: if ($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["stream_all"] == 1) { goto a3b24b9d2c6ec66fd6278ba77698c80f; } goto b6788605b80e524fe1de8e4c05874e64; bb839baa858917a507d17b24a5947041: if (A78BF8D35765BE2408c50712cE7A43AD::$settings["priority_backup"] != 1) { goto A86413a2d08ad88b95da25a0604ea82c; } goto e6e0ac78bb4789f8396dd2055e62e961; Be5ba42f0f5a800938089ce4d7791def: if (!($c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"] == 0 && ($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["read_native"] == 1 or stristr($e49460014c491accfafaa768ea84cd9c["container"], "hls") or empty($F53be324c8d9391cc021f5be5dacdfc1) or stristr($e49460014c491accfafaa768ea84cd9c["container"], "mp4") or stristr($e49460014c491accfafaa768ea84cd9c["container"], "matroska")))) { goto f283f80882362b693eafe8affe5b7574; } goto c894656f7411f0ddd9e13f4a26f2c1ca; A9e330109746705f5063b08263d90e6b: $af428179032a83d9ec1df565934b1c89 .= implode(" ", self::f6664C80BDe3E9bbe2c12ceB906D5A11($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"])) . " "; goto E3ff3c7a9c043f4d8ddbb4cd87044f0a; ebe246d6751d12a796e90a9a19f01af2: if (!empty($e49460014c491accfafaa768ea84cd9c)) { goto bf992ec705760c7b1103abb41831c9c6; } goto d9dbcb7025ad90016516fd740e395b17; C0ca710355f32bcb3c7d92749cdbe771: $ccac9556cf5f7f83df650c022d673042 = intval($ae37877cee3bc97c8cfa6ec5843993ed[1]) + 1; goto d13e6b6db9e66c7ee910424ae8584544; A490a0100845022bfa4bc7e1942f6a98: $Baee0c34e5755f1cfaa4159ea7e8702e = array_search($c3a18c26bfa971a25d2e6ada870ff735["server_info"]["current_source"], $A733a5416ffab6ff47547550f3f9f641); goto a0b1b6afbcf1a75e0ed974074df19ce6; a6cb04ba2fdaf4417d4a82959148687f: E01fee9b65c00f25b579d2c57924aa67: goto A14c410664915491e0c8b716174e1d9a; A4d7324ae36cf2015b714d139448a15c: if ($F7b03a1f7467c01c6ea18452d9a5202f) { goto f21367977400d55935f38a3b5a6cd287; } goto fdd0d18ab1ce781729d0b492540803fc; a244fe96a44d0b78f7f8088a0a0be1cd: $Fa28e3498375fc4da68f3f818d774249 = "/usr/bin/timeout {$d1c5b35a94aa4152ee37c6cfedfb2ec3}s " . FFPROBE_PATH . " {FETCH_OPTIONS} -probesize {$E1be7e0ba659254273dc1475ae9679e0} -analyzeduration {$C359d5e5ab36c7a88fca0754166e7996} {CONCAT} -i "{STREAM_SOURCE}" -v quiet -print_format json -show_streams -show_format"; goto d476f8d7c8f317f9b4c7ebfe64cba314; e82a669004042a950a1c5d7f3b1f94f6: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"] = self::$ipTV_db->F1ED191D78470660EDFF4A007696BC1f(); goto ac0a7d65392617ea8232b8f816a6c0b4; Bb78eb9c44efca565d4e7263bcc49b55: dd0526e2b77400e9c24a9c60c9812955: goto F3b008560854fb0ce39727ecff6e4968; cf9dbb20f7f138eaf9d6c1db162fdda0: goto C3278fdb7c58626f47605c2dc7a7db0b; goto Edde5aef1822e8b98c9bad2f97a6731b; F3b008560854fb0ce39727ecff6e4968: b5c7effa65c597936232525ef71cee85: goto A9e330109746705f5063b08263d90e6b; a07abb6203fe9fdf4f334c6f416f8b98: goto Cc0911998f1ba7e7de732759aca273da; goto f0fb78b384c946ebaa09b2169bfdb3dd; B7a019c0b07e36c981b00cfe2c709e5d: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-vcodec"] = "copy"; goto E430dcd12576ee8b5c6467f426bcc581; dd43e5758da695b950acae4bdad551da: if ($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["type_key"] == "radio_streams") { goto F153c4512deca390dba74e8db2fbea36; } goto f24a72bc3ef2ca23aea61f50a29261ea; D9b0fa1bc159252e1b1345f708641a19: if (!(self::$ipTV_db->d1E5CE3b87bB868B9E6EFd39Aa355A4f() <= 0)) { goto c389b1faa75a5eda1001e68a8a1faa03; } goto Bfb51bcba12d3ea286d0e5c64a906c0c; c2bcd3262dd5a1f54a61f7c80154ac4e: a3b24b9d2c6ec66fd6278ba77698c80f: goto a0e0e379d0036193bf0c60ec22e3ee98; d476f8d7c8f317f9b4c7ebfe64cba314: $be9f906faa527985765b1d8c897fb13a = array(); goto dd1a020e8206cee1b625b594a0de186c; f46bb7fe84aae32342b1e6cf0a61a877: $e1dc30615033011f7166d1950e7036ee = "http://127.0.0.1:" . A78BF8d35765BE2408c50712Ce7a43AD::$StreamingServers[SERVER_ID]["http_broadcast_port"] . "/progress.php?stream_id={$ba85d77d367dcebfcc2a3db9e83bb581}"; goto c2e9c65d1d592207c1262ccb4ad0b5c0; E5af6745ef73bf88e6c234b1abc1a23d: A86413a2d08ad88b95da25a0604ea82c: goto A1e2067417926f4da48a28622cb2757b; e67a35f55c908a25342f1da62b466a88: a4b738a847141a984c3ba7e300b24bc3: goto Ad4ecf4c236703e8b59d7d377e0d3f81; F4afa9bc00deee487c35ff381391edc0: $C359d5e5ab36c7a88fca0754166e7996 = abs(intval(A78bf8D35765Be2408C50712Ce7A43AD::$settings["stream_max_analyze"])); goto aaba4570614ac2ef6153a7e36225221b; fecdbb85f6df4b71f741c2acacb76a94: $F7b03a1f7467c01c6ea18452d9a5202f = $bb1b9dfc97454460e165348212675779 <= RESTART_TAKE_CACHE ? true : false; goto D96a94d1a2ed791bb0a7e928f7bedace; ed3d7638253c69d7a27fde6759f8c15c: E376243a25162a7e9a96615f05736000: goto Bc358712da2195af6049c6dc19157a6b; Bc358712da2195af6049c6dc19157a6b: Bb46ea9acc61599e9243d1d952984b8a: goto B50dbf20196c7dfea380456fff0e1a8f; a772d6fd4324806051123be934179918: E1d8de0eb615bb67c950b0f491512f92: goto f4acb183407abb2a7b7f3e1eb7528287; C42417a422fd896fa9f20a6877026d66: array_push($A733a5416ffab6ff47547550f3f9f641, $Ad110d626a9e62f0778a8f19383a0613); goto Bbefd602594d606c064faaeb38fc48f2; E04ecef9a30731d99319988594d6ccbf: e7eedc2b99021a3a11f4a0933af2c2b1: goto Fd0c9fa73a22d3ad21baec039c9f9b6c; c894656f7411f0ddd9e13f4a26f2c1ca: $feb3f2070e6ccf961f6265281e875b1a = "-re"; goto C284d08402628d76571706d6847e7161; A14c410664915491e0c8b716174e1d9a: $feb3f2070e6ccf961f6265281e875b1a = ''; goto Be5ba42f0f5a800938089ce4d7791def; Cc4a305edadfdd1d8737bc84be960103: if (!(self::$ipTV_db->d1e5Ce3B87Bb868b9E6efd39aA355a4f() <= 0)) { goto E6918dd2087443c78184dfc7cdf7512f; } goto a67642cc7ee104b70e14b8fc6e9e6ebe; D79d93ab25941e00cf94edfbd9f71b11: if (!(SERVER_ID == $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["tv_archive_server_id"])) { goto ab4b9fd020e95bcd610e36802fdc7435; } goto Ab44de558400063c3432f0868799def1; e57a4b8839b706561c42d122e7808713: if (empty($Ee11a0d09ece7de916fbc0b2ca0136a3[SERVER_ID])) { goto F623bdc102312d6bb9cd010763330b88; } goto C1f42ef58f21834bd6f0865c33250c7e; Bf452bc2d22b2afa1f4b7f40c3ff1457: $Ad110d626a9e62f0778a8f19383a0613 = $A733a5416ffab6ff47547550f3f9f641[$C48e0083a9caa391609a3c645a2ec889]; goto D4796e78b5ce304c1a8d41f2f4079815; d98f9b644dda72d2add2a5fe0673e5cb: E3f0f6fa6f88a988847fe7991a8d19df: goto f4b3e398699c55c783418260b897d36d; f03f13a140091b921f9b34e661f10b36: ea30083703d1c2cde3fd27e4d0fd9f9f: goto Dcb29badd072ac3d39a923e273e5c1fa; de552689f7587700907ec092972bd7a7: $Dedb93a1e8822879d8790c1f2fc7d6f1 = 0; goto C7da54a65c2acebb9016618609d8dd75; b554d0db14bbfafaff4cf88257a8a4ab: A2a103797dee1660ea002b00a72429f7: goto Bad546709720a6102f3c88d000770bfa; d223422dfd7b56e28a96edc028545f85: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"] = array(); goto Ee1f2f41f4d5f1bae0e4de1a96e25c12; d55343516316928169e3d54cc1421b09: if (!($C48e0083a9caa391609a3c645a2ec889 <= $Baee0c34e5755f1cfaa4159ea7e8702e)) { goto a4b738a847141a984c3ba7e300b24bc3; } goto Bf452bc2d22b2afa1f4b7f40c3ff1457; D4796e78b5ce304c1a8d41f2f4079815: unset($A733a5416ffab6ff47547550f3f9f641[$C48e0083a9caa391609a3c645a2ec889]); goto C42417a422fd896fa9f20a6877026d66; C2d20cdf8dd6d2ef4b13d5d5db011ecb: $A7c6258649492b26d77c75c60c793409["mpegts"][] = "{MAP} -individual_header_trailer 0 -f segment -segment_format mpegts -segment_time " . a78BF8d35765BE2408c50712CE7a43ad::$SegmentsSettings["seg_time"] . " -segment_list_size " . A78bf8D35765bE2408C50712ce7a43ad::$SegmentsSettings["seg_list_size"] . " -segment_format_options "mpegts_flags=+initial_discontinuity:mpegts_copyts=1" -segment_list_type m3u8 -segment_list_flags +live+delete -segment_list "" . STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8" "" . STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_%d.ts" "; goto ea7d59b36aabe2e28e3f61501313185f; C7da54a65c2acebb9016618609d8dd75: ccbae97f6af29994e24944d9fa86c5ee: goto D58acf64547bb8a974be01897cc9d2da; cda22268b480df121a8e9fe479826ea8: $Bc7d327b1510891329ca9859db27320f = $D90a38f0f1d7f1bcd1b2eee088e76aca = intval(file_get_contents(STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid")); goto D79d93ab25941e00cf94edfbd9f71b11; a55b5eb355a90bda0ca44b51602eab43: Ac4ca8dc61fceb4f7dcd2b2acb8c4881: goto e57a4b8839b706561c42d122e7808713; f4acb183407abb2a7b7f3e1eb7528287: file_put_contents(DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8_old", file_get_contents(DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8_old") . file_get_contents(DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8")); goto ba628c063254e10f55fdbd1059f9c47e; C93fcc4df35cfcb848a33ad0bdb6450f: $e49460014c491accfafaa768ea84cd9c = self::Ccbd051c8A19a02dC5B6db256Ae31C07($e49460014c491accfafaa768ea84cd9c); goto B52143f92a14a417a26a03fe437df2fc; E430dcd12576ee8b5c6467f426bcc581: Ce66ed4205c9f3e4b7c19a393a6749d2: goto b63e2f7a2a7972466e00980cd3d8ef74; D63f7fefe19966626b2b5a1fc66510a8: F623bdc102312d6bb9cd010763330b88: goto e87fb50c94aa003a6ffeb5f944df2537; Efab38b64f3f30479969bf74f3894177: $Bb37b848bec813a5c13ea0b018962c40 = !$Dac1208baefb5d684938829a3a0e0bc6 ? STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8" : DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8"; goto d7f5dba0f5535d7099e780b3b14a9fd3; D09fb073638eb11ef1c30ce69371b10c: if (!empty($B71703fbd9f237149967f9ac3c41dc19)) { goto Cc9dcf3a82486cdcbe22b0df03cd3043; } goto bb839baa858917a507d17b24a5947041; E1060a09be93befae6f04b6554c44f8b: $A733a5416ffab6ff47547550f3f9f641 = array(A78bF8d35765be2408C50712ce7A43aD::$StreamingServers[$c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"]]["site_url_ip"] . "streaming/admin_live.php?stream=" . $ba85d77d367dcebfcc2a3db9e83bb581 . "&password=" . A78Bf8d35765BE2408c50712Ce7a43Ad::$settings["live_streaming_pass"] . "&extension=ts"); goto cf9dbb20f7f138eaf9d6c1db162fdda0; Ef2ecfa95ccf2f442a38a72d0250a4d8: goto d8e23af75e9f89b764ccf530a01acbf3; goto C90562f404fb0e72328fe172489728ef; Ba51895456fef16376c9a7cb869f13a7: f21367977400d55935f38a3b5a6cd287: goto C93fcc4df35cfcb848a33ad0bdb6450f; bb4302726dd59a74af94cf547a5713a6: if (!($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["delay_minutes"] > 0 && $c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"] == 0)) { goto afe4d20824debb37c5f6f53f983e4f25; } goto f45426f454a319d0c7fbe7ff33a53490; f4b3e398699c55c783418260b897d36d: return 0; goto F64f98555e5deda3aa87652cbda27c06; D0afdccccec4b4616a05e3e4f128e577: ebd27b3edaaacb30705e86c5be704ca9: goto Ea9d7919a93a46e696150e9bf02fa361; E6e5f03fb7fccdbaf0c8cb871fde99b3: $A7c6258649492b26d77c75c60c793409["flv"][] = "{MAP} {AAC_FILTER} -f flv rtmp://127.0.0.1:" . a78bf8d35765be2408c50712CE7a43aD::$StreamingServers[$c3a18c26bfa971a25d2e6ada870ff735["server_info"]["server_id"]]["rtmp_port"] . "/live/{$ba85d77d367dcebfcc2a3db9e83bb581} "; goto a55b5eb355a90bda0ca44b51602eab43; Bf4d53ff7b2308b9af67b687312d6b52: goto ac8a864b3489c444d14e1904ec5dfd7e; goto E5af6745ef73bf88e6c234b1abc1a23d; A15b95b2acfb948687c7cd34a0e950ad: c389b1faa75a5eda1001e68a8a1faa03: goto e82a669004042a950a1c5d7f3b1f94f6; c442ae522f4b0b74c5cb594d77242eab: $c3a18c26bfa971a25d2e6ada870ff735 = array(); goto C4a7f6838c4c6986f8e9eb8cf0e9f57b; Ec2b7ab329d88d87a61c04b29618ce0b: B1fcf06a1d6da24af4b5d7d516d25b90: goto d55343516316928169e3d54cc1421b09; Ea9d7919a93a46e696150e9bf02fa361: foreach ($A733a5416ffab6ff47547550f3f9f641 as $F3803fa85b38b65447e6d438f8e9176a) { goto Ffb04423e981934ef1239149de6ab9fa; A72e40f3748f87e886a939c0de910668: if (!($F7b03a1f7467c01c6ea18452d9a5202f && file_exists(STREAMS_PATH . md5($B16ceb354351bfb3944291018578c764)))) { goto a22c8f4369a3823a8d55da602457e3fa; } goto Ff6af09e33ae00832103b0213523bfc1; d462108a0ebe693cbdf638c525a44674: goto D4dc4038a49e681798bdc5fcc086c56d; goto eae0c36263c2fce3e2d285b9fdde3fa0; eae0c36263c2fce3e2d285b9fdde3fa0: a22c8f4369a3823a8d55da602457e3fa: goto d6e5514d1838bf10cc8322e349ffc2eb; Ffb04423e981934ef1239149de6ab9fa: $B16ceb354351bfb3944291018578c764 = self::ParseStreamURL($F3803fa85b38b65447e6d438f8e9176a); goto a776270e2a43117434b0c4e0ca33b36a; b3a4179bcc40be62e0a3ab113ef56de3: Cb9249f7245713586fe1b19061ae2811: goto e5ca9e60c99b5a1d80b3a24bb2c2b96b; ca2a1d917a3c556925d479a81332dbc4: if (empty($e49460014c491accfafaa768ea84cd9c)) { goto Cb9249f7245713586fe1b19061ae2811; } goto cc927a2d10e63290bfacac1a5e9c4497; cc927a2d10e63290bfacac1a5e9c4497: goto D4dc4038a49e681798bdc5fcc086c56d; goto b3a4179bcc40be62e0a3ab113ef56de3; Ff6af09e33ae00832103b0213523bfc1: $e49460014c491accfafaa768ea84cd9c = json_decode(file_get_contents(STREAMS_PATH . md5($B16ceb354351bfb3944291018578c764)), true); goto d462108a0ebe693cbdf638c525a44674; e67cad46db687c9f8c4b4105f26df4bf: $be9f906faa527985765b1d8c897fb13a = implode(" ", self::Ea860c1d3851C46D06E64911E3602768($c3a18c26bfa971a25d2e6ada870ff735["stream_arguments"], $F53be324c8d9391cc021f5be5dacdfc1, "fetch")); goto A72e40f3748f87e886a939c0de910668; e5ca9e60c99b5a1d80b3a24bb2c2b96b: De6140812c70cd81c91cbef144a4f8ad: goto e138fff94ad92335f64ae68f50396fea; a776270e2a43117434b0c4e0ca33b36a: $F53be324c8d9391cc021f5be5dacdfc1 = strtolower(substr($B16ceb354351bfb3944291018578c764, 0, strpos($B16ceb354351bfb3944291018578c764, "://"))); goto e67cad46db687c9f8c4b4105f26df4bf; d6e5514d1838bf10cc8322e349ffc2eb: $e49460014c491accfafaa768ea84cd9c = json_decode(shell_exec(str_replace(array("{FETCH_OPTIONS}", "{CONCAT}", "{STREAM_SOURCE}"), array($be9f906faa527985765b1d8c897fb13a, $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["type_key"] == "created_live" && $c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"] == 0 ? "-safe 0 -f concat" : '', $B16ceb354351bfb3944291018578c764), $Fa28e3498375fc4da68f3f818d774249)), true); goto ca2a1d917a3c556925d479a81332dbc4; e138fff94ad92335f64ae68f50396fea: } goto ea73fba16ca2a75ef4f79a89a213153d; Fcab6b6c1c64dded5a1eb8aaac5a3f8f: self::$ipTV_db->query("SELECT t1.*, t2.* FROM `streams_options` t1, `streams_arguments` t2 WHERE t1.stream_id = '%d' AND t1.argument_id = t2.id", $ba85d77d367dcebfcc2a3db9e83bb581); goto a353a2586f93c7167acd7b156509c02f; B0cc0e35873c3d7f2bb8c5d7a7fb9347: ee823a8c424e1bd8057dac7d7b7c0d77: goto D63f7fefe19966626b2b5a1fc66510a8; A39da3761e62211f5097daa9a683ddd6: $fd85ae68a4de5cc6cec54942d82e8f80 = $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_map"] . " -copy_unknown "; goto f9b7df46ba803273d7e58c0c8fc9bf22; f0fb78b384c946ebaa09b2169bfdb3dd: D86bd2873aa1d53b090aeacd3542baf5: goto C2628ca62bdca20ad5591a573f03933d; ea73fba16ca2a75ef4f79a89a213153d: D4dc4038a49e681798bdc5fcc086c56d: goto ebe246d6751d12a796e90a9a19f01af2; dd1a020e8206cee1b625b594a0de186c: if ($c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"] == 0) { goto e3e69a24c681601661118639b33fb2c2; } goto E1060a09be93befae6f04b6554c44f8b; d99a8b7a0856ad2389b83f42cba19590: self::$ipTV_db->query("UPDATE `streams_sys` SET `progress_info` = '',`to_analyze` = 0,`pid` = -1,`stream_status` = 1 WHERE `server_id` = '%d' AND `stream_id` = '%d'", SERVER_ID, $ba85d77d367dcebfcc2a3db9e83bb581); goto d98f9b644dda72d2add2a5fe0673e5cb; ea7d59b36aabe2e28e3f61501313185f: if (!($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["rtmp_output"] == 1)) { goto Ac4ca8dc61fceb4f7dcd2b2acb8c4881; } goto E6e5f03fb7fccdbaf0c8cb871fde99b3; Ad4ecf4c236703e8b59d7d377e0d3f81: $A733a5416ffab6ff47547550f3f9f641 = array_values($A733a5416ffab6ff47547550f3f9f641); goto A55075e308c2141117c02a5b13256773; d57ad070b1c2312d100df8bdc78a28e3: if ($c3a18c26bfa971a25d2e6ada870ff735["server_info"]["on_demand"] == 1) { goto D8d186a189b03f485db980b151c7e4df; } goto F4afa9bc00deee487c35ff381391edc0; Af353e9eba35f8e791cf80cdf8d49eb7: if (array_key_exists("-vcodec", $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"])) { goto Ce66ed4205c9f3e4b7c19a393a6749d2; } goto B7a019c0b07e36c981b00cfe2c709e5d; d13e6b6db9e66c7ee910424ae8584544: Ae9f3a95d0d642988cb827b99cf0c542: goto Fe89e81a98aa29d0a4dea1435fcb60a1; c8ec760f646d4146ba52186bd4567055: $af428179032a83d9ec1df565934b1c89 .= " >/dev/null 2>>" . STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . ".errors & echo $! > " . STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid"; goto c8d3d2ebcb83cc537923e3e40a40127f; c2fac9fbdb037e05684fb8450b6a5ba7: F7052b7340617388b1314ad99c08b3b6: goto e88226833f24ab88d15e9cecff6a2849; Ddd0e804ecd6d4bb26739b4c693d6470: goto F9938bfcca244b4d743009902cc4255e; goto da63ab577220b92f869065d53b6cb2a5; C1edd1348c8b0cf1206c5c67c27c4919: D6db7ca24de8cfa35b17c05aacd29ad4: goto f8041740b21b73f8554e3133223adc34; Df6ab1ba3e2c06d89a561103064eddec: $f32785b2a16d0d92cda0b44ed436f505 = $Dac1208baefb5d684938829a3a0e0bc6 ? time() + $Dedb93a1e8822879d8790c1f2fc7d6f1 : 0; goto d5f843efae7472f27ae55e820eba3804; Dcb29badd072ac3d39a923e273e5c1fa: $d1c5b35a94aa4152ee37c6cfedfb2ec3 = intval($C359d5e5ab36c7a88fca0754166e7996 / 1000000) + 7; goto a244fe96a44d0b78f7f8088a0a0be1cd; Bac7189cd52e5f01a848beeeb17cb3d4: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"] = json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["profile_options"], true); goto Ef2ecfa95ccf2f442a38a72d0250a4d8; aaba4570614ac2ef6153a7e36225221b: $E1be7e0ba659254273dc1475ae9679e0 = abs(intval(A78bf8D35765Be2408c50712cE7A43ad::$settings["probesize"])); goto b2c1e8cc9c1f9a5f72f58f7e79090e11; F1c9fa9f7468e19f9babec6fcdfcfa24: if (!preg_match("/\_(.*?)\.ts/", $Ca434bcc380e9dbd2a3a588f6c32d84f[count($Ca434bcc380e9dbd2a3a588f6c32d84f) - 2], $ae37877cee3bc97c8cfa6ec5843993ed)) { goto Ae9f3a95d0d642988cb827b99cf0c542; } goto C0ca710355f32bcb3c7d92749cdbe771; D58acf64547bb8a974be01897cc9d2da: A5521d14dac6bbbe40d9e44c33dfa8a9: goto Ddd0e804ecd6d4bb26739b4c693d6470; C1f42ef58f21834bd6f0865c33250c7e: foreach ($Ee11a0d09ece7de916fbc0b2ca0136a3[SERVER_ID] as $b202bc9c1c41da94906c398ceb9f3573) { $A7c6258649492b26d77c75c60c793409["flv"][] = "{MAP} {AAC_FILTER} -f flv "{$b202bc9c1c41da94906c398ceb9f3573}" "; Ee0e2900c8be326931f488fb9c274dea: } goto B0cc0e35873c3d7f2bb8c5d7a7fb9347; Bb16dcc14fa63b772656ae31ad604dd8: if (!file_exists(STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid")) { goto ebaf8e83d6903e697b868e20baf33caa; } goto a1309b93845446e4cd9506e7d9ee3665; C725b6004bb9081a642e2df941aeb619: $Dac1208baefb5d684938829a3a0e0bc6 = $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["delay_minutes"] > 0 && $c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"] == 0 ? true : false; goto Df6ab1ba3e2c06d89a561103064eddec; Fd0c9fa73a22d3ad21baec039c9f9b6c: ac8a864b3489c444d14e1904ec5dfd7e: goto Fb428fba5e2e49cf959c2c94a321606e; f3f0506c8b82df5de61d0cd2fbccc943: goto E01fee9b65c00f25b579d2c57924aa67; goto C1edd1348c8b0cf1206c5c67c27c4919; Ee1f2f41f4d5f1bae0e4de1a96e25c12: $af428179032a83d9ec1df565934b1c89 = FFMPEG_PATH . " -y -nostdin -hide_banner -loglevel quiet {$d1006c7cc041221972025137b5112b7d} -progress "{$e1dc30615033011f7166d1950e7036ee}" " . $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_ffmpeg"]; goto Ce093f5a0811959f2732cb518aa8a8b7; B52143f92a14a417a26a03fe437df2fc: $Ee11a0d09ece7de916fbc0b2ca0136a3 = json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["external_push"], true); goto f46bb7fe84aae32342b1e6cf0a61a877; A55075e308c2141117c02a5b13256773: D63aacc4ea564f12e24abd6538c7b052: goto E04ecef9a30731d99319988594d6ccbf; C31d0d6f24788d502e990a26b63a44b3: $fd85ae68a4de5cc6cec54942d82e8f80 = "-map 0:a? "; goto c2fac9fbdb037e05684fb8450b6a5ba7; Ab44de558400063c3432f0868799def1: shell_exec(PHP_BIN . " " . TOOLS_PATH . "archive.php " . $ba85d77d367dcebfcc2a3db9e83bb581 . " >/dev/null 2>/dev/null & echo $!"); goto a837c8f75f6eb78b800705defbf6422b; fb2a6160e1b849ef588a33123dbfc873: cc3a8ad39c0f9a89d4e0743a7ee460fe: goto A7314975472ac8c8f1bdd009199221a3; be4128517776905db04029fcdfba7a20: $Dedb93a1e8822879d8790c1f2fc7d6f1 = $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["delay_minutes"] * 60; goto Aec6beac472aeac3069bb605be29ab0b; d30caef513590002924056f8056eb6c7: $A7c6258649492b26d77c75c60c793409 = array(); goto C2d20cdf8dd6d2ef4b13d5d5db011ecb; cf3cc42896433bf03b403f546382c306: goto B1fcf06a1d6da24af4b5d7d516d25b90; goto e67a35f55c908a25342f1da62b466a88; Ed38712b303801ad3833f07237fc6f61: $e9652f3db39531a69b91900690d5d064 = "-nofix_dts -start_at_zero -copyts -vsync 0 -correct_ts_overflow 0 -avoid_negative_ts disabled -max_interleave_delta 0"; goto f3f0506c8b82df5de61d0cd2fbccc943; a353a2586f93c7167acd7b156509c02f: $c3a18c26bfa971a25d2e6ada870ff735["stream_arguments"] = self::$ipTV_db->c126FD559932f625cdf6098d86C63880(); goto d57ad070b1c2312d100df8bdc78a28e3; D724bdd07744b75724723c57be250efb: Cc0911998f1ba7e7de732759aca273da: goto b31947a7284d41a96a385422d885d8ed; C1e5f945db9e05cf02a58cbc09c806d7: $af428179032a83d9ec1df565934b1c89 = FFMPEG_PATH . " -y -nostdin -hide_banner -loglevel warning -err_detect ignore_err {FETCH_OPTIONS} {GEN_PTS} {READ_NATIVE} -probesize {$E1be7e0ba659254273dc1475ae9679e0} -analyzeduration {$C359d5e5ab36c7a88fca0754166e7996} -progress "{$e1dc30615033011f7166d1950e7036ee}" {CONCAT} -i "{STREAM_SOURCE}" "; goto d21fe7d658499358a718f57d64d67935; Eb9a875a255359a4baba1bed56c2f032: $A733a5416ffab6ff47547550f3f9f641 = array($B71703fbd9f237149967f9ac3c41dc19); goto Bf4d53ff7b2308b9af67b687312d6b52; f881a4588c552e13e0f605962a965426: C3278fdb7c58626f47605c2dc7a7db0b: goto D82756933c32374e03f659f66ca0294f; d9dbcb7025ad90016516fd740e395b17: if (!($c3a18c26bfa971a25d2e6ada870ff735["server_info"]["stream_status"] == 0 || $c3a18c26bfa971a25d2e6ada870ff735["server_info"]["to_analyze"] == 1 || $c3a18c26bfa971a25d2e6ada870ff735["server_info"]["pid"] != -1)) { goto E3f0f6fa6f88a988847fe7991a8d19df; } goto d99a8b7a0856ad2389b83f42cba19590; B50dbf20196c7dfea380456fff0e1a8f: if (file_exists(DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8_old")) { goto E1d8de0eb615bb67c950b0f491512f92; } goto F04a155d53dd4b7dfbb2d94e2d46c43c; B394cf667ccf64cf71deb16276092e74: goto F7052b7340617388b1314ad99c08b3b6; goto c2bcd3262dd5a1f54a61f7c80154ac4e; a5f99a9dda156af298a59469446eb82d: $C359d5e5ab36c7a88fca0754166e7996 = "10000000"; goto f03f13a140091b921f9b34e661f10b36; F64f98555e5deda3aa87652cbda27c06: bf992ec705760c7b1103abb41831c9c6: goto A4d7324ae36cf2015b714d139448a15c; F640d97105059ea2932ecea69152010d: $c3a18c26bfa971a25d2e6ada870ff735["server_info"] = self::$ipTV_db->f1ed191D78470660eDFf4a007696bC1f(); goto Fcab6b6c1c64dded5a1eb8aaac5a3f8f; D1486d02abf37792724e2b7bef1e260d: } public static function customOrder($D099d64305e0e1b9f20300f1ef51f8a7, $E28f7a505c062145e6df747991c0a2d3) { goto C26d44b6e139a9ebe0e8fe8e79ddfba8; ca1a4c784598c42669bf37a88ebb09fe: return 1; goto Fa211412e21ca27fa09d135863d1b03a; C26d44b6e139a9ebe0e8fe8e79ddfba8: if (!(substr($D099d64305e0e1b9f20300f1ef51f8a7, 0, 3) == "-i ")) { goto F351ef9a29435e1b3b8222635424d2cb; } goto A5c45c43602c7919ed820b3b252629ed; A5c45c43602c7919ed820b3b252629ed: return -1; goto b649c7937a89ee8ae3b0a738ea04f416; b649c7937a89ee8ae3b0a738ea04f416: F351ef9a29435e1b3b8222635424d2cb: goto ca1a4c784598c42669bf37a88ebb09fe; Fa211412e21ca27fa09d135863d1b03a: } public static function EA860c1D3851C46d06E64911E3602768($c31311861794ebdea68a9eab6a24fd6d, $F53be324c8d9391cc021f5be5dacdfc1, $a28758c1ab974badfc544e11aaf19a57) { goto aea7c38ed481d1116b230660b77e3167; aea7c38ed481d1116b230660b77e3167: $Eb6e347d24315f277ac38240a6589dd0 = array(); goto acac4618512dfe0b8f3f3b5aaaaa3b7f; abdb3388d6abbf67872f5b3eb19e4ab7: a39a56a2fbe5d6aa8c4eb05ff1577f8f: goto D20fe227a1c35d6ccd10894cd7cb58c2; Ece9065ae6d70d10a0e34d5660124bb2: foreach ($c31311861794ebdea68a9eab6a24fd6d as $f091df572e6d2b79881acbf4e5500a7e => $e380987e83a27088358f65f47ff3117f) { goto E4ae353b370f0182e51c085afe66f00d; Fb8004bb44b287ba57969093b3f90ca6: goto bcaa30db75746117b3cf12e38938d3c3; goto f7d50aa2e2098c6d11c84bb615477ca2; C6dbbdac181311c8c1dd3cf7537549d9: e0ffb06cc49d2710bde0e13e6fb02e4c: goto B8b7e851066e3c2f30154260745fed38; fb3b778f8af3f52e67b9b3d7e3d43db4: goto e0ffb06cc49d2710bde0e13e6fb02e4c; goto c89bbd909c224219dfaf6b189462db88; c89bbd909c224219dfaf6b189462db88: B39ab2be5a81be340aaf0837aa1da126: goto af9219837fb4562a8d816696da1b0c35; b599af7c3e58911426527567e9543056: e8b877e011579f500d6b1b364943cd2b: goto Ce3d276dc29e60de593e2dc34dca82c9; B679e471f2e7d261f78d7effa138a94f: bcaa30db75746117b3cf12e38938d3c3: goto C6dbbdac181311c8c1dd3cf7537549d9; f7d50aa2e2098c6d11c84bb615477ca2: f9eeedc52c639c76f706b4211f041231: goto dbb99970e8e82c2703785ab6aa7d48e8; af9219837fb4562a8d816696da1b0c35: if ($e380987e83a27088358f65f47ff3117f["argument_type"] == "text") { goto f9eeedc52c639c76f706b4211f041231; } goto aa60592739dcc55e056c442f12137f41; dbb99970e8e82c2703785ab6aa7d48e8: $Eb6e347d24315f277ac38240a6589dd0[] = sprintf($e380987e83a27088358f65f47ff3117f["argument_cmd"], $e380987e83a27088358f65f47ff3117f["value"]); goto B679e471f2e7d261f78d7effa138a94f; Ce3d276dc29e60de593e2dc34dca82c9: if (!(!is_null($e380987e83a27088358f65f47ff3117f["argument_wprotocol"]) && !stristr($F53be324c8d9391cc021f5be5dacdfc1, $e380987e83a27088358f65f47ff3117f["argument_wprotocol"]) && !is_null($F53be324c8d9391cc021f5be5dacdfc1))) { goto B39ab2be5a81be340aaf0837aa1da126; } goto fb3b778f8af3f52e67b9b3d7e3d43db4; E4ae353b370f0182e51c085afe66f00d: if (!($e380987e83a27088358f65f47ff3117f["argument_cat"] != $a28758c1ab974badfc544e11aaf19a57)) { goto e8b877e011579f500d6b1b364943cd2b; } goto D81c217a03a0fa35054447f296b27d9d; D81c217a03a0fa35054447f296b27d9d: goto e0ffb06cc49d2710bde0e13e6fb02e4c; goto b599af7c3e58911426527567e9543056; aa60592739dcc55e056c442f12137f41: $Eb6e347d24315f277ac38240a6589dd0[] = $e380987e83a27088358f65f47ff3117f["argument_cmd"]; goto Fb8004bb44b287ba57969093b3f90ca6; B8b7e851066e3c2f30154260745fed38: } goto abdb3388d6abbf67872f5b3eb19e4ab7; D20fe227a1c35d6ccd10894cd7cb58c2: A7e7af14f087bfa69134afef2ab3e5af: goto c477cf920c614bdc8c01196f3a903fa5; c477cf920c614bdc8c01196f3a903fa5: return $Eb6e347d24315f277ac38240a6589dd0; goto A7e369c3437e6d909dccef2c001ea499; acac4618512dfe0b8f3f3b5aaaaa3b7f: if (empty($c31311861794ebdea68a9eab6a24fd6d)) { goto A7e7af14f087bfa69134afef2ab3e5af; } goto Ece9065ae6d70d10a0e34d5660124bb2; A7e369c3437e6d909dccef2c001ea499: } public static function F6664c80bdE3E9BBe2C12CeB906D5a11($Bddd92df0619e485304556731bb7ca2f) { goto A5a61e6fe1949336706d01d92820a041; b6a6db713db98784d88d02528679eb70: b5ad5b8248b51118d99b76c321b44741: goto e841cc1e90a2b37523416e3f3e5d71f3; d9ec6a8b983d994469b3c3a9a22e5d21: $Bddd92df0619e485304556731bb7ca2f[] = "-filter_complex "" . implode(",", $e80cbed8655f14b141bd53699dbbdc10) . """; goto Dc348436aa2212f569b7b75dffe8f5aa; Dc348436aa2212f569b7b75dffe8f5aa: b7dfbebb47c7785fcaa4ff01222e8cae: goto b6c5a0e2d441db2c6295c537cd5bec41; F17979907e458ba9d77be87de03078af: foreach ($Bddd92df0619e485304556731bb7ca2f as $Baee0c34e5755f1cfaa4159ea7e8702e => $e7ddd0b219bd2e9b7547185c8bccb6a9) { goto df6c71002182f44524729ada23f9f4f5; b8c4df639ba19c00d7dec3a447e56520: $B54918193a6b3b39c547eb9486c4c2ff[] = $e7ddd0b219bd2e9b7547185c8bccb6a9; goto d7def6a14fdde8912b2efc46a3a4eb2c; C0953f81cb69b65c56182033094ef8ce: $B54918193a6b3b39c547eb9486c4c2ff[] = $Baee0c34e5755f1cfaa4159ea7e8702e . " " . $e7ddd0b219bd2e9b7547185c8bccb6a9; goto B994f8610a01ece82f4e66da85c1142d; B994f8610a01ece82f4e66da85c1142d: goto e60ae194c803d7bc7588abb010988afb; goto Eb35b1067c0ba2d75bbcb8566d2c3221; Eb35b1067c0ba2d75bbcb8566d2c3221: bb0036e5ae01d0534367c070c2436385: goto b8c4df639ba19c00d7dec3a447e56520; df6c71002182f44524729ada23f9f4f5: if (is_numeric($Baee0c34e5755f1cfaa4159ea7e8702e)) { goto bb0036e5ae01d0534367c070c2436385; } goto C0953f81cb69b65c56182033094ef8ce; d95a067dc6ca1105e4894dedd8ad4908: cda18160f45ddf11e2d15046d4f50c25: goto C6293ca7d5af10b3e9be9682fab5db8f; d7def6a14fdde8912b2efc46a3a4eb2c: e60ae194c803d7bc7588abb010988afb: goto d95a067dc6ca1105e4894dedd8ad4908; C6293ca7d5af10b3e9be9682fab5db8f: } goto e5b2a5c2cb92d36c950f998204f68e3c; b6c5a0e2d441db2c6295c537cd5bec41: $B54918193a6b3b39c547eb9486c4c2ff = array(); goto F17979907e458ba9d77be87de03078af; Ac6b6481c36b81347a2213bdb99fca8f: $B54918193a6b3b39c547eb9486c4c2ff = array_filter($B54918193a6b3b39c547eb9486c4c2ff); goto A6271440584cf9d19ced8272add6bcae; e5b2a5c2cb92d36c950f998204f68e3c: A7fdbdbfbf5ec80999cef62d94ebcdaa: goto Ac6b6481c36b81347a2213bdb99fca8f; b0afa4e4a6c5da1d832597a4c093f404: foreach ($Bddd92df0619e485304556731bb7ca2f as $Baee0c34e5755f1cfaa4159ea7e8702e => $e380987e83a27088358f65f47ff3117f) { goto b26ed756bf07a1acbb9dd175cf8ab2bd; d91ac17ab38b861ac9386ff79a0dd326: if (!preg_match("/-filter_complex "(.*?)"/", $e380987e83a27088358f65f47ff3117f, $ae37877cee3bc97c8cfa6ec5843993ed)) { goto F145724d6c67edfccb510b14b854225d; } goto F61f2c29dc327a74d22562440f3252cc; baca34d8ed38e9b5f7a9ce45390dad09: $e80cbed8655f14b141bd53699dbbdc10[] = $ae37877cee3bc97c8cfa6ec5843993ed[1]; goto C54e6da1be8c192085476fb75df6be56; B242d9e944dee9c2326d814b1a06a0b7: Eaf9af223ccf6003770ada91d99e56c4: goto B9904cddce12f7fc37375916a26fb109; C54e6da1be8c192085476fb75df6be56: F145724d6c67edfccb510b14b854225d: goto B242d9e944dee9c2326d814b1a06a0b7; c14992f242f07cb1d77ea5736b75d75a: d5e302a7efdfb9d69e112be61940b67f: goto d91ac17ab38b861ac9386ff79a0dd326; F61f2c29dc327a74d22562440f3252cc: $Bddd92df0619e485304556731bb7ca2f[$Baee0c34e5755f1cfaa4159ea7e8702e] = trim(str_replace($ae37877cee3bc97c8cfa6ec5843993ed[0], '', $Bddd92df0619e485304556731bb7ca2f[$Baee0c34e5755f1cfaa4159ea7e8702e])); goto baca34d8ed38e9b5f7a9ce45390dad09; B317c95acfcf961f72b491f7a074d0ce: $Bddd92df0619e485304556731bb7ca2f[$Baee0c34e5755f1cfaa4159ea7e8702e] = $e380987e83a27088358f65f47ff3117f = $e380987e83a27088358f65f47ff3117f["cmd"]; goto c14992f242f07cb1d77ea5736b75d75a; b26ed756bf07a1acbb9dd175cf8ab2bd: if (!isset($e380987e83a27088358f65f47ff3117f["cmd"])) { goto d5e302a7efdfb9d69e112be61940b67f; } goto B317c95acfcf961f72b491f7a074d0ce; B9904cddce12f7fc37375916a26fb109: } goto b6a6db713db98784d88d02528679eb70; f4b16bbf78598be9791d326b6dc5a3d7: return array_map("trim", array_values(array_filter($B54918193a6b3b39c547eb9486c4c2ff))); goto D4314d321f915a808edb00a9e2bba4fa; A5a61e6fe1949336706d01d92820a041: $e80cbed8655f14b141bd53699dbbdc10 = array(); goto b0afa4e4a6c5da1d832597a4c093f404; A6271440584cf9d19ced8272add6bcae: uasort($B54918193a6b3b39c547eb9486c4c2ff, array(__CLASS__, "customOrder")); goto f4b16bbf78598be9791d326b6dc5a3d7; e841cc1e90a2b37523416e3f3e5d71f3: if (empty($e80cbed8655f14b141bd53699dbbdc10)) { goto b7dfbebb47c7785fcaa4ff01222e8cae; } goto d9ec6a8b983d994469b3c3a9a22e5d21; D4314d321f915a808edb00a9e2bba4fa: } public static function ParseStreamURL($D849b6918b9e10195509dc8a824f49eb) { goto bdcaf2f9b606a48bf46e9410941b2680; bee417a3f84a9946eac7c1848f29d220: if (!stristr($D849b6918b9e10195509dc8a824f49eb, "$OPT")) { goto a72059d797bb74b5705f80ff3d450921; } goto fcd197034a8e88805bc6fd4bc8f6a1f4; E74c07b2d7a8bb12ca4cd1c1d7450e62: a72059d797bb74b5705f80ff3d450921: goto bd7fa0f37088f6f05fc37fdcb4f68a48; c1bf5d478424e7e4c47dad76dfa2ee64: return $D849b6918b9e10195509dc8a824f49eb; goto F7076817a775c5a3ae283b265f13e2c0; bdcaf2f9b606a48bf46e9410941b2680: $F53be324c8d9391cc021f5be5dacdfc1 = strtolower(substr($D849b6918b9e10195509dc8a824f49eb, 0, 4)); goto A1a1b8cd1cee9ae8ddb2468684abcb0c; ce9b80549e9e996c2f3587859f025536: $d412be7a00d131e9be20aca9526c741f = array("youtube.com", "youtu.be", "livestream.com", "ustream.tv", "twitch.tv", "vimeo.com", "facebook.com", "dailymotion.com", "cnn.com", "edition.cnn.com", "youporn.com", "pornhub.com", "youjizz.com", "xvideos.com", "redtube.com", "ruleporn.com", "pornotube.com", "skysports.com", "screencast.com", "xhamster.com", "pornhd.com", "pornktube.com", "tube8.com", "vporn.com", "giniko.com", "xtube.com"); goto db38181440e5c605c450246290cb76fe; db38181440e5c605c450246290cb76fe: $E8cb364637af05312e9ad4e7c0680ce2 = str_ireplace("www.", '', parse_url($D849b6918b9e10195509dc8a824f49eb, PHP_URL_HOST)); goto e623df69670876ce08c6ad2651325ba7; b5a1ce0d54cb6c089efc73176811b56b: $D849b6918b9e10195509dc8a824f49eb = explode(" 
", $B13e3f304ca1f14e137f209a5138ea10)[0]; goto Ebd2fa1e98a7f58b9da4392f5848cf1b; fcd197034a8e88805bc6fd4bc8f6a1f4: $b853b956930a081396b7a6beb8404265 = "rtmp://$OPT:rtmp-raw="; goto e15b9f2999e2601075d12663657e8f08; d5f7a3db4cee6d9fabbe67eb715e4e2e: B6b64a907a62cc2e9f3f8f46aabada1a: goto ce9b80549e9e996c2f3587859f025536; bd7fa0f37088f6f05fc37fdcb4f68a48: $D849b6918b9e10195509dc8a824f49eb .= " live=1 timeout=10"; goto Cc14e8a4865f26bd4311d23c7a33ac97; Fff43fbcbb09211218d73589b301dadc: if ($F53be324c8d9391cc021f5be5dacdfc1 == "http") { goto B6b64a907a62cc2e9f3f8f46aabada1a; } goto D2d9cd84805c84b8207b810182d381b7; e15b9f2999e2601075d12663657e8f08: $D849b6918b9e10195509dc8a824f49eb = trim(substr($D849b6918b9e10195509dc8a824f49eb, stripos($D849b6918b9e10195509dc8a824f49eb, $b853b956930a081396b7a6beb8404265) + strlen($b853b956930a081396b7a6beb8404265))); goto E74c07b2d7a8bb12ca4cd1c1d7450e62; e623df69670876ce08c6ad2651325ba7: if (!in_array($E8cb364637af05312e9ad4e7c0680ce2, $d412be7a00d131e9be20aca9526c741f)) { goto Cbfd637fabd30e0823bad6f57d835a9b; } goto b7c76f2f762257ac217a6bd48b5e062f; b7c76f2f762257ac217a6bd48b5e062f: $B13e3f304ca1f14e137f209a5138ea10 = trim(shell_exec(YOUTUBE_PATH . " "{$D849b6918b9e10195509dc8a824f49eb}" -q --get-url --skip-download -f best")); goto b5a1ce0d54cb6c089efc73176811b56b; D5efec3320733f74b2a720a906fb240f: A241a8d3b9b9be4b98784fded18f7b85: goto c1bf5d478424e7e4c47dad76dfa2ee64; A1a1b8cd1cee9ae8ddb2468684abcb0c: if ($F53be324c8d9391cc021f5be5dacdfc1 == "rtmp") { goto C619dc15ff5a81c707d839f9e063654f; } goto Fff43fbcbb09211218d73589b301dadc; Eaf3adb3d98282eeb7dc9573202f372b: C619dc15ff5a81c707d839f9e063654f: goto bee417a3f84a9946eac7c1848f29d220; Ebd2fa1e98a7f58b9da4392f5848cf1b: Cbfd637fabd30e0823bad6f57d835a9b: goto D5efec3320733f74b2a720a906fb240f; Cc14e8a4865f26bd4311d23c7a33ac97: goto A241a8d3b9b9be4b98784fded18f7b85; goto d5f7a3db4cee6d9fabbe67eb715e4e2e; D2d9cd84805c84b8207b810182d381b7: goto A241a8d3b9b9be4b98784fded18f7b85; goto Eaf3adb3d98282eeb7dc9573202f372b; F7076817a775c5a3ae283b265f13e2c0: } } ?>  

Did this file decode correctly?

Original Code

/* Decoded by unphp.net */

<?php 
 class E3cf480c172e8B47FE10857c2A5AEb48 { public static $ipTV_db; static function aD09D99Ce37614036D5a527595d569d9($A733a5416ffab6ff47547550f3f9f641) { goto a33e92ad7ed36fce23c86850d5f57cbe; fdadfc930f63f5d00d4a94e03c5b551c: foreach ($A733a5416ffab6ff47547550f3f9f641 as $F3803fa85b38b65447e6d438f8e9176a) { goto b824664674989f4e3fe498cf0e4bf285; A58423511bad3bce3702e0e7ded0c70b: D50d3b81294891b87ee445a37fed378d: goto c03fa9dd3d560af45fb3f6893a564810; C3c872d4cf4c021d6ce015e7a2aaa5f1: fafad8b3428f2097a65fc4a56ab98c6d: goto A58423511bad3bce3702e0e7ded0c70b; dd386cfd20adbfb4c2711589db4a09bb: unlink(STREAMS_PATH . md5($F3803fa85b38b65447e6d438f8e9176a)); goto C3c872d4cf4c021d6ce015e7a2aaa5f1; b824664674989f4e3fe498cf0e4bf285: if (!file_exists(STREAMS_PATH . md5($F3803fa85b38b65447e6d438f8e9176a))) { goto fafad8b3428f2097a65fc4a56ab98c6d; } goto dd386cfd20adbfb4c2711589db4a09bb; c03fa9dd3d560af45fb3f6893a564810: } goto B800cd6e6f72bd9b453279c7091cf3a9; d5cf56250cabfaf990b448d3feae3225: ec3fe7aa79bf11e5fed2e24dfce7095c: goto fdadfc930f63f5d00d4a94e03c5b551c; f405a146e206cbb151b9acbb4189190c: return; goto d5cf56250cabfaf990b448d3feae3225; B800cd6e6f72bd9b453279c7091cf3a9: edb5a317a02bf468bf56c67a0c2e38bc: goto d406e852ec30066971c16331ec7ccb28; a33e92ad7ed36fce23c86850d5f57cbe: if (!empty($A733a5416ffab6ff47547550f3f9f641)) { goto ec3fe7aa79bf11e5fed2e24dfce7095c; } goto f405a146e206cbb151b9acbb4189190c; d406e852ec30066971c16331ec7ccb28: } static function EeeD2f36fa093b45bC2D622ed0231684($E62a309a7fc72c8c292c032fe0fd23ab) { goto cc8baf4c8922d60c2f3154adc68d247d; dd24d2f7e44135153ba738034cc5d6ff: if (!empty($a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"])) { goto d0ff31f543b58111127bb47429aa097c; } goto b5867fd970df0d404af0f7f9e94fae2c; Aef60c938dd93e1677a5a2b294af5fca: $bf1324315496910e8d570f42b29cf7bb .= implode(" ", self::F6664C80BDe3e9BbE2C12ceB906D5A11($a5fd23cf4a741b0e9eb35bb60849c401["transcode_attributes"])) . " "; goto B6bf024a52bafe5c6f28d4e4e939c0af; Ec9b684b2eb887f746936bda27f5a52c: self::$ipTV_db->query("UPDATE `streams` SET pids_create_channel = '%s' WHERE `id` = '%d'", json_encode($a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"]), $E62a309a7fc72c8c292c032fe0fd23ab); goto fa20f25468f67abb02e2d9f53fc13802; ac220c7ea6a95fc48b1847270f6a1873: $a5fd23cf4a741b0e9eb35bb60849c401["transcode_attributes"]["-acodec"] = "copy"; goto cbf9375ab2f50eae956a85d5643350dc; eb58d1e65cebc08c290b978f032cb61a: F09223418de85f78f266c5fd6913be03: goto a9bae479d1eb9976fc919f90f057f704; f28145735689175a42536d546943f509: foreach ($a5fd23cf4a741b0e9eb35bb60849c401["stream_source"] as $b593cd195ca5474bf633cc7331d67088) { $F7385aab8f8489bee4d3920b1e33eac7 .= "file '" . CREATED_CHANNELS . $E62a309a7fc72c8c292c032fe0fd23ab . "_" . md5($b593cd195ca5474bf633cc7331d67088) . ".ts'\xa"; Dacc3a7743606f9081e171abfd8afd70: } goto B7574ef359307538cac3eae035dd0153; cc8baf4c8922d60c2f3154adc68d247d: self::$ipTV_db->query("\xa                SELECT * FROM `streams` t1 \xa                LEFT JOIN `transcoding_profiles` t3 ON t1.transcode_profile_id = t3.profile_id
                WHERE t1.`id` = '%d'", $E62a309a7fc72c8c292c032fe0fd23ab); goto F600fcc98cc5390b8f84e47403be41fb; F66f90aa3e22170d7cd6b625e9903781: $a5fd23cf4a741b0e9eb35bb60849c401["cchannel_rsources"] = json_decode($a5fd23cf4a741b0e9eb35bb60849c401["cchannel_rsources"], true); goto F666e72a42508bbf478b73004521ff64; B7574ef359307538cac3eae035dd0153: Fa5a5095c68a6ce952f304f769f02549: goto ac4ce39b5a0d0a8b559619db9f2c11a3; D843a3ecd7a34a2a72093a5f7f5af73a: if (!empty($Ff86147ddc7b314b8090bc97616612a7) || $a5fd23cf4a741b0e9eb35bb60849c401["stream_source"] !== $a5fd23cf4a741b0e9eb35bb60849c401["cchannel_rsources"]) { goto B2698bb5e4373b49b23f6243176db365; } goto dd24d2f7e44135153ba738034cc5d6ff; e2caa25b5faae7f0769df563bc420a3b: foreach ($Ff86147ddc7b314b8090bc97616612a7 as $b593cd195ca5474bf633cc7331d67088) { $a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"][] = a7785208d901bEA02B65446067cFd0b3::F320b6a3920944D8A18D7949c8abaCe4($a5fd23cf4a741b0e9eb35bb60849c401["created_channel_location"], str_ireplace(array("{INPUT}", "{INPUT_MD5}"), array($b593cd195ca5474bf633cc7331d67088, md5($b593cd195ca5474bf633cc7331d67088)), $bf1324315496910e8d570f42b29cf7bb), "raw")[$a5fd23cf4a741b0e9eb35bb60849c401["created_channel_location"]]; D55ed4325d42ba3f283b52d86a708783: } goto eb58d1e65cebc08c290b978f032cb61a; e8261bca13c47350e5e481f1182da8e7: c27b757dc647836cd0df65d4e18578cf: goto Dac5f6d3d780de3b9342b967febe583f; b5867fd970df0d404af0f7f9e94fae2c: goto d1cbb96c05439cbb179d4ff78e029ddb; goto daf4f0fc152631d57d70ee1fa4f303ca; e9b81e481fe4a75dab9808489e44b6d9: d1cbb96c05439cbb179d4ff78e029ddb: goto E6e460c828a004a4bc9a1b681a92ff65; F666e72a42508bbf478b73004521ff64: $a5fd23cf4a741b0e9eb35bb60849c401["stream_source"] = json_decode($a5fd23cf4a741b0e9eb35bb60849c401["stream_source"], true); goto Dadaa814d79af40beaa7025e1f2928dc; Fb982f30ed505967a9e3bbfa62ee3d53: if (array_key_exists("-acodec", $a5fd23cf4a741b0e9eb35bb60849c401["transcode_attributes"])) { goto dab3d626d064d6894a8a9f942772288a; } goto ac220c7ea6a95fc48b1847270f6a1873; cbf9375ab2f50eae956a85d5643350dc: dab3d626d064d6894a8a9f942772288a: goto c09b05b1faae266382d84e0dbcd43c55; F40ebe6e42ad6e27e269c952b275fee4: d0ff31f543b58111127bb47429aa097c: goto d39b1147bf950816f86052a5f6a08597; A12848074559bcf1bc7188a363365679: $a5fd23cf4a741b0e9eb35bb60849c401["transcode_attributes"] = json_decode($a5fd23cf4a741b0e9eb35bb60849c401["profile_options"], true); goto Fb982f30ed505967a9e3bbfa62ee3d53; Dadaa814d79af40beaa7025e1f2928dc: $a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"] = json_decode($a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"], true); goto A12848074559bcf1bc7188a363365679; Cb0e15b2e98a61357c9f2dbae15d22de: bf94049395772d7412e462b0279d336b: goto Ec9b684b2eb887f746936bda27f5a52c; Ca89edc99cb2fe6c9618054e6de797f5: return 1; goto Cf006935f1c5e98b2a310669217a8159; d39b1147bf950816f86052a5f6a08597: foreach ($a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"] as $E7cca48cfca85fc445419a32d7d8f973 => $Bc7d327b1510891329ca9859db27320f) { goto a73867cd4e8058a1a92ca235b0933df4; a73867cd4e8058a1a92ca235b0933df4: if (a7785208d901Bea02b65446067cfd0B3::eD79a31441202a0d242A25777F316FaC($a5fd23cf4a741b0e9eb35bb60849c401["created_channel_location"], $Bc7d327b1510891329ca9859db27320f, FFMPEG_PATH)) { goto e08ff4356534260be33d94d4a4136d32; } goto c116ac4bf8f3ef6e8dd6846dbf9cd546; e7d9f204be509f87d153051daaf49186: Bd05a3fbcf1847f07d27c6fe5e1c8678: goto D9d4a101058136302607c8fccc79b006; c116ac4bf8f3ef6e8dd6846dbf9cd546: unset($a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"][$E7cca48cfca85fc445419a32d7d8f973]); goto ce5b7470b86c33bb49459c70b18c07e6; ce5b7470b86c33bb49459c70b18c07e6: e08ff4356534260be33d94d4a4136d32: goto e7d9f204be509f87d153051daaf49186; D9d4a101058136302607c8fccc79b006: } goto Cb0e15b2e98a61357c9f2dbae15d22de; a02ac7840a5ee3ec4baaf0d5a3d256ba: $a5fd23cf4a741b0e9eb35bb60849c401["transcode_attributes"]["-vcodec"] = "copy"; goto e8261bca13c47350e5e481f1182da8e7; fa20f25468f67abb02e2d9f53fc13802: return empty($a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"]) ? 2 : 1; goto e9b81e481fe4a75dab9808489e44b6d9; B6bf024a52bafe5c6f28d4e4e939c0af: $bf1324315496910e8d570f42b29cf7bb .= "-strict -2 -mpegts_flags +initial_discontinuity -f mpegts "" . CREATED_CHANNELS . $E62a309a7fc72c8c292c032fe0fd23ab . "_{INPUT_MD5}.ts" >/dev/null 2>/dev/null & jobs -p"; goto fe97f51867573a8aa760a47ed45a129e; fe97f51867573a8aa760a47ed45a129e: $Ff86147ddc7b314b8090bc97616612a7 = array_diff($a5fd23cf4a741b0e9eb35bb60849c401["stream_source"], $a5fd23cf4a741b0e9eb35bb60849c401["cchannel_rsources"]); goto b08acd669777078d872ae3e79bc7991e; E6e460c828a004a4bc9a1b681a92ff65: return 2; goto a90bd9e79e1aacaf70f04f6165e6e89a; a9bae479d1eb9976fc919f90f057f704: self::$ipTV_db->query("UPDATE `streams` SET pids_create_channel = '%s',`cchannel_rsources` = '%s' WHERE `id` = '%d'", json_encode($a5fd23cf4a741b0e9eb35bb60849c401["pids_create_channel"]), json_encode($a5fd23cf4a741b0e9eb35bb60849c401["stream_source"]), $E62a309a7fc72c8c292c032fe0fd23ab); goto B9ee426e6bc1c41365d98c5a6b08781c; B9ee426e6bc1c41365d98c5a6b08781c: a7785208d901Bea02B65446067Cfd0b3::f320b6A3920944D8a18d7949C8abaCe4($a5fd23cf4a741b0e9eb35bb60849c401["created_channel_location"], "echo {$F7385aab8f8489bee4d3920b1e33eac7} | base64 --decode > "" . CREATED_CHANNELS . $E62a309a7fc72c8c292c032fe0fd23ab . "_.list"", "raw"); goto Ca89edc99cb2fe6c9618054e6de797f5; F600fcc98cc5390b8f84e47403be41fb: $a5fd23cf4a741b0e9eb35bb60849c401 = self::$ipTV_db->f1Ed191D78470660eDFF4a007696Bc1F(); goto F66f90aa3e22170d7cd6b625e9903781; daf4f0fc152631d57d70ee1fa4f303ca: B2698bb5e4373b49b23f6243176db365: goto e2caa25b5faae7f0769df563bc420a3b; c09b05b1faae266382d84e0dbcd43c55: if (array_key_exists("-vcodec", $a5fd23cf4a741b0e9eb35bb60849c401["transcode_attributes"])) { goto c27b757dc647836cd0df65d4e18578cf; } goto a02ac7840a5ee3ec4baaf0d5a3d256ba; ac4ce39b5a0d0a8b559619db9f2c11a3: $F7385aab8f8489bee4d3920b1e33eac7 = base64_encode($F7385aab8f8489bee4d3920b1e33eac7); goto D843a3ecd7a34a2a72093a5f7f5af73a; Cf006935f1c5e98b2a310669217a8159: goto d1cbb96c05439cbb179d4ff78e029ddb; goto F40ebe6e42ad6e27e269c952b275fee4; Dac5f6d3d780de3b9342b967febe583f: $bf1324315496910e8d570f42b29cf7bb = FFMPEG_PATH . " -fflags +genpts -async 1 -y -nostdin -hide_banner -loglevel quiet -i "{INPUT}" "; goto Aef60c938dd93e1677a5a2b294af5fca; b08acd669777078d872ae3e79bc7991e: $F7385aab8f8489bee4d3920b1e33eac7 = ''; goto f28145735689175a42536d546943f509; a90bd9e79e1aacaf70f04f6165e6e89a: } static function E0A1164567005185e0818F081674E240($C0379dd6700deb6b1021ed6026f648b9, $Aa894918d6f628c53ace2682189e44d5, $f84c1c6145bb73410b3ea7c0f8b4a9f3 = array(), $A7da0ef4553f5ea253d3907a7c9ef7f0 = '') { goto A8f6e9533d4cc44438f074bed7e208dd; bdae7c1a53611f353687aabc006cdefa: $C2eef5835abdc711ef2e0b2a24dc4e46 = a7785208D901BEA02b65446067CFD0b3::F320b6A3920944d8A18D7949c8abAce4($Aa894918d6f628c53ace2682189e44d5, $Fd219183e9990a8c0beae39264c6d004, "raw", $E2862eaf3f4716fdadef0a008a343507 * 2, $E2862eaf3f4716fdadef0a008a343507 * 2); goto F96299d81037f44b9eebe07cc18c9d33; c5627d5f967ac82708ab2e83b815b3a2: $E1be7e0ba659254273dc1475ae9679e0 = abs(intval(a78bf8D35765bE2408c50712CE7A43Ad::$settings["probesize"])); goto cd4b309c9d0f5c6d5a7a419b1636f8d5; F96299d81037f44b9eebe07cc18c9d33: return self::cCBD051C8a19a02Dc5B6dB256Ae31c07(json_decode($C2eef5835abdc711ef2e0b2a24dc4e46[$Aa894918d6f628c53ace2682189e44d5], true)); goto c63e71f808927a3bae6d17d01746e876; cd4b309c9d0f5c6d5a7a419b1636f8d5: $E2862eaf3f4716fdadef0a008a343507 = intval($C359d5e5ab36c7a88fca0754166e7996 / 1000000) + 5; goto d6e70b23fbe59d630fc424cef2330df8; A8f6e9533d4cc44438f074bed7e208dd: $C359d5e5ab36c7a88fca0754166e7996 = abs(intval(a78bf8d35765bE2408C50712CE7A43Ad::$settings["stream_max_analyze"])); goto c5627d5f967ac82708ab2e83b815b3a2; d6e70b23fbe59d630fc424cef2330df8: $Fd219183e9990a8c0beae39264c6d004 = "{$A7da0ef4553f5ea253d3907a7c9ef7f0}/usr/bin/timeout {$E2862eaf3f4716fdadef0a008a343507}s " . FFPROBE_PATH . " -probesize {$E1be7e0ba659254273dc1475ae9679e0} -analyzeduration {$C359d5e5ab36c7a88fca0754166e7996} " . implode(" ", $f84c1c6145bb73410b3ea7c0f8b4a9f3) . " -i "{$C0379dd6700deb6b1021ed6026f648b9}" -v quiet -print_format json -show_streams -show_format"; goto bdae7c1a53611f353687aabc006cdefa; c63e71f808927a3bae6d17d01746e876: } public static function CcBd051c8a19a02dc5B6dB256AE31c07($d8c887d4a07ddc3992dca7f1d440e7de) { goto c8f39a566c8df66255b5bd5928201e80; daa5a611c8c62011d43467157cd08eb5: $output["of_duration"] = !empty($d8c887d4a07ddc3992dca7f1d440e7de["format"]["duration"]) ? $d8c887d4a07ddc3992dca7f1d440e7de["format"]["duration"] : "N/A"; goto f78cfd980747912862d4829e31b5cb7a; c8f39a566c8df66255b5bd5928201e80: if (empty($d8c887d4a07ddc3992dca7f1d440e7de)) { goto d426e14d91f05a30afb4800f731af80e; } goto b7edc3701ad5ac937ab6724ea293d541; a4732b9a1bedf410422c35be0c441fcd: $output = array(); goto C6a032069823cea3abdbd74d5fd26c75; C67e983243ad28a26ae7c26a41ee8a75: return $output; goto A618b923cd82ac315e9b40a155ec26a0; d35d428ec6c720c837eef1c37ad7762c: foreach ($d8c887d4a07ddc3992dca7f1d440e7de["streams"] as $E91d1cd26e7223a0f44a617b8ab51d10) { goto Fe537b61aa76e6971eaa4fcc9a868c53; c4c6c95a65431119cb53ac3d551bc084: $output["codecs"][$E91d1cd26e7223a0f44a617b8ab51d10["codec_type"]] = $E91d1cd26e7223a0f44a617b8ab51d10; goto D5d73a4d121486dbd1a44308c584a724; D5d73a4d121486dbd1a44308c584a724: B118807d702f1626af252cf6e1925be3: goto a34daae0d9b0a62b014faaba47f5836c; Fe537b61aa76e6971eaa4fcc9a868c53: if (isset($E91d1cd26e7223a0f44a617b8ab51d10["codec_type"])) { goto D95df323897dae1cf3a79aacc803e2a1; } goto Bc29bcafa84d728abe37e2a1ac349d6f; Bc29bcafa84d728abe37e2a1ac349d6f: goto B118807d702f1626af252cf6e1925be3; goto f01020a61f8a4e0e66d9952cb3b863e9; f01020a61f8a4e0e66d9952cb3b863e9: D95df323897dae1cf3a79aacc803e2a1: goto F52da1cb55023797efc072d815a4fdb8; f672cf7cfe21b648da4b2b4b97291035: goto B118807d702f1626af252cf6e1925be3; goto E1929c812d955c5caa941002ec75383d; F52da1cb55023797efc072d815a4fdb8: if (!($E91d1cd26e7223a0f44a617b8ab51d10["codec_type"] != "audio" && $E91d1cd26e7223a0f44a617b8ab51d10["codec_type"] != "video")) { goto c3e9f29900c2eb4f48a671c7f85b294f; } goto f672cf7cfe21b648da4b2b4b97291035; E1929c812d955c5caa941002ec75383d: c3e9f29900c2eb4f48a671c7f85b294f: goto c4c6c95a65431119cb53ac3d551bc084; a34daae0d9b0a62b014faaba47f5836c: } goto adef347aacaad34c70604c5c9bb6cedd; B94128151e45d68a4cb486551833b8f5: return false; goto e6ee21f70e13324bd2b00cc2904e3bb5; e4c14b28fb5dd84d692c3b925fc826b6: $output["filename"] = $d8c887d4a07ddc3992dca7f1d440e7de["format"]["filename"]; goto E5662c9db8c34d4ad8ed700ba5399c9b; a6a9328fa8806acab582e7358e3f0348: $output["container"] = $d8c887d4a07ddc3992dca7f1d440e7de["format"]["format_name"]; goto e4c14b28fb5dd84d692c3b925fc826b6; C6a032069823cea3abdbd74d5fd26c75: $output["codecs"]["video"] = ''; goto f3e315cec545a0d6a7ca3b63e6508b95; A618b923cd82ac315e9b40a155ec26a0: d426e14d91f05a30afb4800f731af80e: goto B94128151e45d68a4cb486551833b8f5; E5662c9db8c34d4ad8ed700ba5399c9b: $output["bitrate"] = !empty($d8c887d4a07ddc3992dca7f1d440e7de["format"]["bit_rate"]) ? $d8c887d4a07ddc3992dca7f1d440e7de["format"]["bit_rate"] : null; goto daa5a611c8c62011d43467157cd08eb5; Cd63fa4c9096581719ba5a921cbc1dea: D1b74b1d87502a8b65ab2799929dffec: goto a4732b9a1bedf410422c35be0c441fcd; f3e315cec545a0d6a7ca3b63e6508b95: $output["codecs"]["audio"] = ''; goto a6a9328fa8806acab582e7358e3f0348; f78cfd980747912862d4829e31b5cb7a: $output["duration"] = !empty($d8c887d4a07ddc3992dca7f1d440e7de["format"]["duration"]) ? gmdate("H:i:s", intval($d8c887d4a07ddc3992dca7f1d440e7de["format"]["duration"])) : "N/A"; goto d35d428ec6c720c837eef1c37ad7762c; b7edc3701ad5ac937ab6724ea293d541: if (empty($d8c887d4a07ddc3992dca7f1d440e7de["codecs"])) { goto D1b74b1d87502a8b65ab2799929dffec; } goto f89ab8456b5c22c289d12e5101bf5fc8; f89ab8456b5c22c289d12e5101bf5fc8: return $d8c887d4a07ddc3992dca7f1d440e7de; goto Cd63fa4c9096581719ba5a921cbc1dea; adef347aacaad34c70604c5c9bb6cedd: A0606b91f507091dce2febbdf0b99997: goto C67e983243ad28a26ae7c26a41ee8a75; e6ee21f70e13324bd2b00cc2904e3bb5: } static function C27C26b9eD331706a4c3f0292142fB52($ba85d77d367dcebfcc2a3db9e83bb581, $a10d30316266ccc4dd75c9b1ce4dd026 = false) { goto E4e338a27ff186a83f687405f2291458; b13b8fde9af1c1949dadef27e992727c: if (!self::F198E55fC8231996C50eE056aC4226e0($Bc7d327b1510891329ca9859db27320f, "{$ba85d77d367dcebfcc2a3db9e83bb581}_.m3u8")) { goto A3f3cddff7eaaadabaf56b091b806db2; } goto B82c4a20147fa8172a41a155eb74134d; b1c6492881cbcb8e5a5c725b4d3df42e: if (!$a10d30316266ccc4dd75c9b1ce4dd026) { goto e648ce21c008f1118ce034834400d471; } goto F5ed69cdbc5f8fd97569ea9ed21183a1; F5ed69cdbc5f8fd97569ea9ed21183a1: shell_exec("rm -f " . DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_*"); goto F291665c0f009c80ee90bf215210a1f7; Cffa9d01180606e0f6d1c6fdd24d56f6: e00621fb8f5c80598aaf44240ec72bd5: goto a909dd46d8c7554e79782b3a4b029000; a909dd46d8c7554e79782b3a4b029000: if (!file_exists(STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid")) { goto ab07046a2ff99fba0247cc147c896c9d; } goto de9e8421611fbba8e5aa25448d1fd79c; d178501866a78a717ece07f0926df987: posix_kill($e9d30118d498945b35ee33aa90ed9822, 9); goto F76c970a8a56d8e9879fe8e0134448c8; dd6c5fabf1502daa324dec498a7e472e: shell_exec("rm -f " . STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_*"); goto b1c6492881cbcb8e5a5c725b4d3df42e; B82c4a20147fa8172a41a155eb74134d: posix_kill($Bc7d327b1510891329ca9859db27320f, 9); goto C1b45d136bb1562e6d746f3f76884542; E4e338a27ff186a83f687405f2291458: if (!file_exists("/home/xtreamcodes/iptv_xtream_codes/streams/{$ba85d77d367dcebfcc2a3db9e83bb581}.monitor")) { goto e00621fb8f5c80598aaf44240ec72bd5; } goto dc08afd0cf877c57b927615f56d8a1c0; F291665c0f009c80ee90bf215210a1f7: self::$ipTV_db->query("UPDATE `streams_sys` SET `bitrate` = NULL,`current_source` = NULL,`to_analyze` = 0,`pid` = NULL,`stream_started` = NULL,`stream_info` = NULL,`stream_status` = 0,`monitor_pid` = NULL WHERE `stream_id` = '%d' AND `server_id` = '%d'", $ba85d77d367dcebfcc2a3db9e83bb581, SERVER_ID); goto bff19ff49210498dc1659692f86b31ee; F76c970a8a56d8e9879fe8e0134448c8: e3d62cdd5b25b8bf9026c5f01c808a66: goto Cffa9d01180606e0f6d1c6fdd24d56f6; ce0c434ec047f26d414927c61dfe8686: ab07046a2ff99fba0247cc147c896c9d: goto dd6c5fabf1502daa324dec498a7e472e; bff19ff49210498dc1659692f86b31ee: e648ce21c008f1118ce034834400d471: goto d9cffe9eada6423e342c7d142fdd4945; c02425a73351cb29b6154f0eaed16881: if (!self::F198E55FC8231996C50ee056Ac4226E0($e9d30118d498945b35ee33aa90ed9822, "XtreamCodes[{$ba85d77d367dcebfcc2a3db9e83bb581}]")) { goto e3d62cdd5b25b8bf9026c5f01c808a66; } goto d178501866a78a717ece07f0926df987; dc08afd0cf877c57b927615f56d8a1c0: $e9d30118d498945b35ee33aa90ed9822 = intval(file_get_contents("/home/xtreamcodes/iptv_xtream_codes/streams/{$ba85d77d367dcebfcc2a3db9e83bb581}.monitor")); goto c02425a73351cb29b6154f0eaed16881; C1b45d136bb1562e6d746f3f76884542: A3f3cddff7eaaadabaf56b091b806db2: goto ce0c434ec047f26d414927c61dfe8686; de9e8421611fbba8e5aa25448d1fd79c: $Bc7d327b1510891329ca9859db27320f = intval(file_get_contents(STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid")); goto b13b8fde9af1c1949dadef27e992727c; d9cffe9eada6423e342c7d142fdd4945: } static function F198e55Fc8231996C50eE056ac4226e0($Bc7d327b1510891329ca9859db27320f, $Afd5f79d62d4622597818545a5cf00d1) { goto F2958d22f8bfa3835c2ee60b2caa15b2; D43478690452928e48c3afca71361cdc: return true; goto e1d6362026b272f8562de0c8d4f6b761; e1d6362026b272f8562de0c8d4f6b761: F81fa945f31855fd67f7e76934e52dbe: goto D18a6ea8ffc077cb08a1737fb93a54fa; dc20cecaf431294498474d480eb2e088: return false; goto cf91799b6a6bef0204b2673e27035dad; F2958d22f8bfa3835c2ee60b2caa15b2: if (!file_exists("/proc/" . $Bc7d327b1510891329ca9859db27320f)) { goto B19eb1e84d9ab28db2485113b3a23039; } goto F24d1f491821ca14d24d3b3ca9b6fedf; D18a6ea8ffc077cb08a1737fb93a54fa: B19eb1e84d9ab28db2485113b3a23039: goto dc20cecaf431294498474d480eb2e088; cf0a90314bfac3bdf510731b2d43c950: if (!stristr($ea5780c60b0a2afa62b1d8395f019e9a, $Afd5f79d62d4622597818545a5cf00d1)) { goto F81fa945f31855fd67f7e76934e52dbe; } goto D43478690452928e48c3afca71361cdc; F24d1f491821ca14d24d3b3ca9b6fedf: $ea5780c60b0a2afa62b1d8395f019e9a = trim(file_get_contents("/proc/{$Bc7d327b1510891329ca9859db27320f}/cmdline")); goto cf0a90314bfac3bdf510731b2d43c950; cf91799b6a6bef0204b2673e27035dad: } static function E79092731573697C16A932C339d0A101($ba85d77d367dcebfcc2a3db9e83bb581, $c6a482793047d2f533b0b69299b7d24d = 0) { goto Cf5a5dbed1b3dcc448ad4fe6224442f2; d8653d1259f06fd19b2d4af8a95b279b: $c6a482793047d2f533b0b69299b7d24d = intval($c6a482793047d2f533b0b69299b7d24d); goto afe0ce9055e5c87cb85d50d36653cc1f; afe0ce9055e5c87cb85d50d36653cc1f: shell_exec(PHP_BIN . " " . TOOLS_PATH . "stream_monitor.php {$ba85d77d367dcebfcc2a3db9e83bb581} {$c6a482793047d2f533b0b69299b7d24d} >/dev/null 2>/dev/null &"); goto a330950228fa6fe8e6e3f13224b908b1; adfc6a83fea6ea4c429a2f3651b7b1a6: $Ab9f45b38498c3a010f3c4276ad5767c = fopen($d0ecfdcd1b9396ba72538b60109bf719, "a+"); goto Bd0d03a54b651bd1460a173a059c2e58; C02994e2cfeba1472268266c72bed68f: flock($Ab9f45b38498c3a010f3c4276ad5767c, LOCK_UN); goto d84c1567dbce1dce074f2035415263ff; Bc7e01859665617019b29e7d11c4de2b: fclose($Ab9f45b38498c3a010f3c4276ad5767c); goto e820b306e2ef283500e25b0f4f636357; Cf5a5dbed1b3dcc448ad4fe6224442f2: $d0ecfdcd1b9396ba72538b60109bf719 = STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . ".lock"; goto adfc6a83fea6ea4c429a2f3651b7b1a6; a330950228fa6fe8e6e3f13224b908b1: usleep(300); goto C02994e2cfeba1472268266c72bed68f; Bd0d03a54b651bd1460a173a059c2e58: if (!flock($Ab9f45b38498c3a010f3c4276ad5767c, LOCK_EX | LOCK_NB)) { goto E9b9c3b1629504183a3a72be9c4be3bf; } goto d8653d1259f06fd19b2d4af8a95b279b; d84c1567dbce1dce074f2035415263ff: E9b9c3b1629504183a3a72be9c4be3bf: goto Bc7e01859665617019b29e7d11c4de2b; e820b306e2ef283500e25b0f4f636357: } static function b533E0f5f988919d1c3b076a87f9b0E3($ba85d77d367dcebfcc2a3db9e83bb581) { goto e35186ef3179866af54745d1a89d0e2c; Ecce87d37dceee67197b068cc2d980a7: D540591b9a648179f77278d4e6f7e08c: goto ff48cf61fbfea912db5bf6b1b149772e; ff48cf61fbfea912db5bf6b1b149772e: shell_exec("rm -f " . MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . ".*"); goto ffb1bf285debe751e045b6a5cd8e9d77; E4debb0ae4de5b2250a4996002166646: $Bc7d327b1510891329ca9859db27320f = (int) file_get_contents(MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid"); goto dd0f21ba3155847834b35ef75af53460; dd0f21ba3155847834b35ef75af53460: posix_kill($Bc7d327b1510891329ca9859db27320f, 9); goto Ecce87d37dceee67197b068cc2d980a7; e35186ef3179866af54745d1a89d0e2c: if (!file_exists(MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid")) { goto D540591b9a648179f77278d4e6f7e08c; } goto E4debb0ae4de5b2250a4996002166646; ffb1bf285debe751e045b6a5cd8e9d77: self::$ipTV_db->query("UPDATE `streams_sys` SET `bitrate` = NULL,`current_source` = NULL,`to_analyze` = 0,`pid` = NULL,`stream_started` = NULL,`stream_info` = NULL,`stream_status` = 0 WHERE `stream_id` = '%d' AND `server_id` = '%d'", $ba85d77d367dcebfcc2a3db9e83bb581, SERVER_ID); goto fa8faf6526c53dfc91843cdf6f60a2db; fa8faf6526c53dfc91843cdf6f60a2db: } static function f8aB00514d4DB9462A088927b8D3a8E6($ba85d77d367dcebfcc2a3db9e83bb581) { goto d77a4c0c5654c5dfd0eda4d8a4842d87; F9f2b01ad3f85c9fc3ab734b90067f35: $ed147a39fb35be93248b6f1c206a8023 = str_replace(" ", "%20", $B16ceb354351bfb3944291018578c764); goto f6afac7f6e0c481605a739107fe5edbb; Ea97f37d3edfa6f84de6f2b1a931021f: f55e57d76dfa73dbe4243f26122e8972: goto dad19c9ac16787014479784ee990cb2b; f77365ce13f3e337c08100809f307c18: $cded98e960569a6cd37bbbc155e6a799 = ''; goto e1af65e81f9984c3dd310061f994f8fb; C8ec29554ce449c269c0cd7f7aba9336: if (!(self::$ipTV_db->D1E5cE3B87bb868B9E6EfD39Aa355a4F() <= 0)) { goto e5e8eff010e7528e976233f6b3d079e2; } goto F79e47b2feac120d771979ea9fb6ec59; A5ebe715f3f834a99597da49b03ef96d: $ed147a39fb35be93248b6f1c206a8023 = a78Bf8d35765BE2408c50712ce7A43aD::$StreamingServers[$dc4f2a655eb3f009a9e741402d02f5fb]["api_url"] . "&action=getFile&filename=" . urlencode($a3cc823f429df879ce4a238c730d5eb1[2]); goto f535ddd1482b3ee409562a41f969dd44; C7e285b78b1a15ecb8b6dd5f90f9b8e2: $f2130ba0f82d2308b743977b2ba5eaa9 .= "-map " . ($C48e0083a9caa391609a3c645a2ec889 + 1) . " -metadata:s:s:{$C48e0083a9caa391609a3c645a2ec889} title={$fd91db723d1a9a2b33d242b8850c593f["names"][$C48e0083a9caa391609a3c645a2ec889]} -metadata:s:s:{$C48e0083a9caa391609a3c645a2ec889} language={$fd91db723d1a9a2b33d242b8850c593f["names"][$C48e0083a9caa391609a3c645a2ec889]} "; goto F33799d512d141ac8d33a2e8eaa75564; B1c52a0c810e88d79afc40d2e5fbfc5d: if ($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["enable_transcode"] == 1) { goto Cbb258d7d61da749d51a7e51465ff1ec; } goto bade368b77f247feb32e1aa22fc83cd3; F290f5af9ffd31da0cdc5d65b35f2037: if ($dc4f2a655eb3f009a9e741402d02f5fb != SERVER_ID) { goto ef48b6553f2633aea27ded2d31a469f0; } goto a951b28539f5b0305396139249ec17a8; Fdc60eea95cfd226cd04034b8f907b2e: goto C001984484eb7a1780f704ac0e17f07b; goto Def6e1916f64cca9ea4fd1acd3ca9f48; ae6197e9074150b567d597c59fb6187a: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-acodec"] = "copy"; goto c6a40931b6c95c16b532ed45bd2c3b38; d77a4c0c5654c5dfd0eda4d8a4842d87: $c3a18c26bfa971a25d2e6ada870ff735 = array(); goto Bd719432cc507adb4ccbc56005c0221c; c2179802e7956fb24cc305011f647181: $d8143e98f4313d9c05f0b2697179789c = $fd91db723d1a9a2b33d242b8850c593f["charset"][$C48e0083a9caa391609a3c645a2ec889]; goto fb9e0da61762e450d65bb9705949e5d1; bb0561ee36fce88284b058dc1f1110bf: goto C001984484eb7a1780f704ac0e17f07b; goto B85c73f87cb7bdb45999e9a9a86e18c4; B90efbf84d8c8327fa546ff5139b662a: $F53be324c8d9391cc021f5be5dacdfc1 = substr($B16ceb354351bfb3944291018578c764, 0, strpos($B16ceb354351bfb3944291018578c764, "://")); goto F9f2b01ad3f85c9fc3ab734b90067f35; D2005dad6aa37b03d80a3e8973746bc7: E404feeb4139fcd9698f5b6a92c598c8: goto D93b549b75ff0d81f222d04ee5fd02d9; Ceddc60523e3e25558650293b81751e5: B2a7cb896c9dc4ce64ef17732cd83dec: goto e48a6d6809b9c3a0ceef5a7257ce54c8; b196aacda27436f4c55fca936dd9a377: $feb3f2070e6ccf961f6265281e875b1a = ''; goto fd9dbac5661e79c7909b269427f40671; f22a4df8c93df5a3b3c67640a1eeddf7: if (substr($B16ceb354351bfb3944291018578c764, 0, 2) == "s:") { goto f55e57d76dfa73dbe4243f26122e8972; } goto B90efbf84d8c8327fa546ff5139b662a; A988605a6a6358d97f70e813742145ab: if (json_last_error() === JSON_ERROR_NONE) { goto B9ee39f380d734864191ff596d3fc949; } goto fe94ff53ff3ef5fdbd92dde35c7e431b; c9cd40707eb8c7f5a5239f7b506fd85c: $C48e0083a9caa391609a3c645a2ec889++; goto b13a9eae365edb07134ec37381d7822f; b7959a0ef882ae6c39bbea4f1b13e52b: goto f1ffc9a8f6509ac68c6a7020d9b5ee8d; goto edc64143b64c18308283d7457a4f5c5f; Cc8d0807506ff9266b40d2c1241787f6: $af428179032a83d9ec1df565934b1c89 = "ln -s "{$ed147a39fb35be93248b6f1c206a8023}" " . MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "." . pathinfo($ed147a39fb35be93248b6f1c206a8023, PATHINFO_EXTENSION) . " >/dev/null 2>/dev/null & echo $! > " . MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid"; goto B600e2097c29a0d86a5dd57d5bf80e25; d012f5ef6d73a4bf81ccc412bba11b7b: if (array_key_exists("-acodec", $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"])) { goto B276fd4a46f78cb55c6e6b0cc23b4e25; } goto ae6197e9074150b567d597c59fb6187a; Ffdac25bffd2f42d217d32353450bc87: ebacfc6ec00e9c20da5c1bde5fe9e113: goto dc0d29e659be113bf4ea459195f25be0; f6afac7f6e0c481605a739107fe5edbb: $be9f906faa527985765b1d8c897fb13a = implode(" ", self::eA860C1D3851c46D06e64911E3602768($c3a18c26bfa971a25d2e6ada870ff735["stream_arguments"], $F53be324c8d9391cc021f5be5dacdfc1, "fetch")); goto f96fd7996ae2000c5fdbf3a0ae752a38; Da097bb6d6b92fc21d3353daac072590: Add372654c63d6f8e793535ca0c4358d: goto Eba75c822dc52b1e205473dcef935776; Af1d0dcf5f99b18dff07471dc74f6657: if (!($C48e0083a9caa391609a3c645a2ec889 < count($fd91db723d1a9a2b33d242b8850c593f["files"]))) { goto ad3c3b402990229299a009de2ca8b278; } goto C7e285b78b1a15ecb8b6dd5f90f9b8e2; D93b549b75ff0d81f222d04ee5fd02d9: $f2130ba0f82d2308b743977b2ba5eaa9 = ''; goto bdba319364e1ce1ec01dad15dec6b30b; A99208d93b2795175081698152d0c7a0: foreach ($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["target_container"] as $E2e6656d8b1675f70c487f89e4f27a3b) { $A7c6258649492b26d77c75c60c793409[$E2e6656d8b1675f70c487f89e4f27a3b] = "-movflags +faststart -dn {$fd85ae68a4de5cc6cec54942d82e8f80} -ignore_unknown {$f2130ba0f82d2308b743977b2ba5eaa9} " . MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "." . $E2e6656d8b1675f70c487f89e4f27a3b . " "; a346f1a3f8ef9650581483d29e5eaab0: } goto F44d6e8359fa37327bd174fd53498ce1; c310cb8112ce3dc70684a4844f7e7221: foreach ($A7c6258649492b26d77c75c60c793409 as $bca72c242cf770f855c0eae8936335b7 => $cd7bafd64552e6ca58318f09800cbddd) { goto Ce28c6ec4a21f375285dfcb192007cd3; e84cfd19bf54ea85407c20f51ee8620b: goto b846d8cb5c86b6cf1d81683bcfa1c327; goto Ef410894099926df36e87fdcb891cc71; a004845df02aa85c83f580f83f4adcb0: $af428179032a83d9ec1df565934b1c89 .= $cd7bafd64552e6ca58318f09800cbddd; goto D6014c428af1aeb6676b49b01375c9b8; cd8f5f1376f8d8f7d52e9f713210aa82: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-scodec"] = "srt"; goto A60285388a4ab7b0b0c4a9b0bf44b3bc; b7017dcce0157c108b95722b17dec9e5: Ba7803b04b89aabeb5d7f38481286a05: goto cd8f5f1376f8d8f7d52e9f713210aa82; Ce28c6ec4a21f375285dfcb192007cd3: if ($bca72c242cf770f855c0eae8936335b7 == "mp4") { goto dbac771c7bb31b3cafe5bd4906c9b6b4; } goto D88cd10b2682ca5953485ba3739eab3f; A60285388a4ab7b0b0c4a9b0bf44b3bc: b846d8cb5c86b6cf1d81683bcfa1c327: goto F90f361f556594c9275d6516b5323ad8; Dbe4af8ff0f0892e9c36a1a079a2b3d0: goto b846d8cb5c86b6cf1d81683bcfa1c327; goto b7017dcce0157c108b95722b17dec9e5; e6e5595ea5f7343075c1f7612c5209a4: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-scodec"] = "copy"; goto e84cfd19bf54ea85407c20f51ee8620b; a64545eefe04e0fe6235a4bdd7940e79: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-scodec"] = "mov_text"; goto Dbe4af8ff0f0892e9c36a1a079a2b3d0; D6014c428af1aeb6676b49b01375c9b8: B18fb3f9a634a226217b7c9309ac6a19: goto d279dffb2e56d7d1d0b65e94c5cc8df0; Ef410894099926df36e87fdcb891cc71: dbac771c7bb31b3cafe5bd4906c9b6b4: goto a64545eefe04e0fe6235a4bdd7940e79; F90f361f556594c9275d6516b5323ad8: $af428179032a83d9ec1df565934b1c89 .= implode(" ", self::F6664c80BDe3e9bbe2c12CEb906D5A11($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"])) . " "; goto a004845df02aa85c83f580f83f4adcb0; D88cd10b2682ca5953485ba3739eab3f: if ($bca72c242cf770f855c0eae8936335b7 == "mkv") { goto Ba7803b04b89aabeb5d7f38481286a05; } goto e6e5595ea5f7343075c1f7612c5209a4; d279dffb2e56d7d1d0b65e94c5cc8df0: } goto F0bccc298b30219b46ec292754105245; dc0d29e659be113bf4ea459195f25be0: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"] = array_merge(self::ea860c1d3851c46d06E64911e3602768($c3a18c26bfa971a25d2e6ada870ff735["stream_arguments"], $F53be324c8d9391cc021f5be5dacdfc1, "transcode"), json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"], true)); goto a421934ee0592f7196b0122f70d42f41; bffbd648cdc6422d2f39176a14126d96: $C48e0083a9caa391609a3c645a2ec889++; goto D73f689e15d178eeca4f0a7ffb0705da; Ae55818838467917b5cb15c3d791c102: ad3c3b402990229299a009de2ca8b278: goto ea9463342ea06d29240138ceca75dd0a; F0bccc298b30219b46ec292754105245: Ff78ab08e68eb0c83af0d7549527aac6: goto C16cd19c4628dbed4f2dc5ba06d3117a; be28a181c4b35d7232795bc2dd48b8e1: goto b675deeb1a001d8fcadcf5cf5ed0d08a; goto D32cf3049ee304375b9eff5ce568c4b0; bdba319364e1ce1ec01dad15dec6b30b: $C48e0083a9caa391609a3c645a2ec889 = 0; goto Ed6fc17439aa88bec293c97197a80324; F798d56b3e0374ac2605e3b77a6054e8: $ecb89a457f7f7216f5564141edfd6269 = json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["target_container"], true); goto A988605a6a6358d97f70e813742145ab; e1af65e81f9984c3dd310061f994f8fb: $C48e0083a9caa391609a3c645a2ec889 = 0; goto Bf6379e3172f722f2dfb5660d2f14fd0; F88126d5bda48fbf84e8669f74f04adf: shell_exec($af428179032a83d9ec1df565934b1c89); goto A23b0cbb7c477a980fc40da59f005b37; ea9463342ea06d29240138ceca75dd0a: $af428179032a83d9ec1df565934b1c89 = FFMPEG_PATH . " -y -nostdin -hide_banner -loglevel warning -err_detect ignore_err {FETCH_OPTIONS} -fflags +genpts -async 1 {READ_NATIVE} -i "{STREAM_SOURCE}" {$cded98e960569a6cd37bbbc155e6a799}"; goto b196aacda27436f4c55fca936dd9a377; Bde569321b7698caa69e7ba1a06fda09: goto b51196ced3db1f3201f17e394565a638; goto a59a0d8d6c73fb797858958eae99d9a6; F4e0c89af70a0a0b6136756d77fe6a3e: goto abae99a95e3f1c23706b778724464f14; goto Ffdac25bffd2f42d217d32353450bc87; e520abeff56ac46745da77994c106831: $fd85ae68a4de5cc6cec54942d82e8f80 = "-map 0 -copy_unknown "; goto Cbfc3a907c9ab8ae9a474dfdd8da1dc5; F33799d512d141ac8d33a2e8eaa75564: c2aaadf3c9aedd6138f0c4edf0821eee: goto c9cd40707eb8c7f5a5239f7b506fd85c; B148605db0d07d7bb77c183c38d8f654: if ($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["remove_subtitles"] == 1) { goto E33f7b7470ddb69197047e3db94bc0d6; } goto bb0561ee36fce88284b058dc1f1110bf; f535ddd1482b3ee409562a41f969dd44: E725e66f82f0093213ce2738af2fceb8: goto A75887417f460fc962d421325ad9fab3; a421934ee0592f7196b0122f70d42f41: abae99a95e3f1c23706b778724464f14: goto Eeb26a3fc3be9993e79ced83ee8d6964; dad19c9ac16787014479784ee990cb2b: $a3cc823f429df879ce4a238c730d5eb1 = explode(":", $B16ceb354351bfb3944291018578c764, 3); goto c7f42e2973210d18256cddc96fab0592; bade368b77f247feb32e1aa22fc83cd3: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"] = array(); goto b7959a0ef882ae6c39bbea4f1b13e52b; Eba75c822dc52b1e205473dcef935776: if (isset($dc4f2a655eb3f009a9e741402d02f5fb) && $dc4f2a655eb3f009a9e741402d02f5fb == SERVER_ID && $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["movie_symlink"] == 1) { goto ad99fe107711832dc41ace2638e12a08; } goto D135fd9779780def953fdde35d14eb8e; bceb944198e6e639feab36b432478888: self::$ipTV_db->query("UPDATE `streams_sys` SET `to_analyze` = 1,`stream_started` = '%d',`stream_status` = 0,`pid` = '%d' WHERE `stream_id` = '%d' AND `server_id` = '%d'", time(), $Bc7d327b1510891329ca9859db27320f, $ba85d77d367dcebfcc2a3db9e83bb581, SERVER_ID); goto de4a9df77fac366486467f72b43949e2; C617368ad605acaca55c9a7c386f8c84: $fd85ae68a4de5cc6cec54942d82e8f80 = $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_map"] . " -copy_unknown "; goto Fdc60eea95cfd226cd04034b8f907b2e; a7f3a60b484b65ab8bfeff6a891004b5: $feb3f2070e6ccf961f6265281e875b1a = "-re"; goto A3c8a70e8e7e2f77202d9f554fbfc91d; A75887417f460fc962d421325ad9fab3: $F53be324c8d9391cc021f5be5dacdfc1 = null; goto Da097bb6d6b92fc21d3353daac072590; c7f42e2973210d18256cddc96fab0592: $dc4f2a655eb3f009a9e741402d02f5fb = $a3cc823f429df879ce4a238c730d5eb1[1]; goto F290f5af9ffd31da0cdc5d65b35f2037; f398bb61e5b78c0144a000ea39d3a778: $cded98e960569a6cd37bbbc155e6a799 .= "-sub_charenc "{$d8143e98f4313d9c05f0b2697179789c}" -i "" . a78BF8D35765be2408c50712Ce7a43aD::$StreamingServers[$fd91db723d1a9a2b33d242b8850c593f["location"]]["api_url"] . "&action=getFile&filename=" . urlencode($f26614792b40297912d260cb0d2fa273) . "" "; goto b529e3702600fb1a529b37b0307b370f; d79a62976231809fe703c4527214676e: $A7c6258649492b26d77c75c60c793409 = array(); goto A99208d93b2795175081698152d0c7a0; D135fd9779780def953fdde35d14eb8e: $fd91db723d1a9a2b33d242b8850c593f = json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["movie_subtitles"], true); goto f77365ce13f3e337c08100809f307c18; fd9dbac5661e79c7909b269427f40671: if (!($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["read_native"] == 1)) { goto F3aa8df193ebf09bc588974e590fc95d; } goto a7f3a60b484b65ab8bfeff6a891004b5; b8cb8f5724836a4bf8d49a60f31eb7f4: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"] = self::$ipTV_db->f1ed191d78470660eDfF4A007696bc1f(); goto F798d56b3e0374ac2605e3b77a6054e8; f561b6cee9e5d088c880793425812290: b675deeb1a001d8fcadcf5cf5ed0d08a: goto b55bc8db4c5b0ed19feb00f0ecf692c2; Ef664cd2e4a95f566f111eb02e6cf554: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"] = json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["profile_options"], true); goto F4e0c89af70a0a0b6136756d77fe6a3e; b68fdd69502f5232156f250ac915f58a: E9acd5edfe5276948201823a2631cb0b: goto d79a62976231809fe703c4527214676e; Bfb27515645c62cdafb003b709ce4a86: goto E725e66f82f0093213ce2738af2fceb8; goto E395122608a5edcdcc31011a462beb94; a18cf43aeafe1a6085670e05f56e8a66: self::$ipTV_db->query("SELECT t1.*, t2.* FROM `streams_options` t1, `streams_arguments` t2 WHERE t1.stream_id = '%d' AND t1.argument_id = t2.id", $ba85d77d367dcebfcc2a3db9e83bb581); goto e9c5caa0f6ce16cd00c71ca3e0e004fc; d9ce0a5442159c8b1369de2946a25025: return false; goto fba37713950ece7218725b2588fbe34d; e27e9d54d7fe76f25e172ce6e27b0248: $af428179032a83d9ec1df565934b1c89 = str_replace(array("{FETCH_OPTIONS}", "{STREAM_SOURCE}", "{READ_NATIVE}"), array(empty($be9f906faa527985765b1d8c897fb13a) ? '' : $be9f906faa527985765b1d8c897fb13a, $ed147a39fb35be93248b6f1c206a8023, empty($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_ffmpeg"]) ? $feb3f2070e6ccf961f6265281e875b1a : ''), $af428179032a83d9ec1df565934b1c89); goto Bde569321b7698caa69e7ba1a06fda09; b13a9eae365edb07134ec37381d7822f: goto E6e19d8ac7fbc7bd7196ad89afc70796; goto Ae55818838467917b5cb15c3d791c102; Aad73018904a647604112291c05bc559: C001984484eb7a1780f704ac0e17f07b: goto d012f5ef6d73a4bf81ccc412bba11b7b; Cbfc3a907c9ab8ae9a474dfdd8da1dc5: if (!empty($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_map"])) { goto ab37a681ced15fd3155a018a6c2e6d1c; } goto B148605db0d07d7bb77c183c38d8f654; de4a9df77fac366486467f72b43949e2: return $Bc7d327b1510891329ca9859db27320f; goto ced154e81db967bd9c0d2da3aa28299b; Ed6fc17439aa88bec293c97197a80324: E6e19d8ac7fbc7bd7196ad89afc70796: goto Af1d0dcf5f99b18dff07471dc74f6657; e5dcf6f06852a514c01139086723c20d: e5e8eff010e7528e976233f6b3d079e2: goto Bdba356bf98ae9a0b1b0a8d79c86e293; ae87ed74268b66f0eafae21030c7fe14: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["target_container"] = $ecb89a457f7f7216f5564141edfd6269; goto f561b6cee9e5d088c880793425812290; f96fd7996ae2000c5fdbf3a0ae752a38: goto Add372654c63d6f8e793535ca0c4358d; goto Ea97f37d3edfa6f84de6f2b1a931021f; Bd719432cc507adb4ccbc56005c0221c: self::$ipTV_db->query("SELECT * FROM `streams` t1 \xa                               INNER JOIN `streams_types` t2 ON t2.type_id = t1.type AND t2.live = 0
                               LEFT JOIN `transcoding_profiles` t4 ON t1.transcode_profile_id = t4.profile_id 
                               WHERE t1.direct_source = 0 AND t1.id = '%d'", $ba85d77d367dcebfcc2a3db9e83bb581); goto Acc75607385c47fdb915db324fd2e01a; e48a6d6809b9c3a0ceef5a7257ce54c8: $cded98e960569a6cd37bbbc155e6a799 .= "-sub_charenc "{$d8143e98f4313d9c05f0b2697179789c}" -i "{$f26614792b40297912d260cb0d2fa273}" "; goto E68c59603b4a40f4d2ba961cc20d5269; B600e2097c29a0d86a5dd57d5bf80e25: b51196ced3db1f3201f17e394565a638: goto F88126d5bda48fbf84e8669f74f04adf; D95b147b7fe076b73873336ea2156f77: $fd85ae68a4de5cc6cec54942d82e8f80 = "-map 0:a -map 0:v"; goto Aad73018904a647604112291c05bc559; Eeb26a3fc3be9993e79ced83ee8d6964: f1ffc9a8f6509ac68c6a7020d9b5ee8d: goto e520abeff56ac46745da77994c106831; b2bd8e1002414ee6c96284012644f630: if ($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_profile_id"] == -1) { goto ebacfc6ec00e9c20da5c1bde5fe9e113; } goto Ef664cd2e4a95f566f111eb02e6cf554; Bdba356bf98ae9a0b1b0a8d79c86e293: $c3a18c26bfa971a25d2e6ada870ff735["server_info"] = self::$ipTV_db->f1ed191D78470660EDFF4a007696BC1f(); goto a18cf43aeafe1a6085670e05f56e8a66; D32cf3049ee304375b9eff5ce568c4b0: B9ee39f380d734864191ff596d3fc949: goto ae87ed74268b66f0eafae21030c7fe14; D73f689e15d178eeca4f0a7ffb0705da: goto A939828d8872169b1d363ce60f3db680; goto D2005dad6aa37b03d80a3e8973746bc7; A23b0cbb7c477a980fc40da59f005b37: file_put_contents("/tmp/commands", $af428179032a83d9ec1df565934b1c89 . "
", FILE_APPEND); goto e324162650504f04d37635d336ab0212; F79e47b2feac120d771979ea9fb6ec59: return false; goto e5dcf6f06852a514c01139086723c20d; fba37713950ece7218725b2588fbe34d: E178f3014b8fb33b99151ec234590642: goto b8cb8f5724836a4bf8d49a60f31eb7f4; a951b28539f5b0305396139249ec17a8: $ed147a39fb35be93248b6f1c206a8023 = $a3cc823f429df879ce4a238c730d5eb1[2]; goto Bfb27515645c62cdafb003b709ce4a86; c6a40931b6c95c16b532ed45bd2c3b38: B276fd4a46f78cb55c6e6b0cc23b4e25: goto Ed31a64b95e8df3145765ac5df422439; d6393e72edc70689ac1dbfec6d07d06c: if (!($C48e0083a9caa391609a3c645a2ec889 < count($fd91db723d1a9a2b33d242b8850c593f["files"]))) { goto E404feeb4139fcd9698f5b6a92c598c8; } goto a512cdc49389a59f7e230875420dc900; e9c5caa0f6ce16cd00c71ca3e0e004fc: $c3a18c26bfa971a25d2e6ada870ff735["stream_arguments"] = self::$ipTV_db->c126FD559932F625CDf6098d86C63880(); goto Cd9bf6c4450b118d07f39a7a95020385; Acc75607385c47fdb915db324fd2e01a: if (!(self::$ipTV_db->d1E5CE3B87bB868b9e6Efd39AA355A4F() <= 0)) { goto E178f3014b8fb33b99151ec234590642; } goto d9ce0a5442159c8b1369de2946a25025; B32d0b77dce99e8dac519b6a1171c5f9: F5d53f6df467fe26a04aeb55a026dbf1: goto bffbd648cdc6422d2f39176a14126d96; edc64143b64c18308283d7457a4f5c5f: Cbb258d7d61da749d51a7e51465ff1ec: goto b2bd8e1002414ee6c96284012644f630; F44d6e8359fa37327bd174fd53498ce1: fe946122aac06dda7a5bcfaa6c3e2a5a: goto c310cb8112ce3dc70684a4844f7e7221; fe94ff53ff3ef5fdbd92dde35c7e431b: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["target_container"] = array($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["target_container"]); goto be28a181c4b35d7232795bc2dd48b8e1; b529e3702600fb1a529b37b0307b370f: goto ef634eb3bd7a80ccfd3f8f1a69b80635; goto Ceddc60523e3e25558650293b81751e5; Cd9bf6c4450b118d07f39a7a95020385: $B16ceb354351bfb3944291018578c764 = urldecode(json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["stream_source"], true)[0]); goto f22a4df8c93df5a3b3c67640a1eeddf7; B85c73f87cb7bdb45999e9a9a86e18c4: ab37a681ced15fd3155a018a6c2e6d1c: goto C617368ad605acaca55c9a7c386f8c84; a512cdc49389a59f7e230875420dc900: $f26614792b40297912d260cb0d2fa273 = urldecode($fd91db723d1a9a2b33d242b8850c593f["files"][$C48e0083a9caa391609a3c645a2ec889]); goto c2179802e7956fb24cc305011f647181; a59a0d8d6c73fb797858958eae99d9a6: ad99fe107711832dc41ace2638e12a08: goto Cc8d0807506ff9266b40d2c1241787f6; fb9e0da61762e450d65bb9705949e5d1: if ($fd91db723d1a9a2b33d242b8850c593f["location"] == SERVER_ID) { goto B2a7cb896c9dc4ce64ef17732cd83dec; } goto f398bb61e5b78c0144a000ea39d3a778; Bf6379e3172f722f2dfb5660d2f14fd0: A939828d8872169b1d363ce60f3db680: goto d6393e72edc70689ac1dbfec6d07d06c; e324162650504f04d37635d336ab0212: $Bc7d327b1510891329ca9859db27320f = intval(file_get_contents(MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid")); goto bceb944198e6e639feab36b432478888; D96898d4b7cac38a7ba7395e28dc1a12: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-vcodec"] = "copy"; goto b68fdd69502f5232156f250ac915f58a; A3c8a70e8e7e2f77202d9f554fbfc91d: F3aa8df193ebf09bc588974e590fc95d: goto B1c52a0c810e88d79afc40d2e5fbfc5d; E395122608a5edcdcc31011a462beb94: ef48b6553f2633aea27ded2d31a469f0: goto A5ebe715f3f834a99597da49b03ef96d; b55bc8db4c5b0ed19feb00f0ecf692c2: self::$ipTV_db->query("SELECT * FROM `streams_sys` WHERE stream_id  = '%d' AND `server_id` = '%d'", $ba85d77d367dcebfcc2a3db9e83bb581, SERVER_ID); goto C8ec29554ce449c269c0cd7f7aba9336; C16cd19c4628dbed4f2dc5ba06d3117a: $af428179032a83d9ec1df565934b1c89 .= " >/dev/null 2>" . MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . ".errors & echo $! > " . MOVIES_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid"; goto e27e9d54d7fe76f25e172ce6e27b0248; E68c59603b4a40f4d2ba961cc20d5269: ef634eb3bd7a80ccfd3f8f1a69b80635: goto B32d0b77dce99e8dac519b6a1171c5f9; Ed31a64b95e8df3145765ac5df422439: if (array_key_exists("-vcodec", $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"])) { goto E9acd5edfe5276948201823a2631cb0b; } goto D96898d4b7cac38a7ba7395e28dc1a12; Def6e1916f64cca9ea4fd1acd3ca9f48: E33f7b7470ddb69197047e3db94bc0d6: goto D95b147b7fe076b73873336ea2156f77; ced154e81db967bd9c0d2da3aa28299b: } static function CEBeee6A9C20e0da24C41A0247cf1244($ba85d77d367dcebfcc2a3db9e83bb581, &$bb1b9dfc97454460e165348212675779, $B71703fbd9f237149967f9ac3c41dc19 = null) { goto A0d120e3619e31aa8f0afba2f52785c3; F04a155d53dd4b7dfbb2d94e2d46c43c: copy(DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8", DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8_old"); goto E71edd621c999724980131f9b1b1b389; bbcae040288c0c5f88af0fc521723433: self::Ad09d99ce37614036d5A527595d569D9($A733a5416ffab6ff47547550f3f9f641); goto D0afdccccec4b4616a05e3e4f128e577; a0b1b6afbcf1a75e0ed974074df19ce6: if (!($Baee0c34e5755f1cfaa4159ea7e8702e !== false)) { goto D63aacc4ea564f12e24abd6538c7b052; } goto A89059ee0e35afb67b9c99274f644e97; E71edd621c999724980131f9b1b1b389: goto dd0526e2b77400e9c24a9c60c9812955; goto a772d6fd4324806051123be934179918; Edda592749fe30203f1d3da1f4e1155e: A593dfcdaa5e9ff9b3f42a9d21396d3b: goto C1e5f945db9e05cf02a58cbc09c806d7; f32705ea043d73ab75dabc69c708c11f: C89c9ed51c1208202cd91f7bfa6b3b12: goto Af353e9eba35f8e791cf80cdf8d49eb7; D96a94d1a2ed791bb0a7e928f7bedace: if ($F7b03a1f7467c01c6ea18452d9a5202f) { goto ebd27b3edaaacb30705e86c5be704ca9; } goto bbcae040288c0c5f88af0fc521723433; de29ba88097aa2d531d78676261146a4: ba73a6e82ea0f7696f05a6511ba8b6a4: goto Ab3616c8de8bd4a36124f90f72d5bf1e; A1e2067417926f4da48a28622cb2757b: if (empty($c3a18c26bfa971a25d2e6ada870ff735["server_info"]["current_source"])) { goto e7eedc2b99021a3a11f4a0933af2c2b1; } goto A490a0100845022bfa4bc7e1942f6a98; ea7689965104d59227fac258264fc58c: if (!file_exists(DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8")) { goto b5c7effa65c597936232525ef71cee85; } goto E3d3b8c11088224e78a92e4f1ebbf396; Bad546709720a6102f3c88d000770bfa: if (!preg_match("/\_(.*?)\.ts/", $Ca434bcc380e9dbd2a3a588f6c32d84f[count($Ca434bcc380e9dbd2a3a588f6c32d84f) - 1], $ae37877cee3bc97c8cfa6ec5843993ed)) { goto E376243a25162a7e9a96615f05736000; } goto F1ba59a0be639859b02b430d57ab97d5; Bbefd602594d606c064faaeb38fc48f2: C620c23e1bfc3164def5bb8281898865: goto d42170a221646fe96aac52e382d3ef26; D82756933c32374e03f659f66ca0294f: if (!(count($A733a5416ffab6ff47547550f3f9f641) > 0)) { goto Addf182f86a94b305381bd0e81174f08; } goto D09fb073638eb11ef1c30ce69371b10c; a0e0e379d0036193bf0c60ec22e3ee98: $fd85ae68a4de5cc6cec54942d82e8f80 = "-map 0 -copy_unknown "; goto C51cef42781148661fbed8fd88e84f0b; c8d3d2ebcb83cc537923e3e40a40127f: $af428179032a83d9ec1df565934b1c89 = str_replace(array("{INPUT}", "{FETCH_OPTIONS}", "{GEN_PTS}", "{STREAM_SOURCE}", "{MAP}", "{READ_NATIVE}", "{CONCAT}", "{AAC_FILTER}"), array(""{$B16ceb354351bfb3944291018578c764}"", empty($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_ffmpeg"]) ? $be9f906faa527985765b1d8c897fb13a : '', empty($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_ffmpeg"]) ? $e9652f3db39531a69b91900690d5d064 : '', $B16ceb354351bfb3944291018578c764, empty($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_ffmpeg"]) ? $fd85ae68a4de5cc6cec54942d82e8f80 : '', empty($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_ffmpeg"]) ? $feb3f2070e6ccf961f6265281e875b1a : '', $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["type_key"] == "created_live" && $c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"] == 0 ? "-safe 0 -f concat" : '', !stristr($e49460014c491accfafaa768ea84cd9c["container"], "flv") && $e49460014c491accfafaa768ea84cd9c["codecs"]["audio"]["codec_name"] == "aac" && $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-acodec"] == "copy" ? "-bsf:a aac_adtstoasc" : ''), $af428179032a83d9ec1df565934b1c89); goto b5de6d84a09f1d72891d22dba89221b6; C82df06e5fa12f41744bf21c58d2b1e6: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-scodec"] = "copy"; goto fb2a6160e1b849ef588a33123dbfc873; C90562f404fb0e72328fe172489728ef: dc9cc6d59e4235d361ef5eda9337f0d2: goto f15e43f235f6e887815981863f0afb47; dcd31fe9c005d847df9c993546e72870: if (!($Dedb93a1e8822879d8790c1f2fc7d6f1 <= 0)) { goto ccbae97f6af29994e24944d9fa86c5ee; } goto de552689f7587700907ec092972bd7a7; f15e43f235f6e887815981863f0afb47: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"] = array_merge(self::EA860c1D3851c46d06E64911E3602768($c3a18c26bfa971a25d2e6ada870ff735["stream_arguments"], $F53be324c8d9391cc021f5be5dacdfc1, "transcode"), json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"], true)); goto E697cb32a3c22753497cd0431dae3aa2; c2e9c65d1d592207c1262ccb4ad0b5c0: if (empty($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_ffmpeg"])) { goto A593dfcdaa5e9ff9b3f42a9d21396d3b; } goto d223422dfd7b56e28a96edc028545f85; a67642cc7ee104b70e14b8fc6e9e6ebe: return false; goto ad27cd0179e0bea9d3cdeec4fb7f63d4; b6788605b80e524fe1de8e4c05874e64: if (!empty($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_map"])) { goto Dc744fb7e990d5b473a8aa9a3c2427cb; } goto dd43e5758da695b950acae4bdad551da; C284d08402628d76571706d6847e7161: f283f80882362b693eafe8affe5b7574: goto e353e26d823fb2f2ad99a0de13f35f2a; a1309b93845446e4cd9506e7d9ee3665: unlink(STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid"); goto c7a963a2294ddd8b273b9b9a1401e4bb; ac0a7d65392617ea8232b8f816a6c0b4: self::$ipTV_db->query("SELECT * FROM `streams_sys` WHERE stream_id  = '%d' AND `server_id` = '%d'", $ba85d77d367dcebfcc2a3db9e83bb581, SERVER_ID); goto Cc4a305edadfdd1d8737bc84be960103; d42170a221646fe96aac52e382d3ef26: $C48e0083a9caa391609a3c645a2ec889++; goto cf3cc42896433bf03b403f546382c306; ba628c063254e10f55fdbd1059f9c47e: shell_exec("sed -i '/EXTINF\|.ts/!d' " . DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8_old"); goto Bb78eb9c44efca565d4e7263bcc49b55; f24a72bc3ef2ca23aea61f50a29261ea: $fd85ae68a4de5cc6cec54942d82e8f80 = ''; goto B394cf667ccf64cf71deb16276092e74; Bfb51bcba12d3ea286d0e5c64a906c0c: return false; goto A15b95b2acfb948687c7cd34a0e950ad; C2628ca62bdca20ad5591a573f03933d: if ($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_profile_id"] == -1) { goto dc9cc6d59e4235d361ef5eda9337f0d2; } goto Bac7189cd52e5f01a848beeeb17cb3d4; De2c3be014eadbcd6d572d6421f2f8d6: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-acodec"] = "copy"; goto f32705ea043d73ab75dabc69c708c11f; f062b607b0c3bafda6d2f7e13dac7e31: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"] = array(); goto a07abb6203fe9fdf4f334c6f416f8b98; A0d120e3619e31aa8f0afba2f52785c3: ++$bb1b9dfc97454460e165348212675779; goto Bb16dcc14fa63b772656ae31ad604dd8; E3ff3c7a9c043f4d8ddbb4cd87044f0a: $af428179032a83d9ec1df565934b1c89 .= "{MAP} -individual_header_trailer 0 -f segment -segment_format mpegts -segment_time " . A78bF8D35765bE2408c50712cE7a43Ad::$SegmentsSettings["seg_time"] . " -segment_list_size " . $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["delay_minutes"] * 6 . " -segment_start_number {$ccac9556cf5f7f83df650c022d673042} -segment_format_options "mpegts_flags=+initial_discontinuity:mpegts_copyts=1" -segment_list_type m3u8 -segment_list_flags +live+delete -segment_list "" . DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8" "" . DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_%d.ts" "; goto be4128517776905db04029fcdfba7a20; E3d3b8c11088224e78a92e4f1ebbf396: $Ca434bcc380e9dbd2a3a588f6c32d84f = file(DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8"); goto Ef90b6d05faeb471910872dff25454bb; a7a98d12f39e077666c69bf45ca37dfa: Dc744fb7e990d5b473a8aa9a3c2427cb: goto A39da3761e62211f5097daa9a683ddd6; F1ba59a0be639859b02b430d57ab97d5: $ccac9556cf5f7f83df650c022d673042 = intval($ae37877cee3bc97c8cfa6ec5843993ed[1]) + 1; goto ed3d7638253c69d7a27fde6759f8c15c; d7f5dba0f5535d7099e780b3b14a9fd3: return array("main_pid" => $Bc7d327b1510891329ca9859db27320f, "stream_source" => $B16ceb354351bfb3944291018578c764, "delay_enabled" => $Dac1208baefb5d684938829a3a0e0bc6, "parent_id" => $c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"], "delay_start_at" => $f32785b2a16d0d92cda0b44ed436f505, "playlist" => $Bb37b848bec813a5c13ea0b018962c40); goto D1486d02abf37792724e2b7bef1e260d; Ebae4b761e9183ba9b9b880eec952442: F153c4512deca390dba74e8db2fbea36: goto C31d0d6f24788d502e990a26b63a44b3; C4a7f6838c4c6986f8e9eb8cf0e9f57b: self::$ipTV_db->query("SELECT * FROM `streams` t1 \xa                               INNER JOIN `streams_types` t2 ON t2.type_id = t1.type AND t2.live = 1\xa                               LEFT JOIN `transcoding_profiles` t4 ON t1.transcode_profile_id = t4.profile_id \xa                               WHERE t1.direct_source = 0 AND t1.id = '%d'", $ba85d77d367dcebfcc2a3db9e83bb581); goto D9b0fa1bc159252e1b1345f708641a19; E697cb32a3c22753497cd0431dae3aa2: d8e23af75e9f89b764ccf530a01acbf3: goto D724bdd07744b75724723c57be250efb; Aec6beac472aeac3069bb605be29ab0b: if (!($ccac9556cf5f7f83df650c022d673042 > 0)) { goto A5521d14dac6bbbe40d9e44c33dfa8a9; } goto d9a982588ba95fb5346107319c66a9b2; D316a4f6ac0d00185f45ce068e720ba9: $E1be7e0ba659254273dc1475ae9679e0 = $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["probesize_ondemand"]; goto a5f99a9dda156af298a59469446eb82d; f8041740b21b73f8554e3133223adc34: $e9652f3db39531a69b91900690d5d064 = "-fflags +genpts -async 1"; goto a6cb04ba2fdaf4417d4a82959148687f; ad27cd0179e0bea9d3cdeec4fb7f63d4: E6918dd2087443c78184dfc7cdf7512f: goto F640d97105059ea2932ecea69152010d; da63ab577220b92f869065d53b6cb2a5: afe4d20824debb37c5f6f53f983e4f25: goto Abf50ff9dc44957d377515902ecb0a6b; b2c1e8cc9c1f9a5f72f58f7e79090e11: goto ea30083703d1c2cde3fd27e4d0fd9f9f; goto bd059131eacab3b6bca532fa308f0d23; d9a982588ba95fb5346107319c66a9b2: $Dedb93a1e8822879d8790c1f2fc7d6f1 -= ($ccac9556cf5f7f83df650c022d673042 - 1) * 10; goto dcd31fe9c005d847df9c993546e72870; Fb428fba5e2e49cf959c2c94a321606e: Addf182f86a94b305381bd0e81174f08: goto fecdbb85f6df4b71f741c2acacb76a94; C51cef42781148661fbed8fd88e84f0b: goto F7052b7340617388b1314ad99c08b3b6; goto a7a98d12f39e077666c69bf45ca37dfa; Ab3616c8de8bd4a36124f90f72d5bf1e: F9938bfcca244b4d743009902cc4255e: goto c8ec760f646d4146ba52186bd4567055; f45426f454a319d0c7fbe7ff33a53490: $ccac9556cf5f7f83df650c022d673042 = 0; goto ea7689965104d59227fac258264fc58c; f9b7df46ba803273d7e58c0c8fc9bf22: goto F7052b7340617388b1314ad99c08b3b6; goto Ebae4b761e9183ba9b9b880eec952442; bd059131eacab3b6bca532fa308f0d23: D8d186a189b03f485db980b151c7e4df: goto D316a4f6ac0d00185f45ce068e720ba9; Abf50ff9dc44957d377515902ecb0a6b: foreach ($A7c6258649492b26d77c75c60c793409 as $bca72c242cf770f855c0eae8936335b7 => $f72c3a34155eca511d79ca3671e1063f) { goto eda2ea3c480066f1767a3b6aa77b20ef; Abd608e255501ee1d03a82758a126a64: E5ddc8fda4d1dc1a348197623353deb3: goto b69b1c67a1d07a916fa0df390902dd25; eda2ea3c480066f1767a3b6aa77b20ef: foreach ($f72c3a34155eca511d79ca3671e1063f as $cd7bafd64552e6ca58318f09800cbddd) { goto Eb7d6a1ca25261e5b88cee92a33a5406; Dfde22f007ca91f2f235d997dec4d82a: $af428179032a83d9ec1df565934b1c89 .= $cd7bafd64552e6ca58318f09800cbddd; goto d8a6e91b8a015d7938bbc87fc94a560c; d8a6e91b8a015d7938bbc87fc94a560c: Ebb5e3ea9467c33b140f230491043b37: goto D32eacd5b69db4d22e9a8299939c8268; Eb7d6a1ca25261e5b88cee92a33a5406: $af428179032a83d9ec1df565934b1c89 .= implode(" ", self::f6664c80bde3e9BBe2c12ceb906d5a11($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"])) . " "; goto Dfde22f007ca91f2f235d997dec4d82a; D32eacd5b69db4d22e9a8299939c8268: } goto F9d89ad018ad8080b9b5da328d3f921b; F9d89ad018ad8080b9b5da328d3f921b: Cbccb6a302a094120f540dfbd60a8dbe: goto Abd608e255501ee1d03a82758a126a64; b69b1c67a1d07a916fa0df390902dd25: } goto de29ba88097aa2d531d78676261146a4; A7314975472ac8c8f1bdd009199221a3: f38db3d39bb5dbf7da7a81bff51d7b2d: goto d30caef513590002924056f8056eb6c7; a837c8f75f6eb78b800705defbf6422b: ab4b9fd020e95bcd610e36802fdc7435: goto C725b6004bb9081a642e2df941aeb619; e88226833f24ab88d15e9cecff6a2849: if (($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["gen_timestamps"] == 1 || empty($F53be324c8d9391cc021f5be5dacdfc1)) && $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["type_key"] != "created_live") { goto D6db7ca24de8cfa35b17c05aacd29ad4; } goto Ed38712b303801ad3833f07237fc6f61; e87fb50c94aa003a6ffeb5f944df2537: $f32785b2a16d0d92cda0b44ed436f505 = 0; goto bb4302726dd59a74af94cf547a5713a6; fdd0d18ab1ce781729d0b492540803fc: file_put_contents(STREAMS_PATH . md5($B16ceb354351bfb3944291018578c764), json_encode($e49460014c491accfafaa768ea84cd9c)); goto Ba51895456fef16376c9a7cb869f13a7; b5de6d84a09f1d72891d22dba89221b6: shell_exec($af428179032a83d9ec1df565934b1c89); goto cda22268b480df121a8e9fe479826ea8; Fe89e81a98aa29d0a4dea1435fcb60a1: goto Bb46ea9acc61599e9243d1d952984b8a; goto b554d0db14bbfafaff4cf88257a8a4ab; b63e2f7a2a7972466e00980cd3d8ef74: if (array_key_exists("-scodec", $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"])) { goto cc3a8ad39c0f9a89d4e0743a7ee460fe; } goto C82df06e5fa12f41744bf21c58d2b1e6; ba6e577422d6cd57e0ea713358121ba2: $A733a5416ffab6ff47547550f3f9f641 = $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["type_key"] == "created_live" ? array(CREATED_CHANNELS . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.list") : json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["stream_source"], true); goto f881a4588c552e13e0f605962a965426; bf9043f0fc8f7efe0c9c8154c3af3a8e: Cc9dcf3a82486cdcbe22b0df03cd3043: goto Eb9a875a255359a4baba1bed56c2f032; A89059ee0e35afb67b9c99274f644e97: $C48e0083a9caa391609a3c645a2ec889 = 0; goto Ec2b7ab329d88d87a61c04b29618ce0b; Edde5aef1822e8b98c9bad2f97a6731b: e3e69a24c681601661118639b33fb2c2: goto ba6e577422d6cd57e0ea713358121ba2; d5f843efae7472f27ae55e820eba3804: self::$ipTV_db->query("UPDATE `streams_sys` SET `delay_available_at` = '%d',`to_analyze` = 0,`stream_started` = '%d',`stream_info` = '%s',`stream_status` = 0,`pid` = '%d',`progress_info` = '%s',`current_source` = '%s' WHERE `stream_id` = '%d' AND `server_id` = '%d'", $f32785b2a16d0d92cda0b44ed436f505, time(), json_encode($e49460014c491accfafaa768ea84cd9c), $Bc7d327b1510891329ca9859db27320f, json_encode(array()), $F3803fa85b38b65447e6d438f8e9176a, $ba85d77d367dcebfcc2a3db9e83bb581, SERVER_ID); goto Efab38b64f3f30479969bf74f3894177; Ce093f5a0811959f2732cb518aa8a8b7: goto f38db3d39bb5dbf7da7a81bff51d7b2d; goto Edda592749fe30203f1d3da1f4e1155e; b31947a7284d41a96a385422d885d8ed: if (array_key_exists("-acodec", $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"])) { goto C89c9ed51c1208202cd91f7bfa6b3b12; } goto De2c3be014eadbcd6d572d6421f2f8d6; c7a963a2294ddd8b273b9b9a1401e4bb: ebaf8e83d6903e697b868e20baf33caa: goto c442ae522f4b0b74c5cb594d77242eab; Ef90b6d05faeb471910872dff25454bb: if (stristr($Ca434bcc380e9dbd2a3a588f6c32d84f[count($Ca434bcc380e9dbd2a3a588f6c32d84f) - 1], $ba85d77d367dcebfcc2a3db9e83bb581 . "_")) { goto A2a103797dee1660ea002b00a72429f7; } goto F1c9fa9f7468e19f9babec6fcdfcfa24; e353e26d823fb2f2ad99a0de13f35f2a: if ($c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"] == 0 and $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["enable_transcode"] == 1 and $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["type_key"] != "created_live") { goto D86bd2873aa1d53b090aeacd3542baf5; } goto f062b607b0c3bafda6d2f7e13dac7e31; e6e0ac78bb4789f8396dd2055e62e961: goto ac8a864b3489c444d14e1904ec5dfd7e; goto bf9043f0fc8f7efe0c9c8154c3af3a8e; d21fe7d658499358a718f57d64d67935: if ($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["stream_all"] == 1) { goto a3b24b9d2c6ec66fd6278ba77698c80f; } goto b6788605b80e524fe1de8e4c05874e64; bb839baa858917a507d17b24a5947041: if (A78BF8D35765BE2408c50712cE7A43AD::$settings["priority_backup"] != 1) { goto A86413a2d08ad88b95da25a0604ea82c; } goto e6e0ac78bb4789f8396dd2055e62e961; Be5ba42f0f5a800938089ce4d7791def: if (!($c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"] == 0 && ($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["read_native"] == 1 or stristr($e49460014c491accfafaa768ea84cd9c["container"], "hls") or empty($F53be324c8d9391cc021f5be5dacdfc1) or stristr($e49460014c491accfafaa768ea84cd9c["container"], "mp4") or stristr($e49460014c491accfafaa768ea84cd9c["container"], "matroska")))) { goto f283f80882362b693eafe8affe5b7574; } goto c894656f7411f0ddd9e13f4a26f2c1ca; A9e330109746705f5063b08263d90e6b: $af428179032a83d9ec1df565934b1c89 .= implode(" ", self::f6664C80BDe3E9bbe2c12ceB906D5A11($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"])) . " "; goto E3ff3c7a9c043f4d8ddbb4cd87044f0a; ebe246d6751d12a796e90a9a19f01af2: if (!empty($e49460014c491accfafaa768ea84cd9c)) { goto bf992ec705760c7b1103abb41831c9c6; } goto d9dbcb7025ad90016516fd740e395b17; C0ca710355f32bcb3c7d92749cdbe771: $ccac9556cf5f7f83df650c022d673042 = intval($ae37877cee3bc97c8cfa6ec5843993ed[1]) + 1; goto d13e6b6db9e66c7ee910424ae8584544; A490a0100845022bfa4bc7e1942f6a98: $Baee0c34e5755f1cfaa4159ea7e8702e = array_search($c3a18c26bfa971a25d2e6ada870ff735["server_info"]["current_source"], $A733a5416ffab6ff47547550f3f9f641); goto a0b1b6afbcf1a75e0ed974074df19ce6; a6cb04ba2fdaf4417d4a82959148687f: E01fee9b65c00f25b579d2c57924aa67: goto A14c410664915491e0c8b716174e1d9a; A4d7324ae36cf2015b714d139448a15c: if ($F7b03a1f7467c01c6ea18452d9a5202f) { goto f21367977400d55935f38a3b5a6cd287; } goto fdd0d18ab1ce781729d0b492540803fc; a244fe96a44d0b78f7f8088a0a0be1cd: $Fa28e3498375fc4da68f3f818d774249 = "/usr/bin/timeout {$d1c5b35a94aa4152ee37c6cfedfb2ec3}s " . FFPROBE_PATH . " {FETCH_OPTIONS} -probesize {$E1be7e0ba659254273dc1475ae9679e0} -analyzeduration {$C359d5e5ab36c7a88fca0754166e7996} {CONCAT} -i "{STREAM_SOURCE}" -v quiet -print_format json -show_streams -show_format"; goto d476f8d7c8f317f9b4c7ebfe64cba314; e82a669004042a950a1c5d7f3b1f94f6: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"] = self::$ipTV_db->F1ED191D78470660EDFF4A007696BC1f(); goto ac0a7d65392617ea8232b8f816a6c0b4; Bb78eb9c44efca565d4e7263bcc49b55: dd0526e2b77400e9c24a9c60c9812955: goto F3b008560854fb0ce39727ecff6e4968; cf9dbb20f7f138eaf9d6c1db162fdda0: goto C3278fdb7c58626f47605c2dc7a7db0b; goto Edde5aef1822e8b98c9bad2f97a6731b; F3b008560854fb0ce39727ecff6e4968: b5c7effa65c597936232525ef71cee85: goto A9e330109746705f5063b08263d90e6b; a07abb6203fe9fdf4f334c6f416f8b98: goto Cc0911998f1ba7e7de732759aca273da; goto f0fb78b384c946ebaa09b2169bfdb3dd; B7a019c0b07e36c981b00cfe2c709e5d: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"]["-vcodec"] = "copy"; goto E430dcd12576ee8b5c6467f426bcc581; dd43e5758da695b950acae4bdad551da: if ($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["type_key"] == "radio_streams") { goto F153c4512deca390dba74e8db2fbea36; } goto f24a72bc3ef2ca23aea61f50a29261ea; D9b0fa1bc159252e1b1345f708641a19: if (!(self::$ipTV_db->d1E5CE3b87bB868B9E6EFd39Aa355A4f() <= 0)) { goto c389b1faa75a5eda1001e68a8a1faa03; } goto Bfb51bcba12d3ea286d0e5c64a906c0c; c2bcd3262dd5a1f54a61f7c80154ac4e: a3b24b9d2c6ec66fd6278ba77698c80f: goto a0e0e379d0036193bf0c60ec22e3ee98; d476f8d7c8f317f9b4c7ebfe64cba314: $be9f906faa527985765b1d8c897fb13a = array(); goto dd1a020e8206cee1b625b594a0de186c; f46bb7fe84aae32342b1e6cf0a61a877: $e1dc30615033011f7166d1950e7036ee = "http://127.0.0.1:" . A78BF8d35765BE2408c50712Ce7a43AD::$StreamingServers[SERVER_ID]["http_broadcast_port"] . "/progress.php?stream_id={$ba85d77d367dcebfcc2a3db9e83bb581}"; goto c2e9c65d1d592207c1262ccb4ad0b5c0; E5af6745ef73bf88e6c234b1abc1a23d: A86413a2d08ad88b95da25a0604ea82c: goto A1e2067417926f4da48a28622cb2757b; e67a35f55c908a25342f1da62b466a88: a4b738a847141a984c3ba7e300b24bc3: goto Ad4ecf4c236703e8b59d7d377e0d3f81; F4afa9bc00deee487c35ff381391edc0: $C359d5e5ab36c7a88fca0754166e7996 = abs(intval(A78bf8D35765Be2408C50712Ce7A43AD::$settings["stream_max_analyze"])); goto aaba4570614ac2ef6153a7e36225221b; fecdbb85f6df4b71f741c2acacb76a94: $F7b03a1f7467c01c6ea18452d9a5202f = $bb1b9dfc97454460e165348212675779 <= RESTART_TAKE_CACHE ? true : false; goto D96a94d1a2ed791bb0a7e928f7bedace; ed3d7638253c69d7a27fde6759f8c15c: E376243a25162a7e9a96615f05736000: goto Bc358712da2195af6049c6dc19157a6b; Bc358712da2195af6049c6dc19157a6b: Bb46ea9acc61599e9243d1d952984b8a: goto B50dbf20196c7dfea380456fff0e1a8f; a772d6fd4324806051123be934179918: E1d8de0eb615bb67c950b0f491512f92: goto f4acb183407abb2a7b7f3e1eb7528287; C42417a422fd896fa9f20a6877026d66: array_push($A733a5416ffab6ff47547550f3f9f641, $Ad110d626a9e62f0778a8f19383a0613); goto Bbefd602594d606c064faaeb38fc48f2; E04ecef9a30731d99319988594d6ccbf: e7eedc2b99021a3a11f4a0933af2c2b1: goto Fd0c9fa73a22d3ad21baec039c9f9b6c; c894656f7411f0ddd9e13f4a26f2c1ca: $feb3f2070e6ccf961f6265281e875b1a = "-re"; goto C284d08402628d76571706d6847e7161; A14c410664915491e0c8b716174e1d9a: $feb3f2070e6ccf961f6265281e875b1a = ''; goto Be5ba42f0f5a800938089ce4d7791def; Cc4a305edadfdd1d8737bc84be960103: if (!(self::$ipTV_db->d1e5Ce3B87Bb868b9E6efd39aA355a4f() <= 0)) { goto E6918dd2087443c78184dfc7cdf7512f; } goto a67642cc7ee104b70e14b8fc6e9e6ebe; D79d93ab25941e00cf94edfbd9f71b11: if (!(SERVER_ID == $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["tv_archive_server_id"])) { goto ab4b9fd020e95bcd610e36802fdc7435; } goto Ab44de558400063c3432f0868799def1; e57a4b8839b706561c42d122e7808713: if (empty($Ee11a0d09ece7de916fbc0b2ca0136a3[SERVER_ID])) { goto F623bdc102312d6bb9cd010763330b88; } goto C1f42ef58f21834bd6f0865c33250c7e; Bf452bc2d22b2afa1f4b7f40c3ff1457: $Ad110d626a9e62f0778a8f19383a0613 = $A733a5416ffab6ff47547550f3f9f641[$C48e0083a9caa391609a3c645a2ec889]; goto D4796e78b5ce304c1a8d41f2f4079815; d98f9b644dda72d2add2a5fe0673e5cb: E3f0f6fa6f88a988847fe7991a8d19df: goto f4b3e398699c55c783418260b897d36d; f03f13a140091b921f9b34e661f10b36: ea30083703d1c2cde3fd27e4d0fd9f9f: goto Dcb29badd072ac3d39a923e273e5c1fa; de552689f7587700907ec092972bd7a7: $Dedb93a1e8822879d8790c1f2fc7d6f1 = 0; goto C7da54a65c2acebb9016618609d8dd75; b554d0db14bbfafaff4cf88257a8a4ab: A2a103797dee1660ea002b00a72429f7: goto Bad546709720a6102f3c88d000770bfa; d223422dfd7b56e28a96edc028545f85: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"] = array(); goto Ee1f2f41f4d5f1bae0e4de1a96e25c12; d55343516316928169e3d54cc1421b09: if (!($C48e0083a9caa391609a3c645a2ec889 <= $Baee0c34e5755f1cfaa4159ea7e8702e)) { goto a4b738a847141a984c3ba7e300b24bc3; } goto Bf452bc2d22b2afa1f4b7f40c3ff1457; D4796e78b5ce304c1a8d41f2f4079815: unset($A733a5416ffab6ff47547550f3f9f641[$C48e0083a9caa391609a3c645a2ec889]); goto C42417a422fd896fa9f20a6877026d66; C2d20cdf8dd6d2ef4b13d5d5db011ecb: $A7c6258649492b26d77c75c60c793409["mpegts"][] = "{MAP} -individual_header_trailer 0 -f segment -segment_format mpegts -segment_time " . a78BF8d35765BE2408c50712CE7a43ad::$SegmentsSettings["seg_time"] . " -segment_list_size " . A78bf8D35765bE2408C50712ce7a43ad::$SegmentsSettings["seg_list_size"] . " -segment_format_options "mpegts_flags=+initial_discontinuity:mpegts_copyts=1" -segment_list_type m3u8 -segment_list_flags +live+delete -segment_list "" . STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8" "" . STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_%d.ts" "; goto ea7d59b36aabe2e28e3f61501313185f; C7da54a65c2acebb9016618609d8dd75: ccbae97f6af29994e24944d9fa86c5ee: goto D58acf64547bb8a974be01897cc9d2da; cda22268b480df121a8e9fe479826ea8: $Bc7d327b1510891329ca9859db27320f = $D90a38f0f1d7f1bcd1b2eee088e76aca = intval(file_get_contents(STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid")); goto D79d93ab25941e00cf94edfbd9f71b11; a55b5eb355a90bda0ca44b51602eab43: Ac4ca8dc61fceb4f7dcd2b2acb8c4881: goto e57a4b8839b706561c42d122e7808713; f4acb183407abb2a7b7f3e1eb7528287: file_put_contents(DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8_old", file_get_contents(DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8_old") . file_get_contents(DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8")); goto ba628c063254e10f55fdbd1059f9c47e; C93fcc4df35cfcb848a33ad0bdb6450f: $e49460014c491accfafaa768ea84cd9c = self::Ccbd051c8A19a02dC5B6db256Ae31C07($e49460014c491accfafaa768ea84cd9c); goto B52143f92a14a417a26a03fe437df2fc; E430dcd12576ee8b5c6467f426bcc581: Ce66ed4205c9f3e4b7c19a393a6749d2: goto b63e2f7a2a7972466e00980cd3d8ef74; D63f7fefe19966626b2b5a1fc66510a8: F623bdc102312d6bb9cd010763330b88: goto e87fb50c94aa003a6ffeb5f944df2537; Efab38b64f3f30479969bf74f3894177: $Bb37b848bec813a5c13ea0b018962c40 = !$Dac1208baefb5d684938829a3a0e0bc6 ? STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8" : DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8"; goto d7f5dba0f5535d7099e780b3b14a9fd3; D09fb073638eb11ef1c30ce69371b10c: if (!empty($B71703fbd9f237149967f9ac3c41dc19)) { goto Cc9dcf3a82486cdcbe22b0df03cd3043; } goto bb839baa858917a507d17b24a5947041; E1060a09be93befae6f04b6554c44f8b: $A733a5416ffab6ff47547550f3f9f641 = array(A78bF8d35765be2408C50712ce7A43aD::$StreamingServers[$c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"]]["site_url_ip"] . "streaming/admin_live.php?stream=" . $ba85d77d367dcebfcc2a3db9e83bb581 . "&password=" . A78Bf8d35765BE2408c50712Ce7a43Ad::$settings["live_streaming_pass"] . "&extension=ts"); goto cf9dbb20f7f138eaf9d6c1db162fdda0; Ef2ecfa95ccf2f442a38a72d0250a4d8: goto d8e23af75e9f89b764ccf530a01acbf3; goto C90562f404fb0e72328fe172489728ef; Ba51895456fef16376c9a7cb869f13a7: f21367977400d55935f38a3b5a6cd287: goto C93fcc4df35cfcb848a33ad0bdb6450f; bb4302726dd59a74af94cf547a5713a6: if (!($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["delay_minutes"] > 0 && $c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"] == 0)) { goto afe4d20824debb37c5f6f53f983e4f25; } goto f45426f454a319d0c7fbe7ff33a53490; f4b3e398699c55c783418260b897d36d: return 0; goto F64f98555e5deda3aa87652cbda27c06; D0afdccccec4b4616a05e3e4f128e577: ebd27b3edaaacb30705e86c5be704ca9: goto Ea9d7919a93a46e696150e9bf02fa361; E6e5f03fb7fccdbaf0c8cb871fde99b3: $A7c6258649492b26d77c75c60c793409["flv"][] = "{MAP} {AAC_FILTER} -f flv rtmp://127.0.0.1:" . a78bf8d35765be2408c50712CE7a43aD::$StreamingServers[$c3a18c26bfa971a25d2e6ada870ff735["server_info"]["server_id"]]["rtmp_port"] . "/live/{$ba85d77d367dcebfcc2a3db9e83bb581} "; goto a55b5eb355a90bda0ca44b51602eab43; Bf4d53ff7b2308b9af67b687312d6b52: goto ac8a864b3489c444d14e1904ec5dfd7e; goto E5af6745ef73bf88e6c234b1abc1a23d; A15b95b2acfb948687c7cd34a0e950ad: c389b1faa75a5eda1001e68a8a1faa03: goto e82a669004042a950a1c5d7f3b1f94f6; c442ae522f4b0b74c5cb594d77242eab: $c3a18c26bfa971a25d2e6ada870ff735 = array(); goto C4a7f6838c4c6986f8e9eb8cf0e9f57b; Ec2b7ab329d88d87a61c04b29618ce0b: B1fcf06a1d6da24af4b5d7d516d25b90: goto d55343516316928169e3d54cc1421b09; Ea9d7919a93a46e696150e9bf02fa361: foreach ($A733a5416ffab6ff47547550f3f9f641 as $F3803fa85b38b65447e6d438f8e9176a) { goto Ffb04423e981934ef1239149de6ab9fa; A72e40f3748f87e886a939c0de910668: if (!($F7b03a1f7467c01c6ea18452d9a5202f && file_exists(STREAMS_PATH . md5($B16ceb354351bfb3944291018578c764)))) { goto a22c8f4369a3823a8d55da602457e3fa; } goto Ff6af09e33ae00832103b0213523bfc1; d462108a0ebe693cbdf638c525a44674: goto D4dc4038a49e681798bdc5fcc086c56d; goto eae0c36263c2fce3e2d285b9fdde3fa0; eae0c36263c2fce3e2d285b9fdde3fa0: a22c8f4369a3823a8d55da602457e3fa: goto d6e5514d1838bf10cc8322e349ffc2eb; Ffb04423e981934ef1239149de6ab9fa: $B16ceb354351bfb3944291018578c764 = self::ParseStreamURL($F3803fa85b38b65447e6d438f8e9176a); goto a776270e2a43117434b0c4e0ca33b36a; b3a4179bcc40be62e0a3ab113ef56de3: Cb9249f7245713586fe1b19061ae2811: goto e5ca9e60c99b5a1d80b3a24bb2c2b96b; ca2a1d917a3c556925d479a81332dbc4: if (empty($e49460014c491accfafaa768ea84cd9c)) { goto Cb9249f7245713586fe1b19061ae2811; } goto cc927a2d10e63290bfacac1a5e9c4497; cc927a2d10e63290bfacac1a5e9c4497: goto D4dc4038a49e681798bdc5fcc086c56d; goto b3a4179bcc40be62e0a3ab113ef56de3; Ff6af09e33ae00832103b0213523bfc1: $e49460014c491accfafaa768ea84cd9c = json_decode(file_get_contents(STREAMS_PATH . md5($B16ceb354351bfb3944291018578c764)), true); goto d462108a0ebe693cbdf638c525a44674; e67cad46db687c9f8c4b4105f26df4bf: $be9f906faa527985765b1d8c897fb13a = implode(" ", self::Ea860c1d3851C46D06E64911E3602768($c3a18c26bfa971a25d2e6ada870ff735["stream_arguments"], $F53be324c8d9391cc021f5be5dacdfc1, "fetch")); goto A72e40f3748f87e886a939c0de910668; e5ca9e60c99b5a1d80b3a24bb2c2b96b: De6140812c70cd81c91cbef144a4f8ad: goto e138fff94ad92335f64ae68f50396fea; a776270e2a43117434b0c4e0ca33b36a: $F53be324c8d9391cc021f5be5dacdfc1 = strtolower(substr($B16ceb354351bfb3944291018578c764, 0, strpos($B16ceb354351bfb3944291018578c764, "://"))); goto e67cad46db687c9f8c4b4105f26df4bf; d6e5514d1838bf10cc8322e349ffc2eb: $e49460014c491accfafaa768ea84cd9c = json_decode(shell_exec(str_replace(array("{FETCH_OPTIONS}", "{CONCAT}", "{STREAM_SOURCE}"), array($be9f906faa527985765b1d8c897fb13a, $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["type_key"] == "created_live" && $c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"] == 0 ? "-safe 0 -f concat" : '', $B16ceb354351bfb3944291018578c764), $Fa28e3498375fc4da68f3f818d774249)), true); goto ca2a1d917a3c556925d479a81332dbc4; e138fff94ad92335f64ae68f50396fea: } goto ea73fba16ca2a75ef4f79a89a213153d; Fcab6b6c1c64dded5a1eb8aaac5a3f8f: self::$ipTV_db->query("SELECT t1.*, t2.* FROM `streams_options` t1, `streams_arguments` t2 WHERE t1.stream_id = '%d' AND t1.argument_id = t2.id", $ba85d77d367dcebfcc2a3db9e83bb581); goto a353a2586f93c7167acd7b156509c02f; B0cc0e35873c3d7f2bb8c5d7a7fb9347: ee823a8c424e1bd8057dac7d7b7c0d77: goto D63f7fefe19966626b2b5a1fc66510a8; A39da3761e62211f5097daa9a683ddd6: $fd85ae68a4de5cc6cec54942d82e8f80 = $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_map"] . " -copy_unknown "; goto f9b7df46ba803273d7e58c0c8fc9bf22; f0fb78b384c946ebaa09b2169bfdb3dd: D86bd2873aa1d53b090aeacd3542baf5: goto C2628ca62bdca20ad5591a573f03933d; ea73fba16ca2a75ef4f79a89a213153d: D4dc4038a49e681798bdc5fcc086c56d: goto ebe246d6751d12a796e90a9a19f01af2; dd1a020e8206cee1b625b594a0de186c: if ($c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"] == 0) { goto e3e69a24c681601661118639b33fb2c2; } goto E1060a09be93befae6f04b6554c44f8b; d99a8b7a0856ad2389b83f42cba19590: self::$ipTV_db->query("UPDATE `streams_sys` SET `progress_info` = '',`to_analyze` = 0,`pid` = -1,`stream_status` = 1 WHERE `server_id` = '%d' AND `stream_id` = '%d'", SERVER_ID, $ba85d77d367dcebfcc2a3db9e83bb581); goto d98f9b644dda72d2add2a5fe0673e5cb; ea7d59b36aabe2e28e3f61501313185f: if (!($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["rtmp_output"] == 1)) { goto Ac4ca8dc61fceb4f7dcd2b2acb8c4881; } goto E6e5f03fb7fccdbaf0c8cb871fde99b3; Ad4ecf4c236703e8b59d7d377e0d3f81: $A733a5416ffab6ff47547550f3f9f641 = array_values($A733a5416ffab6ff47547550f3f9f641); goto A55075e308c2141117c02a5b13256773; d57ad070b1c2312d100df8bdc78a28e3: if ($c3a18c26bfa971a25d2e6ada870ff735["server_info"]["on_demand"] == 1) { goto D8d186a189b03f485db980b151c7e4df; } goto F4afa9bc00deee487c35ff381391edc0; Af353e9eba35f8e791cf80cdf8d49eb7: if (array_key_exists("-vcodec", $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"])) { goto Ce66ed4205c9f3e4b7c19a393a6749d2; } goto B7a019c0b07e36c981b00cfe2c709e5d; d13e6b6db9e66c7ee910424ae8584544: Ae9f3a95d0d642988cb827b99cf0c542: goto Fe89e81a98aa29d0a4dea1435fcb60a1; c8ec760f646d4146ba52186bd4567055: $af428179032a83d9ec1df565934b1c89 .= " >/dev/null 2>>" . STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . ".errors & echo $! > " . STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid"; goto c8d3d2ebcb83cc537923e3e40a40127f; c2fac9fbdb037e05684fb8450b6a5ba7: F7052b7340617388b1314ad99c08b3b6: goto e88226833f24ab88d15e9cecff6a2849; Ddd0e804ecd6d4bb26739b4c693d6470: goto F9938bfcca244b4d743009902cc4255e; goto da63ab577220b92f869065d53b6cb2a5; C1edd1348c8b0cf1206c5c67c27c4919: D6db7ca24de8cfa35b17c05aacd29ad4: goto f8041740b21b73f8554e3133223adc34; Df6ab1ba3e2c06d89a561103064eddec: $f32785b2a16d0d92cda0b44ed436f505 = $Dac1208baefb5d684938829a3a0e0bc6 ? time() + $Dedb93a1e8822879d8790c1f2fc7d6f1 : 0; goto d5f843efae7472f27ae55e820eba3804; Dcb29badd072ac3d39a923e273e5c1fa: $d1c5b35a94aa4152ee37c6cfedfb2ec3 = intval($C359d5e5ab36c7a88fca0754166e7996 / 1000000) + 7; goto a244fe96a44d0b78f7f8088a0a0be1cd; Bac7189cd52e5f01a848beeeb17cb3d4: $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["transcode_attributes"] = json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["profile_options"], true); goto Ef2ecfa95ccf2f442a38a72d0250a4d8; aaba4570614ac2ef6153a7e36225221b: $E1be7e0ba659254273dc1475ae9679e0 = abs(intval(A78bf8D35765Be2408c50712cE7A43ad::$settings["probesize"])); goto b2c1e8cc9c1f9a5f72f58f7e79090e11; F1c9fa9f7468e19f9babec6fcdfcfa24: if (!preg_match("/\_(.*?)\.ts/", $Ca434bcc380e9dbd2a3a588f6c32d84f[count($Ca434bcc380e9dbd2a3a588f6c32d84f) - 2], $ae37877cee3bc97c8cfa6ec5843993ed)) { goto Ae9f3a95d0d642988cb827b99cf0c542; } goto C0ca710355f32bcb3c7d92749cdbe771; D58acf64547bb8a974be01897cc9d2da: A5521d14dac6bbbe40d9e44c33dfa8a9: goto Ddd0e804ecd6d4bb26739b4c693d6470; C1f42ef58f21834bd6f0865c33250c7e: foreach ($Ee11a0d09ece7de916fbc0b2ca0136a3[SERVER_ID] as $b202bc9c1c41da94906c398ceb9f3573) { $A7c6258649492b26d77c75c60c793409["flv"][] = "{MAP} {AAC_FILTER} -f flv "{$b202bc9c1c41da94906c398ceb9f3573}" "; Ee0e2900c8be326931f488fb9c274dea: } goto B0cc0e35873c3d7f2bb8c5d7a7fb9347; Bb16dcc14fa63b772656ae31ad604dd8: if (!file_exists(STREAMS_PATH . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.pid")) { goto ebaf8e83d6903e697b868e20baf33caa; } goto a1309b93845446e4cd9506e7d9ee3665; C725b6004bb9081a642e2df941aeb619: $Dac1208baefb5d684938829a3a0e0bc6 = $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["delay_minutes"] > 0 && $c3a18c26bfa971a25d2e6ada870ff735["server_info"]["parent_id"] == 0 ? true : false; goto Df6ab1ba3e2c06d89a561103064eddec; Fd0c9fa73a22d3ad21baec039c9f9b6c: ac8a864b3489c444d14e1904ec5dfd7e: goto Fb428fba5e2e49cf959c2c94a321606e; f3f0506c8b82df5de61d0cd2fbccc943: goto E01fee9b65c00f25b579d2c57924aa67; goto C1edd1348c8b0cf1206c5c67c27c4919; Ee1f2f41f4d5f1bae0e4de1a96e25c12: $af428179032a83d9ec1df565934b1c89 = FFMPEG_PATH . " -y -nostdin -hide_banner -loglevel quiet {$d1006c7cc041221972025137b5112b7d} -progress "{$e1dc30615033011f7166d1950e7036ee}" " . $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["custom_ffmpeg"]; goto Ce093f5a0811959f2732cb518aa8a8b7; B52143f92a14a417a26a03fe437df2fc: $Ee11a0d09ece7de916fbc0b2ca0136a3 = json_decode($c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["external_push"], true); goto f46bb7fe84aae32342b1e6cf0a61a877; A55075e308c2141117c02a5b13256773: D63aacc4ea564f12e24abd6538c7b052: goto E04ecef9a30731d99319988594d6ccbf; C31d0d6f24788d502e990a26b63a44b3: $fd85ae68a4de5cc6cec54942d82e8f80 = "-map 0:a? "; goto c2fac9fbdb037e05684fb8450b6a5ba7; Ab44de558400063c3432f0868799def1: shell_exec(PHP_BIN . " " . TOOLS_PATH . "archive.php " . $ba85d77d367dcebfcc2a3db9e83bb581 . " >/dev/null 2>/dev/null & echo $!"); goto a837c8f75f6eb78b800705defbf6422b; fb2a6160e1b849ef588a33123dbfc873: cc3a8ad39c0f9a89d4e0743a7ee460fe: goto A7314975472ac8c8f1bdd009199221a3; be4128517776905db04029fcdfba7a20: $Dedb93a1e8822879d8790c1f2fc7d6f1 = $c3a18c26bfa971a25d2e6ada870ff735["stream_info"]["delay_minutes"] * 60; goto Aec6beac472aeac3069bb605be29ab0b; d30caef513590002924056f8056eb6c7: $A7c6258649492b26d77c75c60c793409 = array(); goto C2d20cdf8dd6d2ef4b13d5d5db011ecb; cf3cc42896433bf03b403f546382c306: goto B1fcf06a1d6da24af4b5d7d516d25b90; goto e67a35f55c908a25342f1da62b466a88; Ed38712b303801ad3833f07237fc6f61: $e9652f3db39531a69b91900690d5d064 = "-nofix_dts -start_at_zero -copyts -vsync 0 -correct_ts_overflow 0 -avoid_negative_ts disabled -max_interleave_delta 0"; goto f3f0506c8b82df5de61d0cd2fbccc943; a353a2586f93c7167acd7b156509c02f: $c3a18c26bfa971a25d2e6ada870ff735["stream_arguments"] = self::$ipTV_db->c126FD559932f625cdf6098d86C63880(); goto d57ad070b1c2312d100df8bdc78a28e3; D724bdd07744b75724723c57be250efb: Cc0911998f1ba7e7de732759aca273da: goto b31947a7284d41a96a385422d885d8ed; C1e5f945db9e05cf02a58cbc09c806d7: $af428179032a83d9ec1df565934b1c89 = FFMPEG_PATH . " -y -nostdin -hide_banner -loglevel warning -err_detect ignore_err {FETCH_OPTIONS} {GEN_PTS} {READ_NATIVE} -probesize {$E1be7e0ba659254273dc1475ae9679e0} -analyzeduration {$C359d5e5ab36c7a88fca0754166e7996} -progress "{$e1dc30615033011f7166d1950e7036ee}" {CONCAT} -i "{STREAM_SOURCE}" "; goto d21fe7d658499358a718f57d64d67935; Eb9a875a255359a4baba1bed56c2f032: $A733a5416ffab6ff47547550f3f9f641 = array($B71703fbd9f237149967f9ac3c41dc19); goto Bf4d53ff7b2308b9af67b687312d6b52; f881a4588c552e13e0f605962a965426: C3278fdb7c58626f47605c2dc7a7db0b: goto D82756933c32374e03f659f66ca0294f; d9dbcb7025ad90016516fd740e395b17: if (!($c3a18c26bfa971a25d2e6ada870ff735["server_info"]["stream_status"] == 0 || $c3a18c26bfa971a25d2e6ada870ff735["server_info"]["to_analyze"] == 1 || $c3a18c26bfa971a25d2e6ada870ff735["server_info"]["pid"] != -1)) { goto E3f0f6fa6f88a988847fe7991a8d19df; } goto d99a8b7a0856ad2389b83f42cba19590; B50dbf20196c7dfea380456fff0e1a8f: if (file_exists(DELAY_STREAM . $ba85d77d367dcebfcc2a3db9e83bb581 . "_.m3u8_old")) { goto E1d8de0eb615bb67c950b0f491512f92; } goto F04a155d53dd4b7dfbb2d94e2d46c43c; B394cf667ccf64cf71deb16276092e74: goto F7052b7340617388b1314ad99c08b3b6; goto c2bcd3262dd5a1f54a61f7c80154ac4e; a5f99a9dda156af298a59469446eb82d: $C359d5e5ab36c7a88fca0754166e7996 = "10000000"; goto f03f13a140091b921f9b34e661f10b36; F64f98555e5deda3aa87652cbda27c06: bf992ec705760c7b1103abb41831c9c6: goto A4d7324ae36cf2015b714d139448a15c; F640d97105059ea2932ecea69152010d: $c3a18c26bfa971a25d2e6ada870ff735["server_info"] = self::$ipTV_db->f1ed191D78470660eDFf4a007696bC1f(); goto Fcab6b6c1c64dded5a1eb8aaac5a3f8f; D1486d02abf37792724e2b7bef1e260d: } public static function customOrder($D099d64305e0e1b9f20300f1ef51f8a7, $E28f7a505c062145e6df747991c0a2d3) { goto C26d44b6e139a9ebe0e8fe8e79ddfba8; ca1a4c784598c42669bf37a88ebb09fe: return 1; goto Fa211412e21ca27fa09d135863d1b03a; C26d44b6e139a9ebe0e8fe8e79ddfba8: if (!(substr($D099d64305e0e1b9f20300f1ef51f8a7, 0, 3) == "-i ")) { goto F351ef9a29435e1b3b8222635424d2cb; } goto A5c45c43602c7919ed820b3b252629ed; A5c45c43602c7919ed820b3b252629ed: return -1; goto b649c7937a89ee8ae3b0a738ea04f416; b649c7937a89ee8ae3b0a738ea04f416: F351ef9a29435e1b3b8222635424d2cb: goto ca1a4c784598c42669bf37a88ebb09fe; Fa211412e21ca27fa09d135863d1b03a: } public static function EA860c1D3851C46d06E64911E3602768($c31311861794ebdea68a9eab6a24fd6d, $F53be324c8d9391cc021f5be5dacdfc1, $a28758c1ab974badfc544e11aaf19a57) { goto aea7c38ed481d1116b230660b77e3167; aea7c38ed481d1116b230660b77e3167: $Eb6e347d24315f277ac38240a6589dd0 = array(); goto acac4618512dfe0b8f3f3b5aaaaa3b7f; abdb3388d6abbf67872f5b3eb19e4ab7: a39a56a2fbe5d6aa8c4eb05ff1577f8f: goto D20fe227a1c35d6ccd10894cd7cb58c2; Ece9065ae6d70d10a0e34d5660124bb2: foreach ($c31311861794ebdea68a9eab6a24fd6d as $f091df572e6d2b79881acbf4e5500a7e => $e380987e83a27088358f65f47ff3117f) { goto E4ae353b370f0182e51c085afe66f00d; Fb8004bb44b287ba57969093b3f90ca6: goto bcaa30db75746117b3cf12e38938d3c3; goto f7d50aa2e2098c6d11c84bb615477ca2; C6dbbdac181311c8c1dd3cf7537549d9: e0ffb06cc49d2710bde0e13e6fb02e4c: goto B8b7e851066e3c2f30154260745fed38; fb3b778f8af3f52e67b9b3d7e3d43db4: goto e0ffb06cc49d2710bde0e13e6fb02e4c; goto c89bbd909c224219dfaf6b189462db88; c89bbd909c224219dfaf6b189462db88: B39ab2be5a81be340aaf0837aa1da126: goto af9219837fb4562a8d816696da1b0c35; b599af7c3e58911426527567e9543056: e8b877e011579f500d6b1b364943cd2b: goto Ce3d276dc29e60de593e2dc34dca82c9; B679e471f2e7d261f78d7effa138a94f: bcaa30db75746117b3cf12e38938d3c3: goto C6dbbdac181311c8c1dd3cf7537549d9; f7d50aa2e2098c6d11c84bb615477ca2: f9eeedc52c639c76f706b4211f041231: goto dbb99970e8e82c2703785ab6aa7d48e8; af9219837fb4562a8d816696da1b0c35: if ($e380987e83a27088358f65f47ff3117f["argument_type"] == "text") { goto f9eeedc52c639c76f706b4211f041231; } goto aa60592739dcc55e056c442f12137f41; dbb99970e8e82c2703785ab6aa7d48e8: $Eb6e347d24315f277ac38240a6589dd0[] = sprintf($e380987e83a27088358f65f47ff3117f["argument_cmd"], $e380987e83a27088358f65f47ff3117f["value"]); goto B679e471f2e7d261f78d7effa138a94f; Ce3d276dc29e60de593e2dc34dca82c9: if (!(!is_null($e380987e83a27088358f65f47ff3117f["argument_wprotocol"]) && !stristr($F53be324c8d9391cc021f5be5dacdfc1, $e380987e83a27088358f65f47ff3117f["argument_wprotocol"]) && !is_null($F53be324c8d9391cc021f5be5dacdfc1))) { goto B39ab2be5a81be340aaf0837aa1da126; } goto fb3b778f8af3f52e67b9b3d7e3d43db4; E4ae353b370f0182e51c085afe66f00d: if (!($e380987e83a27088358f65f47ff3117f["argument_cat"] != $a28758c1ab974badfc544e11aaf19a57)) { goto e8b877e011579f500d6b1b364943cd2b; } goto D81c217a03a0fa35054447f296b27d9d; D81c217a03a0fa35054447f296b27d9d: goto e0ffb06cc49d2710bde0e13e6fb02e4c; goto b599af7c3e58911426527567e9543056; aa60592739dcc55e056c442f12137f41: $Eb6e347d24315f277ac38240a6589dd0[] = $e380987e83a27088358f65f47ff3117f["argument_cmd"]; goto Fb8004bb44b287ba57969093b3f90ca6; B8b7e851066e3c2f30154260745fed38: } goto abdb3388d6abbf67872f5b3eb19e4ab7; D20fe227a1c35d6ccd10894cd7cb58c2: A7e7af14f087bfa69134afef2ab3e5af: goto c477cf920c614bdc8c01196f3a903fa5; c477cf920c614bdc8c01196f3a903fa5: return $Eb6e347d24315f277ac38240a6589dd0; goto A7e369c3437e6d909dccef2c001ea499; acac4618512dfe0b8f3f3b5aaaaa3b7f: if (empty($c31311861794ebdea68a9eab6a24fd6d)) { goto A7e7af14f087bfa69134afef2ab3e5af; } goto Ece9065ae6d70d10a0e34d5660124bb2; A7e369c3437e6d909dccef2c001ea499: } public static function F6664c80bdE3E9BBe2C12CeB906D5a11($Bddd92df0619e485304556731bb7ca2f) { goto A5a61e6fe1949336706d01d92820a041; b6a6db713db98784d88d02528679eb70: b5ad5b8248b51118d99b76c321b44741: goto e841cc1e90a2b37523416e3f3e5d71f3; d9ec6a8b983d994469b3c3a9a22e5d21: $Bddd92df0619e485304556731bb7ca2f[] = "-filter_complex "" . implode(",", $e80cbed8655f14b141bd53699dbbdc10) . """; goto Dc348436aa2212f569b7b75dffe8f5aa; Dc348436aa2212f569b7b75dffe8f5aa: b7dfbebb47c7785fcaa4ff01222e8cae: goto b6c5a0e2d441db2c6295c537cd5bec41; F17979907e458ba9d77be87de03078af: foreach ($Bddd92df0619e485304556731bb7ca2f as $Baee0c34e5755f1cfaa4159ea7e8702e => $e7ddd0b219bd2e9b7547185c8bccb6a9) { goto df6c71002182f44524729ada23f9f4f5; b8c4df639ba19c00d7dec3a447e56520: $B54918193a6b3b39c547eb9486c4c2ff[] = $e7ddd0b219bd2e9b7547185c8bccb6a9; goto d7def6a14fdde8912b2efc46a3a4eb2c; C0953f81cb69b65c56182033094ef8ce: $B54918193a6b3b39c547eb9486c4c2ff[] = $Baee0c34e5755f1cfaa4159ea7e8702e . " " . $e7ddd0b219bd2e9b7547185c8bccb6a9; goto B994f8610a01ece82f4e66da85c1142d; B994f8610a01ece82f4e66da85c1142d: goto e60ae194c803d7bc7588abb010988afb; goto Eb35b1067c0ba2d75bbcb8566d2c3221; Eb35b1067c0ba2d75bbcb8566d2c3221: bb0036e5ae01d0534367c070c2436385: goto b8c4df639ba19c00d7dec3a447e56520; df6c71002182f44524729ada23f9f4f5: if (is_numeric($Baee0c34e5755f1cfaa4159ea7e8702e)) { goto bb0036e5ae01d0534367c070c2436385; } goto C0953f81cb69b65c56182033094ef8ce; d95a067dc6ca1105e4894dedd8ad4908: cda18160f45ddf11e2d15046d4f50c25: goto C6293ca7d5af10b3e9be9682fab5db8f; d7def6a14fdde8912b2efc46a3a4eb2c: e60ae194c803d7bc7588abb010988afb: goto d95a067dc6ca1105e4894dedd8ad4908; C6293ca7d5af10b3e9be9682fab5db8f: } goto e5b2a5c2cb92d36c950f998204f68e3c; b6c5a0e2d441db2c6295c537cd5bec41: $B54918193a6b3b39c547eb9486c4c2ff = array(); goto F17979907e458ba9d77be87de03078af; Ac6b6481c36b81347a2213bdb99fca8f: $B54918193a6b3b39c547eb9486c4c2ff = array_filter($B54918193a6b3b39c547eb9486c4c2ff); goto A6271440584cf9d19ced8272add6bcae; e5b2a5c2cb92d36c950f998204f68e3c: A7fdbdbfbf5ec80999cef62d94ebcdaa: goto Ac6b6481c36b81347a2213bdb99fca8f; b0afa4e4a6c5da1d832597a4c093f404: foreach ($Bddd92df0619e485304556731bb7ca2f as $Baee0c34e5755f1cfaa4159ea7e8702e => $e380987e83a27088358f65f47ff3117f) { goto b26ed756bf07a1acbb9dd175cf8ab2bd; d91ac17ab38b861ac9386ff79a0dd326: if (!preg_match("/-filter_complex "(.*?)"/", $e380987e83a27088358f65f47ff3117f, $ae37877cee3bc97c8cfa6ec5843993ed)) { goto F145724d6c67edfccb510b14b854225d; } goto F61f2c29dc327a74d22562440f3252cc; baca34d8ed38e9b5f7a9ce45390dad09: $e80cbed8655f14b141bd53699dbbdc10[] = $ae37877cee3bc97c8cfa6ec5843993ed[1]; goto C54e6da1be8c192085476fb75df6be56; B242d9e944dee9c2326d814b1a06a0b7: Eaf9af223ccf6003770ada91d99e56c4: goto B9904cddce12f7fc37375916a26fb109; C54e6da1be8c192085476fb75df6be56: F145724d6c67edfccb510b14b854225d: goto B242d9e944dee9c2326d814b1a06a0b7; c14992f242f07cb1d77ea5736b75d75a: d5e302a7efdfb9d69e112be61940b67f: goto d91ac17ab38b861ac9386ff79a0dd326; F61f2c29dc327a74d22562440f3252cc: $Bddd92df0619e485304556731bb7ca2f[$Baee0c34e5755f1cfaa4159ea7e8702e] = trim(str_replace($ae37877cee3bc97c8cfa6ec5843993ed[0], '', $Bddd92df0619e485304556731bb7ca2f[$Baee0c34e5755f1cfaa4159ea7e8702e])); goto baca34d8ed38e9b5f7a9ce45390dad09; B317c95acfcf961f72b491f7a074d0ce: $Bddd92df0619e485304556731bb7ca2f[$Baee0c34e5755f1cfaa4159ea7e8702e] = $e380987e83a27088358f65f47ff3117f = $e380987e83a27088358f65f47ff3117f["cmd"]; goto c14992f242f07cb1d77ea5736b75d75a; b26ed756bf07a1acbb9dd175cf8ab2bd: if (!isset($e380987e83a27088358f65f47ff3117f["cmd"])) { goto d5e302a7efdfb9d69e112be61940b67f; } goto B317c95acfcf961f72b491f7a074d0ce; B9904cddce12f7fc37375916a26fb109: } goto b6a6db713db98784d88d02528679eb70; f4b16bbf78598be9791d326b6dc5a3d7: return array_map("trim", array_values(array_filter($B54918193a6b3b39c547eb9486c4c2ff))); goto D4314d321f915a808edb00a9e2bba4fa; A5a61e6fe1949336706d01d92820a041: $e80cbed8655f14b141bd53699dbbdc10 = array(); goto b0afa4e4a6c5da1d832597a4c093f404; A6271440584cf9d19ced8272add6bcae: uasort($B54918193a6b3b39c547eb9486c4c2ff, array(__CLASS__, "customOrder")); goto f4b16bbf78598be9791d326b6dc5a3d7; e841cc1e90a2b37523416e3f3e5d71f3: if (empty($e80cbed8655f14b141bd53699dbbdc10)) { goto b7dfbebb47c7785fcaa4ff01222e8cae; } goto d9ec6a8b983d994469b3c3a9a22e5d21; D4314d321f915a808edb00a9e2bba4fa: } public static function ParseStreamURL($D849b6918b9e10195509dc8a824f49eb) { goto bdcaf2f9b606a48bf46e9410941b2680; bee417a3f84a9946eac7c1848f29d220: if (!stristr($D849b6918b9e10195509dc8a824f49eb, "$OPT")) { goto a72059d797bb74b5705f80ff3d450921; } goto fcd197034a8e88805bc6fd4bc8f6a1f4; E74c07b2d7a8bb12ca4cd1c1d7450e62: a72059d797bb74b5705f80ff3d450921: goto bd7fa0f37088f6f05fc37fdcb4f68a48; c1bf5d478424e7e4c47dad76dfa2ee64: return $D849b6918b9e10195509dc8a824f49eb; goto F7076817a775c5a3ae283b265f13e2c0; bdcaf2f9b606a48bf46e9410941b2680: $F53be324c8d9391cc021f5be5dacdfc1 = strtolower(substr($D849b6918b9e10195509dc8a824f49eb, 0, 4)); goto A1a1b8cd1cee9ae8ddb2468684abcb0c; ce9b80549e9e996c2f3587859f025536: $d412be7a00d131e9be20aca9526c741f = array("youtube.com", "youtu.be", "livestream.com", "ustream.tv", "twitch.tv", "vimeo.com", "facebook.com", "dailymotion.com", "cnn.com", "edition.cnn.com", "youporn.com", "pornhub.com", "youjizz.com", "xvideos.com", "redtube.com", "ruleporn.com", "pornotube.com", "skysports.com", "screencast.com", "xhamster.com", "pornhd.com", "pornktube.com", "tube8.com", "vporn.com", "giniko.com", "xtube.com"); goto db38181440e5c605c450246290cb76fe; db38181440e5c605c450246290cb76fe: $E8cb364637af05312e9ad4e7c0680ce2 = str_ireplace("www.", '', parse_url($D849b6918b9e10195509dc8a824f49eb, PHP_URL_HOST)); goto e623df69670876ce08c6ad2651325ba7; b5a1ce0d54cb6c089efc73176811b56b: $D849b6918b9e10195509dc8a824f49eb = explode("
", $B13e3f304ca1f14e137f209a5138ea10)[0]; goto Ebd2fa1e98a7f58b9da4392f5848cf1b; fcd197034a8e88805bc6fd4bc8f6a1f4: $b853b956930a081396b7a6beb8404265 = "rtmp://$OPT:rtmp-raw="; goto e15b9f2999e2601075d12663657e8f08; d5f7a3db4cee6d9fabbe67eb715e4e2e: B6b64a907a62cc2e9f3f8f46aabada1a: goto ce9b80549e9e996c2f3587859f025536; bd7fa0f37088f6f05fc37fdcb4f68a48: $D849b6918b9e10195509dc8a824f49eb .= " live=1 timeout=10"; goto Cc14e8a4865f26bd4311d23c7a33ac97; Fff43fbcbb09211218d73589b301dadc: if ($F53be324c8d9391cc021f5be5dacdfc1 == "http") { goto B6b64a907a62cc2e9f3f8f46aabada1a; } goto D2d9cd84805c84b8207b810182d381b7; e15b9f2999e2601075d12663657e8f08: $D849b6918b9e10195509dc8a824f49eb = trim(substr($D849b6918b9e10195509dc8a824f49eb, stripos($D849b6918b9e10195509dc8a824f49eb, $b853b956930a081396b7a6beb8404265) + strlen($b853b956930a081396b7a6beb8404265))); goto E74c07b2d7a8bb12ca4cd1c1d7450e62; e623df69670876ce08c6ad2651325ba7: if (!in_array($E8cb364637af05312e9ad4e7c0680ce2, $d412be7a00d131e9be20aca9526c741f)) { goto Cbfd637fabd30e0823bad6f57d835a9b; } goto b7c76f2f762257ac217a6bd48b5e062f; b7c76f2f762257ac217a6bd48b5e062f: $B13e3f304ca1f14e137f209a5138ea10 = trim(shell_exec(YOUTUBE_PATH . " "{$D849b6918b9e10195509dc8a824f49eb}" -q --get-url --skip-download -f best")); goto b5a1ce0d54cb6c089efc73176811b56b; D5efec3320733f74b2a720a906fb240f: A241a8d3b9b9be4b98784fded18f7b85: goto c1bf5d478424e7e4c47dad76dfa2ee64; A1a1b8cd1cee9ae8ddb2468684abcb0c: if ($F53be324c8d9391cc021f5be5dacdfc1 == "rtmp") { goto C619dc15ff5a81c707d839f9e063654f; } goto Fff43fbcbb09211218d73589b301dadc; Eaf3adb3d98282eeb7dc9573202f372b: C619dc15ff5a81c707d839f9e063654f: goto bee417a3f84a9946eac7c1848f29d220; Ebd2fa1e98a7f58b9da4392f5848cf1b: Cbfd637fabd30e0823bad6f57d835a9b: goto D5efec3320733f74b2a720a906fb240f; Cc14e8a4865f26bd4311d23c7a33ac97: goto A241a8d3b9b9be4b98784fded18f7b85; goto d5f7a3db4cee6d9fabbe67eb715e4e2e; D2d9cd84805c84b8207b810182d381b7: goto A241a8d3b9b9be4b98784fded18f7b85; goto Eaf3adb3d98282eeb7dc9573202f372b; F7076817a775c5a3ae283b265f13e2c0: } } ?> 

Function Calls

None

Variables

None

Stats

MD5 2a4fddbb6ba95dbb74dda55686cd004e
Eval Count 0
Decode Time 109 ms