Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672586 - media-video/peek-1.3.1 crashes when attempting to record video
Summary: media-video/peek-1.3.1 crashes when attempting to record video
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-05 20:55 UTC by Emily Mills
Modified: 2019-01-10 20:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Error log produced when running peek (peek-error.log,2.79 KB, text/plain)
2018-12-05 20:55 UTC, Emily Mills
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emily Mills 2018-12-05 20:55:22 UTC
Created attachment 557132 [details]
Error log produced when running peek

peek requires ffmpeg to include vpx support. Adding vpx to the list of required ffmpeg use flags in peek fixes the issue.

https://gitweb.gentoo.org/repo/gentoo.git/tree/media-video/peek/peek-1.3.1.ebuild#n19

See also: https://github.com/phw/peek/issues/307
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-12-06 09:10:56 UTC
Isn't it this?

> Unrecognized option 'lossless'.Error splitting the argument list: Option not found
Comment 2 Bernard Cafarelli gentoo-dev 2018-12-06 09:48:15 UTC
Thanks for the report, looking at the configure steps in the upstream flatpak I wonder if other flags may also be needed?

But first step first, adding vpx
Comment 3 Larry the Git Cow gentoo-dev 2018-12-06 09:51:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4acdafc696020a5e4ab881443982314bf36722d6

commit 4acdafc696020a5e4ab881443982314bf36722d6
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2018-12-06 09:48:52 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2018-12-06 09:50:30 +0000

    media-video/peek: depend on ffmpeg[vpx]
    
    Closes: https://bugs.gentoo.org/672586
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 media-video/peek/{peek-1.3.1.ebuild => peek-1.3.1-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 4 pinkertop 2018-12-24 12:40:58 UTC
(In reply to Bernard Cafarelli from comment #2)
> Thanks for the report, looking at the configure steps in the upstream
> flatpak I wonder if other flags may also be needed?
> 
> But first step first, adding vpx

It also needs xcb flag or I get the error:
ffmpeg -f x11grab -show_region 0 -framerate 10 -video_size 544x97 -i :0.0+1,980 -filter:v scale=iw/1:-1 -codec:v libvpx-vp9 -lossless 1 -r 10 -y /home/pink/.cache/peek/peek6WIOUZ.webm
ffmpeg version 3.3.6 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.3.0 (Gentoo 7.3.0-r3 p1.4)
...
Unrecognized option 'show_region'.
Error splitting the argument list: Option not found

after adding xcb flag no reproduce.
Comment 5 Bernard Cafarelli gentoo-dev 2019-01-10 20:52:11 UTC
(In reply to pinkertop from comment #4)
> It also needs xcb flag or I get the error:
> ffmpeg -f x11grab -show_region 0 -framerate 10 -video_size 544x97 -i
> :0.0+1,980 -filter:v scale=iw/1:-1 -codec:v libvpx-vp9 -lossless 1 -r 10 -y
> /home/pink/.cache/peek/peek6WIOUZ.webm
> ffmpeg version 3.3.6 Copyright (c) 2000-2017 the FFmpeg developers
>   built with gcc 7.3.0 (Gentoo 7.3.0-r3 p1.4)
> ...
> Unrecognized option 'show_region'.
> Error splitting the argument list: Option not found
> 
> after adding xcb flag no reproduce.

Ack thanks, let's track this in bug #674954 (when I get back to my dev/commit box)