Python执行系统命令并获得输出的几种方法
2024-08-30 22:41:30
[root@a upfc]# ./ffmpeg-linux64-v3.3.1 -i a.mp3
ffmpeg version N-86111-ga441aa90e8-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 5.4.1 (Debian 5.4.1-8) 20170304
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
libavutil 55. 63.100 / 55. 63.100
libavcodec 57. 96.101 / 57. 96.101
libavformat 57. 72.101 / 57. 72.101
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 89.101 / 6. 89.101
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
[mp3 @ 0x4f60420] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'a.mp3':
Duration: 00:02:00.85, start: 0.000000, bitrate: 16 kb/s
Stream #0:0: Audio: mp3, 16000 Hz, mono, s16p, 16 kb/s
At least one output file must be specified
[root@a upfc]# ./ffmpeg-linux64-v3.3.1 -i a.mp3
Python执行系统命令并获得输出的几种方法 - CSDN博客 https://blog.csdn.net/dingyaguang117/article/details/7236296
最新文章
- icon-font与svg
- 【CodeForces 589F】Gourmet and Banquet(二分+贪心或网络流)
- web前端基础篇⑥
- POJ 1836 Alignment 最长递增子序列(LIS)的变形
- history介绍及bash命令快速调用
- 使用eclipse创建java程序可执行jar包
- solr5.5教程-tomcat布署
- 【Mood-10】每个程序员都应该读的30本书
- tbody添加垂直滚动条
- 【WCF系列】(二)设计和实现服务协定
- LOJ #6192. 「美团 CodeM 复赛」城市网络 (树上倍增)
- tst
- curl 与wget的区别
- Java第1章笔记
- Java(C#)基础差异-语法
- 过滤器将获取到的内容注入到servlet的request中
- BTrace追踪Hadoop部署
- Vim技能修炼教程(10) - 代码跳转
- oracle中clob字段怎么查询非空列_20180517
- [Luogu1462]通往奥格瑞玛的道路