Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ghb: "Couldn't initialize gstreamer. Disabling live preview"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1282
Location: United Kingdom

PostPosted: Fri Jul 21, 2017 2:08 am    Post subject: ghb: "Couldn't initialize gstreamer. Disabling live pre Reply with quote

I would be grateful for some help with a problem using HandBrake with GStreamer.

HandBrake 1.0.7 apparently works fine in my Gentoo Stable installation running KDe Plasma 5.9.5, with one exception: HandBrake cannot display live previews. When launched from the command line HandBrake launches the GUI and outputs the following single message in the terminal:

Code:
fitzcarraldo@clevow230ss ~ $ ghb
** Message: Couldn't initialize gstreamer. Disabling live preview.


I have installed the latest version of HandBrake from the Portage main tree:

Code:
fitzcarraldo@clevow230ss ~ $ eix -I handbrake
[I] media-video/handbrake
     Available versions:  ~0.10.5-r2 ~1.0.3 (~)1.0.7 **9999 {+fdk gstreamer gtk libav libav-aac x265}
     Installed versions:  1.0.7(21:47:20 20/07/17)(fdk gstreamer gtk x265 -libav -libav-aac)
     Homepage:            http://handbrake.fr/
     Description:         Open-source, GPL-licensed, multiplatform, multithreaded video transcoder


I'm using ffmpeg rather than libav:

Code:
fitzcarraldo@clevow230ss ~ $ eix -I media-video/ffmpeg
[I] media-video/ffmpeg
     Available versions:  2.8.10(0/54.56.56)^d ~2.8.11(0/54.56.56)^d 3.2.4(0/55.57.57)^d ~3.2.5(0/55.57.57)^d ~3.2.6(0/55.57.57)^d ~3.3.2(0/55.57.57)^d **9999(0/55.57.57)^d {X aac aacplus alsa altivec amr amrenc armv5te armv6 armv6t2 armvfp bluray bs2b +bzip2 cdio celt chromaprint cpudetection debug doc ebur128 +encode examples faac fdk flite fontconfig frei0r fribidi gcrypt gme gmp gnutls +gpl gsm +hardcoded-tables +iconv iec61883 ieee1394 jack jpeg2k kvazaar ladspa libass libcaca libilbc libressl librtmp libsoxr libv4l lzma mipsdspr1 mipsdspr2 mipsfpu mmal modplug mp3 neon +network nvenc openal opengl openh264 openssl opus oss pic +postproc pulseaudio quvi rubberband samba schroedinger sdl snappy sofalizer speex ssh static-libs svg test theora +threads truetype twolame v4l vaapi vdpau vorbis vpx wavpack webp x264 x265 xcb xvid zeromq zimg +zlib zvbi ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_ARM="neon thumb thumb2 v6 v8 vfp vfpv3" CPU_FLAGS_X86="3dnow 3dnowext aes avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 xop" FFTOOLS="+aviocat +cws2fws +ffescape +ffeval +ffhash +fourcc2pixfmt +graph2dot +ismindex +pktdumper +qt-faststart +sidxindex +trasher"}
     Installed versions:  3.2.4^d(21:46:41 20/07/17)(X alsa bzip2 encode fdk gmp gnutls gpl gsm hardcoded-tables iconv jack mp3 network openal opengl postproc pulseaudio sdl speex theora threads truetype v4l vorbis x264 xcb xvid zlib -altivec -amr -amrenc -armv5te -armv6 -armv6t2 -armvfp -bluray -bs2b -cdio -celt -chromaprint -cpudetection -debug -doc -ebur128 -flite -fontconfig -frei0r -fribidi -gcrypt -gme -iec61883 -ieee1394 -jpeg2k -kvazaar -ladspa -libass -libcaca -libilbc -librtmp -libsoxr -libv4l -lzma -mipsdspr1 -mipsdspr2 -mipsfpu -mmal -modplug -neon -nvenc -openh264 -openssl -opus -oss -pic -rubberband -samba -schroedinger -snappy -ssh -static-libs -test -twolame -vaapi -vdpau -vpx -wavpack -webp -x265 -zimg -zvbi ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher")
     Homepage:            http://ffmpeg.org/
     Description:         Complete solution to record, convert and stream audio and video. Includes libavcodec

fitzcarraldo@clevow230ss ~ $ eix -I virtual/ffmpeg
[I] virtual/ffmpeg
     Available versions:  9-r2 {X +encode gsm jpeg2k libav mp3 opus sdl speex theora threads truetype vaapi vdpau x264}
     Installed versions:  9-r2(23:37:10 31/05/17)(X encode gsm mp3 sdl speex theora truetype x264 -jpeg2k -libav -opus -threads -vaapi -vdpau)
     Description:         Virtual package for FFmpeg executable implementation


I have GStreamer:0 and GStreamer:1 installed:

Code:
fitzcarraldo@clevow230ss ~ $ eix -I gstreamer
[I] media-libs/gstreamer
     Available versions: 
     (0.10) 0.10.36-r2
     (1.0)  1.8.3 1.10.3 ~1.10.4 1.10.5
       {+caps +introspection nls +orc test unwind ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  0.10.36-r2(0.10)(04:48:58 22/04/15)(introspection nls orc -test ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32") 1.10.5(1.0)(22:38:03 20/07/17)(caps introspection nls orc -test -unwind ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://gstreamer.freedesktop.org/
     Description:         Open source multimedia framework

[I] media-libs/qt-gstreamer
     Available versions:  1.2.0-r2^t {+qt4 qt5 test}
     Installed versions:  1.2.0-r2^t(19:29:38 22/05/17)(qt4 qt5 -test)
     Homepage:            https://gstreamer.freedesktop.org/modules/qt-gstreamer.html
     Description:         C++ bindings for GStreamer with a Qt-style API


and the GStreamer plugins required by HandBrake are all installed:

Code:
fitzcarraldo@clevow230ss ~ $ eix -cI gst-plugins
[I] media-libs/gst-plugins-bad (1.10.5(1.0)@20/07/17): Less plugins for GStreamer
[I] media-libs/gst-plugins-base (0.10.36-r2(0.10)@22/04/15 1.10.5(1.0)@20/07/17): Basepack of plugins for gstreamer
[I] media-libs/gst-plugins-good (1.10.5(1.0)@20/07/17): Basepack of plugins for GStreamer
[I] media-libs/gst-plugins-ugly (1.10.5(1.0)@20/07/17): Basepack of plugins for gstreamer
[I] media-plugins/gst-plugins-a52dec (1.10.5(1.0)@20/07/17): ATSC A/52 audio decoder plugin for GStreamer
[I] media-plugins/gst-plugins-cdparanoia (1.10.5(1.0)@20/07/17): CD Audio Source (cdda) plugin for GStreamer
[I] media-plugins/gst-plugins-dts (1.10.5(1.0)@20/07/17): DTS audio decoder plugin for Gstreamer
[I] media-plugins/gst-plugins-dv (1.10.5(1.0)@20/07/17): DV demuxer and decoder plugin for GStreamer
[I] media-plugins/gst-plugins-dvb (1.10.5(1.0)@20/07/17): plugin for gstreamer
[I] media-plugins/gst-plugins-dvdread (1.10.5(1.0)@20/07/17): DVD read plugin for GStreamer
[I] media-plugins/gst-plugins-faad (1.10.5(1.0)@20/07/17): AAC audio decoder plugin.
[I] media-plugins/gst-plugins-flac (1.10.5(1.0)@20/07/17): FLAC encoder/decoder/tagger plugin for GStreamer
[I] media-plugins/gst-plugins-jack (1.10.5(1.0)@20/07/17): plugin for gstreamer
[I] media-plugins/gst-plugins-lame (1.10.5(1.0)@20/07/17): MP3 encoder plugin for GStreamer
[I] media-plugins/gst-plugins-libav (1.10.5(1.0)@20/07/17): FFmpeg based gstreamer plugin
[I] media-plugins/gst-plugins-libnice (0.1.13-r100(1.0)@22/08/16): GStreamer plugin for ICE (RFC 5245) support
[I] media-plugins/gst-plugins-mad (1.10.5(1.0)@20/07/17): MP3 decoder plugin for GStreamer
[I] media-plugins/gst-plugins-meta (1.10.5(1.0)@20/07/17): Meta ebuild to pull in gst plugins for apps
[I] media-plugins/gst-plugins-mpeg2dec (1.10.5(1.0)@20/07/17): MPEG2 decoder plugin for GStreamer
[I] media-plugins/gst-plugins-pulse (1.10.5(1.0)@20/07/17): PulseAudio sound server plugin for GStreamer
[I] media-plugins/gst-plugins-resindvd (1.10.5(1.0)@20/07/17): DVD playback support plugin for GStreamer
[I] media-plugins/gst-plugins-soup (1.10.5(1.0)@20/07/17): HTTP client source/sink plugin for GStreamer
[I] media-plugins/gst-plugins-taglib (1.10.5(1.0)@20/07/17): ID3v2/APEv2 tagger plugin for GStreamer
[I] media-plugins/gst-plugins-v4l2 (1.10.5(1.0)@20/07/17): plugin for gstreamer
[I] media-plugins/gst-plugins-x264 (1.10.5(1.0)@20/07/17): H.264 encoder plugin for GStreamer
Found 25 matches


The HandBrake source code responsible for the message is in HandBrake-1.0.7 > gtk > src > preview.c, and the specific code is as follows:

Code:
#if defined(_ENABLE_GST)
    GstBus *bus;

    ud->preview->play  = gst_element_factory_make("playbin", "play");
    ud->preview->vsink = gst_element_factory_make("gdkpixbufsink", "pixsink");
    if (ud->preview->play == NULL || ud->preview->vsink == NULL)
    {
        g_message("Couldn't initialize gstreamer. Disabling live preview.");
        GtkWidget *widget = GHB_WIDGET(ud->builder, "live_preview_box");
        gtk_widget_hide (widget);
        widget = GHB_WIDGET(ud->builder, "live_preview_duration_box");
        gtk_widget_hide (widget);
        return;
    }
    else
.
.
.


So gst_element_factory_make() is returning NULL for some reason.

The ghb executable is linked against libgstreamer:

Code:
fitzcarraldo@clevow230ss ~ $ ldd /usr/bin/ghb | grep gstreamer
        libgstreamer-1.0.so.0 => /usr/lib64/libgstreamer-1.0.so.0 (0x00007f5df99c0000)


The following GStreamer command plays the video file correctly:

Code:
fitzcarraldo@clevow230ss ~ $ gst-play-1.0 /home/fitzcarraldo/20170401_102330.mp4
Press 'k' to see a list of keyboard shortcuts.
Now playing /home/fitzcarraldo/20170401_102330.mp4
Redistribute latency...
Redistribute latency...
Redistribute latency...
0:00:45.0 / 0:00:45.0       
Reached end of play list.


The following GStreamer command plays audio correctly:

Code:
$ gst-launch-1.0 filesrc location=/home/fitzcarraldo/20170401_102330.mp4 ! qtdemux ! faad ! audioconvert ! audioresample ! autoaudiosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSinkClock
Got EOS from element "pipeline0".
Execution ended after 0:00:44.994180140
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
fitzcarraldo@clevow230ss ~ $


The following GStreamer command plays video correctly:

Code:
fitzcarraldo@clevow230ss ~ $ gst-launch-1.0 filesrc location=/home/fitzcarraldo/20170401_102330.mp4 ! decodebin ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:44.905414959
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
fitzcarraldo@clevow230ss ~ $


So GStreamer itself looks to be working correctly. I'm no expert, but it seems to me that HandBrake is unable to detect GStreamer or its plugins.

The only similar problem I can find on the Web is described in a 2010 thread "Couldn't initialize gstreamer. Disabling live preview." in the HandBrake Community Forums, but the preview.c code has changed since then.

Any ideas?
_________________
Clevo W230SS: amd64, OpenRC, nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64, OpenRC, xf86-video-ati, dual booting with Win 7 Pro 64-bit.
KDE on both laptops.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
russK
Guru
Guru


Joined: 27 Jun 2006
Posts: 509

PostPosted: Fri Jul 21, 2017 3:54 am    Post subject: Reply with quote

Fitzcarraldo,

I installed Handbrake on my gnome-3.22.2 box. Sorry it's not much like Plasma.

ghb by itself does not give me the message about initializing gstreamer / disabling live preview.

Maybe these comparisons will help:
Code:
$ eix -I handbrake
[I] media-video/handbrake
     Available versions:  ~0.10.5-r2 ~1.0.3 (~)1.0.7 **9999 {+fdk gstreamer gtk libav libav-aac x265}
     Installed versions:  1.0.7(11:36:37 PM 07/20/2017)(fdk gstreamer gtk -libav -libav-aac -x265)
     Homepage:            http://handbrake.fr/
     Description:         Open-source, GPL-licensed, multiplatform, multithreaded video transcoder

Code:
$ eix -I media-video/ffmpeg
[I] media-video/ffmpeg
     Available versions:  2.8.10(0/54.56.56)^d ~2.8.11(0/54.56.56)^d 3.2.4(0/55.57.57)^d ~3.2.5(0/55.57.57)^d ~3.2.6(0/55.57.57)^d ~3.3.2(0/55.57.57)^d **9999(0/55.57.57)^d {X aac aacplus alsa altivec amr amrenc armv5te armv6 armv6t2 armvfp bluray bs2b +bzip2 cdio celt chromaprint cpudetection debug doc ebur128 +encode examples faac fdk flite fontconfig frei0r fribidi gcrypt gme gmp gnutls +gpl gsm +hardcoded-tables +iconv iec61883 ieee1394 jack jpeg2k kvazaar ladspa libass libcaca libilbc libressl librtmp libsoxr libv4l lzma mipsdspr1 mipsdspr2 mipsfpu mmal modplug mp3 neon +network nvenc openal opengl openh264 openssl opus oss pic +postproc pulseaudio quvi rubberband samba schroedinger sdl snappy sofalizer speex ssh static-libs svg test theora +threads truetype twolame v4l vaapi vdpau vorbis vpx wavpack webp x264 x265 xcb xvid zeromq zimg +zlib zvbi ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_ARM="neon thumb thumb2 v6 v8 vfp vfpv3" CPU_FLAGS_X86="3dnow 3dnowext aes avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 xop" FFTOOLS="+aviocat +cws2fws +ffescape +ffeval +ffhash +fourcc2pixfmt +graph2dot +ismindex +pktdumper +qt-faststart +sidxindex +trasher"}
     Installed versions:  3.2.4^d(11:35:23 PM 07/20/2017)(X alsa bzip2 encode fdk gpl gsm hardcoded-tables iconv mp3 network opengl postproc pulseaudio sdl theora threads truetype v4l vdpau vorbis vpx x264 xcb xvid zlib -altivec -amr -amrenc -armv5te -armv6 -armv6t2 -armvfp -bluray -bs2b -cdio -celt -chromaprint -cpudetection -debug -doc -ebur128 -flite -fontconfig -frei0r -fribidi -gcrypt -gme -gmp -gnutls -iec61883 -ieee1394 -jack -jpeg2k -kvazaar -ladspa -libass -libcaca -libilbc -librtmp -libsoxr -libv4l -lzma -mipsdspr1 -mipsdspr2 -mipsfpu -mmal -modplug -neon -nvenc -openal -openh264 -openssl -opus -oss -pic -rubberband -samba -schroedinger -snappy -speex -ssh -static-libs -test -twolame -vaapi -wavpack -webp -x265 -zimg -zvbi ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 xop -3dnow -3dnowext -avx2" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher")
     Homepage:            http://ffmpeg.org/
     Description:         Complete solution to record, convert and stream audio and video. Includes libavcodec

Significant difference here? I am not used to reading eix, I usually use equery. I believe I have gstreamer:0.10 and gstreamer:1.0
Code:
$ eix -I gstreamer
[I] media-libs/gstreamer
     Available versions: 
     (0.10) 0.10.36-r2
     (1.0)  1.8.3 1.10.3 ~1.10.4 1.10.5
       {+caps +introspection nls +orc test unwind ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  0.10.36-r2(0.10)(05:40:28 AM 03/25/2017)(introspection nls orc -test ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32") 1.10.5(1.0)(02:17:26 AM 07/18/2017)(caps introspection nls orc -test -unwind ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32")
     Homepage:            https://gstreamer.freedesktop.org/
     Description:         Open source multimedia framework

Code:
$ eix -cI gst-plugins
[I] media-libs/gst-plugins-bad (1.10.5(1.0)@07/18/2017): Less plugins for GStreamer
[I] media-libs/gst-plugins-base (0.10.36-r2(0.10)@03/25/2017 1.10.5(1.0)@07/18/2017): Basepack of plugins for gstreamer
[I] media-libs/gst-plugins-good (1.10.5(1.0)@07/18/2017): Basepack of plugins for GStreamer
[I] media-libs/gst-plugins-ugly (1.10.5(1.0)@07/18/2017): Basepack of plugins for gstreamer
[I] media-plugins/gst-plugins-a52dec (1.10.5(1.0)@07/18/2017): ATSC A/52 audio decoder plugin for GStreamer
[I] media-plugins/gst-plugins-cdparanoia (1.10.5(1.0)@07/18/2017): CD Audio Source (cdda) plugin for GStreamer
[I] media-plugins/gst-plugins-dts (1.10.5(1.0)@07/18/2017): DTS audio decoder plugin for Gstreamer
[I] media-plugins/gst-plugins-dvdread (1.10.5(1.0)@07/18/2017): DVD read plugin for GStreamer
[I] media-plugins/gst-plugins-faad (1.10.5(1.0)@07/18/2017): AAC audio decoder plugin.
[I] media-plugins/gst-plugins-flac (1.10.5(1.0)@07/18/2017): FLAC encoder/decoder/tagger plugin for GStreamer
[I] media-plugins/gst-plugins-gdkpixbuf (1.10.5(1.0)@07/18/2017): plugin for gstreamer
[I] media-plugins/gst-plugins-jpeg (1.10.5(1.0)@07/18/2017): JPEG image encoder/decoder plugin for GStreamer
[I] media-plugins/gst-plugins-libav (1.10.5(1.0)@07/20/2017): FFmpeg based gstreamer plugin
[I] media-plugins/gst-plugins-mad (1.10.5(1.0)@07/18/2017): MP3 decoder plugin for GStreamer
[I] media-plugins/gst-plugins-meta (1.10.5(1.0)@07/18/2017): Meta ebuild to pull in gst plugins for apps
[I] media-plugins/gst-plugins-mpeg2dec (1.10.5(1.0)@07/18/2017): MPEG2 decoder plugin for GStreamer
[I] media-plugins/gst-plugins-pulse (1.10.5(1.0)@07/18/2017): PulseAudio sound server plugin for GStreamer
[I] media-plugins/gst-plugins-resindvd (1.10.5(1.0)@07/18/2017): DVD playback support plugin for GStreamer
[I] media-plugins/gst-plugins-taglib (1.10.5(1.0)@07/18/2017): ID3v2/APEv2 tagger plugin for GStreamer
[I] media-plugins/gst-plugins-v4l2 (1.10.5(1.0)@07/18/2017): plugin for gstreamer
[I] media-plugins/gst-plugins-vpx (1.10.5(1.0)@07/18/2017): VP8/VP9 video encoder/decoder plugin for GStreamer
[I] media-plugins/gst-plugins-x264 (1.10.5(1.0)@07/18/2017): H.264 encoder plugin for GStreamer
Found 22 matches

Code:
$ ldd /usr/bin/ghb | grep gstreamer
   libgstreamer-1.0.so.0 => /usr/lib64/libgstreamer-1.0.so.0 (0x00007fd7e1a71000)


HTH
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1282
Location: United Kingdom

PostPosted: Fri Jul 21, 2017 4:11 pm    Post subject: Reply with quote

Thank you very much for replying and providing the corresponding details for your installation, russK. I compared our installations:

1. music-video/gstreamer

USE flags I have that you have differently: x265
USE flags you have that I have differently: -x265

2. media-video/ffmpeg

USE flags I have that you have differently: gmp gnutls jack openal speex -vdpau -vpx
USE flags you have that I have differently: vdpau vpx -gmp -gnutls -jack -openal -speex

3. media-libs/gstreamer:0

Identical, albeit mine was built on 22/04/15 and yours was built on 25/03/17.

4. media-libs/gstreamer:1

Me: ABI_X86="64 -32 -x32"
You: ABI_X86="32 64 -x32"

5. GStreamer plugins

Plugins I have installed that you do not:
[I] media-plugins/gst-plugins-dv (1.10.5(1.0)@20/07/17)
[I] media-plugins/gst-plugins-dvb (1.10.5(1.0)@20/07/17)
[I] media-plugins/gst-plugins-jack (1.10.5(1.0)@20/07/17)
[I] media-plugins/gst-plugins-lame (1.10.5(1.0)@20/07/17)
[I] media-plugins/gst-plugins-libnice (0.1.13-r100(1.0)@22/08/16)
[I] media-plugins/gst-plugins-soup (1.10.5(1.0)@20/07/17)
[I] media-plugins/gst-plugins-x264 (1.10.5(1.0)@20/07/17)

Plugins you have installed that I do not:
[I] media-plugins/gst-plugins-gdkpixbuf (1.10.5(1.0)@07/18/2017)
[I] media-plugins/gst-plugins-jpeg (1.10.5(1.0)@07/18/2017)
[I] media-plugins/gst-plugins-vpx (1.10.5(1.0)@07/18/2017)


Although our media-libs/gstreamer:0 installations are identical, I last merged that package in 2015 so I re-merged it just in case but it made no difference (I didn't expect it to, as HandBrake uses media-libs/gstreamer:1 as far as I'm aware). However, one of the plugins you have that I didn't have looked to me like it could be relevant, so I merged it:

Code:
emerge -1v gst-plugins-gdkpixbuf


Lo and behold, when I now launch HandBrake from the command line, I no longer get the warning message and HandBrake's live preview now works. \o/

I wonder why media-plugins/gst-plugins-gdkpixbuf is not specified as a dependency in the media-video/handbrake ebuild, and I also wonder which package installed it in your GNOME installation. In my KDE Plasma 5 installation no ebuilds of installed packages have gst-plugins-gdkpixbuf as a dependency:

Code:
clevow230ss fitzcarraldo # equery depends gst-plugins-gdkpixbuf
 * These packages depend on gst-plugins-gdkpixbuf:
clevow230ss fitzcarraldo # equery depends -D gst-plugins-gdkpixbuf
 * These packages depend on gst-plugins-gdkpixbuf:
clevow230ss fitzcarraldo #


Anyway, thank you again for your help. I doubt I would have found the solution otherwise, as it's quite obscure. I have filed a report in the Gentoo Bugzilla:

https://bugs.gentoo.org/show_bug.cgi?id=625866
_________________
Clevo W230SS: amd64, OpenRC, nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64, OpenRC, xf86-video-ati, dual booting with Win 7 Pro 64-bit.
KDE on both laptops.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
beandog
Developer
Developer


Joined: 04 May 2003
Posts: 2032
Location: /usa/utah

PostPosted: Fri Jul 21, 2017 5:11 pm    Post subject: Reply with quote

Fitzcarraldo wrote:
Anyway, thank you again for your help. I doubt I would have found the solution otherwise, as it's quite obscure. I have filed a report in the Gentoo Bugzilla:

https://bugs.gentoo.org/show_bug.cgi?id=625866


Awesome, thanks. I'm trying to steer people away from upstream to report HandBrake bugs here, since we modify the build so much.
_________________
If it ain't broke, tweak it. packages | dvds | blurays | blog
Back to top
View user's profile Send private message
russK
Guru
Guru


Joined: 27 Jun 2006
Posts: 509

PostPosted: Sat Jul 22, 2017 1:39 am    Post subject: Reply with quote

Fitzcarraldo,

I'm glad it worked out.

btw, if I did not use gnome, Handbrake might have given me the same problem:
Code:
$ equery depends gst-plugins-gdkpixbuf
 * These packages depend on gst-plugins-gdkpixbuf:
media-gfx/shotwell-0.24.6 (media-plugins/gst-plugins-gdkpixbuf:1.0)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum