amiaopensource / vrecord

Vrecord is open-source software for capturing a video signal and turning it into a digital file.
https://github.com/amiaopensource/vrecord
149 stars 44 forks source link

Request to set QCTools XML to default of 'Yes, after recording' #779

Open marshalleq opened 5 months ago

marshalleq commented 5 months ago

The below error is received unless I set QCTools XML to be 'Yes, after recording'. I see from another post you're aware of the issue, but I didn't see a bug for it. I'm posting this one to help others that may be using your 'super awesome, one of kind, completely fills a gaping hole in the market' tool.

May I suggest that until it's fixed, the default option is set to 'yes, after recording' as it took me a while to pin down and this will help others to get started quickly.

Many, many thanks for your tool again, I am super grateful.


Starting the vrecord GUI. To bypass the GUI, run like 'vrecord FILENAME'.
And place logs at /Users/username/Movies/ too.
Summary: H.264/matroska uyvy422 file from pal  sdi embedded.  Frame MD5s=Yes, QCTools XML=Yes, concurrent with recording. Inputs recorded to /Users/username/Movies//Test7.mkv and Auxiliary Files created in /Users/username/Movies/. 
Hit enter to start recording

Close the playback window to stop recording.
ffmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg developers
  built with Apple clang version 15.0.0 (clang-1500.0.40.1)
  configuration: --prefix=/opt/homebrew/Cellar/ffmpegdecklink/5.1.2_2 --disable-shared --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libfontconfig --disable-htmlpages --disable-libjack --disable-indev=jack --enable-neon --enable-nonfree --enable-decklink --extra-cflags=-I/opt/homebrew/include --extra-ldflags=-L/opt/homebrew/include
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[decklink @ 0x1427047f0] Found Decklink mode 720 x 576 with rate 25.00(i)
qcli dev build, Oct 12 2023 07:09:34
filters selected: signalstats aphasemeter astats ssim 
[decklink @ 0x1427047f0] Frame received (#1) - No input signal detected - Frames dropped 1
Guessed Channel Layout for Input Stream #0.0 : 7.1
Input #0, decklink, from 'UltraStudio Recorder 3G':
  Duration: N/A, start: 0.000000, bitrate: 178176 kb/s
  Stream #0:0: Audio: pcm_s32le, 48000 Hz, 7.1, s32, 12288 kb/s
  Stream #0:1: Video: rawvideo (UYVY / 0x59565955), uyvy422(top first), 720x576, 165888 kb/s, 25 fps, 25 tbr, 1000k tbn
Multiple -c, -codec, -acodec, -vcodec, -scodec or -dcodec options specified for stream 0, only the last option '-c:a pcm_s24le' will be used.
Stream mapping:
  Stream #0:0 (pcm_s32le) -> pan:default (graph 0)
  Stream #0:1 (rawvideo) -> setdar:default (graph 0)
  setdar:default (graph 0) -> Stream #0:0 (libx264)
  pan:default (graph 0) -> Stream #0:1 (pcm_s24le)
  Stream #0:1 -> #1:0 (rawvideo (native) -> rawvideo (native))
  Stream #0:0 -> #2:0 (pcm_s32le (native) -> pcm_s24le (native))
  Stream #0:1 -> #2:1 (copy)
Output #1, framemd5, to '/Users/username/Movies//Test7.framemd5':
  Metadata:
    encoder         : Lavf59.27.100
  Stream #1:0: Video: rawvideo (UYVY / 0x59565955), uyvy422(top coded first (swapped)), 720x576, q=2-31, 165888 kb/s, 25 fps, 25 tbn
    Metadata:
      encoder         : Lavc59.37.100 rawvideo
[Parsed_pan_1 @ 0x6000035e8e70] [SWR @ 0x149698000] Input channel layout has a different number of channels than the number of used channels, ignoring layout
[Parsed_pan_1 @ 0x6000035e8e70] Pure channel mapping detected: 0 1
[libx264 @ 0x142707270] interlace + weightp is not implemented
[libx264 @ 0x142707270] using SAR=16/15
[libx264 @ 0x142707270] using cpu capabilities: ARMv8 NEON
[libx264 @ 0x142707270] profile High, level 3.0, 4:2:0, 8-bit
[libx264 @ 0x142707270] 264 - core 164 r3108 31e19f9 - H.264/MPEG-4 AVC codec - Copyleft 2003-2023 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=tff bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to '/Users/username/Movies//Test7.mkv':
  Metadata:
    creation_time   : now
    encoder         : Lavf59.27.100
  Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p(tv, bt470bg/bt470bg/bt709, top coded first (swapped)), 720x576 [SAR 16:15 DAR 4:3], q=2-31, 25 fps, 1k tbn
    Metadata:
      encoder         : H.264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
  Stream #0:1: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s32, 2304 kb/s
    Metadata:
      encoder         : Lavc59.37.100 pcm_s24le
Output #2, matroska, to 'pipe:':
  Metadata:
    encoder         : Lavf59.27.100
  Stream #2:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 7.1, s32, 9216 kb/s
    Metadata:
      encoder         : Lavc59.37.100 pcm_s24le
  Stream #2:1: Video: rawvideo (UYVY / 0x59565955), uyvy422(top first), 720x576, q=2-31, 165888 kb/s, 25 fps, 25 tbr, 1k tbn

analyzing input file... -
                                                   0 of 100 %/opt/homebrew/bin/vrecord: line 2454: 31928 Broken pipe: 13         tee >("${PLAYER_COMMAND[@]}")
     31929 Segmentation fault: 11  | "${QCLI_COMMAND_PIPE[@]}"
av_interleaved_write_frame(): Broken pipe
Error writing trailer of pipe:: Broken pipe
frame=    5 fps=0.0 q=-1.0 Lq=-0.0 q=-1.0 size=      58kB time=00:00:00.20 bitrate=2377.8kbits/s speed=   2x    
video:8101kB audio:281kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Error closing file pipe:: Broken pipe
[libx264 @ 0x142707270] frame I:1     Avg QP: 6.00  size:   140
[libx264 @ 0x142707270] frame P:1     Avg QP: 8.00  size:    33
[libx264 @ 0x142707270] frame B:3     Avg QP: 7.67  size:    31
[libx264 @ 0x142707270] consecutive B-frames: 20.0%  0.0%  0.0% 80.0%
[libx264 @ 0x142707270] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 0x142707270] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:100.0%
[libx264 @ 0x142707270] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:100.0%
[libx264 @ 0x142707270] field mbs: intra: 0.0% skip:0.0%
[libx264 @ 0x142707270] 8x8 transform intra:0.0%
[libx264 @ 0x142707270] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
[libx264 @ 0x142707270] i16 v,h,dc,p: 97%  0%  3%  0%
[libx264 @ 0x142707270] i8c dc,h,v,p: 100%  0%  0%  0%
[libx264 @ 0x142707270] kb/s:10.64
Conversion failed!
Vrecord is analyzing your video file. Please be patient.
qctools XML /Users/username/Movies//Test7.mkv.qctools.mkv is empty or does not exist!
QCTools analysis is complete.
 ________________________________________ 
/ WARNING: FFmpeg Decklink input    \
| reported dropped frames in the         |
| following 1 locations. This error may  |
| indicate an interrupted signal between |
| hardware components. The file may be   |
| missing content. With decklink inputs, |
| this cow recommends reviewing your     |
| settings in Desktop Video Setup and    |
| setting the video and audio inputs to  |
\ match what those set in vrecord. /
 ---------------------------------------- 
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
Dropped frames timestamps: 00:00:00.040 
Vrecord is attaching logs to your Matroska file:
The file is being analyzed.
The changes are written to the file.
Done.
The file is being analyzed.
The changes are written to the file.
Done.
Vrecord is done attaching logs to your Matroska file!