标签: command-line

VP8 和 WebM,在 ffmpeg-php 中不起作用

我需要 ffmpeg-php 和 Ffmpeg 的帮助。

ffmpeg:

ffmpeg version 1.0.git
built on Oct  6 2012 01:54:50 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
configuration: --enable-gpl --enable-libmp3lame --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-version3
libavutil      51. 73.102 / 51. 73.102
libavcodec     54. 63.100 / 54. 63.100
libavformat    54. 29.105 / 54. 29.105
libavdevice    54.  3.100 / 54.  3.100
libavfilter     3. 19.102 /  3. 19.102
libswscale      2.  1.101 /  2.  1.101
libswresample   0. 16.100 /  0. 16.100
libpostproc    52.  1.100 / 52.  1.100 …
Run Code Online (Sandbox Code Playgroud)

ffmpeg command-line php

5
推荐指数
1
解决办法
2704
查看次数

如何使用命令行启动 VirtualBox?

我在 Windows 7 PC 上安装了 VirtualBox,并为 Windows XP 创建了一个虚拟机。这是我想要做的:

  1. 运行 VirtualBox
  2. 打开来宾操作系统(名为“Windows XP”)
  3. 在来宾操作系统中打开 Winword

我想一次完成这 3 个步骤(例如,通过使用批处理文件)。

任何帮助,将不胜感激。

事实上,我有一个批处理文件,但它不能如我所愿:

"C:\Program Files\Oracle\VirtualBox\Vboxmanage.exe" startvm "Windows XP"
TIMEOUT 30
"C:\Program Files\Oracle\VirtualBox\VBoxmanage.exe" guestcontrol "Windows XP" execute --image "C:\PROGRA~1\MICROS~2\OFFICE11\WINWORD.EXE" --username xpuser
Run Code Online (Sandbox Code Playgroud)

windows-7 virtualbox command-line

5
推荐指数
1
解决办法
8780
查看次数

为什么 VIM 说这个命令有尾随字符?

我正在尝试在 vim 中编写一个 beautify CSS 命令,该命令对所有 CSS 属性进行排序和按字母顺序排列,并检查冒号后是否没有空格并插入一个空格。

这是我的代码:

nnoremap <leader>S :g#\({\n\)\@<=#.,/}/sort | %s/:\(\S\)/: \1/g<CR>
:command! SortCSSBraceContents :g#\({\n\)\@<=#.,/}/sort | %s/:\(\S\)/: \1/g              
Run Code Online (Sandbox Code Playgroud)

这些独立工作。但是,我试图将它们通过管道传输到一个命令中。

保存 VIM 说:

Error detected while processing /var/home/jesse-atkinson/.vimrc:
line  196:
E488: Trailing characters
Run Code Online (Sandbox Code Playgroud)

有任何想法吗?

unix vim vi command-line vimrc

5
推荐指数
1
解决办法
2万
查看次数

如何获得我的 MacTeX 版本?

如果我想报告错误,如何通过命令行找到我的 MacTeX 版本?

latex command-line

5
推荐指数
0
解决办法
3083
查看次数

可能的 Windows 8 cmd 更改?

出于某种原因,我决定在我的开发机器上试用 Windows 8。到目前为止,一切都很好,直到我尝试启动具有一些自定义功能的 Powershell,包括PATH从vcvars32.bat.

最初,脚本是从这里提取的/sf/ask/9670111/进行了一些更改以允许它在 x64 Powershell 实例中运行,所以它最终看起来像这样:

function Get-Batchfile($file) 
{
    $theCmd = "`"$file`" & set" 
    cmd /c $theCmd | Foreach-Object {
        $thePath, $theValue = $_.split('=')
        Set-Item -path env:$thePath -value $theValue
    }
}

function VsVars32($version = "10.0")
{
    $theKey = "HKLM:SOFTWARE\Wow6432Node\Microsoft\VisualStudio\" + $version
    $theVsKey = get-ItemProperty $theKey
    $theVsInstallPath = [System.IO.Path]::GetDirectoryName($theVsKey.InstallDir)
    $theVsToolsDir = [System.IO.Path]::GetDirectoryName($theVsInstallPath)
    $theVsToolsDir = [System.IO.Path]::Combine($theVsToolsDir, "Tools")
    $theBatchFile = [System.IO.Path]::Combine($theVsToolsDir, "vsvars32.bat")
    write-host $theBatchFile
    Get-Batchfile $theBatchFile
    [System.Console]::Title = "Visual Studio " + $version + " …
Run Code Online (Sandbox Code Playgroud)

powershell command-line windows-8

5
推荐指数
1
解决办法
4491
查看次数

是否有用于管理文件扩展名及其各自程序命令行的工具?

我正在尝试将.appx文件与我编写的实用程序相关联,该实用程序需要类似于appinstaller --install-only --force path\to\appxfile.appx. 它还必须以管理员身份运行

我尝试查看注册表并对其进行编辑,但我无法弄清楚。到目前为止,我所做的只是使用内置的资源管理器关联与文件关联。这有效并且还弹出了一个 UAC 提示,但我的程序没有收到--install-only --force命令行位

Windows 8 是否有任何工具来管理文件关联,或者有一种简单的手动方法来做到这一点?

windows-registry command-line file-association windows-8

5
推荐指数
1
解决办法
1141
查看次数

有命令行日历计算器吗?

是否有提供这些功能的命令行日历计算?

  • 日期(加|减)日期间隔计算
  • 用户指定的输入输出格式

linux unix bsd command-line

5
推荐指数
1
解决办法
2385
查看次数

他们是否向 Windows 8 添加了新的命令行工具?

我想知道他们是否在 Windows 8 命令行中添加了任何新工具?

command-line windows-8

5
推荐指数
1
解决办法
903
查看次数

如何通过命令提示符禁用和启用 USB 端口?

如何通过命令提示符禁用和启用 USB 端口?或者使用批处理脚本或 VBScript?操作系统为 Windows 7。

usb windows-7 batch command-line vbscript

5
推荐指数
1
解决办法
3万
查看次数

更新注册表值的最简单方法?

在使用 Linux 时,当我在网上搜索以修复烦人的默认设置时,我已经习惯了单行程序。我知道这些衬垫可能非常危险,所以我总是确保在运行它们之前我知道它们在做什么。

同时,我讨厌必须更新 Windows 注册表项,因为我需要打开 regedit 并导航The Tree。

有没有一种简单的方法来编辑特定的注册表值?

就像是:

regupdate path type newvalue
Run Code Online (Sandbox Code Playgroud)

windows windows-registry command-line regedit

5
推荐指数
2
解决办法
7853
查看次数