所以我的兄弟正在制作关于他们儿子的视频,并且他继续将他们发送到我们的Messenger家庭小组聊天,使质量真的很差。
我想要使用的步骤是下一步:
https://streamable.com/documentation
卷曲https://api.streamable.com/upload \ -u用户名:密码\ -F file=@myvideo.mp4
我已经对第3部分进行了测试(使用curl上传视频)并在SSH中获得了这个奇怪的长反馈:
405 方法不允许
方法不允许
方法 不允许使用请求的URL。
curl:(6)无法解析 主持人:-u curl:(6)无法解析主机:syluccy curl:(6)可以 不解析主机:-F curl:(6)无法解析主机:file = uccy 卷曲:(6)无法解析主持人:-F
Apache2 Ubuntu默认页面:它的工作原理 * { 保证金:0px 0px 0px 0px; 填充:0px 0px 0px 0px; }
body,html { 填充:3px 3px 3px 3px;
background-color: #D8DBE2; font-family: Verdana, sans-serif; font-size: 11pt; text-align: center; }
div.main_page { 位置:相对; display:table;
width: 800px; margin-bottom: 3px; margin-left: auto; margin-right: auto; padding: 0px 0px 0px 0px; border-width: 2px; border-color: #212738; border-style: solid; background-color: #FFFFFF; text-align: center; }
div.page_header { 身高:99px; 宽度:100%;
background-color: #F5F6F7; }
div.page_header span { 保证金:15px 0px 0px 50px;
font-size: 180%; font-weight: bold; }
div.page_header img { 保证金:3px 0px 0px 40px;
border: 0px 0px 0px; }
div.table_of_contents { 明确:左;
min-width: 200px; margin: 3px 3px 3px 3px; background-color: #FFFFFF; text-align: left; }
div.table_of_contents_item { 明确:左;
width: 100%; margin: 4px 0px 0px 0px; background-color: #FFFFFF; color: #000000; text-align: left; }
div.table_of_contents_item a { 保证金:6px 0px 0px 6px; }
div.content_section { 保证金:3px 3px 3px 3px;
background-color: #FFFFFF; text-align: left; }
div.content_section_text { 填充:4px 8px 4px 8px;
color: #000000; font-size: 100%; }
div.content_section_text pre { 保证金:8px 0px 8px 0px; 填充:8px 8px 8px 8px;
border-width: 1px; border-style: dotted; border-color: #000000; background-color: #F5F6F7; font-style: italic; }
div.content_section_text p { margin-bottom:6px; }
div.content_section_text ul,div.content_section_text li { 填充:4px 8px 4px 16px; }
div.section_header { 填充:3px 6px 3px 6px;
background-color: #8E9CB2; color: #FFFFFF; font-weight: bold; font-size: 112%; text-align: center; }
div.section_header_red { background-color:#CD214F; }
div.section_header_grey { background-color:#9F9386; }
.floating_element { 位置:相对; 向左飘浮; }
div.table_of_contents_item a,div.content_section_text a { text-decoration:none; font-weight:bold; }
div.table_of_contents_item a:link,div.table_of_contents_item a:已访问,div.table_of_contents_item a:active { 颜色:#000000; }
div.table_of_contents_item a:hover { background-color:#000000;
color: #FFFFFF; }
div.content_section_text a:link,div.content_section_text a:visited,div.content_section_text a:active { background-color:#DCDFE6;
color: #000000; }
div.content_section_text a:悬停{ background-color:#000000;
color: #DCDFE6; }
div.validator {} Apache2 Ubuntu默认页面 目录 < / DIV> 关于< / A> < / DIV> 变更< / A> < / DIV> 范围< / A> < / DIV> 配置文件< / a> < / DIV> < / DIV> - >
<div class="section_header section_header_red"> <div id="about"></div> It works! </div> <div class="content_section_text"> <p> This is the default welcome page used to test the correct operation of the Apache2 server after installation on Ubuntu systems. It is based on the equivalent page on Debian, from which the Ubuntu Apache packaging is derived. If you can read this page, it means that the Apache HTTP server installed at this site is working properly. You should <b>replace this file</b> (located at <tt>/var/www/html/index.html</tt>) before continuing to operate your HTTP server. </p> <p> If you are a normal user of this web site and don't know what this page is about, this probably means that the site is currently unavailable due to maintenance. If the problem persists, please contact the site's administrator. </p> </div> <div class="section_header"> <div id="changes"></div> Configuration Overview </div> <div class="content_section_text"> <p> Ubuntu's Apache2 default configuration is different from the upstream default configuration, and split into several files optimized for interaction with Ubuntu tools. The configuration system is <b>fully documented in /usr/share/doc/apache2/README.Debian.gz</b>. Refer to this for the full documentation. Documentation for the web server itself can be found by accessing the <a href="/manual">manual</a> if the <tt>apache2-doc</tt> package was installed on this server. </p> <p> The configuration layout for an Apache2 web server installation on Ubuntu systems is as follows: </p> <pre> /etc/apache2/ |-- apache2.conf | `-- ports.conf |-- mods-enabled | |-- *.load | `-- *.conf |--
conf-enabled |
-- *.conf |-- sites-enabled |
- * .conf- apache2.conf是主要配置 文件。它通过包括所有剩余配置将各个部分放在一起 启动Web服务器时的文件。
<li> <tt>ports.conf</tt> is always included from the main configuration file. It is used to determine the listening ports for incoming connections, and this file can be customized anytime. </li> <li> Configuration files in the <tt>mods-enabled/</tt>, <tt>conf-enabled/</tt> and <tt>sites-enabled/</tt> directories contain particular configuration snippets which manage modules, global configuration fragments, or virtual host configurations, respectively. </li> <li> They are activated by symlinking available configuration files from their respective *-available/ counterparts. These should be managed by using our helpers <tt> <a href="http://manpages.debian.org/cgi-bin/man.cgi?query=a2enmod">a2enmod</a>, <a href="http://manpages.debian.org/cgi-bin/man.cgi?query=a2dismod">a2dismod</a>, </tt> <tt> <a href="http://manpages.debian.org/cgi-bin/man.cgi?query=a2ensite">a2ensite</a>, <a href="http://manpages.debian.org/cgi-bin/man.cgi?query=a2dissite">a2dissite</a>, </tt> and <tt> <a href="http://manpages.debian.org/cgi-bin/man.cgi?query=a2enconf">a2enconf</a>, <a href="http://manpages.debian.org/cgi-bin/man.cgi?query=a2disconf">a2disconf</a> </tt>. See their respective man pages for detailed information. </li> <li> The binary is called apache2. Due to the use of environment variables, in the default configuration, apache2 needs to be started/stopped with <tt>/etc/init.d/apache2</tt> or <tt>apache2ctl</tt>. <b>Calling <tt>/usr/bin/apache2</tt> directly will not work</b> with the default configuration. </li> </ul> </div> <div class="section_header"> <div id="docroot"></div> Document Roots </div> <div class="content_section_text"> <p> By default, Ubuntu does not allow access through the web browser to <em>any</em> file apart of those located in <tt>/var/www</tt>, <a href="http://httpd.apache.org/docs/2.4/mod/mod_userdir.html">public_html</a> directories (when enabled) and <tt>/usr/share</tt> (for web applications). If your site is using a web document root located elsewhere (such as in <tt>/srv</tt>) you may need to whitelist your document root directory in <tt>/etc/apache2/apache2.conf</tt>. </p> <p> The default Ubuntu document root is <tt>/var/www/html</tt>. You can make your own virtual hosts under /var/www. This is different to previous releases which provides better security out of the box. </p> </div> <div class="section_header"> <div id="bugs"></div> Reporting Problems </div> <div class="content_section_text"> <p> Please use the <tt>ubuntu-bug</tt> tool to report bugs in the Apache2 package with Ubuntu. However, check <a href="https://bugs.launchpad.net/ubuntu/+source/apache2">existing bug reports</a> before reporting a new bug. </p> <p> Please report bugs specific to modules (such as PHP and others) to respective packages, not to the web server itself. </p> </div> </div> </div> <div class="validator"> </div> </body> </html>
答案 0 :(得分:0)
您使用的反斜杠不正确,在您的情况下\
用于续行:
curl https://api.streamable.com/upload -u username:password -F file=@myvideo.mp4
或者:
curl https://api.streamable.com/upload \
-u username:password \
-F file=@myvideo.mp4
来自man bash:
未引用的反斜杠'\'是Bash转义字符。它保留 随后的下一个字符的字面值,用 换行例外。如果出现\ newline对,则反斜杠 本身没有引用,\ newline被视为一个续行 (也就是说,它会从输入流中有效地删除 忽略)。