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 fixes #860

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Qcli fixes #860

wants to merge 4 commits into from

Conversation

dericed
Copy link
Member

@dericed dericed commented Dec 10, 2024

a workaround for bavc/qctools#842 #853 and a few other fixes

@dericed dericed requested a review from privatezero December 10, 2024 22:11
@privatezero
Copy link
Member

I just gave this a test and it seems to work for non-concurrent qctools report generation, but concurrent report generation still crashes with a pipe/segmentation fault error. This happens for both 4 channel and 2 channel captures on my end. (Testing this on macOS right now as I don't have my linux machine handy at the moment). See below for relevant terminal output:

Close the playback window to stop recording.
qcli dev build, Oct 12 2023 07:09:34
filters selected: signalstats aphasemeter astats ssim
Guessed Channel Layout for Input Stream #0.0 : 7.1
Input #0, matroska,webm, from 'pipe:':
Metadata:
ENCODER : Lavf59.27.100
Duration: N/A, start: 0.000000, bitrate: 9216 kb/s
Stream #0:0: Audio: pcm_s24le, 48000 Hz, 8 channels, s32 (24 bit), 9216 kb/s
Metadata:
ENCODER : Lavc59.37.100 pcm_s24le
Stream #0:1: Video: v210 (v210 / 0x30313276), yuv422p10le(bottom first), 720x486, 29.97 fps, 29.97 tbr, 1k tbn
[Parsed_pan_0 @ 0x7fdcd910fec0] Pure channel mapping detected: 0 1
[Parsed_pan_0 @ 0x7fdcd9605080] Pure channel mapping detected: 0 1

analyzing input file... -
0 of 100 %[matroska,webm @ 0x7fdcd9115100] File ended prematurely
[matroska,webm @ 0x7fdcd9115100] Seek to desired resync point failed. Seeking to earliest point available instead.
./vrecord: line 2670: 43569 Broken pipe: 13 tee >("${PLAYER_COMMAND[@]}")
43570 Segmentation fault: 11 | "${QCLI_COMMAND_PIPE[@]}"
av_interleaved_write_frame(): Broken pipe
[Parsed_pan_4 @ 0x7f7e74a07e40] [SWR @ 0x7f7e68db8000] Input channel layout has a different number of channels than the number of used channels, ignoring layout
Finishing stream 0:0 without any data written to it.
Finishing stream 0:1 without any data written to it.
Error writing trailer of pipe:: Broken pipe
Error closing file pipe:: Broken pipe

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 this pull request may close these issues.

2 participants