I'm trying to create a json file with information of a mp4 file with avprobe, but it doesn't print nothing.
The command
avprobe -v 0 -show_format -of json myvideo.mp4
My avprobe version
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
This
avprobe -v 0 -show_format -show_streams myvideo.mp4
shows me some the video information in a ini format.
ffprobe -v quiet -print_format json -show_format -show_streams source.mp4 > file.json
But since I got the warning that ffmpeg was deprecated I'v switched to avconv. – PJunior Sep 19 '13 at 20:13