Advertisement
subzero_mot

Vcam config form

Sep 6th, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. document.outcfg_frm.encoder.length=0;
  2. document.outcfg_frm.encoder.options[0] =new Option('H.264', 0);
  3. document.outcfg_frm.encoder.options[1] =new Option('MJPEG', 1);
  4. document.outcfg_frm.encoder.options[0].selected=true;
  5. document.outcfg_frm.encoder2.length=0;
  6. document.outcfg_frm.encoder2.options[0] =new Option('H.264', 0);
  7. document.outcfg_frm.encoder2.options[1] =new Option('MJPEG', 1);
  8. document.outcfg_frm.encoder2.options[1].selected=true;
  9. document.outcfg_frm.sys_cif.length=0;
  10. document.outcfg_frm.sys_cif.options[0] =new Option('1920 * 1080', 0);
  11. document.outcfg_frm.sys_cif.options[1] =new Option('1280 * 720', 1);
  12. document.outcfg_frm.sys_cif.options[1].selected=true;
  13. document.outcfg_frm.sys_cif2.length=0;
  14. document.outcfg_frm.sys_cif2.options[0] =new Option('704 * 576', 0);
  15. document.outcfg_frm.sys_cif2.options[1] =new Option('640 * 480', 1);
  16. document.outcfg_frm.sys_cif2.options[2] =new Option('640 * 352', 2);
  17. document.outcfg_frm.sys_cif2.options[3] =new Option('320 * 240', 3);
  18. document.outcfg_frm.sys_cif2.options[1].selected=true;
  19. document.outcfg_frm.vquality.options[0].selected=true;
  20. document.outcfg_frm.vquality2.options[2].selected=true;
  21. document.outcfg_frm.frmintr.value='50';
  22. document.outcfg_frm.frmrate.value='25';
  23. document.outcfg_frm.ratectrl.options[0].selected=true;
  24. document.outcfg_frm.bitrate.value='4096';
  25. document.outcfg_frm.quality.value='1';
  26. document.outcfg_frm.vlevel.length=0;
  27. document.outcfg_frm.vlevel.options[0] =new Option('Baseline', 0);
  28. document.outcfg_frm.vlevel.options[1] =new Option('Main Profile', 1);
  29. document.outcfg_frm.vlevel.options[2] =new Option('High Profile', 2);
  30. document.outcfg_frm.vlevel.options[2].selected=true;
  31. document.outcfg_frm.vlevel2.length=0;
  32. document.outcfg_frm.vlevel2.options[0] =new Option('Baseline', 0);
  33. document.outcfg_frm.vlevel2.options[1] =new Option('Main Profile', 1);
  34. document.outcfg_frm.vlevel2.options[2] =new Option('High Profile', 2);
  35. document.outcfg_frm.vlevel2.options[0].selected=true;
  36. document.outcfg_frm.frmintr2.value='50';
  37. document.outcfg_frm.frmrate2.value='15';
  38. document.outcfg_frm.ratectrl2.options[0].selected=true;
  39. document.outcfg_frm.bitrate2.value='370';
  40. document.outcfg_frm.quality2.value='3';
  41. document.outcfg_frm.maxfrmrate.value='25';
  42. document.outcfg_frm.maxfrmintr.value='200';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement