Re: trying to grab video of screen on a Thinkpad x130e netbook . . .

2019-08-27 Thread Albretch Mueller
On 8/24/19, Pétùr  wrote:
> ffmpeg -f x11grab -s 1280x720 -r 25 -i :0.0 screencast.mp4

 but where did the audio go?

 it worked but not always. base on its logs ffmpeg seems to be making
a video, but vlc doesn't show to me the actual video even though the
file is there.

 Why is it that the video is recorded and displayed in some cases onle?

 lbrtchx



Re: trying to grab video of screen on a Thinkpad x130e netbook . . .

2019-08-24 Thread Georgi Naplatanov
On 8/24/19 3:53 PM, Pétùr wrote:
> On 24/08/19 13:29, Albretch Mueller wrote:
>> How can I make a video from what is displayed on the screen using
>> ffmpeg, aconv or whatever?
> 
> ffmpeg -f x11grab -s 1280x720 -r 25 -i :0.0 screencast.mp4
> 
> 

Or you can use Simple Screen Recorder

https://tracker.debian.org/pkg/simplescreenrecorder



Re: trying to grab video of screen on a Thinkpad x130e netbook . . .

2019-08-24 Thread Pétùr

On 24/08/19 13:29, Albretch Mueller wrote:

How can I make a video from what is displayed on the screen using
ffmpeg, aconv or whatever?


ffmpeg -f x11grab -s 1280x720 -r 25 -i :0.0 screencast.mp4



trying to grab video of screen on a Thinkpad x130e netbook . . .

2019-08-24 Thread Albretch Mueller
 Hi *:

 I have to ask after trying to do it in many ways, checking all kinds
of posts, searching and following guidelines.

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

 https://wiki.ubuntuusers.de/Videograbbing/

 I am running:

$ uname -a
Linux niggahme 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2
(2019-05-13) x86_64 GNU/Linux

 on an "old" X130e Thinkpad which has 4 Gb of RAM.

 Nothing is listed under:

 # ls -l /dev/video*
ls: cannot access '/dev/video*': No such file or directory
 #

 As I remember, some time ago I had to do some kernel tinkering in
order to make the screen work fine on Linux:

# lshw -class cpu
  *-cpu
   description: CPU
   product: AMD E-450 APU with Radeon(tm) HD Graphics
   vendor: Advanced Micro Devices [AMD]
   physical id: 2e
   bus info: cpu@0
   version: AMD E-450 APU with Radeon(tm) HD Graphics
   slot: Socket FT1
   size: 1650MHz
   capacity: 1650MHz
   width: 64 bits
   clock: 100MHz
   capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr
pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse
sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp constant_tsc
rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor ssse3
cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a
misalignsse 3dnowprefetch ibs skinit wdt hw_pstate vmmcall arat npt
lbrv svm_lock nrip_save pausefilter cpufreq
   configuration: cores=2 enabledcores=2 threads=2
#

# lshw -class display
  *-display
   description: VGA compatible controller
   product: Wrestler [Radeon HD 6320]
   vendor: Advanced Micro Devices, Inc. [AMD/ATI]
   physical id: 1
   bus info: pci@:00:01.0
   version: 00
   width: 32 bits
   clock: 33MHz
   capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
   configuration: driver=radeon latency=0
   resources: irq:25 memory:e000-efff
ioport:3000(size=256) memory:f030-f033 memory:c-d
#

 this are the sound cards on the X130e:

# lshw -class sound
  *-multimedia:0
   description: Audio device
   product: Wrestler HDMI Audio
   vendor: Advanced Micro Devices, Inc. [AMD/ATI]
   physical id: 1.1
   bus info: pci@:00:01.1
   version: 00
   width: 32 bits
   clock: 33MHz
   capabilities: pm pciexpress msi bus_master cap_list
   configuration: driver=snd_hda_intel latency=0
   resources: irq:24 memory:f0344000-f0347fff
  *-multimedia:1
   description: Audio device
   product: SBx00 Azalia (Intel HDA)
   vendor: Advanced Micro Devices, Inc. [AMD/ATI]
   physical id: 14.2
   bus info: pci@:00:14.2
   version: 40
   width: 64 bits
   clock: 33MHz
   capabilities: pm bus_master cap_list
   configuration: driver=snd_hda_intel latency=64
   resources: irq:16 memory:f034-f0343fff
#


$ cat /proc/asound/cards
 0 [Generic]: HDA-Intel - HD-Audio Generic
  HD-Audio Generic at 0xf0344000 irq 24
 1 [SB ]: HDA-Intel - HDA ATI SB
  HDA ATI SB at 0xf034 irq 16

 this is what ffmpeg supports on my installation:

$ ffmpeg -devices
ffmpeg version 3.2.14-1~deb9u1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --prefix=/usr --extra-version='1~deb9u1'
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --enable-gpl
--disable-stripping --enable-avresample --enable-avisynth
--enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128
--enable-libflite --enable-libfontconfig --enable-libfreetype
--enable-libfribidi --enable-libgme --enable-libgsm
--enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt
--enable-libopus --enable-libpulse --enable-librubberband
--enable-libshine --enable-libsnappy --enable-libsoxr
--enable-libspeex --enable-libssh --enable-libtheora
--enable-libtwolame --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid
--enable-libzmq --enable-libzvbi --enable-omx --enable-openal
--enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883
--enable-chromaprint --enable-frei0r --enable-libopencv
--enable-libx264 --enable-shared
  libavutil  55. 34.101 / 55. 34.101
  libavcodec 57. 64.101 / 57. 64.101
  libavformat57. 56.101 / 57. 56.101
  libavdevice57.  1.100 / 57.  1.100
  libavfilter 6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale  4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc54.  1.100 / 54.  1.100
Devices:
 D. = Demuxing supported
 .E = Muxing supported
 --
 DE alsaALSA audio output
  E cacacaca (color ASCII art) output device
 D  dv1394  DV1394 A/V grab
 DE fbdev   Linux