On Fri, May 11, 2018, at 7:36 AM, Nino from Read2Me wrote: > Hi, I'm interested in this bit: > > Duration: 00:13:14.59, start: 0.006500, bitrate: 31 kb/s > > Stream #0:0: Audio: opus, 48000 Hz, mono, fltp > > According to a few trac tickets (for example > <https://trac.ffmpeg.org/ticket/2226>) this bit is not meant to be parsed, > so how do you recommend I get duration as human readable, bitrate and > sampling? I don't see those listed in [FORMAT][/FORMAT].
For duration examples: https://trac.ffmpeg.org/wiki/FFprobeTips#Duration For sample rate: ffprobe -loglevel error -select_streams a -show_entries stream=sample_rate -of csv=p=0 input.mkv You can of course combine entries: -show_entries format=format_name:stream=codec_type,channels > BTW I wanted to chime in on a trac discussion but couldn't complete the > registration, see attached. Sorry about that. Should be fixed now. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".