amiaopensource / vrecord

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

attempt vrecord linux brew ubuntu 18.04 INSTALL problem #528

Open jshupeGitHub opened 4 years ago

jshupeGitHub commented 4 years ago

I have resolved previous problems with sdl and cowsay

but now am stuck

i think I have my PATH ok i did the suggested echos

brew doctor

Warning: Homebrew’s bin was not found in your PATH. Consider setting the PATH for example like so: echo ‘export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"’ >> ~/.bash_profile

Warning: Homebrew’s sbin was not found in your PATH but you have installed formulae that put executables in /home/linuxbrew/.linuxbrew/sbin. Consider setting the PATH for example like so: echo ‘export PATH="/home/linuxbrew/.linuxbrew/sbin:$PATH"’ >> ~/.bash_profile

i seem to be stuck on a last step

brew install vrecord ==> Installing vrecord from amiaopensource/amiaos Error: undefined method installed?' for OS::Mac::Xcode:Module Please report this issue: https://docs.brew.sh/Troubleshooting /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirements/xcode_requirement.rb:18:in xcode_installed_version’ /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirements/xcode_requirement.rb:10:in block in class:XcodeRequirement' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:60:in instance_eval’ /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:60:in block in satisfied?' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:191:in yielder’ /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:60:in satisfied?' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_installer.rb:456:in block in expand_requirements’ /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:222:in block in prune?' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:220:in catch’ /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:220:in prune?' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:210:in block (2 levels) in expand’ /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in each_key' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in each’ /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/delegate.rb:349:in block in delegating_block' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:209:in block in expand’ /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:208:in each' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:208:in expand’ /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:1557:in recursive_requirements' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_installer.rb:450:in expand_requirements’ /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_installer.rb:388:in compute_dependencies' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_installer.rb:148:in verify_deps_exist’ /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_installer.rb:141:in prelude' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/install.rb:328:in install_formula’ /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/install.rb:261:in block in install' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/install.rb:259:in each’ /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/install.rb:259:in install' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:110:in ’

------{ it is possible that the clue to solution is in the above ...and I fail to understand it--------

presently I am attempting to whittle my way through with a

brew install --ignore-dependencies vrecord

and when that fails with a child process - then I respond to that here you can see a few attempts on that giflib , leptonica , tesseract and on and on

</snip Error: An exception occurred within a child process: RuntimeError: /home/linuxbrew/.linuxbrew/opt/giflib not present or broken Please reinstall giflib. Sorry :(

brew install giflib

scenesavers@ss-43:~$ brew install giflib ==> Downloading https://linuxbrew.bintray.com/bottles/giflib-5.2.1.x86_64_linux. ######################################################################## 100.0% ==> Pouring giflib-5.2.1.x86_64_linux.bottle.tar.gz 🍺 /home/linuxbrew/.linuxbrew/Cellar/giflib/5.2.1: 34 files, 553.4KB

brew install --ignore-dependencies vrecord

Error: An exception occurred within a child process: RuntimeError: /home/linuxbrew/.linuxbrew/opt/leptonica not present or broken Please reinstall leptonica. Sorry :(

brew install leptonica

scenesavers@ss-43:~$ brew install leptonica ==> Downloading https://linuxbrew.bintray.com/bottles/leptonica-1.79.0.x86_64_li ==> Downloading from https://akamai.bintray.com/ad/ad22d307cd6b6c1a08d2931e878dd ######################################################################## 100.0% ==> Pouring leptonica-1.79.0.x86_64_linux.bottle.tar.gz 🍺 /home/linuxbrew/.linuxbrew/Cellar/leptonica/1.79.0: 53 files, 8.5MB

brew install --ignore-dependencies vrecord

Error: An exception occurred within a child process: RuntimeError: /home/linuxbrew/.linuxbrew/opt/tesseract not present or broken Please reinstall tesseract. Sorry :( </snip

maybe there is a "better" flag for linux ubuntu 18.4 besides " --ignore-dependencies " but would autoMagically get the dependencies

or how do I "adjust" my $PATH to point to things ...that maybe I do have in sbin and on like that OR maybe this is the best way.... I would also benefit from a word of YES- that will eventually work and you will vrecord on linux 18.04 and can happily capture directly into ffv1 v3 into a mkv or or NO- that will never work

any assistance would be welcomed

thanks in advance

best wishes

jS

privatezero commented 4 years ago

Hi @jshupeGitHub, the problems you are running into with the failure of --ignore-dependencies are something that seems to have cropped up recently with the Brew Install - I haven't yet had a chance to look into if continuing to install the list of programs mentioned in the child processes will eventually make brew happy.

A temporary work around, if you have installed the other dependencies mentioned in the linux install docs would be to download one of the releases and run vrecord directly.

jshupeGitHub commented 4 years ago

On 4/14/2020 11:59 AM, Andrew Weaver wrote:

Hi @jshupeGitHub https://github.com/jshupeGitHub, the problems you are running into with the failure of |--ignore-dependencies| are something that seems to have cropped up recently with the Brew Install

  • I haven't yet had a chance to look into if continuing to install the list of programs mentioned in the child processes will eventually make brew happy.

A temporary work around, if you have installed the other dependencies mentioned in the linux install docs https://github.com/amiaopensource/vrecord/blob/master/Resources/Documentation/linux_installation.md would be to download one of the releases https://github.com/amiaopensource/vrecord/releases and run vrecord directly.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/amiaopensource/vrecord/issues/528#issuecomment-613528424, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM3KFTHQESL5V33NJIO2SLDRMSB5TANCNFSM4MH2ZXVQ.

greetings friend andrew

do I understand that if I use https://github.com/amiaopensource/vrecord/releases v2020-02-10: Merge pull request #504 from amiaopensource/fallback-to-other-ffmpegs. I can run vrecord?  I can capture by means of vrecord?

but this  source code zip   is /unlike/ something that I would compile , make , make install , configure , make clean i find no file.h  , file.c rather -- do i unzip the dir

vrecord-2020-02-10 cd to vrecord-2020-02-10   and do a    ./vrecord or do i need to compile ... it does not look like something that one 'builds"  but is already a static binary need i make the 20KB file of vrecord-2020-02-10 /vrecord executable then? or in short how do i use it?

thanks I appreciate your assistance in this matter

also _ if I can help devel a "better" vrecord - linuxbrew  on linux I would be happy to try.

also

2 things :: 1 Yes I have other installed the other dependencies Steps for a successful install of Vrecord on Linux https://github.com/amiaopensource/vrecord/blob/master/Resources/Documentation/linux_installation.md

:: 2

i seem to have "run out of road"   with the effort to continuing to install the list of programs mentioned in the child processes will eventually make brew happy.

it happened with mpv

( which I have ....already happily installed and running on this machine. linux ubuntu 18.04 64b

 MPV PPA with: sudo add-apt-repository ppa:mc3man/mpv-tests )

--- here is what i am seeing

brew install --ignore-dependencies vrecord

==> Installing vrecord from amiaopensource/amiaos Error: An exception occurred within a child process: RuntimeError: /home/linuxbrew/.linuxbrew/opt/mpv not present or broken Please reinstall mpv. Sorry :(

brew install mpv

scenesavers@ss-43:~$ brew install mpv

Error: undefined method installed?' for OS::Mac::Xcode:Module Please report this issue: https://docs.brew.sh/Troubleshooting /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirements/xcode_requirement.rb:18:in xcode_installed_version' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirements/xcode_requirement.rb:10:in block in <class:XcodeRequirement>' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:60:in instance_eval' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:60:in block in satisfied?' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:191:in yielder' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:60:in satisfied?' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_installer.rb:456:in block in expand_requirements' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:222:in block in prune?' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:220:in catch' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:220:in prune?' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:210:in block (2 levels) in expand' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in each_key' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in each' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/delegate.rb:349:in block in delegating_block' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:209:in block in expand' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:208:in each' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirement.rb:208:in expand' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:1557:in recursive_requirements' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_installer.rb:450:in expand_requirements' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_installer.rb:388:in compute_dependencies' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_installer.rb:148:in verify_deps_exist' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_installer.rb:141:in prelude' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/install.rb:328:in install_formula' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/install.rb:261:in block in install' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/install.rb:259:in each' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/install.rb:259:in install' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:110:in

'

brew install --ignore-dependencies vrecord

scenesavers@ss-43:~$ brew install --ignore-dependencies vrecord

Warning: --ignore-dependencies is an unsupported Homebrew developer flag! Adjust your PATH to put any preferred versions of applications earlier in the PATH rather than using this unsupported flag!

==> Installing vrecord from amiaopensource/amiaos Error: An exception occurred within a child process: RuntimeError: /home/linuxbrew/.linuxbrew/opt/mpv not present or broken Please reinstall mpv. Sorry :(

and i guess -- that is what i call running out of road with the effort to continuing to install the list of programs mentioned in the child processes will eventually make brew happy.

retokromer commented 4 years ago

but this source code zip is /unlike/ something that I would compile , make , make install , configure , make clean i find no file.h , file.c rather -- do i unzip the dir

I am possibly missing something! vrecord in mainly a long Bash script (with a few parts in Lua) which do not need to be compiled.

jshupeGitHub commented 4 years ago

On 4/14/2020 2:21 PM, Reto Kromer wrote:

but this source code zip is /unlike/ something that I would compile ,
make , make install , configure , make clean
i find no file.h , file.c
rather -- do i unzip the dir

I am possibly missing something! |vrecord| in mainly a long Bash script (which a few parts in Lua) which do not need to be compiled.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/amiaopensource/vrecord/issues/528#issuecomment-613602628, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM3KFTGYT3FFD2IJI3BO2BTRMSSSZANCNFSM4MH2ZXVQ.

I think /I/ was the one missing something

since the assets were named Source code -- i was expecting source code ( or what in my mind is source code) and I could tell ....that it was not

anyway

yes ,  that all seems to work

thanks

also -- a tidbit of what i experienced

i ran       ./vrecord -e Gtk-Message: 15:12:00.406: Failed to load module "atk-bridge" Gtk-Message: 15:12:00.461: Failed to load module "canberra-gtk-module"

these are 32 bit ?

and unsure of their relevance for ubuntu 18.04 64

but --  I installed them with

sudo apt-get install libcanberra-gtk-module sudo apt-get install libatk-adaptor:i386 libgail-common:i386


./vrecord -e

allowed me to see the gui and edit to desired file specifications

then i did an "r" it did stack up a file where i specified

Thanks again

and -- if I can help yaLL in any way hollar me up

~ best wishes cheers

jshupeGitHub commented 4 years ago

next morning problem what was working yesterday -- does not work ~Today. and that is a special kind of shame because I dreamed all night about the joy of a vrecord future .

that is the GUI cannot show ( and cowsay complains )

~/vrec$ ./vrecord -e ./vrecord: line 461: gtkdialog: command not found Editing of preferences was canceled by the user. Press [q] to quit, [p] to enter passthrough mode or any other key to proceed:

line 461 reads

eval $(gtkdialog --center --program MAIN_DIALOG)

~/vrec$ ./vrecord -g ./vrecord: line 509: gtkdialog: command not found

line 509 reads

RUNTYPE=$(gtkdialog --center --program=HOME_DIALOG | grep "^EXIT=" | cut -d= -f2 | sed 's/"//g')

./vrecord -h still works so it seems to be limited to gtkdialog -- the whole build a gui effort and thinking that it is a linix brew install gtk problem

Ii try brew install gtkdialog

that showed a brew install gtkdialog Updating Homebrew... Warning: amiaopensource/amiaos/gtkdialog 0.8.3 is already installed and up-to-date To reinstall 0.8.3, run brew reinstall gtkdialog

so i am guessing that is OK

maybe sudo apt remove libcanberra-gtk-module

that showed a sudo apt remove libcanberra-gtk-module [sudo] password for scenesavers: Reading package lists... Done Building dependency tree
Reading state information... Done The following packages were automatically installed and are no longer required: libtinyxml2-6 phantomjs python3-pyxattr rtmpdump youtube-dl Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: libcanberra-gtk-module 0 upgraded, 0 newly installed, 1 to remove and 11 not upgraded. After this operation, 47.1 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 217443 files and directories currently installed.) Removing libcanberra-gtk-module:amd64 (0.30-5ubuntu1) ...

====================================

still get

scenesavers@ss-43:~/vrec$ ./vrecord -e ./vrecord: line 461: gtkdialog: command not found Editing of preferences was canceled by the user. Press [q] to quit, [p] to enter passthrough mode or any other key to proceed: ^C scenesavers@ss-43:~/vrec$ ./vrecord -g ./vrecord: line 509: gtkdialog: command not found

but

i can still do a ./vrecord -r

see details below i wonder if i should install libgtk2.0-dev_2.24.32-1ubuntu1_amd64.deb

~/vrec$ ./vrecord -r Enter Identifier: day2 Summary: FFV1 version 3/matroska yuv422p10 file from ntsc sdi embedded. Frame MD5s=No, QCTools XML=No, and Technician=jshuper. Inputs recorded to /home/scenesavers/Videos/day2_ffv1.mkv and Auxiliary Files created in /home/scenesavers/Videos Hit enter to start recording

defaults read: couldn't read default Close the playback window to stop recording. ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04) configuration: --prefix=/home/linuxbrew/.linuxbrew/Cellar/ffmpegdecklink/4.2.2_2 --disable-shared --enable-version3 --cc=gcc-7 --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-libjack --disable-indev=jack --enable-libiec61883 --enable-nonfree --enable-decklink --extra-cflags=-I/home/linuxbrew/.linuxbrew/include --extra-ldflags=-L/home/linuxbrew/.linuxbrew/include libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 [decklink @ 0x55d7562c2340] Found Decklink mode 720 x 486 with rate 29.97(i) [decklink @ 0x55d7562c2340] Frame received (#1) - No input signal detected - Frames dropped 1 Guessed Channel Layout for Input Stream #0.0 : 7.1 Input #0, decklink, from 'ss43': Duration: N/A, start: 0.000000, bitrate: 236013 kb/s Stream #0:0: Audio: pcm_s32le, 48000 Hz, 7.1, s32, 12288 kb/s Stream #0:1: Video: v210 (V210 / 0x30313256), yuv422p10le(bottom first), 720x486, 223725 kb/s, 29.97 fps, 29.97 tbr, 1000k tbn, 1000k tbc Output #1, matroska, to 'pipe:': Metadata: encoder : Lavf58.29.100 Stream #1:0: Audio: pcm_s32le ([1][0][0][0] / 0x0001), 48000 Hz, 7.1, s32, 12288 kb/s Stream #1:1: Video: v210 (V210 / 0x30313256), yuv422p10le(bottom first), 720x486, q=2-31, 223725 kb/s, 29.97 fps, 29.97 tbr, 1k tbn, 1000k tbc Stream mapping: Stream #0:0 (pcm_s32le) -> pan Stream #0:1 (v210) -> setsar setdar -> Stream #0:0 (ffv1) pan -> Stream #0:1 (pcm_s24le) Stream #0:0 -> #1:0 (copy) Stream #0:1 -> #1:1 (copy) [Parsed_pan_2 @ 0x55d7564f5380] Pure channel mapping detected: 0 1 [ffv1 @ 0x55d756308100] bits_per_raw_sample > 8, forcing range coder Output #0, matroska, to '/home/scenesavers/Videos/day2_ffv1.mkv': Metadata: creation_time : now encoder : Lavf58.29.100 Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p10le(tv, smpte170m/smpte170m/bt709, bottom coded first (swapped)), 720x486 [SAR 9:10 DAR 4:3], q=2-31, 200 kb/s, 29.97 fps, 1k tbn, 29.97 tbc (default) Metadata: encoder : FFV1 version 3 Stream #0:1: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s32, 2304 kb/s (default) Metadata: encoder : Lavc58.54.100 pcm_s24le libEGL warning: DRI2: failed to authenticate Input #0, matroska,webm, from 'pipe:': vq= 0KB sq= 0B f=0/0
Metadata: ENCODER : Lavf58.29.100 Duration: N/A, start: 0.000000, bitrate: 12288 kb/s Stream #0:0: Audio: pcm_s32le, 48000 Hz, 8 channels, s32, 12288 kb/s (default) Stream #0:1: Video: v210 (V210 / 0x30313256), yuv422p10le(bottom first), 720x486, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default) ^Ccat: '/home/scenesavers/Videos/day2ffmpeg.log': No such file or directory cat: '/home/scenesavers/Videos/day2ffmpeg.log': No such file or directory ./vrecord: line 1644: cowsay: command not found Dropped frames timestamps: 00:00:00.033 Checking file conformance against FFV1 video policy... 2020-04-15T13:40:00 - File passed policy check for FFV1 video.

and that seems to be a good ffv1

so i did not edit my ~/vrec/ vrecord file

I think I can edit my ~/.vrecord.conf

i think this will allow me to change the kind of thing I would change if the gui worked but how do I get the gui back??? i also see a cowsay problem ./vrecord: line 1644: cowsay: command not found

i think cowsay was working yesterday after all yesterday i saw this

cat: '/home/scenesavers/Videos/jjffmpeg.log': No such file or directory cat: '/home/scenesavers/Videos/jjffmpeg.log': No such file or directory


/ 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.033 Checking file conformance against FFV1 video policy... 2020-04-14T15:30:49 - File passed policy check for FFV1 video.

</snip.>

what could have happened to cowsay & gtkdialog any assistance would be welcomed

thanks in advance

privatezero commented 4 years ago

I think it is possible that linuxbrew isn't set up correctly so that it/things installed by it are on your path. What happens if you open a new terminal window and run brew doctor? Does the brew command run correctly?

A work around would be to install cowsay and gtkdialog via your standard package manager with sudo apt install cowsay && sudo apt install gtkdialog

jshupeGitHub commented 4 years ago

thanks for your suggestions sudo apt install cowsay && sudo apt install gtkdialog

cowsay - fixed but sadly gtkdialog is not


    \   ^__^
     \  (oo)\_______
        (__)\       )\/\
            ||----w |
            ||     ||

Dropped frames timestamps: 00:00:00.033

======= here is what i have tried

brew doctor Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: /usr/bin occurs before /home/linuxbrew/.linuxbrew/bin This means that system-provided programs will be used instead of those provided by Homebrew. The following tools exist at both paths:

Consider setting your PATH so that /home/linuxbrew/.linuxbrew/bin occurs before /usr/bin. Here is a one-liner: echo 'export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"' >> ~/.bash_profile


Consider setting the PATH for example like so: echo 'export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"' >> ~/.bash_profile

Warning: Homebrew's sbin was not found in your PATH but you have installed formulae that put executables in /home/linuxbrew/.linuxbrew/sbin. Consider setting the PATH for example like so: echo 'export PATH="/home/linuxbrew/.linuxbrew/sbin:$PATH"' >> ~/.bash_profile

Warning: Broken symlinks were found. Remove them with brew cleanup: /home/linuxbrew/.linuxbrew/lib/vapoursynth/libeedi3.dylib /home/linuxbrew/.linuxbrew/lib/vapoursynth/libffms2.dylib /home/linuxbrew/.linuxbrew/lib/vapoursynth/libimwri.dylib /home/linuxbrew/.linuxbrew/lib/vapoursynth/libmiscfilters.dylib /home/linuxbrew/.linuxbrew/lib/vapoursynth/libmorpho.dylib /home/linuxbrew/.linuxbrew/lib/vapoursynth/libocr.dylib /home/linuxbrew/.linuxbrew/lib/vapoursynth/libremovegrain.dylib /home/linuxbrew/.linuxbrew/lib/vapoursynth/libsubtext.dylib /home/linuxbrew/.linuxbrew/lib/vapoursynth/libvinverse.dylib /home/linuxbrew/.linuxbrew/lib/vapoursynth/libvivtc.dylib

// did

echo 'export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"' >> ~/.bash_profile echo 'export PATH="/home/linuxbrew/.linuxbrew/sbin:$PATH"' >> ~/.bash_profile

brew cleanup it showed Removing: /home/linuxbrew/.linuxbrew/Cellar/glib/2.64.1_1... (444 files, 28.0MB) Removing: /home/scenesavers/.cache/Homebrew/glib--2.64.1_1.x86_64_linux.bottle.tar.gz... (8.3MB) Warning: Skipping imagemagick: most recent version 7.0.10-6_1 not installed Removing: /home/linuxbrew/.linuxbrew/Cellar/pkg-config/0.29.2_3... (11 files, 743.9KB) Pruned 10 symbolic links and 27 directories from /home/linuxbrew/.linuxbrew

ran it again -- for fun scenesavers@ss-43:~$ brew cleanup Warning: Skipping imagemagick: most recent version 7.0.10-6_1 not installed

still get a scenesavers@ss-43:~/vrec$ ./vrecord -g ./vrecord: line 509: gtkdialog: command not found

scenesavers@ss-43:~/vrec$ ./vrecord -e ./vrecord: line 461: gtkdialog: command not found Editing of preferences was canceled by the user. Press [q] to quit, [p] to enter passthrough mode or any other key to proceed:

A work around would be to install cowsay and gtkdialog via your standard package manager with sudo apt install cowsay && sudo apt install gtkdialog

//did sudo apt install cowsay && sudo apt install gtkdialog

sudo apt install cowsay && sudo apt install gtkdialog [sudo] password for sc Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libtinyxml2-6 phantomjs python3-pyxattr rtmpdump youtube-dl Use 'sudo apt autoremove' to remove them. Suggested packages: filters cowsay-off The following NEW packages will be installed: cowsay 0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded. Need to get 17.7 kB of archives. After this operation, 89.1 kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 cowsay all 3.03+dfsg2-4 [17.7 kB] Fetched 17.7 kB in 0s (109 kB/s) Selecting previously unselected package cowsay. (Reading database ... 217439 files and directories currently installed.) Preparing to unpack .../cowsay_3.03+dfsg2-4_all.deb ... Unpacking cowsay (3.03+dfsg2-4) ... Setting up cowsay (3.03+dfsg2-4) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package gtkdialog so no gtkdialog so i tried to install gtkdialog via brew brew install gtkdialog Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> New Formulae geph2 ==> Updated Formulae ballerina helm@2 libopenmpt passenger cacli igv memcached radare2 gawk irrtoolset mpop sbt gnustep-make krb5 nginx yamllint Warning: amiaopensource/amiaos/gtkdialog 0.8.3 is already installed and up-to-date To reinstall 0.8.3, run `brew reinstall gtkdialog` so lets try a reInstall scenesavers@ss-43:~/vrec$ brew reinstall gtkdialog ==> Reinstalling amiaopensource/amiaos/gtkdialog ==> Downloading https://storage.googleapis.com/google-code-archive-downloads/v2/ Already downloaded: /home/scenesavers/.cache/Homebrew/downloads/ae1d7630927d6516d837d9f488b4196ce2a8f195f06259550361a87540bcc04a--gtkdialog-0.8.3.tar.gz ==> ./configure ==> make 🍺 /home/linuxbrew/.linuxbrew/Cellar/gtkdialog/0.8.3: 9 files, 410.9KB, built in 14 seconds and still a gtkdialog problem ./vrecord -g ./vrecord: line 509: gtkdialog: command not found i wonder if it because it is nested inside Cellar as in /home/linuxbrew/.linuxbrew/Cellar/gtkdialog/0.8.3: 9 files, 410.9KB, built in 14 seconds ============================== I feel real close ... darn gtkdialog ! thanks again
jshupeGitHub commented 4 years ago

i do have a gtkdialog executable (application/x-executable) 325.9kb in /home/linuxbrew/.linuxbrew/Cellar/gtkdialog/0.8.3/bin

dericed commented 4 years ago

can you try brew link gtkdialog?

jshupeGitHub commented 4 years ago

with a trailing "?" -- that is a thing??

tried ~$ brew link gtkdialog? Error: No such keg: /home/linuxbrew/.linuxbrew/Cellar/gtkdialog?

now withou endding "?" tried brew link gtkdialog Warning: Already linked: /home/linuxbrew/.linuxbrew/Cellar/gtkdialog/0.8.3 To relink: brew unlink gtkdialog && brew link gtkdialog

so i guess it is already linked to down in cellar ... is that what that means??

tried $ brew unlink gtkdialog && brew link gtkdialog Unlinking /home/linuxbrew/.linuxbrew/Cellar/gtkdialog/0.8.3... 1 symlinks removed Linking /home/linuxbrew/.linuxbrew/Cellar/gtkdialog/0.8.3... 1 symlinks created

but ~/vrec$ ./vrecord -g ./vrecord: line 509: gtkdialog: command not found darn

~/vrec$ ./vrecord -e ./vrecord: line 461: gtkdialog: command not found Editing of preferences was canceled by the user. Press [q] to quit, [p] to enter passthrough mode or any other key to proceed: darn darn

........ thanks for thinking of me ..................

dericed commented 4 years ago

That's weird. homebrew is claiming it's linked but it's not in the path. Do you get anything from which gtkdialog (that question mark is only there because it's the end of a question-->)?

jshupeGitHub commented 4 years ago

which gtkdialog

returns zero

might i copy gtkdialog to a pathed place such as /bin i wonder about doing a sudo cp /home/linuxbrew/.linuxbrew/Cellar/gtkdialog /bin

jshupeGitHub commented 4 years ago

tried a symlink // did sudo ln -s /home/linuxbrew/.linuxbrew/Cellar/gtkdialog /usr/local/bin/gtkdialog

scenesavers@ss-43:/usr/local/bin$ ls -alt total 556 drwxr-xr-x 2 root root 4096 Apr 16 11:56 . lrwxrwxrwx 1 root root 43 Apr 16 11:56 gtkdialog -> /home/linuxbrew/.linuxbrew/Cellar/gtkdialog -rwxr-xr-x 1 root root 79536 Apr 15 11:07 MP42TS -rwxr-xr-x 1 root root 108304 Apr 15 11:07 MP4Client -rwxr-xr-x 1 root root 365000 Apr 15 11:07 MP4Box drwxr-xr-x 10 root root 4096 Apr 26 2018 ..

but still scenesavers@ss-43:~/vrec$ ./vrecord -g ./vrecord: line 509: gtkdialog: command not found

jshupeGitHub commented 4 years ago

tried to remove this sudo apt remove libatk-adaptor:i386 libgail-common:i386

tried this reinstall brew install gtkdialog

brew install gtkdialog Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> New Formulae flash tengo ==> Updated Formulae gettext ✔ bartycrouch dolt profanity gnutls ✔ chronograf node

Warning: amiaopensource/amiaos/gtkdialog 0.8.3 is already installed and up-to-date To reinstall 0.8.3, run brew reinstall gtkdialog

still ./vrecord -g ./vrecord: line 509: gtkdialog: command not found and if i do brew link gtkdialog

i still see Warning: Already linked: /home/linuxbrew/.linuxbrew/Cellar/gtkdialog/0.8.3 To relink: brew unlink gtkdialog && brew link gtkdialog tried brew unlink gtkdialog && brew link gtkdialog that showed Unlinking /home/linuxbrew/.linuxbrew/Cellar/gtkdialog/0.8.3... 1 symlinks removed Linking /home/linuxbrew/.linuxbrew/Cellar/gtkdialog/0.8.3... 1 symlinks created

which gtkdialog still returns zero

still ./vrecord -g ./vrecord: line 509: gtkdialog: command not found

retokromer commented 4 years ago

Linking /home/linuxbrew/.linuxbrew/Cellar/gtkdialog/0.8.3... 1 symlinks created

which gtkdialog still returns zero

This sounds “challenging”! More seriously, I will try to set-up the same configuration tomorrow (it’s evening here), because that really intrigues me. Thank you for reporting!

jshupeGitHub commented 4 years ago

brother retrokomer thank you for your efforts

I have GOOD news ! i have the gui popping up // did earlier sudo ln -s /home/linuxbrew/.linuxbrew/Cellar/gtkdialog /usr/local/bin/gtkdialog but THAT is wrong

the gtkdialog is actually found in /home/linuxbrew/.linuxbrew/Cellar/gtkdialog/0.8.3/bin/gtkdialog 1st dlt my err /usr/local/bin$ sudo rm gtkdialog

then sudo ln -s /home/linuxbrew/.linuxbrew/Cellar/gtkdialog/0.8.3/bin/gtkdialog /usr/local/bin/gtkdialog

now that is a symlink and will dissappear on reboot

so maybe i do a hard link via ( no -s ) sudo ln -s /home/linuxbrew/.linuxbrew/Cellar/gtkdialog/0.8.3/bin/gtkdialog /usr/local/bin/gtkdialog

jshupeGitHub commented 4 years ago

/// details of the success session

as you can see i do get a complaint of Gtk-Message: 15:07:31.689: Failed to load module "atk-bridge" Gtk-Message: 15:07:31.693: Failed to load module "canberra-gtk-module"

i once eliminated that with

sudo apt-get install libcanberra-gtk-module sudo apt-get install libatk-adaptor:i386 libgail-common:i386 then i uninstalled them when it quit working but now think it ia ALL the path and my link is ...a fix

cheers

jS < snip> scenesavers@ss-43:~/vrec$ ./vrecord -g Gtk-Message: 15:07:31.689: Failed to load module "atk-bridge" Gtk-Message: 15:07:31.693: Failed to load module "canberra-gtk-module" Enter Identifier: jday3_3p Enter the name of the person digitizing the tape or leave blank: shupert Summary: FFV1 version 3/matroska yuv422p10 file from ntsc sdi embedded. Frame MD5s=No, QCTools XML=No, and Technician=shupert. Inputs recorded to /media/scenesavers/data_4/capture/jday3_3p_ffv1.mkv and Auxiliary Files created in /home/scenesavers/Videos Hit enter to start recording

defaults read: couldn't read default Close the playback window to stop recording. ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04) configuration: --prefix=/home/linuxbrew/.linuxbrew/Cellar/ffmpegdecklink/4.2.2_2 --disable-shared --enable-version3 --cc=gcc-7 --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-libjack --disable-indev=jack --enable-libiec61883 --enable-nonfree --enable-decklink --extra-cflags=-I/home/linuxbrew/.linuxbrew/include --extra-ldflags=-L/home/linuxbrew/.linuxbrew/include libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 [decklink @ 0x55fee7113340] Found Decklink mode 720 x 486 with rate 29.97(i) libEGL warning: DRI2: failed to authenticate [decklink @ 0x55fee7113340] Frame received (#1) - No input signal detected - Frames dropped 1 Guessed Channel Layout for Input Stream #0.0 : 7.1sq= 0B f=0/0
Input #0, decklink, from 'ss43': Duration: N/A, start: 0.000000, bitrate: 236013 kb/s Stream #0:0: Audio: pcm_s32le, 48000 Hz, 7.1, s32, 12288 kb/s Stream #0:1: Video: v210 (V210 / 0x30313256), yuv422p10le(bottom first), 720x486, 223725 kb/s, 29.97 fps, 29.97 tbr, 1000k tbn, 1000k tbc Output #1, matroska, to 'pipe:': 0KB vq= 0KB sq= 0B f=0/0
Metadata: encoder : Lavf58.29.100 Stream #1:0: Audio: pcm_s32le ([1][0][0][0] / 0x0001), 48000 Hz, 7.1, s32, 12288 kb/s Stream #1:1: Video: v210 (V210 / 0x30313256), yuv422p10le(bottom first), 720x486, q=2-31, 223725 kb/s, 29.97 fps, 29.97 tbr, 1k tbn, 1000k tbc Stream mapping: Stream #0:0 (pcm_s32le) -> pan Stream #0:1 (v210) -> setsar setdar -> Stream #0:0 (ffv1) pan -> Stream #0:1 (pcm_s24le) Stream #0:0 -> #1:0 (copy) Stream #0:1 -> #1:1 (copy) [Parsed_pan_2 @ 0x55fee73461c0] Pure channel mapping detected: 0 1 [ffv1 @ 0x55fee7159280] bits_per_raw_sample > 8, forcing range coder Output #0, matroska, to '/media/scenesavers/data_4/capture/jday3_3p_ffv1.mkv': Metadata: creation_time : now encoder : Lavf58.29.100 Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p10le(tv, smpte170m/smpte170m/bt709, bottom coded first (swapped)), 720x486 [SAR 9:10 DAR 4:3], q=2-31, 200 kb/s, 29.97 fps, 1k tbn, 29.97 tbc (default) Metadata: encoder : FFV1 version 3 Stream #0:1: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s32, 2304 kb/s (default) Metadata: encoder : Lavc58.54.100 pcm_s24le Input #0, matroska,webm, from 'pipe:': Metadata: ENCODER : Lavf58.29.100 Duration: N/A, start: 0.000000, bitrate: 12288 kb/s Stream #0:0: Audio: pcm_s32le, 48000 Hz, 8 channels, s32, 12288 kb/s (default) Stream #0:1: Video: v210 (V210 / 0x30313256), yuv422p10le(bottom first), 720x486, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default) Switch subtitle stream from #-1 to #-1 vq=11847KB sq= 0B f=0/0
^Ccat: '/home/scenesavers/Videos/jday3_3pffmpeg.log': No such file or directory cat: '/home/scenesavers/Videos/jday3_3pffmpeg.log': No such file or directory


/ 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.033 Checking file conformance against FFV1 video policy... 2020-04-16T15:08:12 - File passed policy check for FFV1 video. // - end snip