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

Track layout issues with data track being first #813

Open
vish91 opened this issue Mar 15, 2024 · 3 comments
Open

Track layout issues with data track being first #813

vish91 opened this issue Mar 15, 2024 · 3 comments

Comments

@vish91
Copy link

vish91 commented Mar 15, 2024

Do we know of any bug where running mediainfo on a track which has data track as first in input source causing mediainfo call to hang ?

e.g

ffmpeg -i CBS_SURVIVOR_3614_3615_HD_R.mov
ffmpeg version n6.0 Copyright (c) 2000-2023 the FFmpeg developers
...
  [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55c29ee477c0] Referenced QT chapter track not found
Guessed Channel Layout for Input Stream #0.8 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/opt/data/video/buckets/i-cbsent-video-source/ingest/2021/07/07/CBS_SURVIVOR_3614_3615_HD_R.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2018-05-25T00:46:21.000000Z
    com.apple.quicktime.player.movie.audio.gain: 1.000000
    com.apple.quicktime.player.movie.audio.treble: 0.000000
    com.apple.quicktime.player.movie.audio.bass: 0.000000
    com.apple.quicktime.player.movie.audio.balance: 0.000000
    com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
    com.apple.quicktime.player.movie.audio.mute:
    com.apple.quicktime.player.movie.visual.brightness: 0.000000
    com.apple.quicktime.player.movie.visual.color: 1.000000
    com.apple.quicktime.player.movie.visual.tint: 0.000000
    com.apple.quicktime.player.movie.visual.contrast: 1.000000
    com.apple.quicktime.player.version: 7.6.6 (7.6.6)
    com.apple.quicktime.version: 7.7.3 (2943.12) 0x7738000 (Mac OS X, 10.11.6, 15G31)
    timecode        : 00:00:00:00
  Duration: 01:54:27.76, start: 0.000000, bitrate: 221984 kb/s
  Stream #0:0[0x1](eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      creation_time   : 2018-05-25T00:46:21.000000Z
      handler_name    : Time Code Media Handler
      timecode        : 00:00:00:00
  Stream #0:1[0x2]: Video: prores (HQ) (apch / 0x68637061), yuv422p10le(bt709, progressive), 1920x1080, 212758 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 30k tbn (default)
    Metadata:
      creation_time   : 2018-05-25T00:46:21.000000Z
      handler_name    : Apple Video Media Handler
      vendor_id       : appl
      encoder         : Apple ProRes 422 (HQ)
  Stream #0:2[0x3]: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2018-05-25T00:46:21.000000Z
      handler_name    : Apple Sound Media Handler
      vendor_id       : [0][0][0][0]
  Stream #0:3[0x4]: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2018-05-25T00:46:21.000000Z
      handler_name    : Apple Sound Media Handler
      vendor_id       : [0][0][0][0]
  Stream #0:4[0x5]: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2018-05-25T00:46:21.000000Z
      handler_name    : Apple Sound Media Handler
      vendor_id       : [0][0][0][0]
  Stream #0:5[0x6]: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2018-05-25T00:46:21.000000Z
      handler_name    : Apple Sound Media Handler
      vendor_id       : [0][0][0][0]
  Stream #0:6[0x7]: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2018-05-25T00:46:21.000000Z
      handler_name    : Apple Sound Media Handler
      vendor_id       : [0][0][0][0]
  Stream #0:7[0x8]: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2018-05-25T00:46:21.000000Z
      handler_name    : Apple Sound Media Handler
      vendor_id       : [0][0][0][0]
  Stream #0:8[0x9]: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 2 channels, s32 (24 bit), 2304 kb/s (default)
    Metadata:
      creation_time   : 2018-05-25T00:46:21.000000Z
      handler_name    : Apple Sound Media Handler
      vendor_id       : [0][0][0][0]

Making a mediainfo call just runs endlessly and doesn't finish or error

$ mediainfo CBS_SURVIVOR_3614_3615_HD_R.mov

mediainfo --version
MediaInfo Command line,
MediaInfoLib - v23.07

@JeromeMartinez
Copy link
Member

Sample file please. If can not be shared publicly, please send the link to [email protected]

@vish91
Copy link
Author

vish91 commented Mar 15, 2024

@JeromeMartinez yeah sure thing.. its a huge file.. so let me try and clip a small sample making sure the layout remains the same or figure out what i can share .

@vish91
Copy link
Author

vish91 commented Mar 19, 2024

@JeromeMartinez unfortunately can't share the source will have to get permissions from the Studio side etc.

  1. I also tried to clip it with ffmpeg and keep same track order but wasn't able to reproduce the issue there.
    Anything from the above output that stands our for you ? or anything we can run internally and share that output ?

  2. Apart from that does mediainfo have like a timeout param that we can set so even if the source is bad the process doesn't just hog up resources and we can end it and return back an error or empty resposne ?

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

2 participants