• Recent
  • Wiki
  • Github
  • 百度网盘
  • Onedrive
  • Official
  • Shop
  • Register
  • Login
  • Register
  • Login
  • Search
  • Recent
  • Wiki
  • Github
  • 百度网盘
  • Onedrive
  • Official
  • Shop

ubuntu 录屏问题

Pi 4B
2
11
492
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    jugg last edited by May 9, 2023, 3:37 AM

    我用ssh 使用
    ffmpeg -f x11grab -i :1.0 o.mp4 录屏能录
    但是在系统里面
    使用上面的命令 录出来的是黑屏
    而且这个屏幕编号是怎么得出的
    试了:0.0不行
    试了:10.0 卡住

    大法师 2 Replies Last reply May 9, 2023, 5:45 AM Reply Quote 0
    • 大法师
      大法师 @jugg last edited by May 9, 2023, 3:40 AM

      @jugg
      https://trac.ffmpeg.org/wiki/Capture/Desktop

      jack@cool-pi.com

      J 1 Reply Last reply May 9, 2023, 3:42 AM Reply Quote 0
      • J
        jugg @大法师 last edited by May 9, 2023, 3:42 AM

        @大法师
        是这样用的 文件黑屏

        大法师 1 Reply Last reply May 9, 2023, 3:44 AM Reply Quote 0
        • 大法师
          大法师 @jugg last edited by 大法师 May 9, 2023, 4:19 AM May 9, 2023, 3:44 AM

          @jugg

          -i Screen 0 is selected (run xrandr to view the available connected screens).

          xdpyinfo 查看编号

          jack@cool-pi.com

          J 1 Reply Last reply May 9, 2023, 3:46 AM Reply Quote 0
          • J
            jugg @大法师 last edited by May 9, 2023, 3:46 AM

            @大法师
            0 录不了
            1 录出来的文件是黑屏

            大法师 1 Reply Last reply May 9, 2023, 3:47 AM Reply Quote 0
            • 大法师
              大法师 @jugg last edited by May 9, 2023, 3:47 AM

              @jugg 登陆选择gnome xorg试试

              jack@cool-pi.com

              J 3 Replies Last reply May 9, 2023, 3:56 AM Reply Quote 0
              • J
                jugg @大法师 last edited by May 9, 2023, 3:49 AM

                @大法师
                xorg 登陆进不去桌面

                1 Reply Last reply Reply Quote 0
                • J
                  jugg @大法师 last edited by May 9, 2023, 3:51 AM

                  @大法师
                  等了很久才进去桌面
                  0 录的也是黑屏
                  1 录不了

                  1 Reply Last reply Reply Quote 0
                  • J
                    jugg @大法师 last edited by May 9, 2023, 3:56 AM

                    @大法师
                    ubuntu 0306的系统

                    1 Reply Last reply Reply Quote 0
                    • 大法师
                      大法师 @jugg last edited by May 9, 2023, 5:45 AM

                      @jugg said in ubuntu 录屏问题:

                      我用ssh 使用
                      ffmpeg -f x11grab -i :1.0 o.mp4 录屏能录
                      但是在系统里面
                      使用上面的命令 录出来的是黑屏
                      而且这个屏幕编号是怎么得出的
                      试了:0.0不行
                      试了:10.0 卡住

                      举例加参数 -f mpeg 或 -f flv

                      jack@cool-pi.com

                      J 1 Reply Last reply May 9, 2023, 6:20 AM Reply Quote 0
                      • J
                        jugg @大法师 last edited by May 9, 2023, 6:20 AM

                        @大法师
                        加了确实可以录
                        只是CPU使用率太高了 200% 300%了

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        6 out of 11
                        • First post
                          6/11
                          Last post