Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 654354

Summary: media-video/ffmpegthumbnailer-2.2.0 : /.../moviedecoder.cpp:238:26: error: av_guess_sample_aspect_ratio was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-video:ffmpegthumbnailer-2.2.0:20180429-185303.log
temp.tbz2

Description Toralf Förster gentoo-dev 2018-04-29 18:57:33 UTC
                     ^~~~~
/var/tmp/portage/media-video/ffmpegthumbnailer-2.2.0/work/ffmpegthumbnailer-2.2.0/libffmpegthumbnailer/moviedecoder.cpp: In member function ‘std::__cxx11::string ffmpegthumbnailer::MovieDecoder::createScaleString(int, bool)’:
/var/tmp/portage/media-video/ffmpegthumbnailer-2.2.0/work/ffmpegthumbnailer-2.2.0/libffmpegthumbnailer/moviedecoder.cpp:238:26: error: ‘av_guess_sample_aspect_ratio’ was not declared in this scope
         AVRational par = av_guess_sample_aspect_ratio(m_pFormatContext, m_pVideoStream, m_pFrame);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/media-video/ffmpegthumbnailer-2.2.0/work/ffmpegthumbnailer-2.2.0/libffmpegthumbnailer/moviedecoder.cpp:238:26: note: suggested alternative: ‘av_get_sample_fmt_name’

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_20180425-210301

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:


emerge -qpv media-video/ffmpegthumbnailer
[ebuild  N    ] media-video/ffmpegthumbnailer-2.2.0  USE="libav -gnome -gtk -jpeg -png {-test}"
Comment 1 Toralf Förster gentoo-dev 2018-04-29 18:57:37 UTC
Created attachment 528934 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-29 18:57:40 UTC
Created attachment 528936 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-04-29 18:57:43 UTC
Created attachment 528938 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-04-29 18:57:46 UTC
Created attachment 528940 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-04-29 18:57:49 UTC
Created attachment 528942 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-04-29 18:57:52 UTC
Created attachment 528944 [details]
media-video:ffmpegthumbnailer-2.2.0:20180429-185303.log
Comment 7 Toralf Förster gentoo-dev 2018-04-29 18:57:55 UTC
Created attachment 528946 [details]
temp.tbz2
Comment 8 Alexis Ballier gentoo-dev 2018-04-30 19:15:33 UTC
USE=libav again
Comment 9 Andreas Sturmlechner gentoo-dev 2019-06-12 10:24:56 UTC

*** This bug has been marked as a duplicate of bug 564040 ***