bugGnash - The GNU Flash player - Bugs: bug #19042, libbase compile error:...

 
 

bug #19042: libbase compile error: CODEC_ID_VP6F codec error

Submitted by:  Markus Neteler <neteler>
Submitted on:  Mon 12 Feb 2007 05:26:25 PM UTC  
 
Category: buildSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Tomas Groth <tgc>
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)

Tue 20 Feb 2007 09:05:44 PM UTC, comment #8:

It now compiles on Mandriva2007.

Markus

Markus Neteler <neteler>
Mon 19 Feb 2007 10:12:25 PM UTC, comment #7:

Not for ffmpeg 0.cvs20050918-5ubuntu1.1.
Just for the record (since I get we "agreed" on this one being
too old)

Sandro Santilli <strk>
Project Member
Mon 19 Feb 2007 10:05:19 PM UTC, comment #6:

The compile problem should now be fixed in CVS. please test.

Tomas Groth <tgc>In charge of this item.
Mon 12 Feb 2007 09:06:09 PM UTC, comment #5:

--enable-gstreamer doesn't work. You'll have to use --enable-sound=gst to enable the gstreamer audio/video backend. yes, it's a bit weird.

Anonymous
Mon 12 Feb 2007 09:01:30 PM UTC, comment #4:

Small modification for Mandriva2007:

[neteler@localhost gnash]$ grep CODEC_ID_FLASHSV /usr/include/ffmpeg/avcodec.h
CODEC_ID_FLASHSV,
[neteler@localhost gnash]$ grep CODEC_ID_VP6F /usr/include/ffmpeg/avcodec.h
[neteler@localhost gnash]$

So only CODEC_ID_VP6F is missing in ffmpeg51-devel-0.4.9-3.pre1.6122.2plf2007.0.

Markus

Markus Neteler <neteler>
Mon 12 Feb 2007 08:56:32 PM UTC, comment #3:

Same problem on Mandriva2007/PLF:

rpm -qa | grep ffmp
libffmpeg51-devel-0.4.9-3.pre1.6122.2plf2007.0
libffmpeg51-0.4.9-3.pre1.6122.2plf2007.0
ffmpeg-0.4.9-3.pre1.6122.2plf2007.0

Trying this (after 'make clean') didn't help:
./configure -enable-plugin --disable-klash --enable-gstreamer

It still picks up ffmpeg.

Markus Neteler <neteler>
Mon 12 Feb 2007 07:28:50 PM UTC, comment #2:

Same problem in ubuntu dapper.
ffmpeg 0.cvs20050918-5ubuntu1.1

Sandro Santilli <strk>
Project Member
Mon 12 Feb 2007 05:53:00 PM UTC, comment #1:

This is due to a too old ffmpeg version.
We need the CVS version of it (argh).
Consider also using gstreamer as an alternative.
See bug #18663 for the problem of ./configure not aborting.

Sandro Santilli <strk>
Project Member
Mon 12 Feb 2007 05:26:25 PM UTC, original submission:

hi,

I tried to compile the today's CVS version on
Linux bartok 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25 17:24:31 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/issue
Red Hat Enterprise Linux WS release 4 (Nahant Update 4)

[...]
embedVideoDecoderFfmpeg.cpp:50: error: `CODEC_ID_VP6F' was not declared in this scope
embedVideoDecoderFfmpeg.cpp:50: warning: unused variable 'CODEC_ID_VP6F'
embedVideoDecoderFfmpeg.cpp:52: error: `CODEC_ID_FLASHSV' was not declared in this scope
embedVideoDecoderFfmpeg.cpp:52: warning: unused variable 'CODEC_ID_FLASHSV'
make: *** [libgnashbase_la-embedVideoDecoderFfmpeg.lo] Error 1

Commenting the offending lines (which doesn't make much sense) helps:

diff -u -r1.3 embedVideoDecoderFfmpeg.cpp
--- libbase/embedVideoDecoderFfmpeg.cpp 9 Feb 2007 16:40:42 -0000 1.3
+++ libbase/embedVideoDecoderFfmpeg.cpp 12 Feb 2007 15:24:07 -0000
@@ -46,10 +46,11 @@
// Find the decoder and init the parser
if (format == CODEC_H263) {
codec = avcodec_find_decoder(CODEC_ID_FLV1);
- } else if (format == CODEC_VP6) {
- codec = avcodec_find_decoder(CODEC_ID_VP6F);
- } else if (format == CODEC_SCREENVIDEO) {
- codec = avcodec_find_decoder(CODEC_ID_FLASHSV);
+// }
+// else if (format == CODEC_VP6) {
+// codec = avcodec_find_decoder(CODEC_ID_VP6F);
+// } else if (format == CODEC_SCREENVIDEO) {
+// codec = avcodec_find_decoder(CODEC_ID_FLASHSV);
} else {
return;
}

Maybe a test is needed?

rpm -qa | grep avc
libavc1394-0.4.1-4.EL
libavc1394-devel-0.4.1-4.EL

Regards,
Markus

Markus Neteler <neteler>

 

(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 tgc (Posted a comment)
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by neteler (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 20 Feb 2007 10:47:22 PM UTCtgcStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Mon 19 Feb 2007 10:05:19 PM UTCtgcStatusNone=>Ready For Test
    Mon 12 Feb 2007 05:53:00 PM UTCstrkAssigned toNone=>tgc

    Back to the top


    Powered by Savane 3.1-cleanup1