Giter Site home page Giter Site logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Out of interest - what are your configure options?

I get a working FFmbc-v0.6rc3 on Ubuntu 10.04 with this (although I have to 
edit the output config.mak to remove -Werror=missing-prototypes from the end of 
CFLAGS line 29)

PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig \
./configure \
    --cpu=i686 \
    --arch=i686 \
    --prefix=$PREFIX \
    --target-os=mingw32 \
    --enable-memalign-hack \
    --cross-prefix=i586-mingw32msvc- \
    --extra-cflags='--static -I $PREFIX/include -D_WIN32_WINNT=0x0501' \
    --extra-ldflags='-static -L $PREFIX/lib' \
    --enable-gpl \
    --enable-version3 \
    --enable-nonfree \
    --enable-pthreads \
    --enable-static \
    --disable-shared \
    --enable-libdirac \
    --enable-libfaac \
    --enable-libgsm \
    --enable-libmp3lame \
    --enable-libopenjpeg \
    --enable-libspeex \
    --enable-libtheora \
    --enable-libvorbis \
    --enable-libxvid \
    --enable-libschroedinger \
    --enable-libx264 \
    --enable-libvpx

Original comment by [email protected] on 9 Mar 2011 at 5:02

  • Added labels: ****
  • Removed labels: ****

from ffmbc.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
This may help you:
http://ffmpeg.arrozcru.org/forum/viewtopic.php?f=1&t=1688
.................
Found a workaround:

adding:

Code: Select all
    static char *strCopy(const char *str)
    {
        int n = strlen(str) + 1;
        char *dup = malloc(n);
        if(dup)
        {
            strcpy(dup, str);
        }
        return dup;
    }


and replacing all the strdup with strCopy calls works,..
...................

Original comment by [email protected] on 9 Mar 2011 at 11:28

  • Added labels: ****
  • Removed labels: ****

from ffmbc.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
I'll fix this in rc4.

Original comment by [email protected] on 15 Mar 2011 at 7:20

  • Added labels: ****
  • Removed labels: ****

from ffmbc.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Is there a windows build?

Original comment by [email protected] on 1 Apr 2011 at 7:40

  • Added labels: ****
  • Removed labels: ****

from ffmbc.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Hi,

I was able to compile ffmbc with mingw under windows.

However I found that using the target xdcamhd422 was configured as 16 bit audio.
The spec for xdcamhd422 is 24 bit audio.

in ffmbc.c i changed the audio codec.

else if(!strcmp(arg, "xdcamhd422")) {
        target = "xdcamhd422";

        opt_video_codec("mpeg2video");
        opt_audio_codec("pcm_s24le");


Next week I will analyse the IMX and xdcamhd files with a profesional media 
analyser. Baton.

Original comment by [email protected] on 2 Apr 2011 at 3:57

  • Added labels: ****
  • Removed labels: ****

Attachments:

from ffmbc.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Should be fixed in rc4, can you please double check ?

Original comment by [email protected] on 1 May 2011 at 12:59

  • Added labels: ****
  • Removed labels: ****

from ffmbc.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Hi,
strdup compile error under MinGW seems to be fixed in:
libavfilter/libmpcodecs/vf_detc.c
and
libavfilter/libmpcodecs/vf_divtc.c
BUT left(only) in ffmbc.c :
ffmbc.c:3251:9: error: implicit declaration of function 'strdup'


_____________________________________
ffmbc.c: In function 'term_exit':
ffmbc.c:487:5: warning: zero-length ms_printf format string
ffmbc.c: In function 'opt_vf':
ffmbc.c:3251:9: error: implicit declaration of function 'strdup'
ffmbc.c:3251:18: warning: assignment makes pointer from integer without a cast
ffmbc.c: In function 'opt_audio_sample_fmt':
ffmbc.c:3412:9: warning: passing argument 1 of 'list_fmts' from incompatible 
pointer type
cmdutils.h:160:6: note: expected 'void (*)(char *, int,  int)' but argument is 
of type 'char * (*)(char *, int,  enum AVSampleFormat
)'
make: *** [ffmbc.o] Error 1

Original comment by [email protected] on 1 May 2011 at 10:00

  • Added labels: ****
  • Removed labels: ****

from ffmbc.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Arf, sorry about that, I updated the tarball in downloads.

Original comment by [email protected] on 1 May 2011 at 10:22

  • Added labels: ****
  • Removed labels: ****

from ffmbc.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Many thanks!
Now compiles without error under MinGW:)

Original comment by [email protected] on 2 May 2011 at 9:14

  • Added labels: ****
  • Removed labels: ****

from ffmbc.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024

Original comment by [email protected] on 2 May 2011 at 6:17

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

from ffmbc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.