How can I embed a still image into a HTTP live streaming audio-only stream without using Apples command line tool's
===

We are using a Linux based server so Apple's tools (mediafilesegmenter) are not an option.  

The HLS [guidelines][1] state:

> ...In addition, you should provide cellular-capable clients an alternate
> stream at 64 Kbps or less for slower data connections. If you cannot
> provide video of acceptable quality at 64 Kbps or lower, you should
> provide an audio-only stream, or **audio with a still image**.

We want to try the audio with a still image.

They have [implementation advice][2] wich states use their tools which I did:

    mediafilesegmenter -a --meta-file=imgres.jpeg --meta-type=picture sample.mp3

This works great, I see an image while the audio is playing on my iPhone.  I looked at one of the segments which had some nonsense at the start which probably tells the player there is an embebed jpeg.

    ID3 ?PRIV 5 com.apple.streaming.transportStreamTimestamp 
    ª†ID3 $APIC $u image/jpeg ˇÿˇ‡ JFIF ˇ€ Ñ 	&$/ #')8/-150*A&+,)	

How do I make a audio only segment with this embedded image without using Apple's tools?


  [1]: http://developer.apple.com/library/ios/#documentation/networkinginternet/conceptual/streamingmediaguide/UsingHTTPLiveStreaming/UsingHTTPLiveStreaming.html
  [2]: http://developer.apple.com/library/ios/#documentation/networkinginternet/conceptual/streamingmediaguide/FrequentlyAskedQuestions/FrequentlyAskedQuestions.html