How to stream MP3s with embedded images

When I stream an MP3 file with an embedded image, the first few seconds of the files are clipped.
I will need to find another server, or a viable workaround.
What is the best way to work around this?

I have the same issue described by loris.guignard.
The problem is not specific to the embedded cover. If I store very large text tags in mp3 (i.e. larger than about 130 kB), the same problems occurs. In addition, if the tags exceed the 130 kB limit, the duration of the song which can be played decreases.
For my tests I use a 3:26 mp3 (8.25 mB) and the JW Player. The duration of the song piece which can be played varies as follows, depending on the size of the picture stored in the tags :
- Picture size between 130 kB and approx. 600 kB => the song is played properly until 3:23. The last 3 seconds played (3:20 -> 3:23) are repeated from 3:23 until the end at 3:26. Note that the total duration of the song is correct (3:26).
- Picture size : 750 kB => the song is played properly until 3:23, then it stops (the total time displayed is 3:26)
- Picture size : 1.244 MB => same as above, but stops at 3:10 / 3:26
- Picture size : 1.493 MB => same as above, but stops at 3:03 / 3:26
- Picture size : 2.348 MB => same as above, but stops at 2:43 / 3:26
- Picture size : 6.297 MB => same as above, but stops at 0:58 / 3:26
The tags are ID3v2.3 compliant (by the way ID3v2.3 has no size limitation). The measures are the same when we use ID3v2.4 standard. It seems that the problem lies only in the size tags, not in the ID3 version or the tag content.
The measurements are the same whatever the buffer length I choose for the client-side player.
Let me make the following assumption: the end of the played song is evaluated according to offset from the beginning of the mp3 file (rather than from the start of the mp3 music data, i.e. from the end of the tags), modulo the buffer size used for reading the file (which must be 128 kB).
For example, if we combine a tag picture of 4 MB and a mp3 of 8 MB, we have a 12 MB mp3. Since the tags are stored at the file beginning, when the server-side player reaches the middle of the song (at 4+4 = 8 MB), the reader believes that the reading is complete. But it remains 4 MB to read before the real end.
Maybe the last seconds can loop or be truncated because of the wrong time adjustment between song duration evaluation and data buffer length. In my example, the mp3 bitrate was 40 kB/s. So if the file buffer size is 128 kB, it read... 3.20 seconds.
Of course it is only a hypothesis, but I'm really intrigued by this problem.
Can you please tell we how can we fix this ? Are there any configuration that we can change in the FMS side or maybe a patch ?

Similar Messages

  • UTL_SMTP send HTML email with embedded image?

    Hi, I can use UTL_SMTP to send an HTML email ok, but does anyone have an example of how to include an inline embedded image in the email? Thanks!

    If you want to send the html page and have it
    reference the images and css files on your web
    site, that's pretty easy. Just create a message
    with text/html content that is your html page.
    If you want to include all the images and css files
    in your message along with the html page, you'll
    need to create a multipart/related message and
    you'll need to change all the html to reference the
    images and css files using "cid:" references.

  • Sample Java  Code to send an HTML mail with embeded image

    Hello,
    Please can I get a sample Java code on sending an HTML mail with embeded image.
    The HTML message and relevant input parameters withhbe supplied from a PL/SQL that will call the class , the class will embed the image and send the mail to the recepient.

    tev wrote:
    Please can I get a sample Java codeNo. This is a forum, not a code mill.
    Recommended reading: How to ask questions the smart way
    db

  • Mail problem with embedded images and links

    Since Yosemite Apple Mail seems to have a problem with images that are used as a hyperlink to a website.
    While links are clickable with external loaded images work fine, links with embedded images just do not anything. Clicking on them selects them, a double-click opens the image in Preview.
    This works:
    <a href="https://www.google.de"><img src="https://www.google.de/images/srpr/logo11w.png" alt="Google Logo"></a>
    This does not work:
    <a href="https://www.google.de"><img src="cid:logo_google" alt="Google Logo"></a>
    Can you reproduce this problem?
    We tried it with OS X 10.10.1 and 10.10.2

    After a bit of digging around I think I have found the reason for the EO being called prior to the CO. In the parent page CO, there is a transaction commit (oapagecontext.getApplicationModule(oawebbean).getTransaction().commit();).
    Therefore, I assume that as my custom AM is a child of standard AM where the transaction is being commit, the child AM is sharing the same transaction/session and hence the EO being called.
    I am running into issues with moving the validation to the EO as the validation requires visibility of the VO values to calculate a total value. Therefore is there a way to ensure that my custom AM maintains a separate database session/transaction to the parent/standard AM? Is it possible to break the parent/child relationship?
    This way I assume that the commit issued by the parent page CO will not affect my custom AM/EO.
    Cheers.
    Jon.

  • Why can't I forward emails I receive with embedded images?

    I have an iPad 2 and it seemed like I was able to forward emails with embedded images in the past, but now it never works. In fact, I've tried emailing directly from Photos and I have the same problem. No one gets any of my attachments or images. I've updated the operating system to the most recent version and it's made no difference.
    And to make it even more frustrating, when I check my sent messages, the images are there!

    Are you sure that you've set up an account that will automatically delete the messages? Is it a POP or IMAP account? I had a .mac account years ago running Entourage, but never had a problem. For some reason it seems that the server is not deleting your messages upon quit (or however Mail handles it). Maybe we'll just bump this up and see what kind of response you get from those with .me accounts running Mail.
    What version of Office do you have? I'm pretty sure that 2004 was a PPC suite and won't run on your new MBP. If you had 2008 on your PB, then you should just have to re-enter your activation key.
    Good luck,
    Clinton

  • How can I programatically identify PDF files with embedded images?

    Our company has 27,266,949 .PDF files that we're planning to compress in order to save server space.
    We don't want to compress any of the .PDF files that have embedded images as to not alter the image's state.
    How can we programatically create a list to exclude from the compression process?

    Ah, see told you we were new to this and no, my taxs already have enough digits to the balance.
    Ok, so based on that, we should be able to use the preflighting tool to identify the PDF’s with images, factor them out, and then continue with lossless compression on the remaining balance.
    That will give us the compression we need to save space, but also allow us to stand in the court of law (if the scenario was to ever occur) and proclaim that none of our medical images have ever been altered by compression.
    Sound like a reasonable plan?

  • How to request - Updating an embedded image in a PDF using Actions but not all actions are recorded

    i am trying to create an Action in CS3 but some of my actions are not been recorded.
    What i want to do is run the Batch option on a folder with a 1,000 PDFs in it. The PDFs
    (which were created in Illustrator CS3) consist of a single page with a single embedded
    image at the foot of the page. I am trying to update that embedded image.
    The Actions i am trying to record are...
    1) Select the single image in the Links palette.
    2) Choose the "Relink.." option in the drop down menu of the Links palette.
    3) Navigate to the new image and select "Place".
    4) Save and close document.
    But the first two actions are not been recorded.
    How do i get around this problem ?
    Note: From trying this manually the new image seems to take on the horizontal and
    vertical scaling of the previous image which is what i want. But if i am going to have to
    do a script then that is a factor that may have to be incorporated into the script.
    Any help appreciated.

    Give this a trial… It does a save as which is much safer than overwriting… At least you still have your originals should I get something wrong…? I did test but only with 3 files…
    #target illustrator
    function replaceImage() {
              var i, doc, fileList, inFolder, outFolder, opts, pic, rep, rip, saveFile, uIL;
              inFolder = Folder.selectDialog( 'Please choose your Folder of AI PDFs…' );
              outFolder = Folder.selectDialog( 'Please choose a Folder to save AI PDFs in…' );
              pic = File.openDialog( 'Please choose your replacement Image…' );
              if ( inFolder != null && outFolder  != null && pic != null ) {
                        fileList = inFolder.getFiles( /\.pdf$/i );
                        if ( fileList.length > 0 ) {
                                  uIL = app.userInteractionLevel;
                                  app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
                                  for ( i = 0; i < fileList.length; i++ ) {
                                            doc = app.open( fileList[i] );
                                            rip = doc.rasterItems[0].position;
                                            rep = doc.placedItems.add();
                                            rep.file = pic;
                                            rep.move( doc.rasterItems[0], ElementPlacement.PLACEBEFORE )
                                            rep.position = rip;
                                            rep.resize( 31.414, 31.414, true, true, true, true, 100, Transformation.TOPLEFT );
                                            doc.rasterItems[0].remove();
                                            rep.embed();
                                            opts = new PDFSaveOptions();
                                            opts.pDFPreset = '[Illustrator Default]';
                                            saveFile = File( outFolder + '/' + doc.name );
                                            doc.saveAs( saveFile, opts );
                                            doc.close( SaveOptions.DONOTSAVECHANGES );
                                  app.userInteractionLevel = uIL;
                        } else {
                                  alert( 'This Folder contained NO Illustrator PDF files?' );
    replaceImage();

  • How to stream mp3's in gmail?

    In the past, I used to be able to just click on mp3's in gmail to have them stream. A few years ago, this stopped working in firefox. The streaming window pops up, but it never plays (see image).
    Is there any way to stream mp3's in gmail with just one click? I have projects where I will need to stream 100's of mp3s. This may end my long run with firefox if it can't be fixed.

    Okay, I reopened the test message that worked for me in November 2013 and as you say, it is not working now. I sent a new test message to my Gmail account, and same problem.
    There seem to be two issues:
    * Firefox sometimes does not get a redirect to the media. Closing the black screen and clicking again may bypass this. (First screen shot.)
    * The audio is not auto-starting in Firefox when the media loads successfully, which makes the control bar useless. If you use a script command to trigger the media to play, the control bar starts working normally. (Second screen shot.)
    This is annoying. Because Google's scripts are normally very complex, I don't think I'll be able to figure out why the media isn't autostarting.
    If no solution is discovered, as a workaround, you could manually trigger the player using a bookmarklet, or possibly autostart it using a Greasemonkey userscript (probably a new script, unless someone has already posted one).
    The bookmarklet would be as follows:
    (1) Select and copy the following line of script:
    javascript:void(document.querySelector("audio").play());
    (2) Right-click a convenient location on your Bookmarks Toolbar or Bookmarks Menu and choose New Bookmark.
    (3) Paste the script into the Location field. Then in the name field, you can type Gmail Play or any name you like.
    (4) Click the Add button
    You would try clicking the bookmarklet after the player appears.

  • Emails with embedded image show only =20

    I am seeing this issue across multiple iPhones with iOS 4.3.x and 5.0. It is very inconsistent. I have seen the same email go out to multiple users in a group and some can see the embedded image correctly while others only see the following in place of the image:
    ------_=_NextPart_002_01CC8F42.DA025060
    Content-Type: text/plain;
       charset="us-ascii"
    Content-Transfer-Encoding: quoted-printable
    =20
    =20
    =20
    =20
    This tells me the sender isn't formating the message in a way the recipient cannot read it. It seems to be an encoding issue. The email will display fine in various email clients but not on the iPhone. The same email can later be sent again and it will work fine.
    The iPhones' email accounts are setup as IMAP and the mail server is running Exchange 2003. I'm sure this will go away once I upgrade the server to 2010 and use ActiveSync with an Exchange account instead of IMAP, but I need to make it work correctly for now.
    Is anyone else experienceing this issue and if you are, what server, account type, iOS are you running?
    Any help would be greatly appreciated.
    Thanks!

    I have the same problem with FF 14.0.1 on a freshly reinstalled Win7 32:
    I have a 100Mbps cable connection, but get a '''ridiculous 4-5 Mbps''' out of FF while the latest versions of Explorer and Chrome gives at least 75Mbps...
    All tests have been done with virus protection on as well as off (the latter is something I loathe doing) and with two different speed tests, one of them being speedtest.net. The results are conclusive: The problem clearly rests with FF. So: What in Heavens name has happened to my longtime favvo browser? At the moment it is quite useless and I am at my wits end.
    I don't particularly want to, but as of tonight I'm transferring all my bookmarks to Chrome as a hopefully temporary measure.

  • RichEditableText with embedded images does not handle mouse events reliably

    I'm using Flash Builder "Burrito".  downloaded a couple of weeks ago.  Flash Player 10.1.85.3 debug version.
    I have the following MXML object:
    <s:Scroller
    width="100%" height="100%"
    xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx"
    skinClass="components.skins.SxScrollerSkin"
    >
    <s:Group id="myGroup" width="100%" height="100%">
    <s:RichEditableText id="myRichText" >
    </s:RichEditableText>
    <!--- Do not set the height of the RichEditableText - since it seems to prevent the appearance of the vertical scroll bars -->
    </s:Group>
    </s:Scroller>
    With the following Actionscript to initialize, etc.
                textContainer = new SxBorderContainer(name);
                textContainer.dx = dxAvailable;
                textContainer.dy = dyAvailable;
    scroller = new SxScroller();
    scroller.move(dxPadding,dyPadding);
    scroller.dx = dxAvailable
    scroller.dy = dyAvailable;
    textContainer.addElement(scroller);
    var richText:RichEditableText;
    richText = scroller.richText;
    richText.toolTip = toolTip;
    richText.enabled = true; // required for mouse click capture
    richText.selectable = true; // required for mouse click capture
    richText.width = dxAvailable
         var textFlow:TextFlow = TextFlowUtil.importFromString(textFlowString, WhiteSpaceCollapse.PRESERVE);
          richText.textFlow = textFlow;
    And the following code to catch events:
                    richText.addEventListener(FlowElementMouseEvent.MOUSE_DOWN,userMouseEvent);
                    richText.addEventListener(FlowElementMouseEvent.MOUSE_UP,userMouseEvent);
                    richText.addEventListener(FlowElementMouseEvent.CLICK,userMouseEvent);
    Here's the problem.   If I have embedded images in the TextFlow that is imported into the richText, I only catch "some" mouse clicks.  It's hard to know, but it seems that only mouse clicks into white space (between paragraphs) are caught.  Mouse up and down are caught, but not "click".  Very puzzling.
    TextFlow like this:
        <TextFlow>
          <div color="#442222" fontFamily="Times New Roman" fontSize="20" paragraphSpaceAfter="15" textIndent="15">
            <p>
              <span>
                Alice was beginning to get very tired of sitting by her sister on the bank, and of having nothing to do:  once or twice she had peeped into the book her sister was reading, but it had no pictures or conversations in it, `and what is the use of a book,' thought Alice `without pictures or conversation?'
              </span>
            </p>
            <p>
                  <span>So she was considering in her own mind</span>
                  <img source="assets/library/alice/images/White Rabbit.png" height="auto" width="auto" float="left" />
                   <span> (as well as she could, for the hot day made her feel very sleepy and stupid), whether the pleasure of making a daisy-chain would be worth the trouble of getting up and picking the daisies, when suddenly a White Rabbit with pink eyes ran close by her.</span>
            </p>
    If there are no embedded imags, I get all clicks exactly.
    Is it a bug?  Am I missing something? 
    Thanks,
    Oz

    Thanks for the answer. First I need clicks anywhere in the RichEditableText (no links or images). I use the selection manager to find the exact word that was clicked.
    The next step would be to capture clicks on links and images.
    I have tried using MouseEvent and had the same result (or worse) as FlowElementMouseEvent.  I will go back and retest with your suggestion.
    Oz
    Result of retest:
    I catch clicks only over images embedded in the TextFlow.  I catch only mouse up/down over text - both MouseEvent and FlowElementMouseEvent.
    Puzzling.  Where are the clicks going?

  • Font Problem with Embedded Images when making PDFs

    Hello,
    I am revising a document I didn't create which has embedded images. Although all of the fonts are turned on, when I create a PDF, the fonts in the EPS come out as Courier. When I print to my laser printer, the fonts in the EPS come out correctly. This job will eventually be produced as a PDF, so I need to figure this out. Any ideas?
    Thanks.

    We can't spend the time to retrieve the originals and distill them.
    Yes, I understand that. I like to know why things don't work, even if it takes me a few minutes to test things. You don't have to retrieve any originals. Just unembed one from the ID file. I know it doesn't make sense to Distill all your EPS files when printing to PDF is going to take much less time. But if you can ascertain why it's not working, you'll have a better chance to fix it next time.
    If the fonts weren't included in the original EPSs, why do they print to PDF in Franklin Gothic? This is true even in the one page document I sent you that doesn't have any styles.
    They don't...unless you have that exact Franklin Gothic loaded on your system. They print in Courier here.
    Your EPS file references a specific font name. When you print, your print driver matches up that reference with the Franklin Gothic font you have loaded. For reasons that I don't fully understand, when you Export to PDF Indesign is not able to match up the reference to the font the same way your print driver can.
    Obviously, printing to PDF is a good workaround. And make sure you send your printer a PDF, not a live Indesign file.
    Ken

  • Streaming MP3 with RTP

    Hello,
    I am trying to implement a RTP server and a RTP client, for that purpose I am using JMF, it seems to work good until I tried to transmit MP3 files. When I trasmit MP3, I get the next error message:
    Unable to handle format: mpeglayer3, Unknown Sample Rate
    Failed to realize: com.sun.media.PlaybackEngine@1700391
    Error: Unable to realize com.sun.media.PlaybackEngine@1700391
    Error in ControllerErrorEvent: javax.media.ResourceUnavailableEvent[source=com.sun.media.content.unknown.Handler@fa39d7,message=Failed to realize: input media not supported: mpeglayer3 audio]
    I have installed the mp3 pluging and I have used the AVTrasmint2 and AVReceive2 class with some modifications to try to solve the problem, but I can not solve it.
    I tried to use JMFStudio in both sides (server and client side) and I got the same error.
    -->failed to handle a data format change!
    I would like to add that I have used two differents computers (one for the server and one for the client) to make all the test.
    Could you give me some advise, help or solution for that problem? If someone has a solution(code) to transmit streaming MP3 using RTP and kown that it is running ok, could you show me?
    I am doubting if MP3/RTP is supported in JMF, If someone knows another alternative to implement a streaming MP3 audio server and client, could you say me what solution is it?
    Thank you very much, I expect that someone could help me.
    PD: Sorry for my english, I think that it is not so good.

    Hi I had the same problem but i manage to solve it.
    First of all you have to install the mp3 plug-in and as u mentioned that u already did that.Make sure the mp3plugin.jar file is inside the lib/ext of the jre you are using for your project and one imp thing is first register the plug-in by issuing the command
    java com.sun.media.codec.audio.mp3.JavaDecoder
    It will modify the jmf.properties binary file.Once your done with this put this updated jmf.properties file in your project folder.After this your code should run perfectally.In case of any problem.Post it.
    cheers

  • Problem with embedding images in a textField

    I am trying to embed images in an html text field.
    I am using the following in the txt file that gets loaded
    into the html text box, but the image does not show up.
    <img src='art_home.jpg'>
    art_home.jpg is the linkage id.
    I have also tried it with a movie clip, but it would not work
    either.
    What am I doing wrong? Where could I start to look? I am
    somewhat lost on this...
    Thanks a lot!

    Hi, thanks a lot.
    What you are describing, is what it seems to be doing, as it
    reports errors loading the images. I thought I was reading that I
    could substitute src path to an image, with a linkage ID in the
    library. Is that not the case?
    "- src Specifies the URL to a JPEG or SWF file, or the
    linkage identifier for a movie clip symbol in the library."
    I read this here:
    http://blog.inventis.be/embedding-images-and-movie-clips-in-flash-text-fields/
    Thanks a lot.

  • How to make a PDF embedded image append a report and send via fax electronically from MS SSRS 2012?

    How can I make a PDF embedded image append a SSRS 2012 report and send via fax all electronically?  Is this possible?
    Thanks in advance for your time!

    Hello,
    1. The report item Image can be used to display the image which  embedded in the report, stored in a database, stored on the report server, or stored elsewhere on the Web.
    For example, you can embedded the PDF image in the report and stored as text in the report definition.
    2.Reporting Services includes an e-mail delivery extension and a file share delivery extension which you can send report to user or group through e-mail or send the report to a shared location on your network.
    If you want to send the report to FAX, you may try to create a custom delivery extension depend on your faxing software.
    Reference:Implementing a Delivery Extension
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • PDF to html conversion with embedded images in java

    hi all,
    i want to convert any pdf file to its html equivalent. currently i am using PDFBOX java api to do that. it works fine with simple pdf files having no images, but if there are embedded images in pdf file then it do not show these images.
    anyone who has clue of solving this problem. i can convert individual pdf pages to jpg pictures if all embedded images would also be in these pictures.
    help me regarding pointers to other APIs, code snippets etc that can solve my purpose.
    thanks in advance

    Hi..
    really soorry i am not having any solution for u.
    But i am having one problem regarding pdf box, i think u know pdf box, i am reading japanese file using pdf box, its giveing
    caught a class java.io.IOException
    with message: Unknown encoding for 'UniJIS-UCS2-H'
    I have wrriten code like this.....
    PDDocument pdfDocument = null;
    PDFParser parser = new PDFParser( new FileInputStream(file));
    parser.parse();
    pdfDocument = parser.getPDDocument();
    PDFTextStripper stripper = new PDFTextStripper();
    String text = stripper.getText(pdfDocument);
    reader = new StringReader(text);

Maybe you are looking for