#87 Doesn't build with latest ffmpeg.

SVN
closed-fixed
encoding (15)
5
2008-05-26
2008-03-02
Debian Package
No

Hi,

1.1.7rc1 doesn't build with latest ffmpeg (build 06 december 2007).

c -o xtoffmpeg.o xtoffmpeg.c
xtoffmpeg.c: In function ‘add_audio_stream’:
xtoffmpeg.c:294: error: ‘AVFormatParameters’ has no member named ‘device’
xtoffmpeg.c:311: error: ‘AVFormatParameters’ has no member named ‘device’
xtoffmpeg.c: In function ‘xvc_ffmpeg_save_frame’:
xtoffmpeg.c:1766: warning: passing argument 1 of ‘url_fclose’ from incompatible pointer type
xtoffmpeg.c: In function ‘xvc_ffmpeg_clean’:
xtoffmpeg.c:1831: warning: passing argument 1 of ‘url_fclose’ from incompatible pointer type
make[3]: *** [xtoffmpeg.o] Erreur 1

Christian

Discussion

  • Logged In: YES
    user_id=782084
    Originator: NO

    Are you saying, it does not build with current ffmpeg installed, or does not build against current ffmpeg?

     
  • Debian Package
    Debian Package
    2008-03-02

    Logged In: YES
    user_id=1881990
    Originator: YES

    doesn't build against the external ffmpeg.

     
  • current svn patched for ffmpeg r12424

     
    Attachments
    • labels: 573217 --> encoding
    • milestone: --> SVN
    • assigned_to: nobody --> charly4711
     
  • Logged In: YES
    user_id=782084
    Originator: NO

    this is due to several API changes between the version of ffmpeg bundled and current ones.
    Looked at the version for hardy (20070307) and couldn't even get that to build cleanly. Current version (r12424) works for me and with the attached patch, xvidcap builds. It does, however, lock up when capturing audio.
    File Added: new-ffmpeg.patch

     
  • Logged In: YES
    user_id=782084
    Originator: NO

    better patch fixes some glitches in the build system and the audio capture lockup.
    Scheduled for inclusion in rc2

     
  •  
    Attachments
  • Logged In: YES
    user_id=782084
    Originator: NO

    forgot to attach the patch. Also, inclusion is (of course) scheduled, provided it brings no regression (esp. around a/v synch).
    File Added: new-ffmpeg.patch.2

     
  • Debian Package
    Debian Package
    2008-03-20

    Logged In: YES
    user_id=1881990
    Originator: YES

    Hi,

    Build fine and works (I can't test the sound) with your second patch.

    Thanks for your work. I'll do a new debian package at debian-multimedia.org today.

    Christian

     
  • Logged In: YES
    user_id=782084
    Originator: NO

    Fix seems to look good, closing.

     
    • status: open --> closed-fixed