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地址/流名字
相关推荐
张洛闻Eren2 小时前
MySQL 维护稳定系统【MySQL第二课】
linux·数据库·mysql·云原生
ltl2 小时前
Linux 异步 I/O:epoll 与 io_uring 对比
linux
ltl2 小时前
压缩算法工程实践:吞吐、比率与 CPU 权衡
linux
fiveym3 小时前
01 - iPXE + Clonezilla 网络装机原理解析
linux·运维·服务器·网络
-今昭-5 小时前
Ansible
linux·运维·ansible
mounter6256 小时前
MACsec 全景解析:从技术演进、核心架构到 DPU 硬件卸载与 K8s 大规模调度实战
linux·kubernetes·linux kernel·kernel·macsec
IT邦德7 小时前
Dify1.6基于ubuntu系统的部署实战
linux·运维·ubuntu
吠品8 小时前
Java byte数组与String互转:编码细节与踩坑记录
java·linux·服务器
木白CPP8 小时前
Linux 驱动UART子系统源码分析
linux·运维·服务器·驱动开发·嵌入式硬件·开源软件
RisunJan9 小时前
Linux命令-times(进程累计时间显示)
linux·运维·chrome