Skip to content

Instantly share code, notes, and snippets.

@daslicht
Created March 14, 2016 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daslicht/3d7e85fa2345655152b0 to your computer and use it in GitHub Desktop.
Save daslicht/3d7e85fa2345655152b0 to your computer and use it in GitHub Desktop.
{ filename: 'onesecond.mp3',
filepath: '.',
fileext: '.mp3',
file: 'onesecond.mp3',
probe_time: 28,
streams:
[ { codec_name: 'mp3',
codec_long_name: 'MP3 (MPEG audio layer 3)',
profile: 'unknown',
codec_type: 'audio',
codec_time_base: '1/44100',
codec_tag_string: '[0][0][0][0]',
codec_tag: '0x0000',
sample_fmt: 's16p',
sample_rate: 44100,
channels: 2,
channel_layout: 'stereo',
bits_per_sample: 0,
id: 'N/A',
r_frame_rate: '0/0',
avg_frame_rate: '0/0',
time_base: '1/14112000',
start_pts: 0,
start_time: 0,
duration_ts: 15482628,
duration: 1.097125,
bit_rate: 128000,
max_bit_rate: 'N/A',
bits_per_raw_sample: 'N/A',
nb_frames: 'N/A',
nb_read_frames: 'N/A',
nb_read_packets: 'N/A',
'DISPOSITION:default': 0,
'DISPOSITION:dub': 0,
'DISPOSITION:original': 0,
'DISPOSITION:comment': 0,
'DISPOSITION:lyrics': 0,
'DISPOSITION:karaoke': 0,
'DISPOSITION:forced': 0,
'DISPOSITION:hearing_impaired': 0,
'DISPOSITION:visual_impaired': 0,
'DISPOSITION:clean_effects': 0,
'DISPOSITION:attached_pic': 0 } ],
format:
{ nb_streams: 1,
nb_programs: 0,
format_name: 'mp3',
format_long_name: 'MP2/3 (MPEG audio layer 2/3)',
start_time: 0,
duration: 1.097125,
size: 18050,
bit_rate: 131616,
probe_score: 51 },
metadata:
{ artist: 'AnSolas',
encoder: 'Studio One 3.2.0.36707',
date: 2016 } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment