bugGnash - The GNU Flash player - Bugs: bug #17795, Problem with mp3

 
 

bug #17795: Problem with mp3

Submitted by:  Artem <arti>
Submitted on:  Mon 18 Sep 2006 05:32:07 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 09 Oct 2006 02:27:25 PM UTC, comment #2:

All of this has been obsoleted lately.
Please get the current CVS version and use --enable-mad instead of --enable-mp3. Note that if you omit --enable-mad the configuration script will attempt to use ffmpeg for mp3 streaming.

Sandro Santilli <strk>
Project Member
Thu 21 Sep 2006 11:20:03 AM UTC, comment #1:

check macros/mad.m4, that should be the source of your problems.

Sandro Santilli <strk>
Project Member
Mon 18 Sep 2006 05:32:07 PM UTC, original submission:

If gnash was configured
'./configure --enable-sound=SDL --enable-mp3'

I have error :

sound_handler_mp3.cpp:18:2:
#error "You need to have the libmad development
package installedto compile this file. You can either
reconfigure without --enable-mp3, or install libmad0-dev
(using apt-get) or libmad (using yum)."

If I set ' #define HAVE_MAD_H 1 ' in config.h, I have error:

libgnashbackend.so: undefined reference to `mad_frame_init'
libgnashbackend.so: undefined reference to `mad_frame_decode'
........

%uname -a
FreeBSD test 6.1-RELEASE-p6 FreeBSD 6.1-RELEASE-p6 #0: Sat Sep 9 23:18:27 MSD 2006 root@test:/usr/obj/usr/src/sys/my amd64

%gcc -v
Using built-in specs.
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 3.4.4 [FreeBSD] 20050518

gnash version: CVS 2006-09-18

libmad version: 0.15.0b
libmad location: /usr/local/lib
/usr/local/include

Script 'configure' determine configuration as:

MAD flags are: -I/usr/local/include
MAD libs are: -L/usr/local/lib

To overcome this problem I do:

1.Set ' #define HAVE_MAD_H 1 ' manually in file config.h.
2.Add ' -lmad ' in variable ' MAD_LIBS' in make files.

Compilation has completed successfully, but the sound appears
approximately for one second and disappears.

Artem <arti>

 

(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

 

CC list is empty

 

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 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 09 Oct 2006 02:49:03 PM UTCstrkStatusNone=>Invalid
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1