You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
3.0 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <?php
  2. require_once('../ajax_asm.php');
  3. if( $CUser->Data['id'] > 1 ){
  4. $Data['status'] = 'error';
  5. $HID = intval( $_POST['HID'] );
  6. switch( $HID ){
  7. case 312:{
  8. $TOPIC = 'Video Container';
  9. $INFO_BREEF = 'Video containers, also known as container formats, are file formats that hold various types of media data, including video, audio, subtitles, and metadata.';
  10. $HELP_FULL = 'Types of Video Containers<br/>The most common types of video containers include:<br/>MP4 (MPEG-4 Part 14): Widely used for video streaming and distribution, MP4 is compatible with most devices and supports advanced content like 3D graphics and user interactivity.<br/>AVI (Audio Video Interleave): Introduced by Microsoft, AVI is a traditional format that can contain high-quality video and audio but often results in larger file sizes than other containers.<br/>MOV: Developed by Apple, MOV is the basis of the QuickTime framework and is popular in professional video editing environments due to its high quality and flexibility.<br/>MKV (Matroska Video): An open-source container with unlimited video, audio, picture, or subtitle tracks in one file, making it highly versatile for complex content.<br/>FLV (Flash Video): Previously dominant for online video streaming, FLV has declined in popularity with the decrease in support for Adobe Flash Player.<br/>Each container has its own features and compatibility, influencing its use for different applications.';
  11. break;
  12. };
  13. case 122:{
  14. $TOPIC = 'Encoder Bitrate Setting';
  15. $INFO_BREEF = 'Video bitrate is essentially any video data that is being transferred at any given moment. A high bitrate is essential for streamers, as it is what defines the quality of a video. Bitrate is a measurement of the amount of data used to encode a single second of video.';
  16. $HELP_FULL = 'On YouTube’s support page, a full breakdown of the best bitrate settings is given for YouTube video uploads. They recommend a bitrate of at least 5 Mbps for 720p videos, 8 Mbps for 1080p videos, 16 Mbps for 1440p videos, and 35-45 Mbps for 4K videos at standard frame rates. Check out the support page for further information.';
  17. break;
  18. };
  19. default:
  20. $TOPIC = 'UNKNOWN HELP TOPIC';
  21. $INFO_BREEF = 'UNKNOWN HELP TOPIC';
  22. $HELP_FULL = 'UNKNOWN HELP TOPIC';
  23. };
  24. $SKEL=<<<DATABOUNDARY
  25. {
  26. xtype: 'panel',
  27. border: false,
  28. frame: false,
  29. items:[{
  30. xtype:'panel',
  31. border: false,
  32. frame: false,
  33. html: '<table width="100%" border=0 class="setEd_infoPanel" id="LIBAV_LOGO"><tr><td width="200px"><div class="help_logo_img"></div></td><td valign="middle">{$TOPIC}</td></tr><tr><td colspan=2>{$INFO_BREEF}</td></tr></table><br/>'
  34. },{
  35. xtype: 'spacer',
  36. height: 10
  37. },{
  38. xtype:'panel',
  39. border: false,
  40. frame: false,
  41. html: '<table width="100%" border=0 class="setEd_infoPanel" id="IOVRY_BODY"><tr><td>{$HELP_FULL}</td></tr>'
  42. },]
  43. }
  44. DATABOUNDARY;
  45. $Data['status'] = 'ok';
  46. $Data['content'] = $SKEL;
  47. echo json_encode( $Data );
  48. } else {
  49. header('location: /');
  50. };
  51. ?>