我正在尝试创建一个包含mp4文件信息的json文件,但是它什么也不打印。
命令
avprobe -v 0 -show_format -of json myvideo.mp4我的av探针版本
avprobe version 0.8.6-6:0.8.6-1ubuntu2, Copyright (c) 2007-2013 the Libav developers
built on Mar 30 2013 22:20:06 with gcc 4.7.2
avprobe 0.8.6-6:0.8.6-1ubuntu2
libavutil 51. 22. 1 / 51. 22. 1
libavcodec 53. 35. 0 / 53. 35. 0
libavformat 53. 21. 1 / 53. 21. 1
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 15. 0 / 2. 15. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 52. 0. 0 / 52. 0. 0这
avprobe -v 0 -show_format -show_streams myvideo.mp4以ini格式显示一些视频信息。
发布于 2015-12-07 10:51:11
以下几点对我来说是可行的:
avprobe -v 0 -show_format -show_streams myvideo.mp4 -of json
我在Ubuntu上使用libav工具版本6:11.2-1~ppa1 1。
希望这能有所帮助。
塞巴斯蒂安。
https://askubuntu.com/questions/347502
复制相似问题