[FFmpeg-devel] Mp3 play using ffmpeg

Yamusani Vinay yamusanivinay at gmail.com
Thu Oct 31 10:05:12 CET 2013


Hi All,

Please help me in playing mp3 song.By using ffmpeg I am able to play wav
file.The same code I used to play mp3 file then I am getting following
error which is mentioned in log.txt.

Here I'm attaching the following files:

1.Code I used to play mp3 song.(i.e music.c)
2.The error I got while playing mp3.(i.e log.txt)

the error is while decoding the length obtained  is negative.

Thanks & Regards,
Vinay Yamusani.
-------------- next part --------------
10-31 16:36:54.370: D/tag(23670): RAH28 Starting
10-31 16:36:54.512: D/tag(23670): RAH getting stream info
10-31 16:36:55.057: D/tag(23670): RAH getting audio stream
10-31 16:36:55.057: D/tag(23670): RAH audio stream found with result: [0]
10-31 16:36:55.057: D/tag(23670): RAH audio codec info loaded
10-31 16:36:55.057: D/tag(23670): RAH audio codec info [86017]
10-31 16:36:55.057: D/tag(23670): RAH audio codec info found
10-31 16:36:55.057: D/tag(23670): RAH audio codec loaded [6] [0]
10-31 16:36:55.057: D/tag(23670): RAH channels [2] sample rate [44100] sample format [6]
10-31 16:36:55.057: D/tag(23670): RAH frame read: [0] [0]
10-31 16:36:55.057: D/tag(23670): RAH audio ready
10-31 16:36:55.057: D/tag(23670): RAH packet size: [90828]
10-31 16:36:55.057: D/tag(23670): RAH decoding: [1] [0]
10-31 16:36:55.057: D/tag(23670): RAH 1 size [90828] len [-1094995529] data_size [0] out_size [0]
10-31 16:36:55.062: A/libc(23670): Fatal signal 11 (SIGSEGV) at 0x5c0b5000 (code=1), thread 23700 (Thread-3695)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: music.c
Type: text/x-csrc
Size: 3981 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131031/929e6bdc/attachment.bin>


More information about the ffmpeg-devel mailing list