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.
54 lines
3.0 KiB
54 lines
3.0 KiB
<?php
|
|
require_once('../ajax_asm.php');
|
|
|
|
if( $CUser->Data['id'] > 1 ){
|
|
$Data['status'] = 'error';
|
|
$HID = intval( $_POST['HID'] );
|
|
switch( $HID ){
|
|
case 312:{
|
|
$TOPIC = 'Video Container';
|
|
|
|
$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.';
|
|
|
|
$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.';
|
|
break;
|
|
};
|
|
case 122:{
|
|
$TOPIC = 'Encoder Bitrate Setting';
|
|
$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.';
|
|
$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.';
|
|
break;
|
|
};
|
|
default:
|
|
$TOPIC = 'UNKNOWN HELP TOPIC';
|
|
$INFO_BREEF = 'UNKNOWN HELP TOPIC';
|
|
$HELP_FULL = 'UNKNOWN HELP TOPIC';
|
|
};
|
|
$SKEL=<<<DATABOUNDARY
|
|
{
|
|
xtype: 'panel',
|
|
border: false,
|
|
frame: false,
|
|
items:[{
|
|
xtype:'panel',
|
|
border: false,
|
|
frame: false,
|
|
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/>'
|
|
},{
|
|
xtype: 'spacer',
|
|
height: 10
|
|
},{
|
|
xtype:'panel',
|
|
border: false,
|
|
frame: false,
|
|
html: '<table width="100%" border=0 class="setEd_infoPanel" id="IOVRY_BODY"><tr><td>{$HELP_FULL}</td></tr>'
|
|
},]
|
|
}
|
|
DATABOUNDARY;
|
|
$Data['status'] = 'ok';
|
|
$Data['content'] = $SKEL;
|
|
echo json_encode( $Data );
|
|
} else {
|
|
header('location: /');
|
|
};
|
|
?>
|