
2020-10-24 宇宙三大霹靂 +錢砲/緩速

Just another Vivaldi.net site
Assume to limit the output less than 20 MB.
ffmpeg -i input.mkv -an -ss 00:55 -t 00:10 -pass 1 -passlogfile text.log -codec:v libx264 -x264opts crf=22 output.mp4
20 MiB = 8 * 20 Mib = 8 * 20 * 1024 * 1024 bits = 167772160 bits
bitrate = 167772160 bits / 10 sec = 16777216 bps = (16777216 / 1000) * K bps ~= 16777 K bps
ffmpeg -i input.mkv -an -ss 00:55 -t 00:10 -pass 2 -passlogfile text.log -codec:v libx264 -b:v 16777k output.mp4
Some works to implement bmLet (BookmarkLet) for MarkDown .
javascript:(function(d){var x=d.createElement(‘input’);x.type=’text’;x.value='[‘+d.title+’](‘+d.URL+’)’;d.body.appendChild(x);x.focus();d.execCommand(‘copy’);d.body.removeChild(x);})(document)
javascript:(function(d){var x=d.createElement(‘input’);x.type=’text’;x.value='[‘+d.title+’](‘+d.URL+’)’;d.body.appendChild(x);x.select();x.setSelectionRange(0, 99999);d.execCommand(‘copy’);x.parentNode.removeChild(x);})(document)
javascript:(function(d){var x=d.createElement(‘pre’);x.appendChild(d.createTextNode(‘## [‘+d.title+”]\n(“+d.URL+’)’));d.body.appendChild(x);d.execCommand(‘copy’);d.body.removeChild(x);})(document)
javascript:(function(d){var x=d.createElement(‘textarea’);x.appendChild(d.createTextNode(‘## [‘+d.title+”\n](“+d.URL+’)’));d.body.appendChild(x);x.select();d.execCommand(‘copy’);d.body.removeChild(x);})(document)
javascript:(function(d){var x=d.createElement(‘pre’);x.appendChild(d.createTextNode(‘+ [‘+d.title+”\n](“+d.URL+’)’));d.body.appendChild(x);d.execCommand(‘copy’);d.body.removeChild(x);})(document)
javascript:(function(d){var x=d.createElement(‘textarea’);x.appendChild(d.createTextNode(‘- [‘+d.title+”\n](“+d.URL+’)’));d.body.appendChild(x);x.select();d.execCommand(‘copy’);d.body.removeChild(x);})(document)
It needs simg2img to convert *.img first.
yumf search simg2img
yumf whatprovides simg2img
yum0f install -y android-tools
simg2img VENDOR.img VENDOR.raw
file *raw
mount -t ext4 -o ro,loop VENDOR.raw 0/
ffmpeg -i input1.mkv -i input2.webm -i input3.mov \
-filter_complex '[0:v:0][0:a:0][1:v:0][1:a:0][2:v:0][2:a:0]concat=n=3:v=1:a=1[outv][outa]' \
-map '[outv]' -map '[outa]' output.mp4
ffmpeg \
-i input1.mp4 \
-i input2.mp4 \
-filter_complex '[0:v]pad=iw*2:ih[int];[int][1:v]overlay=W/2:0[vid]' \
-map [vid] \
-c:v libx264 \
-crf 23 \
-preset veryfast \
output.mp4
~~~~
The following free services offer fantastic alternatives to some or all of RawGit’s functionality. You may like them even more than RawGit.
~~~~
https://cdn.rawgit.com/stargazer8tw/samples/fe8d4f5d89aebff0359b7f3ea52e141a1d92dcf5/tongwen_bookmarklet/js/bookmarklet_tw.js
==>
https://cdn.jsdelivr.net/gh/stargazer8tw/samples@fe8d4f5d89aebff0359b7f3ea52e141a1d92dcf5/tongwen_bookmarklet/js/bookmarklet_tw.js
未完,待續。