Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFprobe in ffmpeg can't view lyrics #980

Open
TechnoTew opened this issue Jan 29, 2020 · 0 comments
Open

FFprobe in ffmpeg can't view lyrics #980

TechnoTew opened this issue Jan 29, 2020 · 0 comments

Comments

@TechnoTew
Copy link

Version information

  • fluent-ffmpeg version: 2.1.2
  • ffmpeg version: 0.04
  • OS: OSX - Mojave

Code to reproduce

const ffmpeg = require('fluent-ffmpeg');
ffmpeg.ffprobe('/Users/technotew/Desktop/A Sky Full of Stars.mp3', function(err, metadata) {
    console.dir(metadata);
    
})

(note: if the problem only happens with some inputs, include a link to such an input file)

Expected results

My full lyrics in the mp3 to be shown in the 'lyrics-eng' tag.

Observed results

{
  streams: [
    {
      index: 0,
      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: 'fltp',
      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: 353600,
      start_time: 0.025057,
      duration_ts: 3787776000,
      duration: 268.408163,
      bit_rate: 256000,
      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',
      tags: [Object],
      disposition: [Object]
    },
    {
      index: 1,
      codec_name: 'mjpeg',
      codec_long_name: 'Motion JPEG',
      profile: 'Baseline',
      codec_type: 'video',
      codec_time_base: '0/1',
      codec_tag_string: '[0][0][0][0]',
      codec_tag: '0x0000',
      width: 640,
      height: 640,
      coded_width: 640,
      coded_height: 640,
      has_b_frames: 0,
      sample_aspect_ratio: '1:1',
      display_aspect_ratio: '1:1',
      pix_fmt: 'yuvj420p',
      level: '-99',
      color_range: 'pc',
      color_space: 'bt470bg',
      color_transfer: 'unknown',
      color_primaries: 'unknown',
      chroma_location: 'center',
      field_order: 'unknown',
      timecode: 'N/A',
      refs: 1,
      id: 'N/A',
      r_frame_rate: '90000/1',
      avg_frame_rate: '0/0',
      time_base: '1/90000',
      start_pts: 2255,
      start_time: 0.025056,
      duration_ts: 24156735,
      duration: 268.408167,
      bit_rate: 'N/A',
      max_bit_rate: 'N/A',
      bits_per_raw_sample: 8,
      nb_frames: 'N/A',
      nb_read_frames: 'N/A',
      nb_read_packets: 'N/A',
      tags: [Object],
      disposition: [Object]
    }
  ],
  format: {
    filename: '/Users/technotew/Desktop/A Sky Full of Stars.mp3',
    nb_streams: 2,
    nb_programs: 0,
    format_name: 'mp3',
    format_long_name: 'MP2/3 (MPEG audio layer 2/3)',
    start_time: 0.025056,
    duration: 268.408163,
    size: 8679009,
    bit_rate: 258680,
    probe_score: 51,
    tags: {
      encoder: 'Lavf56.25.101',
      title: 'A Sky Full of Stars',
      artist: 'Coldplay',
      album: 'Ghost Stories',
      album_artist: 'Coldplay',
      disc: '1',
      track: '8',
      'lyrics-eng': 'A Sky Full Of Stars'
    }
  },
  chapters: []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant