37,50d36
< $rotateadvice="Rotate a video
<
< Rotate 90 clockwise:
<
< ffmpeg -i in.mov -vf \"transpose=1\" out.mov
< For the transpose parameter you can pass:
<
< 0 = 90CounterCLockwise and Vertical Flip (default)
< 1 = 90Clockwise
< 2 = 90CounterClockwise
< 3 = 90Clockwise and Vertical Flip
<
< Use -vf \"transpose=2,transpose=2\" for 180 degrees.";
<
63,64c49
< //file_put_contents('x7a.x7a', $cmdis . ' ... ' . trim(str_replace('~!@','',str_replace(' -c COPY -',' -c copy -',str_replace('.ass ','.ass-shortest ',str_replace(' -c copy ',' -c copy -shortest ',str_replace(' -c copy -',' -c COPY -',str_replace('\" ~!@','\"-shortest ',str_replace('\" ~!@','\"-shortest ',($precmd[0] . '~!@'))))))))));
< $subcmd=explode('-shortest ', trim(str_replace('~!@','',str_replace(' -c COPY -',' -c copy -',str_replace('.ass ','.ass-shortest ',str_replace(' -c copy ',' -c copy -shortest ',str_replace(' -c copy -',' -c COPY -',str_replace('transpose=3" ','transpose=3"-shortest ',str_replace('transpose=2" ','transpose=2"-shortest ',str_replace('transpose=1" ','transpose=1"-shortest ',str_replace('transpose=0" ','transpose=0"-shortest ',($precmd[0] . ''))))))))))));
---
> $subcmd=explode('-shortest ', trim(str_replace(' -c COPY -',' -c copy -',str_replace('.ass ','.ass-shortest ',str_replace(' -c copy ',' -c copy -shortest ',str_replace(' -c copy -',' -c COPY -',$precmd[0]))))));
91,93d75
< if (strpos($cmdis, '"') !== false) {
< $rs.="
';
< } else {
95d76
< }
897,906d877
< } else if (newv == 'Rotate a video') {
< document.getElementById('moreb').innerHTML=firstdivih;
<
< document.getElementById('precmds').innerHTML=' ';
< document.getElementById('secondi').innerHTML='';
<
< document.getElementById('sswitches').innerHTML='-vf \"transpose=1\" ';
< document.getElementById('sswitches').title='" . str_replace("\n", "' + String.fromCharCode(10) + '",$rotateadvice) . "';
<
< document.getElementById('mysub').value=newv;
949c920
<