Ticket #76 (reopened Bug)

Opened 5 years ago

Last modified 15 months ago

mp3 Streams Choke on Images

Reported by: matthewsewell Owned by: joachim
Priority: Critical Component: App Server
Version: Keywords: mp3, metadata
Cc: gotsky

Description

The server seems to have trouble handling mp3 files that have images embedded in them. This is also the case with the 'other' rtmp streaming server. My theory on this issue is that the server may be seeing 11 or more set bits in the image as an mp3 sync frame. I will attach an example i created where I embedded a picture of my ugly mug in my friend's song.

The image was added using iTunes 7.0.2.

Attachments

One More Try - EDIT 3.2.mp3 Download (3.4 MB) - added by matthewsewell 3 years ago.

Change History

Changed 5 years ago by matthewsewell

Mp3 file with image added using iTunes.

Changed 5 years ago by joachim

fixed in r1691, thanks for reporting

Changed 3 years ago by matthewsewell

Changed 3 years ago by danielr

  • status changed from new to closed

Changed 17 months ago by gotsky

  • cc gotsky added
  • status changed from closed to reopened
  • resolution Fixed deleted

Hi

I have the same problem with the red5 0.9.1 and itunes artwork: I can't stream mp3 files that have images embedded in them

Changed 15 months ago by bbk

  • keywords mp3, metadata added

I have the same issue also with red5 0.9.1.

I tested with the file added to this ticket (i named it image.mp3, sorry for that) and got the following from the red5.log:

[WARN] [NioProcessor-1] org.jaudiotagger.audio - /usr/local/red5/webapps/streamAccess/streams/image.mp3ID3Tag ends at:78686:but mp3audio doesnt start until:79103
[WARN] [NioProcessor-1] org.jaudiotagger.audio - /usr/local/red5/webapps/streamAccess/streams/image.mp3Using mp3audio start:79103
[WARN] [NioProcessor-1] org.jaudiotagger.tag.id3 - image.mp3:Frame size is NOT stored as a sync safe integer:APIC

NOTE red5 must have write access to the file, i don't know why.

Note: See TracTickets for help on using tickets.