Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1022104: peek: Fail to record as mp4/webm: ffmpeg: No such process

112 views
Skip to first unread message

Shengjing Zhu

unread,
Oct 20, 2022, 4:10:03 AM10/20/22
to
Package: peek
Version: 1.5.1+git20211214-1
Severity: important
X-Debbugs-Cc: zh...@debian.org

Dear Maintainer,

When record as mp4/webm, it fails with:

```
Command "ffmpeg -f pulse -i default -acodec mp3 -f x11grab -show_region 0 -framerate 10 -video_size 1146x717 -i :0+774,160 -filter:v scale=iw/1:-1, crop=iw-mod(iw\,2):ih-mod(ih\,2) -codec:v libx264 -preset:v fast -pix_fmt yuv420p -r 10 -y /home/zhsj/.cache/peek/peekQWJUU1.mp4" failed with status 256 (received signal 0).

Output:
ffmpeg version 5.1.2-1 Copyright (c) 2000-2022 the FFmpeg developers built with gcc 12 (Debian 12.2.0-3) configuration: --prefix=/usr --extra-version=1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared 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.100default: No such process
```

-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.19.0-2-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages peek depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.40.0-3
ii ffmpeg 7:5.1.2-1
ii gstreamer1.0-plugins-good 1.20.3-1
ii libc6 2.35-3
ii libcairo2 1.16.0-6
ii libglib2.0-0 2.74.0-3
ii libgtk-3-0 3.24.34-3
ii libkeybinder-3.0-0 0.3.2-1.1
ii libpango-1.0-0 1.50.10+ds-1

Versions of packages peek recommends:
pn gstreamer1.0-plugins-ugly <none>

Versions of packages peek suggests:
pn gifski <none>

-- no debconf information

Bernhard Übelacker

unread,
Oct 30, 2022, 1:30:03 PM10/30/22
to
Hello Shengjing Zhu,
I tried to collect some more information for the maintainer,
by running peek in a minimal VM.

There I got the same error message "default: No such process".

After a search I received this information [1] where it is proposed
to install pulseaudio.

And indeed the parameter "-f pulse -i default" seems to
direct ffmpeg to record from pulseaudio.
And after installing it (and starting off pulseaudio manually
in my minimal jwm environment) recording got further
and could create successfully a file.

Probably this is also causing the fault at your side?

Kind regards,
Bernhard


[1] https://superuser.com/questions/1487109/trying-to-stream-to-youtube-default-no-such-process

(gdb) bt
#0 print_error (filename=filename@entry=0x7fffffffe625 "default", err=err@entry=-3) at src/fftools/cmdutils.c:794
#1 0x000055555556dd27 in open_input_file (o=o@entry=0x7fffffffdc40, filename=<optimized out>) at src/fftools/ffmpeg_opt.c:1266
#2 0x0000555555571c1c in open_files (open_file=0x55555556cca0 <open_input_file>, inout=0x55555558b81f "input", l=0x5555555e08d8) at src/fftools/ffmpeg_opt.c:3537
#3 ffmpeg_parse_options (argc=argc@entry=35, argv=argv@entry=0x7fffffffe2b8) at src/fftools/ffmpeg_opt.c:3577
#4 0x0000555555560715 in main (argc=35, argv=0x7fffffffe2b8) at src/fftools/ffmpeg.c:4538

Shengjing Zhu

unread,
Nov 1, 2022, 4:40:03 AM11/1/22
to
(Resend to BTS)

On Tue, Nov 01, 2022 at 04:26:41PM +0800, Shengjing Zhu wrote:
> On Sun, Oct 30, 2022 at 06:18:48PM +0100, Bernhard Übelacker wrote:
> > Hello Shengjing Zhu,
> > I tried to collect some more information for the maintainer,
> > by running peek in a minimal VM.
> >
> > There I got the same error message "default: No such process".
> >
> > After a search I received this information [1] where it is proposed
> > to install pulseaudio.
> >
> > And indeed the parameter "-f pulse -i default" seems to
> > direct ffmpeg to record from pulseaudio.
> > And after installing it (and starting off pulseaudio manually
> > in my minimal jwm environment) recording got further
> > and could create successfully a file.
> >
> > Probably this is also causing the fault at your side?
> >
>
> You are right. I don't have audio device so I didn't install pulseaudio.
> After having installed and started pulseaudio service, recording as mp4 works.

And one more thing,

I find there's an option "Capture sound from default PULSE device" in preferences.
But I didn't check it.
0 new messages