bugGnash - The GNU Flash player - Bugs: bug #18469, struct AVFormatParameters' has no...

 
 

bug #18469: struct AVFormatParameters' has no member named 'prealloced_context'

Submitted by:  Sandro Santilli <strk>
Submitted on:  Wed 06 Dec 2006 02:47:27 PM UTC  
 
Category: buildSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Rob Savoye <rsavoye>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Thu 21 Dec 2006 10:31:26 PM UTC, comment #13:

Oops, sorry :}

Sandro Santilli <strk>
Project Member
Thu 21 Dec 2006 10:30:56 PM UTC, comment #12:

I confirm last commit fixes this.

Sandro Santilli <strk>
Project Member
Thu 21 Dec 2006 10:30:47 PM UTC, comment #11:

ffmpeg now looks for the dc1394 library.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Thu 21 Dec 2006 10:10:11 PM UTC, comment #10:

This call fixed it:

make LDFLAGS=-ldc1394_control

I'm assigning to Rob, after we discussed the thing on IRC.
Tom's part is fixed, thanks :)

Sandro Santilli <strk>
Project Member
Thu 21 Dec 2006 09:09:00 PM UTC, comment #9:

The AVFormatParameter warning has gone, now I have a linking problem:

../server/.libs/libgnashserver.so: undefined reference to `dc1394_stop_iso_transmission'
../server/.libs/libgnashserver.so: undefined reference to `dc1394_get_camera_nodes'
../server/.libs/libgnashserver.so: undefined reference to `dc1394_start_iso_transmission'
../server/.libs/libgnashserver.so: undefined reference to `dc1394_destroy_handle'
../server/.libs/libgnashserver.so: undefined reference to `dc1394_dma_unlisten'
../server/.libs/libgnashserver.so: undefined reference to `dc1394_create_handle'../server/.libs/libgnashserver.so: undefined reference to `dc1394_dma_single_capture'
../server/.libs/libgnashserver.so: undefined reference to `dc1394_dma_setup_capture'
../server/.libs/libgnashserver.so: undefined reference to `dc1394_dma_done_with_buffer'
../server/.libs/libgnashserver.so: undefined reference to `dc1394_dma_release_camera'

doesn't seem a new one... anyway, these are FFMPEG_LIBS:

FFMPEG_LIBS is -lavcodec -ldts -lz -ldl -lvorbis -lm -ltheora -lavutil -logg -ldts -lavutil -lvorbisenc -lgsm -lavformat -lavcodec -ldts -lz -ldl -lvorbis -lm -ltheora -lavutil -logg -ltheora -logg

Sandro Santilli <strk>
Project Member
Thu 21 Dec 2006 05:26:23 PM UTC, comment #8:

I removed the use of AVFormatParameters, maybe this will help make more versions of ffmpeg work. Please test!

Tomas Groth <tgc>
Sat 09 Dec 2006 03:29:41 PM UTC, comment #7:

Hmm, I'll have a look at the 'prealloced_context', maybe it can just be ignored, and thereby avoid some problem.
I'll also try finding out how stable the ffmpeg API actually is.

Tomas Groth <tgc>
Thu 07 Dec 2006 11:57:02 AM UTC, comment #6:

We should probably just add a test for this member in ffmpeg.m4. I discovered it doesn't exist in the packages for Ubuntu Edgy (6.10) or Fedora Core 6, and appears to only be available in ffmpeg CVS within the last few months.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Thu 07 Dec 2006 10:04:42 AM UTC, comment #5:

Can you dig to find exact version we need ?

Sandro Santilli <strk>
Project Member
Wed 06 Dec 2006 03:24:03 PM UTC, comment #4:

I think it safe to state that ffmpeg is developed at a more aggressive rate than mad ;)

I vote for making the ffmpeg version which contains the VP6 codec the minimum version. I think it was added this summer.

Tomas Groth <tgc>
Wed 06 Dec 2006 03:19:31 PM UTC, comment #3:

BTW, sdl/mad builds fine under debian stable :)

Sandro Santilli <strk>
Project Member
Wed 06 Dec 2006 03:15:38 PM UTC, comment #2:

I just think that if a specific minimum version is required we should abort at ./configure time.
Of course, I'd also like users to somehow be able to build something, even w/out the matching ffmpeg, if backporting isn't that easy...

Sandro Santilli <strk>
Project Member
Wed 06 Dec 2006 03:01:38 PM UTC, comment #1:

That version of ffmpeg is almost 2 years old! I know debian love "stable" versions, but IHMO backporting to debian stable on this would be wasted... I can't even compile the ffmpeg-20050313 on my current system... Anyway, to support newer flv-files with the VP6 codec, a recent ffmpeg is needed.

Tomas Groth <tgc>
Wed 06 Dec 2006 02:47:27 PM UTC, original submission:

Get this messages on debian stable:

/home/strk/src/gnash/gnash-head/server/asobj/NetStreamFfmpeg.cpp: In static
member function `static void* gnash::NetStreamFfmpeg::startPlayback(void*)':
/home/strk/src/gnash/gnash-head/server/asobj/NetStreamFfmpeg.cpp:249: error: '
struct AVFormatParameters' has no member named 'prealloced_context'
/home/strk/src/gnash/gnash-head/server/asobj/NetStreamFfmpeg.cpp:253: error: invalid
conversion from `offset_t ()(void, long long int, int)' to `int ()(void,
long long int, int)'
/home/strk/src/gnash/gnash-head/server/asobj/NetStreamFfmpeg.cpp:282: error: cannot
convert `AVCodecContext' to `AVCodecContext*' in initialization
/home/strk/src/gnash/gnash-head/server/asobj/NetStreamFfmpeg.cpp:302: error: `
CODEC_TYPE_SUBTITLE' undeclared (first use this function)
/home/strk/src/gnash/gnash-head/server/asobj/NetStreamFfmpeg.cpp:302: error: (Each
undeclared identifier is reported only once for each function it appears
in.)
/home/strk/src/gnash/gnash-head/server/asobj/NetStreamFfmpeg.cpp:315: error: cannot
convert `AVCodecContext' to `AVCodecContext*' in assignment
/home/strk/src/gnash/gnash-head/server/asobj/NetStreamFfmpeg.cpp:348: error: cannot
convert `AVCodecContext' to `AVCodecContext*' in assignme

...

guess its a version mismatch
These are the installed versions:

ii libavcodec-dev 0.cvs20050313-2sarge1 development files for libavcodec
ii libavformat-dev 0.cvs20050313-2sarge1 development files for libavformat

Sandro Santilli <strk>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rsavoye (Posted a comment)
  • -unavailable- added by tgc (Posted a comment)
  • -unavailable- added by strk (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 21 Dec 2006 10:31:26 PM UTCstrkOpen/ClosedOpen=>Closed
    Thu 21 Dec 2006 10:30:56 PM UTCstrkStatusConfirmed=>Fixed
      Open/ClosedClosed=>Open
    Thu 21 Dec 2006 10:30:47 PM UTCrsavoyeOpen/ClosedOpen=>Closed
    Thu 21 Dec 2006 10:10:11 PM UTCstrkStatusReady For Test=>Confirmed
      Assigned totgc=>rsavoye
    Thu 21 Dec 2006 05:26:23 PM UTCtgcStatusNone=>Ready For Test

    Back to the top


    Powered by Savane 3.1-cleanup1