Selamat datang ke BelajarBlogs...

How To Render And Export/Save Adobe After Effects CC 2017


To generate output, you can either render your compositions using the After Effects render queue or add your compositions to the Adobe Media Encoder queue with the render settings that you have chosen in the Render Queue panel.

If you don't have Adobe Media Encoder, you need to download Quicktime Software that can get the output Video in mp4 H.264. If you do not download it will not show up in you video option. So Download the latest one that I give the link below.

Download Quicktime 

Firstly when you have finish editing video, click Composition -> Add to Render Queue


At below it will pop out this and then Click Lossless behind the Output Module.
#Output To is where you want to save the video.




After that at Format, you need to choose  Quicktime -> and then click Format Options




At video Codec choose H.264. 


After Finish it clicks Render. And you had saved your video. It really easy.





Snow effect pada mouse cursor area





Bagaimana Untuk Tambah Snow effect pada mouse cursor area 

Langkah 1
1. Login ke BloggerKlik Layout :



2. Pada Elemen Halaman, klik Add Gadget di lokasi yang Anda ingin letak; 
3. Pilih HTML/Javascript;



Langkah 2
Copy kode dibawah ini dan letakkan dalam kontent yang telah anda buka tadi.




# Anda boleh ubah warna pada black dibawah dengan warna yang anda inginkan

<script type="text/javascript">
// <![CDATA[
var colour="black";
var sparkles=100;

var x=ox=400;
var y=oy=300;
var swide=800;
var shigh=600;
var sleft=sdown=0;
var tiny=new Array();
var star=new Array();
var starv=new Array();
var starx=new Array();
var stary=new Array();
var tinyx=new Array();
var tinyy=new Array();
var tinyv=new Array();
window.onload=function() { if (document.getElementById) {
var i, rats, rlef, rdow;
for (var i=0; i<sparkles; i++) {
var rats=createDiv(3, 3);
rats.style.visibility="hidden";
document.body.appendChild(tiny[i]=rats);
starv[i]=0;
tinyv[i]=0;
var rats=createDiv(5, 5);
rats.style.backgroundColor="transparent";
rats.style.visibility="hidden";
var rlef=createDiv(1, 5);
var rdow=createDiv(5, 1);
rats.appendChild(rlef);
rats.appendChild(rdow);
rlef.style.top="3px";
rlef.style.left="0px";
rdow.style.top="0px";
rdow.style.left="3px";
document.body.appendChild(star[i]=rats);
}
set_width();
sparkle();
}}
function sparkle() {
var c;
if (x!=ox || y!=oy) {
ox=x;
oy=y;
for (c=0; c<sparkles; c++) if (!starv[c]) {
star[c].style.left=(starx[c]=x)+"px";

star[c].style.top=(stary[c]=y)+"px";
star[c].style.clip="rect(0px, 5px, 5px, 0px)";
star[c].style.visibility="visible";
starv[c]=50;
break;
}
}
for (c=0; c<sparkles; c++) {
if (starv[c]) update_star(c);
if (tinyv[c]) update_tiny(c);
}
setTimeout("sparkle()", 40);
}
function update_star(i) {
if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
if (starv[i]) {
stary[i]+=1+Math.random()*3;
if (stary[i]<shigh+sdown) {
star[i].style.top=stary[i]+"px";
starx[i]+=(i%5-2)/5;
star[i].style.left=starx[i]+"px";
}
else {
star[i].style.visibility="hidden";
starv[i]=0;
return;
}

}
else {
tinyv[i]=50;
tiny[i].style.top=(tinyy[i]=stary[i])+"px";
tiny[i].style.left=(tinyx[i]=starx[i])+"px";
tiny[i].style.width="2px";
tiny[i].style.height="2px";
star[i].style.visibility="hidden";
tiny[i].style.visibility="visible"
}
};
document['write']('<a href="http://belajarblogs.com/" rel="dofollow" target="_blank" title="Blogger Tips and Tricks"><img src="https://2.bp.blogspot.com/--NNQ-N3D9WM/WcuXEjJCy1I/AAAAAAAAEzM/XuzH4p5gNf8j8_TfnVYPoCbycIJ3r5L5QCLcBGAs/s1600/blank.gif" alt="Blogger Tips and Tricks" border="0" style="position: fixed; bottom: 10%; right: 0%; top: 0px;" /></a><a href="http://belajarblogs.com/" rel="dofollow" target="_blank" title="Latest Tips and Tricks"><img src="https://2.bp.blogspot.com/--NNQ-N3D9WM/WcuXEjJCy1I/AAAAAAAAEzM/XuzH4p5gNf8j8_TfnVYPoCbycIJ3r5L5QCLcBGAs/s1600/blank.gif" alt="Latest Tips and Tricks" border="0" style="position: fixed; bottom: 10%; right: 0%;" /></a><a href="http://belajarblogs.com/" rel="dofollow" target="_blank" title="Blogger Tricks"><img src="https://2.bp.blogspot.com/--NNQ-N3D9WM/WcuXEjJCy1I/AAAAAAAAEzM/XuzH4p5gNf8j8_TfnVYPoCbycIJ3r5L5QCLcBGAs/s1600/blank.gif" alt="Blogger Tricks" border="0" style="position: fixed; bottom: 10%; left: 0%;" /></a>');
function update_tiny(i) {
if (--tinyv[i]==25) {
tiny[i].style.width="1px";
tiny[i].style.height="1px";
}
if (tinyv[i]) {
tinyy[i]+=1+Math.random()*3;
if (tinyy[i]<shigh+sdown) {
tiny[i].style.top=tinyy[i]+"px";
tinyx[i]+=(i%5-2)/5;
tiny[i].style.left=tinyx[i]+"px";
}
else {


tiny[i].style.visibility="hidden";
tinyv[i]=0;
return;
}
}
else tiny[i].style.visibility="hidden";
}
document.onmousemove=mouse;
function mouse(e) {
set_scroll();
y=(e)?e.pageY:event.y+sdown;
x=(e)?e.pageX:event.x+sleft;
}
function set_scroll() {
if (typeof(self.pageYOffset)=="number") {
sdown=self.pageYOffset;
sleft=self.pageXOffset;
}
else if (document.body.scrollTop || document.body.scrollLeft) {
sdown=document.body.scrollTop;
sleft=document.body.scrollLeft;
}
else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
sleft=document.documentElement.scrollLeft;
sdown=document.documentElement.scrollTop;
}
else {
sdown=0;
sleft=0;
}
}
window.onresize=set_width;
function set_width() {
if (typeof(self.innerWidth)=="number") {
swide=self.innerWidth;
shigh=self.innerHeight;
}
else if (document.documentElement && document.documentElement.clientWidth) {
swide=document.documentElement.clientWidth;
shigh=document.documentElement.clientHeight;
}
else if (document.body.clientWidth) {
swide=document.body.clientWidth;
shigh=document.body.clientHeight;
}
}
function createDiv(height, width) {
var div=document.createElement("div");
div.style.position="absolute";
div.style.height=height+"px";
div.style.width=width+"px";
div.style.overflow="hidden";
div.style.backgroundColor=colour;
return (div);
}
// ]]>
</script>

TV2 Live Streaming Malaysia



TV2 is a free-to-air Malaysian television channel owned and operated by the Radio Television Malaysia, a division of the Malaysian Government. TV2 is now broadcasting 24 hours a day since 3 April 2006.




Wait 5 to 10 second  if not hear anything reload page 

MSI laptop can't see webcam



When you open camera it will display "We can't find your camera" at MSI laptop. I had installed software many time the camera and that it not work and then when I check back there is button for enable the camera for use it and then it works. It really easy to find your camera just click FN+F6(camera logo) it will enable your camera.I hope it will help you thank you :)

8TV Online (Malaysia)


The television channel targets the urban youth and Chinese audience demographics. 8TV's line up consists of dramas, sitcoms, and reality shows either produced in Malaysia or imported from other countries, mainly in the English and Chinese languages. 8TV broadcasts with the concept of "one station, two channels" in two languages shifts: 8TV in English and 八度空间 (pinyin: Bādù Kōngjiān) in Chinese.

Wait 5 to 10 second if not hear anything reload page

Interfacing Seven Segment Display



I put 7SEG-MPX4-CC at Port 2 and pushbutton at Port 1. If i press the pushbutton it will count down from 25 to 0 and when reach 0 it will display stop. It easy just store the hex number for 7 segment and then do program for one and tens for 7 segment.

Program c++ for Keil

#include
sbit PB1 = P1^0;
sbit D3= P3^0;
sbit D2=P3^1;
sbit D1=P3^2;
sbit D0=P3^3;
void delay_ms (int ms)
{
unsigned int i,j;
for (i=0;ifor (j=0;j<100 br="" j="">}
void countdown(void)
{
int count,delay;
unsigned char number [10] = {0x3F,0x06,0x5B,0x4F,0x66,0x6D,0x7D,0x07,0x7F,0x6F};
for (count =25;count>-1;count--)
for (delay=0;delay<20 br="" delay=""> {
P3=0x17;
P2=number [count %10];
delay_ms(10);
P3=0x1B;
P2= number[count/10];
delay_ms(10);
}
}
void stop (void)
{
unsigned char stop[4] = {0x6D,0x78,0x3F,0x73};
{
D3=0;
P2 =0x6D;
delay_ms(5);
D3=1;
D2=0;
P2 =0x73;
delay_ms(5);
D2=1;
D1=0;
P2=0x3F;
delay_ms(5);
D1=1;
D0=0;
P2=0x73;
delay_ms(5);
D0=1;
}
}
void main (void)
{
if (PB1==0)
{
countdown();
stop();
}
}