Skip to content

Instantly share code, notes, and snippets.

@akiyan
Created April 3, 2014 03:24
Show Gist options
  • Save akiyan/9947776 to your computer and use it in GitHub Desktop.
Save akiyan/9947776 to your computer and use it in GitHub Desktop.
`avprobe -show_format -show_streams -print_format xml` result
$ avprobe -show_format -show_streams -print_format xml 3.mp4
avprobe version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2007-2013 the Libav developers
  built on Feb  6 2014 20:56:59 with gcc 4.6.3
Unrecognized option 'print_format'
Failed to set value 'xml' for option 'print_format'

$ avprobe -v debug
avprobe version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2007-2013 the Libav developers
  built on Feb  6 2014 20:56:59 with gcc 4.6.3
  configuration: --extra-version='4:0.8.10-0ubuntu0.12.04.1' --arch=amd64 --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype --enable-vaapi --c
  avutil      configuration: --extra-version='4:0.8.10ubuntu0.12.04.1' --arch=amd64 --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype --enablc
  libavutil    51. 22. 2 / 51. 22. 2
  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
Simple multimedia streams analyzer
usage: avprobe [OPTIONS] [INPUT_FILE]

You have to specify one input file.
Use -h to get full help or, even better, run 'man avprobe'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment