ffmpeg在powershell和ubuntu终端下的不同格式

在win10下的powershell中,如果想运行一个exe文件,就不能再像cmd命令行一样用名字来直接运行了,否则会提示格式不对。

正确的做法是:

复制代码
. \ffmpeg.exe -re -i video-test.mpr -rtsp_transport tcp -vcodec h264 -f rtsp rtsp://您的IP地址/流名字

运行成功后的部分截屏是

在ubuntu下,这个指令就变成了

复制代码
ffmpeg -re -i video-test.mpr -rtsp_transport tcp -vcodec h264 -f rtsp rtsp://您的IP地址/流名字
相关推荐
orion573 小时前
Missing Semester Class1:course overview and introduction of shell
linux
用户120487221619 小时前
Linux驱动编译与加载
linux·嵌入式
用户8055336980315 小时前
Input 子系统架构:Core、Handler、Driver 三层是怎么协作的
linux·嵌入式
用户8055336980316 小时前
RK-Forge外设系列开篇 - 把板子从「能启动」变成「能用」:Ethernet/SPI/MMC 三个纯接线外设
linux·github·嵌入式
七歌杜金房1 天前
我终于又有了自己的 Linux 电脑
linux·debian·mac
tntxia2 天前
linux curl命令详解_curl详解
linux
扛枪的书生2 天前
Linux 网络管理器用法速查
linux
顺风尿一寸2 天前
Java Socket 内核之旅:从 SocketChannel.read() 到 tcp_recvmsg 与 epoll 的完整调用链路
linux
blanks20202 天前
ffmpeg 学习笔记 通过命令行采集音频
ffmpeg
XIAOHEZIcode3 天前
Ubuntu 终端美化全栈指南:Bash 到 Kitty 踩坑实录
linux·ubuntu·命令行