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

Failed to avformat_open_input 'pipe:0' / (P1_ERR=1) #776

Open vgelati opened 6 months ago

vgelati commented 6 months ago

Hello there! I am new to the community and I am very happy to get in touch with you all!

I am using vrecord for the first time and when I start to record, this message appear (and no recording is made):


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.1.0.2.5) configuration: --prefix=/usr/local/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-nonfree --enable-decklink --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/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 @ 0x7fd91a004980] Found Decklink mode 720 x 576 with rate 25.00(i) [decklink @ 0x7fd91a004980] Cannot enable video input DeckLink 4K Extreme 12G: Input/output error [Parsed_amovie_0 @ 0x7fec3ca07000] Failed to avformat_open_input 'pipe:0' [lavfi @ 0x7fec3bf16700] Error initializing filter 'amovie' with args 'pipe\:0:streams=dv+da' amovie='pipe\:0':streams=dv+da[vid][aud], [aud]asplit=2[aud1][out1]; [aud1]showvolume=t=0:dm=5400:rate=25000/1000[aud2]; [vid]split=5[a][b][c][d][e]; [a]copy[a1]; [b]field=top, format=yuv422p, waveform=scale=digital:intensity=0.1:mode=column:mirror=1:c=1:f=lowpass:e=instant:graticule=green:flags=numbers+dots[b1]; [c]field=bottom, format=yuv422p, waveform=scale=digital:intensity=0.1:mode=column:mirror=1:c=1:f=lowpass:e=instant:graticule=green:flags=numbers+dots[c1]; [d] format=yuv422p, vectorscope=i=0.04:mode=color2:c=1:envelope=instant:graticule=green:flags=name, scale=512:512, drawbox=w=9:h=9:t=1:x=128-3:y=512-452-5:c=sienna@0.8, drawbox=w=9:h=9:t=1:x=160-3:y=512-404-5:c=sienna@0.8, drawbox=w=9:h=9:t=1:x=192-3:y=512-354-5:c=sienna@0.8, drawbox=w=9:h=9:t=1:x=224-3:y=512-304-5:c=sienna@0.8, drawgrid=w=32:h=32:t=1:c=white@0.1, drawgrid=w=256:h=256:t=1:c=white@0.2[d1]; [e]scale=512:ih,signalstats=out=brng[e1]; [a1][b1][c1][e1][d1]xstack=inputs=5:layout=0_0|0_h0|0_h0+h1|w0_0|w0_h0[vidstack]; [vidstack][aud2]overlay=10:10[out0]: Invalid data found when processing input

2023-12-20T10:17:22 - vrecord exited a form in an unexpected way (P1_ERR=1), please report this error to https://github.com/amiaopensource/vrecord/issues 2023-12-20T10:17:22 - Error details: /usr/local/opt/ffmpegdecklink/bin/ffmpeg-dl


I am working on a Mac Intel Ventura 13.5 with Desktop Video Setup Version 12.5 (BlackMagic Design), and I have just downloaded Homebrew 4.2.0 and Vrecord 2023-08-07. I saw this problem occurred recently to other people, but the solutions suggested did not help me so far :-( .. had someone the same problem and could solve it?

Many thanks and looking forward to your feedbacks! VG