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

qcli segmentation fault w/ certain files #836

Closed
eddycolloton opened this issue Aug 8, 2024 · 0 comments · Fixed by #839
Closed

qcli segmentation fault w/ certain files #836

eddycolloton opened this issue Aug 8, 2024 · 0 comments · Fixed by #839

Comments

@eddycolloton
Copy link

eddycolloton commented Aug 8, 2024

Encountered this issue with 2 ffv1/flac/mkv files w/ jpeg image MKV attachments. Running w/ most recent build of qcli, first encountered on the homebrew version (10/12/2023 build). No issue processing the files with the GUI.

$ /usr/local/bin/qcli -i /Users/eddycolloton/git/JPC_AV/sample_files/bowser_files/2012_79_2_224_1a_PM/2012_79_2_224_1a_PM.mkv
qcli 1.3.20240803, Aug  3 2024 11:36:38
filters selected: signalstats psnr astats 
[matroska,webm @ 0x7fa2a000c440] Stream #4: not enough frames to estimate rate; consider increasing probesize
[matroska,webm @ 0x7fa2a000c440] Could not find codec parameters for stream 2 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x7fa2a000c440] Could not find codec parameters for stream 3 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options

analyzing input file... /Users/eddycolloton/git/JPC_AV/sample_files/bowser_files/2012_79_2_224_1a_PM/2012_79_2_224_1a_PM.mkv
zsh: segmentation fault  /usr/local/bin/qcli -i

Segmentation fault appears similar with homebrew version:

zsh: segmentation fault  qcli -i

Let me know what other information/docs/logs I should submit.

Here's the ffprobe output of both files in question.
2012_79_2_224_1a_PM.mkv:

ffprobe version 7.0.2 Copyright (c) 2007-2024 the FFmpeg developers
  built with Apple clang version 15.0.0 (clang-1500.3.9.4)
  configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.0.2 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon
  libavutil      59.  8.100 / 59.  8.100
  libavcodec     61.  3.100 / 61.  3.100
  libavformat    61.  1.100 / 61.  1.100
  libavdevice    61.  1.100 / 61.  1.100
  libavfilter    10.  1.100 / 10.  1.100
  libswscale      8.  1.100 /  8.  1.100
  libswresample   5.  1.100 /  5.  1.100
  libpostproc    58.  1.100 / 58.  1.100
[matroska,webm @ 0x157605dc0] Stream #4: not enough frames to estimate rate; consider increasing probesize
[matroska,webm @ 0x157605dc0] Could not find codec parameters for stream 2 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x157605dc0] Could not find codec parameters for stream 3 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, matroska,webm, from '/Users/eddycolloton/git/JPC_AV/sample_files/bowser_files/2012_79_2_224_1a_PM/2012_79_2_224_1a_PM.mkv':
  Metadata:
    AUDIO_STREAM_HASH: 61ffbdd7ec66221a72d9d3baac1cf4b0
    creation_time   : 2024-02-26T17:44:59.358149Z
    VIDEO_STREAM_HASH: 3fdb51da2c7ee171710d96239f71bd90
    ENCODER         : Lavf60.3.100
    title           : Midnight Ramble: Oscar Micheaux Clips
  Duration: 00:15:00.03, start: 0.000000, bitrate: 86801 kb/s
  Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p10le(tv, smpte170m/smpte170m/bt709, bottom coded first (swapped)), 720x486, SAR 9:10 DAR 4:3, 29.97 fps, 29.97 tbr, 1k tbn
      Metadata:
        ENCODER         : FFV1 version 3
        DURATION        : 00:15:00.032000000
  Stream #0:1: Audio: flac, 48000 Hz, stereo, s32 (24 bit)
      Metadata:
        ENCODER         : Lavc60.3.100 flac
        DURATION        : 00:15:00.000000000
  Stream #0:2: Attachment: none
      Metadata:
        filename        : 2012_79_2_224_1a_PM_capture_options.log
        mimetype        : text/x-log
        title           : Capture options selected by user during vrecord process
  Stream #0:3: Attachment: none
      Metadata:
        filename        : 2012_79_2_224_1a_PM_vrecord_input.log
        mimetype        : text/x-log
        title           : Full FFmpeg output from vrecord capture process
  Stream #0:4: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 1920x1080 [SAR 96:96 DAR 16:9], 90k tbr, 90k tbn (attached pic)
      Metadata:
        filename        : 2012_79_2_224_1a_PM_QC_output_graphs.jpeg
        mimetype        : image/jpeg
Unsupported codec with id 0 for input stream 2
Unsupported codec with id 0 for input stream 3

2012_79_2_225_1a_PM.mkv:

ffprobe version 7.0.2 Copyright (c) 2007-2024 the FFmpeg developers
  built with Apple clang version 15.0.0 (clang-1500.3.9.4)
  configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.0.2 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon
  libavutil      59.  8.100 / 59.  8.100
  libavcodec     61.  3.100 / 61.  3.100
  libavformat    61.  1.100 / 61.  1.100
  libavdevice    61.  1.100 / 61.  1.100
  libavfilter    10.  1.100 / 10.  1.100
  libswscale      8.  1.100 /  8.  1.100
  libswresample   5.  1.100 /  5.  1.100
  libpostproc    58.  1.100 / 58.  1.100
[matroska,webm @ 0x13c8052f0] Stream #5: not enough frames to estimate rate; consider increasing probesize
[matroska,webm @ 0x13c8052f0] Could not find codec parameters for stream 2 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x13c8052f0] Could not find codec parameters for stream 3 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x13c8052f0] Could not find codec parameters for stream 4 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, matroska,webm, from '/Users/eddycolloton/git/JPC_AV/sample_files/bowser_files/2012_79_2_225_1a_PM/2012_79_2_225_1a_PM.mkv':
  Metadata:
    creation_time   : 2024-01-23T16:33:33.571228Z
    ENCODER         : Lavf59.27.100
    TITLE           : Black Images/SilverScreen: OSCAR MICHEAUX
    ENCODER_SETTINGS: O=VHS, C=Color, S=Analog, VS= NTSC, F=24, A=4:3, R=720x486, T=Sony SVO-5800, O=FFV1mkv, C=Color, V=Composite, S=Analog Stereo, F=24, A=4:3, W=10-bit, R=720x486, M=YUV422p10, T=Blackmagic UltraStudio 4K Mini SN123456, ffmpeg vrecord; in-house, O=FFV1mkv, W
    DESCRIPTION     : 1990 short documentary film about Oscar Micheaux, hosted by Denzel Washington. Featured on The Movie Channel as part of the Black Images/Silver Screen series in commemoration of the Black History Month.
    CATALOG_NUMBER  : 2012.79.2.225.1a
    ORIGINAL_MEDIA_TYPE: VHS
    ENCODED_BY      : Smithsonian Institution VHS
    COLLECTION      : Pearl Bowser Collection
    VIDEO_STREAM_HASH: 8031c3ec1905ad2bf7757db07c3679b1
    AUDIO_STREAM_HASH: 9de19ec27b735b37dd3a1bb4e1e9022e
  Duration: 00:02:30.02, start: 0.000000, bitrate: 82567 kb/s
  Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p10le(tv, smpte170m/smpte170m/bt709, bottom coded first (swapped)), 720x486, SAR 9:10 DAR 4:3, 29.97 fps, 29.97 tbr, 1k tbn
      Metadata:
        ENCODER         : FFV1 version 3
        DURATION        : 00:02:30.016000000
  Stream #0:1: Audio: flac, 48000 Hz, stereo, s32 (24 bit)
      Metadata:
        ENCODER         : Lavc59.37.100 flac
        DURATION        : 00:02:30.000000000
  Stream #0:2: Attachment: none
      Metadata:
        filename        : 2012_79_2_225_1a_PM_capture_options.log
        mimetype        : text/x-log
        title           : Capture options selected by user during vrecord process
  Stream #0:3: Attachment: none
      Metadata:
        filename        : 2012_79_2_225_1a_PM_vrecord_input.log
        mimetype        : text/x-log
        title           : Full FFmpeg output from vrecord capture process
  Stream #0:4: Attachment: none
      Metadata:
        filename        : 2012_79_2_225_VideoConditionReport_2023 _ANNOTATIONS.pdf
        mimetype        : application/pdf
  Stream #0:5: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 1920x1080 [SAR 96:96 DAR 16:9], 90k tbr, 90k tbn (attached pic)
      Metadata:
        filename        : 2012_79_2_225_1a_PM_QC_output_graphs.jpeg
        mimetype        : image/jpeg
Unsupported codec with id 0 for input stream 2
Unsupported codec with id 0 for input stream 3
Unsupported codec with id 0 for input stream 4
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

Successfully merging a pull request may close this issue.

1 participant