<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><br>
      On 04/24/2016 06:03 PM, Willy Sudiarto Raharjo wrote:<br>
    </div>
    <blockquote
      cite="mid:e962ec9e-5481-7f0b-3ef7-6c82600b286a@slackbuilds.org"
      type="cite">
      <blockquote type="cite">
        <pre wrap="">I would like to give some feedback on the
<a class="moz-txt-link-freetext" href="https://slackbuilds.org/repository/14.1/multimedia/transcode/">https://slackbuilds.org/repository/14.1/multimedia/transcode/</a>
First thanks for providing this package.

Transcode build itself is perfectly fine but I found one bug using
transcode and ffmpeg mpeg2video codec

A command making me problems and the output log are attached below
(transcode_failed_log.txt). There is this pointer issue that was already
found on
<a class="moz-txt-link-freetext" href="https://bitbucket.org/france/transcode-tcforge/issues/4/segfault-at-end-of-pass-1-ffmpeg-mpeg4">https://bitbucket.org/france/transcode-tcforge/issues/4/segfault-at-end-of-pass-1-ffmpeg-mpeg4</a>.


ffmpeg version used:
    ffmpeg version 2.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 29 2014 18:30:44 with gcc 4.8.2 (GCC)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--docdir=/usr/doc/ffmpeg-2.1/html --mandir=/usr/man --disable-debug
--enable-shared --disable-static --enable-pthreads --enable-libtheora
--enable-libvorbis --enable-gpl --enable-version3 --enable-postproc
--enable-swscale --enable-x11grab --enable-avfilter --enable-gnutls
--enable-libcdio --enable-libssh --arch=x86_64 --enable-libmp3lame
--enable-libx264

transcode version used:
    from <a class="moz-txt-link-freetext" href="https://slackbuilds.org/repository/14.1/multimedia/transcode/">https://slackbuilds.org/repository/14.1/multimedia/transcode/</a>)
    transcode v1.1.7 (C) 2001-2003 Thomas Oestreich, 2003-2010 Transcode
Team

I add the correction (using
<a class="moz-txt-link-freetext" href="https://bitbucket.org/france/transcode-tcforge/issues/4/segfault-at-end-of-pass-1-ffmpeg-mpeg4">https://bitbucket.org/france/transcode-tcforge/issues/4/segfault-at-end-of-pass-1-ffmpeg-mpeg4</a>)
for the command above to work in a patch (attached below). Along I
modified the transcode.SlackBuild to use this patch (also attached
below). It is important to first use this patch and then all others
already provided in the package.

This solved the problem. I hope you can modify the Slackbuild package
using this solution or just to let you know...
</pre>
      </blockquote>
      <pre wrap="">
Hi

can you test using the latest ffmpeg and transcode in master branch?
some changes have been merged in master branch and they are not
backported to 14.1 branch anymore
</pre>
    </blockquote>
    <br>
    Hi,<br>
    <br>
    Just tested your suggestion. I tried with the master branch ffmpeg
    and transcode. In ffmpeg I was forced to remove the following flags
    from the configure step to successfully compile:<br>
    <pre style="padding: 0px; margin: 0px; color: rgb(0, 0, 0); font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><code><span class="hl opt">--</span><span class="hl kwb" style="color: rgb(131, 0, 0);">enable</span><span class="hl opt">-</span>libopenjpeg
</code><code><span class="hl opt">--</span><span class="hl kwb" style="color: rgb(131, 0, 0);">enable</span><span class="hl opt">-</span>libpulse
</code><code><span class="hl opt">--</span><span class="hl kwb" style="color: rgb(131, 0, 0);">enable</span><span class="hl opt">-</span>libvpx</code>
</pre>
    <br>
    For the transcode I was also forced to remove one flag:<br>
    <pre style="padding: 0px; margin: 0px; color: rgb(0, 0, 0); font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><code><span class="hl opt">--</span><span class="hl kwb" style="color: rgb(131, 0, 0);">enable</span><span class="hl opt">-</span>a52</code></pre>
    <br>
    and I used the following  to build (this is actually also applied in
    my previous email, but forget to mention):<br>
    LDFLAGS='-L/usr/lib64 -L/lib64'  MJPEGTOOLS=yes
    ./transcode.SlackBuild<br>
    <br>
    So at the end the ffmpeg version:<br>
    ffmpeg version 2.8.6 Copyright (c) 2000-2016 the FFmpeg developers<br>
      built with gcc 4.8.2 (GCC)<br>
      configuration: --prefix=/usr --libdir=/usr/lib64
    --shlibdir=/usr/lib64 --docdir=/usr/doc/ffmpeg-2.8.6/html
    --mandir=/usr/man --disable-debug --enable-shared --disable-static
    --enable-pthreads --enable-libtheora --enable-libvorbis --enable-gpl
    --enable-version3 --enable-postproc --enable-swscale
    --enable-x11grab --enable-avfilter --enable-avresample
    --enable-gnutls --enable-libcdio --enable-libssh --enable-libcaca
    --enable-libsmbclient --enable-opengl --enable-libwavpack
    --enable-libfreetype --enable-libfribidi --enable-fontconfig
    --arch=x86_64<br>
    <br>
    And transcode:<br>
    transcode v1.1.7 (C) 2001-2003 Thomas Oestreich, 2003-2010 Transcode
    Team<br>
    <br>
    After all this the same command was tested but it failed the same
    way. I then used the patch I described in my previous email and the
    program finished successfully. I think that compile flags removed
    above shouldn't do much change here but I am not sure. What do you
    think?<br>
    <br>
    matic<br>
  </body>
</html>