<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>7425</bug_id>
          
          <creation_ts>2015-03-07 13:29:03 +0000</creation_ts>
          <short_desc>gst-ffmpeg broken since libav-9 update</short_desc>
          <delta_ts>2015-06-05 10:18:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>1.9 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gary Thomas">gary</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>cristina-danielax.agurida</cc>
    
    <cc>jku</cc>
    
    <cc>Martin.Jansa</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Cristina Agurida">cristina-danielax.agurida</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>49283</commentid>
    <comment_count>0</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2015-03-07 13:29:03 +0000</bug_when>
    <thetext>There seem to be major issues with gst-ffmpeg since the move to libav-9.  The recipe builds with libav-9, but fails at runtime.  At least these errors have been seen:

(gst-plugin-scanner:1108): GStreamer-WARNING **: Failed to load plugin &apos;/usr/lib/gstreamer-0.10/libgstffmpeg.so&apos;: /usr/lib/gstreamer-0.10/libgstffmpeg.so: undefined symbol: av_get_bits_per_sample_format

(gst-plugin-scanner:971): GStreamer-WARNING **: Failed to load plugin &apos;/usr/lib/gstreamer-0.10/libgstffmpeg.so&apos;: /usr/lib/gstreamer-0.10/libgstffmpeg.so: undefined symbol: avcodec_get_context_defaults


[Poky] commit 09aa2b1ed85408939a8bae433c032ea5da7cc7a5 attempted to address this but does not completely.  In particular, in that commit there is a comment that some known patches were left out. Why?  At least one of them might have addressed some of these issues.

As is, this component is totally broken :-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49353</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-03-10 17:43:56 +0000</bug_when>
    <thetext>Gary, did you try switching to the internal libav?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49973</commentid>
    <comment_count>2</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2015-03-31 13:29:58 +0000</bug_when>
    <thetext>It seems the configuration for the internal libav goes somehow wrong if it&apos;s enabled. I&apos;ll take a look at fixing that and testing the internal one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50014</commentid>
    <comment_count>3</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2015-04-01 08:18:25 +0000</bug_when>
    <thetext>About using internal libav:
* some tweaks are required (and the libav9 patches dropped) but it does build and seems to work 
* the internal libav version is 0.7.2 (versus 9.16 in oecore)

The last point makes this route unappealing: 0.7.2 must have a CVE list the length of my arm (and of course countless bugs that have been silently fixed in later versions). Even if we backported the tip of 0.7 branch (0.7.7), it has still been officially unmaintained for two years. 

As ugly as the libav9 patches look, they&apos;re probably the second safest option (option #1 is dropping GStreamer 0.10 altogether).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50015</commentid>
    <comment_count>4</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2015-04-01 08:31:28 +0000</bug_when>
    <thetext>Martin, can you comment on why the libav9 patch includes most of the Gentoo patches but not all?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50028</commentid>
    <comment_count>5</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2015-04-01 18:04:31 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Martin, can you comment on why the libav9 patch includes most of the Gentoo
&gt; patches but not all?

I&apos;m sorry, I don&apos;t remember the reason anymore. IIRC it was already included in one of remaining 42 patches we have for gst-ffmpeg-0.10.13</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51215</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-05-22 00:01:30 +0000</bug_when>
    <thetext>This isn&apos;t part of oe-core anymore, closing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51524</commentid>
    <comment_count>7</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-06-05 10:18:17 +0000</bug_when>
    <thetext>As of current bug status and last comment I will mark this issue as verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>