srepac

SAMPLE OUTPUT vid-capture.sh

Apr 6th, 2021 (edited)
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.75 KB | None | 0 0
  1. SAMPLE OUTPUT vid-capture.sh --- just accept the defaults by pressing ENTER
  2.  
  3. [root@v3pikvm ~]# ./vid-capture.sh
  4. ./vid-capture.sh <filename> creates /mnt/DROPBOX/filename.mp4 video capture file
  5. [root@v3pikvm ~]# ./vid-capture.sh $(hostname)
  6. which: no ffmpeg in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/vc/bin)
  7. Missing package dependency [ ffmpeg ]. Installing ffmpeg and required dependencies
  8. resolving dependencies...
  9. :: There are 2 providers available for libbluray.so=2-32:
  10. :: Repository extra
  11. 1) libbluray
  12. :: Repository alarm
  13. 2) libbluray-kodi-rbp
  14.  
  15. Enter a number (default=1):
  16. :: There are 5 providers available for libgl:
  17. :: Repository extra
  18. 1) libglvnd
  19. :: Repository alarm
  20. 2) imx-gpu-viv-dfb 3) imx-gpu-viv-fb 4) imx-gpu-viv-wl 5) imx-gpu-viv-x11
  21.  
  22. Enter a number (default=1):
  23. looking for conflicting packages...
  24. warning: dependency cycle detected:
  25. warning: mesa will be installed before its libglvnd dependency
  26.  
  27. Packages (66) alsa-lib-1.2.4-3 alsa-topology-conf-1.2.4-2 alsa-ucm-conf-1.2.4-2 dav1d-0.8.2-1 flac-1.3.3-2 fontconfig-2:2.13.93-4 fribidi-1.0.10-1 giflib-5.2.1-2
  28. gsm-1.0.19-1 jack-0.125.0-9 l-smash-2.14.5-2 lame-3.100-3 libass-0.15.0-2 libasyncns-0.8+3+g68cd5af-3 libavc1394-0.5.4-4 libbluray-1.2.1-1 libdrm-2.4.104-1
  29. libglvnd-1.3.2-1 libibus-1.5.24-1 libice-1.0.10-3 libiec61883-1.2.0-6 libmodplug-0.8.9.0-3 libogg-1.3.4-2 libomxil-bellagio-0.9.3-3 libpciaccess-0.16-2
  30. libpulse-14.2-3 libraw1394-2.1.2-3 libsamplerate-0.2.1-1 libsm-1.2.3-2 libsndfile-1.0.31-1 libsoxr-0.1.3-2 libtheora-1.1.1-5 libva-2.11.0-1 libvdpau-1.4-1
  31. libvorbis-1.3.7-2 libvpx-1.10.0-1 libwebp-1.2.0-1 libx11-1.7.0-4 libxcursor-1.2.0-2 libxdamage-1.1.5-3 libxext-1.3.4-3 libxfixes-5.0.3-4 libxrender-0.9.10-4
  32. libxshmfence-1.3-2 libxv-1.0.11-4 libxxf86vm-1.1.4-4 llvm-libs-11.1.0-1 lm_sensors-1:3.6.0.r41.g31d1f125-1 mesa-21.0.1-1 opencore-amr-0.1.5-5 opus-1.3.1-2
  33. sdl2-2.0.14-1 speex-1.2.0-3 speexdsp-1.2.0-2 srt-1.4.2-1 vid.stab-1.1-3 vulkan-icd-loader-1.2.172-1 wayland-1.19.0-1 x264-3:0.161.r3039.544c61f-1 x265-3.5-1
  34. xorgproto-2021.3-1 xvidcore-1.3.7-2 zimg-3.0.1-2 zita-alsa-pcmi-0.3.2-3 zita-resampler-1.6.2-3 ffmpeg-2:4.3.2-5
  35.  
  36. Total Download Size: 60.77 MiB
  37. Total Installed Size: 305.89 MiB
  38.  
  39. :: Proceed with installation? [Y/n]
  40. :: Retrieving packages...
  41. alsa-topology-conf-1.2.4-2-any
  42. ...
  43. ...
  44. ...
  45. (65/66) installing srt [################################################################] 100%
  46. (66/66) installing ffmpeg [################################################################] 100%
  47. Optional dependencies for ffmpeg
  48. avisynthplus: AviSynthPlus support
  49. ladspa: LADSPA filters
  50. :: Running post-transaction hooks...
  51. (1/4) Reloading system manager configuration...
  52. (2/4) Arming ConditionNeedsUpdate...
  53. (3/4) Updating fontconfig configuration...
  54. (4/4) Updating fontconfig cache...
  55. /boot/config.txt needs to be updated to reflect gpu_mem=256, and reboot required
  56. Updated gpu_mem=256 in /boot/config.txt. Please reboot and then retry this script again.
  57.  
  58.  
  59. *** AFTER REBOOT ***
  60.  
  61. [root@v3pikvm ~]# ./vid-capture.sh test
  62. Press CTRL+C to stop capturing video to /mnt/DROPBOX/test.mp4.
  63. -- INFO [411.180 main] -- Using output: <stdout>
  64. -- INFO [411.180 main] -- Using input-sink: kvmd::ustreamer::h264
  65. ^C-- INFO [427.537 main] -- ===== Stopping by SIGINT =====
  66. -- INFO [427.537 main] -- Bye-bye
  67. Captured video is in /mnt/DROPBOX/test.mp4
  68.  
Add Comment
Please, Sign In to add comment