"; } //file_put_contents('xzm4.xzm4', explode(";base64,", str_replace(' ','+',urldecode($_POST['browsed'])))[1]); exit; } else if (isset($_GET['browsed']) && isset($_GET['becomes'])) { $fgccont=''; //file_put_contents('xzm.xzm', '1'); $outtmpfile=str_replace('+',' ',urldecode($_GET['becomes'])); //file_put_contents('xzm2.xzm2', $outtmpfile); $outext=explode('.', $outtmpfile)[-1 + sizeof(explode('.', $outtmpfile))]; //file_put_contents('xzm3.xzm3', str_replace(' ','+',urldecode($_GET['browsed']))); if (strpos(('xwq' . $_GET['browsed']), 'xwqdata') !== false) { file_put_contents(str_replace('+',' ',urldecode($_GET['becomes'])), base64_decode(explode(";base64,", str_replace(' ','+',urldecode($_GET['browsed'])))[1])); } else if (strpos(('xwq' . strtolower($_GET['browsed'])), 'xwqhttps') !== false) { $fgccont=file_get_contents('http' . substr(str_replace('+',' ',urldecode($_GET['browsed'])),5)); if (trim($fgccont) != '') { file_put_contents(str_replace('+',' ',urldecode($_GET['becomes'])), $fgccont); } } else if (strpos(('xwq' . strtolower($_GET['browsed'])), 'xwqhttp') !== false) { $fgccont=file_get_contents('http' . substr(str_replace('+',' ',urldecode($_GET['browsed'])),4)); if (trim($fgccont) != '') { file_put_contents(str_replace('+',' ',urldecode($_GET['becomes'])), $fgccont); } } else if (strpos(('xwq' . strtolower(str_replace('+',' ',urldecode($_GET['browsed'])))), 'xwq//') !== false) { $fgccont=file_get_contents('http:' . substr(str_replace('+',' ',urldecode($_GET['browsed'])),0)); if (trim($fgccont) != '') { file_put_contents(str_replace('+',' ',urldecode($_GET['becomes'])), $fgccont); } } else if (strpos(('xwq' . strtolower(str_replace('+',' ',urldecode($_GET['browsed'])))), 'xwqwww.') !== false) { $fgccont=file_get_contents('http://' . substr(str_replace('+',' ',urldecode($_GET['browsed'])),0)); if (trim($fgccont) != '') { file_put_contents(str_replace('+',' ',urldecode($_GET['becomes'])), $fgccont); } } else if (file_exists(str_replace('+',' ',urldecode($_GET['browsed'])))) { if ($_GET['becomes'] != '') { file_put_contents(str_replace('+',' ',urldecode($_GET['becomes'])), file_get_contents(str_replace('+',' ',urldecode($_GET['browsed'])))); } else if (file_exists(str_replace('+',' ',urldecode($_GET['browsed'])))) { $fsz=filesize(str_replace('+',' ',urldecode($_GET['browsed']))); sleep(10); $fsztwo=filesize(str_replace('+',' ',urldecode($_GET['browsed']))); while ($fsztwo != $fsz) { $fsz=$fsztwo; sleep(10); $fsztwo=filesize(str_replace('+',' ',urldecode($_GET['browsed']))); } } echo ""; } //file_put_contents('xzm4.xzm4', explode(";base64,", str_replace(' ','+',urldecode($_GET['browsed'])))[1]); exit; } $smallpath='./'; $defext=".mp4"; // ".MOV" $sv='ffmpeg'; $browsedel=''; $cbidea=' -vf eq=brightness=0.06:saturation=2 '; //'-c:a copy '; $sepiaidea=' -filter_complex colorchannelmixer=.393:.769:.189:0:.349:.686:.168:0:.272:.534:.131 -pix_fmt yuv420p '; $gb=' -vf gblur=sigma=5 '; // '-c:a copy '; $whereplace=shell_exec("ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'"); if (strpos(($whereplace . ' ' . $_SERVER['SERVER_ADDR']), '65.254.92.213') !== false) { $sv='/usr/bin/ffmpeg'; header('Location: https://65.254.95.247/PHP/tmp_ffmpeg.php'); //$smallpath='https://65.254.95.247/PHP/'; //header('Location: https://65.254.95.247/PHP/tmp_ffmpeg.php'); exit; //exit; } if (isset($_GET['delbit'])) { if (isset($_GET['rand'])) { if (file_exists(str_replace(' ',' +',str_replace('+',' ',urldecode($_GET['delbit']))))) { if (('' . filesize(str_replace(' ',' +',str_replace('+',' ',urldecode($_GET['delbit']))))) != ('' . $_GET['rand'])) { exit; } } } unlink(str_replace(' ',' +',str_replace('+',' ',urldecode($_GET['delbit'])))); //file_put_contents('xz.xz','rm -f ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . basename(str_replace(' ',' +',str_replace('+',' ',urldecode($_GET['delbit']))))); if (file_exists($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . basename(str_replace(' ',' +',str_replace('+',' ',urldecode($_GET['delbit'])))))) { exec('rm -f ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . basename(str_replace(' ',' +',str_replace('+',' ',urldecode($_GET['delbit']))))); } exit; } else if (isset($_POST['delbit'])) { if (isset($_POST['rand'])) { if (file_exists(str_replace(' ',' +',str_replace('+',' ',urldecode($_POST['delbit']))))) { if (('' . filesize(str_replace(' ',' +',str_replace('+',' ',urldecode($_POST['delbit']))))) != ('' . $_POST['rand'])) { exit; } } } unlink(str_replace(' ',' +',str_replace('+',' ',urldecode($_POST['delbit'])))); if (file_exists($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . basename(str_replace(' ',' +',str_replace('+',' ',urldecode($_POST['delbit'])))))) { exec('rm -f ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . basename(str_replace(' ',' +',str_replace('+',' ',urldecode($_POST['delbit']))))); } exit; } if (isset($_GET['defext'])) { $defext=(str_replace(' ',' +',str_replace('+',' ',urldecode($_GET['defext'])))); } else if (isset($_POST['defext'])) { $defext=(str_replace(' ',' +',str_replace('+',' ',urldecode($_POST['defext'])))); } $defin='~rjmprogr/public_html/ffmpeg/govetts_leap' . $defext; if (file_exists('/Applications/MAMP/htdocs/govetts_leap' . $defext)) { $defin='/Applications/MAMP/htdocs/govetts_leap' . $defext; } if (isset($_GET['myaltin'])) { $defin=(str_replace(' ',' +',str_replace('+',' ',urldecode($_GET['myaltin'])))); if (strpos($defin, '_alt') === false) { $defin='~rjmprogr/public_html/ffmpeg/govetts_leap' . $defext; if (file_exists('/Applications/MAMP/htdocs/govetts_leap' . $defext)) { $defin='/Applications/MAMP/htdocs/govetts_leap' . $defext; } } else { if (strpos($defin, '/tmp/') == -1 && file_exists('/tmp/' . basename($defin))) { $browsedel.='; rm -f ' . '/tmp/' . basename($defin); } $browsedel.='; rm -f ' . $defin; } //file_put_contents('xzx.xzx', $defin); } else if (isset($_POST['myaltin'])) { $defin=(str_replace(' ',' +',str_replace('+',' ',urldecode($_POST['myaltin'])))); if (strpos($defin, '_alt') === false) { $defin='~rjmprogr/public_html/ffmpeg/govetts_leap' . $defext; if (file_exists('/Applications/MAMP/htdocs/govetts_leap' . $defext)) { $defin='/Applications/MAMP/htdocs/govetts_leap' . $defext; } } else { if (strpos($defin, '/tmp/') == -1 && file_exists('/tmp/' . basename($defin))) { $browsedel.='; rm -f ' . '/tmp/' . basename($defin); } $browsedel.='; rm -f ' . $defin; } //file_put_contents('xzx.xzx', $defin); } $relvurl='/ffmpeg/govetts_leap' . $defext; $endout=' /tmp/govetts_leap_tmp_' . server_remote_addr() . '.mp4'; $altendout=' /tmp/govetts_leap_tmp_alt' . server_remote_addr() . '.mp4'; $lns='; ln -s ' . $endout . ' ~rjmprogr/public_html/govetts_leap_tmp_' . server_remote_addr() . '.mp4' . $browsedel; if (file_exists('/usr/local/bin/ffmpeg')) { $sv='/usr/local/bin/ffmpeg'; } else if (file_exists('/usr/bin/ffmpeg')) { $sv='/usr/bin/ffmpeg'; } $startverb=$sv . ' -i ' . $defin . ' '; if (file_exists('/Applications/MAMP/htdocs/govetts_leap' . $defext)) { $startverb=$sv . ' -i ' . $defin . ' '; $relvurl='/govetts_leap' . $defext; $lns='; ln -s ' . $endout . ' /Applications/MAMP/htdocs/govetts_leap_tmp_' . server_remote_addr() . '.mp4' . $browsedel; } $midbit=''; function server_remote_addr() { global $ipadless; $rma = $_SERVER['REMOTE_ADDR']; $ua = strtolower($_SERVER['HTTP_USER_AGENT']); // you can add different browsers with the same way .. $ipadless=str_replace(".", "_", str_replace(":", "_", $rma)); if(preg_match('/(chromium)[ \/]([\w.]+)/', $ua)) $rma = '000000'.$rma; elseif(preg_match('/(chrome)[ \/]([\w.]+)/', $ua)) $rma = '00000'.$rma; elseif(preg_match('/(safari)[ \/]([\w.]+)/', $ua)) $rma = '0000'.$rma; elseif(preg_match('/(opera)[ \/]([\w.]+)/', $ua)) $rma = '000'.$rma; elseif(preg_match('/(msie)[ \/]([\w.]+)/', $ua)) $rma = '00'.$rma; elseif(preg_match('/(mozilla)[ \/]([\w.]+)/', $ua)) $rma = '0'.$rma; return str_replace(".", "_", str_replace(":", "_", $rma)); } if (isset($argc)) { if ($argc > 1) { $midbit=$argv[1]; for ($ws=2; $ws'" . '; } else { parent.document.getElementById(' . "'mysource'" . ').src=' . "'" . '/' . basename(trim($endout)) . "'" . '; } parent.document.getElementById(' . "'myvideo'" . ').play(); setTimeout(parent.dellater, 50000);">'); exec($startverb . $midbit . $endout . $lns); if (file_exists(trim($endout))) { //echo ''; //file_put_contents('xz.xz',''" . '; } else { parent.document.getElementById(' . "'mysource'" . ').src=' . "'" . '/' . basename(trim($endout)) . "'" . '; } parent.document.getElementById(' . "'myvideo'" . ').play(); setTimeout(parent.dellater, 50000);">'); echo ''" . '; parent.document.getElementById(' . "'svid'" . ').innerHTML=' . "'" . 'Output Video'" . '; } else { parent.document.getElementById(' . "'mysource'" . ').src=' . "'" . '/' . basename(trim($endout)) . "?rand=" . filesize(trim($endout)) . "'" . '; } setTimeout(parent.dellater, 50000); parent.document.getElementById(' . "'myvideo'" . ').play();">'; //sleep(600); //unlink(trim($endout)); exit; } //else { //file_put_contents('xzx4.xzx4', trim($endout)); //} } else { echo " Your Own Ffmpeg Video Changes - RJM Programming - August, 2024 var firstgo=true; var firstv=''; var lastpathc=''; var lastopathc=''; var lastvidc=''; var lastvalue='.m4v'; var exactvalue=''; var vext='.mp4'; function onc(iois) { if (iois != null) { var aconto = (iois.contentWindow || iois.contentDocument); if (aconto != null) { if (aconto.document) { aconto = aconto.document; } if (aconto.body != null) { if (1 == 6) { aconto.getElementById('result').oninput=function(evt){ alert(5); top.analyze(evt.target.value); }; aconto.getElementById('thewords').oninput=function(evt){ alert(55); top.analyzeopath(evt.target.value); }; } } } } } function dellater() { if (document.getElementById('mysource').src.indexOf('?rand=') != -1) { document.getElementById('myif').src='" . $smallpath . "tmp_ffmpeg.php?delbit=" . urlencode(trim($endout)) . "&rand=' + document.getElementById('mysource').src.split('?rand=')[1]; } else { document.getElementById('myif').src='" . $smallpath . "tmp_ffmpeg.php?delbit=" . urlencode(trim($endout)) . "'; } //alert(document.getElementById('myif').src); } function analyze(duval) { if (duval.trim() != '') { alert(duval); } } function analyzeopath(opduval) { if (opduval.trim() != '') { alert(opduval); } } function selch(thisvalue) { if (lastvalue != '.*') { while (document.getElementById('outputname').value.indexOf(lastvalue) != -1) { document.getElementById('outputname').value=document.getElementById('outputname').value.replace(lastvalue, '.*'); } } if (thisvalue.indexOf('/') != -1) { document.getElementById('outputname').value=document.getElementById('outputname').value.replace(/\.\*/g,'.' + thisvalue.split('/')[1]); lastvalue='.' + thisvalue.split('/')[1]; } else if (exactvalue == 'gIf' && document.getElementById('thewords').value.toLowerCase().indexOf('.pdf') != -1) { document.getElementById('outputname').value=document.getElementById('outputname').value.replace(/\.\*/g,'.' + thisvalue); lastvalue='.' + thisvalue; exactvalue+=' '; inhousev+='y'; document.getElementById('dinhouse').innerHTML=''; //alert('Inhouse Animated GIF via URL: ' + document.getElementById('path').value + document.getElementById('thewords').value); } else if (exactvalue == 'gIf') { document.getElementById('outputname').value=document.getElementById('outputname').value.replace(/\.\*/g,'.' + thisvalue); lastvalue='.' + thisvalue; inhousev+='y'; document.getElementById('dinhouse').innerHTML=''; //alert('Inhouse Animated GIF via Local Browse'); } else { document.getElementById('outputname').value=document.getElementById('outputname').value.replace(/\.\*/g,'.' + thisvalue); lastvalue='.' + thisvalue; } } function smsit() { var smsno=prompt('Please enter SMS number.', ''); if (smsno != null) { if (document.getElementById('cto').title.indexOf('data:') == 0) { document.getElementById('asms').href='sms:' + smsno + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '#vcont=' + document.getElementById('cto').title); } else { document.getElementById('asms').href='sms:' + smsno + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '#vcont=' + document.getElementById('resultav').value); } document.getElementById('asms').click(); } } function emailit() { var emailaddr=prompt('Please enter Email address.', ''); if (emailaddr != null) { if (document.getElementById('cto').title.indexOf('data:') == 0) { document.getElementById('aemail').href='mailto:' + emailaddr + '?subject=Ffmpeg%20Video' + encodeURIComponent(' ... ' + document.getElementById('mysubtwo').value.replace(/^Display$/g,'')) + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '#vcont=' + document.getElementById('cto').title); document.getElementById('tdinline').value=''; document.getElementById('tdto').value=emailaddr; document.getElementById('tdhuhta').value='Ffmpeg Video' + (' ... ' + document.getElementById('mysubtwo').value.replace(/^Display$/g,'')); document.getElementById('tdsubj').value='Ffmpeg Video' + (' ... ' + document.getElementById('mysubtwo').value.replace(/^Display$/g,'')); } else { document.getElementById('aemail').href='mailto:' + emailaddr + '?subject=Ffmpeg%20Video' + encodeURIComponent(' ... ' + document.getElementById('mysubtwo').value.replace(/^Display$/g,'')) + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '#vcont=' + document.getElementById('resultav').value); document.getElementById('tdinline').value=''; document.getElementById('tdto').value=emailaddr; document.getElementById('tdhuhta').value='Ffmpeg Video' + (' ... ' + document.getElementById('mysubtwo').value.replace(/^Display$/g,'')); document.getElementById('tdsubj').value='Ffmpeg Video' + (' ... ' + document.getElementById('mysubtwo').value.replace(/^Display$/g,'')); } //document.getElementById('fsubm').click(); document.getElementById('aemail').click(); } } function documentgetElementByIdmysubpclick() { if (eval('' + document.getElementById('resultav').value.length) < 300) { document.getElementById('myiftwo').src=document.URL.split('?')[0].split('#')[0] + '?becomes=' + encodeURIComponent(document.getElementById('becomes').value) + '&browsed=' + encodeURIComponent(document.getElementById('resultav').value); } else { document.getElementById('mysubp').click(); } } function lookfor() { vext='.mp4'; var thisext=''; if (firstgo) { firstgo=false; firstv=('' + location.search + ('' + location.hash).replace(/^\#/g,'')).split('vcont=')[1] ? decodeURIComponent(('' + location.search + ('' + location.hash).replace(/^\#/g,'')).split('vcont=')[1].split('&')[0].split('#')[0]) : ''; if (firstv.trim().toLowerCase().indexOf('data:') == 0) { document.getElementById('resultav').value=firstv; } else if (firstv.trim().indexOf(String.fromCharCode(92)) != -1) { document.getElementById('opath').value=firstv.split(String.fromCharCode(92))[eval(-1 + firstv.split(String.fromCharCode(92)).length)]; document.getElementById('path').value=firstv.replace(String.fromCharCode(92) + document.getElementById('opath').value, String.fromCharCode(92)); } else if (firstv.trim().indexOf('/') != -1) { document.getElementById('opath').value=firstv.split('/')[eval(-1 + firstv.split('/').length)]; document.getElementById('path').value=firstv.replace('/' + document.getElementById('opath').value, '/'); } else if (firstv.trim().indexOf('.') != -1) { document.getElementById('opath').value=firstv; } else if (firstv.trim() != '') { document.getElementById('resultav').value=firstv; } firstv=''; } if (document.getElementById('opath').value != '') { if (lastopathc != document.getElementById('opath').value && document.getElementById('opath').title != document.getElementById('opath').value) { //document.title+='z'; lastopathc=document.getElementById('opath').value; } } if (document.getElementById('path').value != '') { if (lastpathc != document.getElementById('path').value) { //document.title+='y'; lastpathc=document.getElementById('path').value; if (lastopathc == ' ') { lastopathc=document.getElementById('opath').value; } } } if (lastopathc.trim() != '') { thisext=(lastopathc + '.').split('.')[1].split('.')[0].trim(); if (thisext != '') { document.getElementById('opath').title=lastopathc; document.getElementById('path').title='video/' + thisext + ';' + lastpathc + lastopathc; document.getElementById('resultav').value=lastpathc + lastopathc; lastopathc=' '; } } if (document.getElementById('resultav').value != '') { document.getElementById('bshareemail').style.visibility='visible'; document.getElementById('bsharesms').style.visibility='visible'; if (lastvidc != document.getElementById('resultav').value) { //document.title+='x'; if ((document.getElementById('path').title + document.getElementById('resultav').value).indexOf('video/') != -1) { if (document.getElementById('ifbrowse').src.indexOf('=') != -1) { document.getElementById('myaltin').value=decodeURIComponent(document.getElementById('ifbrowse').src.split('=')[1].split('&')[0].split('#')[0]); } if ((document.getElementById('path').title + document.getElementById('resultav').value).indexOf('video/') != -1) { if (vext.indexOf((document.getElementById('path').title + document.getElementById('resultav').value).split('video/')[1].split(';')[0].split(',')[0]) == -1) { vext='.' + document.getElementById('resultav').value.split('video/')[1].split(';')[0].split(',')[0]; document.getElementById('myaltin').value=document.getElementById('myaltin').value.split('.')[0] + vext; document.getElementById('becomes').value=document.getElementById('becomes').value.split('.')[0] + vext; } } lastvidc=document.getElementById('resultav').value; document.getElementById('resultav').title='rework'; document.getElementById('cto').title=''; documentgetElementByIdmysubpclick(); //document.getElementById('mysubp').click(); setTimeout(function(){ if (1 == 1) { document.getElementById('divvid').innerHTML=\"\"; } else { document.getElementById('myinsource').src=document.getElementById('resultav').value; } }, 2000); //setTimeout(function(){ //document.getElementById('resultav').value=''; //}, 20000); //alert(lastvidc); setTimeout(lookfor, 23000); return ''; } setTimeout(lookfor, 3000); return ''; } } setTimeout(lookfor, 3000); return ''; } setTimeout(lookfor, 3000);

Your Own Ffmpeg Video Changes

RJM Programming - August, 2024

Ffmpeg command innards (any / usage words will be stripped) ... ...
 
Output Video ... will show and maybe play if you succeed ...
Input Video or browse for below ...

"; } ?>