Images to Video (Sun Example doesn't work for me)

Hi every one :)
I'm trying to convert some jpg images into movie file. I saw the [Sun's example|http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JpegImagesToMovie.html] , but when I try to execute I have a DataSink error:
Cannot create the DataSink: javax.media.NoDataSinkException: Cannot find a DataSink for: com.sun.media.multiplexer.BasicMux$BasicMuxDataSource@c1f10e
Failed to create a DataSink for the given output MediaLocator: foo.mov ¿There's another way to do it?
P.S: Sorry for my english ;)

darkskimmer wrote:
The output MediaLocator, I create it with
MediaLocator out = new MediaLocator("foo.mov");The error is creating out DataSink. No errors when creating the input stream of images...Which is why I told you specificlly...
I believe the problem may be with how you're constructing your output MediaLocator... Check out their "main" method and see how they're converting their filenames into MediaLocators, and make sure you do that too. I can tell you, that's not how they do their output mediaLocators. They construct theirs with a "file://" prefix and a fully-rooted pathname. Check the code.
     if ((oml = createMediaLocator(outputURL)) == null) {
         System.err.println("Cannot build media locator from: " + outputURL);
         System.exit(0);
     }

Similar Messages

  • How can I upload a video from my PC through I tunes to camera roll on my iPhone? Is there an app or format of specific video supported? Sync from photos include video doesn't work for me.

    How can I upload a video from my PC through I tunes to camera roll on my iPhone? Is there an app or format of specific video supported? Sync from photos include video doesn't work for me.

    download the new you tube apps in i tunes, in os6 just pick a video in the photos apps and select share, the old you tube app icon will appear

  • When I skype, and take videos, my microphone doesn't work. I know it's on but my friends can't hear me. How do I get it to work?

    When I skype, and take videos, my microphone doesn't work. I know it's on but my friends can't hear me. How do I get it to work?

    I'm sure you have checked, but make sure your mute button on the keyboard is not on , also check that you haven't touched the space bar during a call as that mutes it.
    Check your settings in Skype>Preferences, Audio/Video tab. Here's what mine look like:

  • JClient query by example doesn't work in 10.1.2.

    I've a JClient application I migrated from 9.0.4 to 10.1.2.
    In the migrated app query by example doesn't work anymore in JTables.
    Could someone help ?
    Tks
    Tullio

    Frank, I got a testcase from Tullio. It's a 9.0.4 project uding JClient that is pre-ADF bindings.
    I migrated his 9.0.4 project to 9.0.5.2 first.
    In 9.0.5.2, I see already a change in behavior related to enter-query mode in the JTable, but the number of rows displayed looks correct.
    Tullio, can you confirm if the problem you are seeing vis a vis enter query mode is that if you:
    1. Click enter-query button
    2. Click into a field like Ename and type SMITH but don't [Tab] out of that field yet
    3. Click on the execute-query button
    It behaves as if you've entered no criteria there.
    If at step 2 above you clicked [Tab] to exit the field where you typed SMITH, then it works correctly.
    Is this the enter-query-JTable-related problem you're seeing (that is, related to when you don't focus-out of the field?)
    The "number-of-rows-displayed" issue you mention in this other thread (10.1.2 JClient binding Error. does reproduce with your testcase only in 10.1.2 (as well as also still having this 9.0.5.2 focus-related issue in enter query mode).

  • The vga adapter (for a Benq projector, for example) is only for Ipod touch 4g? I have an 2g. Doesn't work for this?

    The vga adapter (for a Benq projector, for example) is only for Ipod touch 4g? I have an 2g. Doesn't work for this?
    Thanks in advance.

    The VGA is for the 4G iPod only. The 2G can use the composite and component cables.
    http://support.apple.com/kb/HT1454

  • The sound doesn´t work for games, videos and music,

    the sound doesn´t work for games, videos and music, but it works if use my hearphones

    Hi mellidani,
    If you are having speaker issues with your iPhone, you may find the following article helpful:
    iPhone: No sound or distorted sound from speaker
    http://support.apple.com/kb/ts5180
    Regards,
    - Brenden

  • Rich Textbox example doesn't work in Windows 7

    In the past I use the Rich Textbox example (\samples\userint\activex\richTextxbox.prj) in Windows XP (CVI 2010 SP1).
    Now I noticed that this example doesn't work in Windows 7 64-bit because the ActiveX is not registered on the system (see attached error.jpg).
    Isn't this control installed by CVI IDE itself?
    How can I get this example working on my Win 7 64-bit machine?
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded
    Solved!
    Go to Solution.
    Attachments:
    error.JPG ‏29 KB

    Hi Vix
    It looks like the Rich Textbox control component provided by one of the VB runtimes is no longer included by default with Windows 7.
    I have been able to manually register the ActiveX control using Regsvr32 as described in the following Microsoft KB.
    I was able to download the needed ActiveX control from here and from there you need to copy the .ocx ActiveX control to your C:\Windows\SysWOW64 directory. Open up a command prompt as administrator and run 'REGSVR32 RICHTX32.OCX'.
    SysWOW64 is the 'Windows On Windows' emulation directory which is used for running 32 bit controls in a 64 bit environment.
    I realise this isn't the best solution as it will make application deployment a little more complicated, another solution may be to use another RTF ActiveX control such as the one here: http://www.lebans.com/richtext.htm.
    Thanks
    Chris | Applications Engineer NIUK

  • [kde] "Only show tasks from the current desktop" doesn't work for max

    Hi,
    I have two monitor setup (laptop + main monitor) and I would love to use "Only show tasks from the current desktop" option in KDE Task Manager but for some strange reason it doesn't work for me. Well, it works but only partially - for restored/unmaximized windows. When I maximize one it appears on the Taskbar on both screens. Is this normal? May it be due to the fact that I've placed Taskbar on top of the screens?

    Did you miss this bit
    "Graphics : 1 GB NVIDIA Quadro 600 (1DP & 1DVI-I) (1DP-DVI & 1DVI-VGA adapter) (ELGA13) 1"
    And the final image clearly states the type of Graphics Card he has
    Photoshop CS6 GPU FAQ
    Tested video cards for Photoshop CS6
    Adobe tested the following video cards before the release of Photoshop CS6. This document lists the video card by series. The minimum amount of RAM supported on video cards for Photoshop CS6 is 256 MB. Photoshop 13.1 cannot display 3D features if you have less than 512 MB of VRAM on your video card.
    Important: This document is updated as newly released cards are tested. However, Adobe cannot test all cards in a timely manner. If a video card is not listed here, but was released after May 2012, you can assume that the card will work with Photoshop CS6.
    Adobe tested laptop and desktop versions of the following cards. Be sure to download the latest driver for your specific model. (Laptop and desktop versions have slightly different names.)
    nVidia GeForce 8000, 9000, 100, 200, 300, 400, 500, 600 series
    nVidia Quadro 400, 600, 2000, 4000 (Mac & Win), CX, 5000, 6000, K600, K2000, K4000, K5000 (Windows & Mac OS)

  • Html5 audio doesn't work for mp3s.

    I can't seem to get tag <audio> working with mp3s on my system(FF 24, Win 7 x64). I tried some wav files, those work ok. But whenever i try to play mp3 file, the html5 player just flashes for a few milliseconds and then disappears. So, is there a bitrate limitation (or any other limitation) for html5 audio tag on mp3s?
    Here's an example of code and one of the mp3 files I am trying to use - http://dindo.wz.cz/jukebox.html .
    (file http://dindo.wz.cz/Galaxy32Star4.mp3 )
    The console (ctrl+shift+k) gives these errors (rough translation):
    [14:07:48.861] Type HTTP "Content-Type" "audio/mpeg" is not supported. Loading of media http://dindo.wz.cz/Galaxy32Star4.mp3 has failed. @ http://dindo.wz.cz/jukebox.html
    [14:07:48.862] Couldn't load any of candidate sources. Loading of media was suspended. @ http://dindo.wz.cz/jukebox.html
    p.s: Even the w3c example doesn't work when i remove the ogg source. (http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_audio_all).

    can you replicate the issue, when you create a new profile for testing purposes?: [[Use the Profile Manager to create and remove Firefox profiles]]

  • PSPaletteMenu category doesn't work for automation plugins

    Hello,
    I would like to have a menu item under Photoshop "Window" menu for my automation plugin.
    There is a notice in the PIPL.r file that goes with SDK:
    // Use PSPaletteMenu category to add a menu item on the Window (i.e., palette) menu.
    // This is currently only enabled for automation plugins.
    PSPaletteMenu ="**Palette**";
    However when write my PiPL res like in example below
    resource 'PiPL' (ListenerResourceID, plugInName " PiPL", purgeable)
    Kind { Actions },
    Name { plugInName "..." },
    Category { "**Palette**" }, // or Category { PSPaletteMenu }
    Version { (latestActionsPlugInVersion << 16) | latestActionsPlugInSubVersion },
    menu is not shown under Window menu :(
    Want to note that if I specify Category { PSHelpMenu } it works correctly and menu item is shown under Help menu. PSPaletteMenu also doesn't work for Listener plugin that ships with PS SDK.
    Looks like plugin is not recognized as automation plugin, but I have correct info.plist props (on MacOS X version)
    What should be done to have my plugin menu item under "Window" menu?
    Regards,
    Mac Developer

    Hi Tom, thanks for your reply. Actually I'm not asking about floating palette (which I actually created and there is no issues observed). I just need my automation (!) plugin entry point to be called with kPSDoIt ("Do It") selector action after menu item is chosen under Window menu. (like it works in case PSHelpMenu)
    In the PIPL.r file that goes with SDK it states that
    // Use PSPaletteMenu category to add a menu item on the Window (i.e., palette) menu.
    // This is currently only enabled for automation plugins.
    PSPaletteMenu ="**Palette**";
    Is it documentation issue?
    Regards,
    Mac Developer

  • Dynamic versioning plugin tag doesn't work for Netscape using 1.4.1_01?

    When I use dynamic versioning for plugin, for example:
    <EMBED
    type="application/x-java-applet;version=1.4.1_01"
    >
    It doesn't work for netscape 7. Although 1.4.1_01 was installed on the machine, the applet was not able to be loaded. Plugin was not found.
    Anything wrong with the tag? It is OK for 1.4.1
    Thanks

    When I use dynamic versioning for plugin, for
    example:
    <EMBED
    type="application/x-java-applet;version=1.4.1_01"
    >
    It doesn't work for netscape 7. Although 1.4.1_01 was
    installed on the machine, the applet was not able to
    be loaded. Plugin was not found.
    Anything wrong with the tag? It is OK for 1.4.1
    ThanksI lost alot of sleep over this!
    I finally got it to "seemingly" work
    but by NOT using 1.4.1 attribute..
    See my HTML example
    http://hyperbyte.ab.ca/JavaZone/
    While it doesn't work with the 1.4.1
    attribute it does work with Netscape
    Good Luck!
    Sincerely:
    Tony Swain
    Senior V.P. of Software Development Hyperbyte inc.
    http://www.hyperbyte.ab.ca
    Netscape DevEdge Champion Devs-Java Newsgroup
    snews://secnews.netscape.com/netscape.devs-java

  • SafeSleep doesn't work for Mac mini

    I use Mac mini (Mid 2011)  with  hibernatemode=3.
    But my Mac doesn't reboot from sleepimage afer I unplug the power cord. I mean SafeSleep doesn't work for my Mac. It boots normally but every program is initialized.
    It is strange that I very rarely watch the very moment that my Mac's progress bar when rebooting from SafeSleep successfully.
    Please help me to use SafeSleep and to save energy.
    I am sure settings are correct and sleepimage is made by the following commands.
    $ ls -l /private/var/vm
    total 8519680
    -rw------T  1 root  wheel  4294967296  9  9 18:01 sleepimage
    -rw-------  1 root  wheel    67108864  9  9 18:02 swapfile0
    $ pmset -g
    Active Profiles:
    AC Power        -1*
    Currently in use:
    hibernatemode        3
    womp                 0
    networkoversleep     0
    sleep                10
    powerbutton          1
    ttyskeepawake        1
    hibernatefile        /var/vm/sleepimage
    autorestart          0
    disksleep            10
    displaysleep         10

    Don't be too dismayed that you can't take advantage of Hibernate the way you did in the past on your PCs.  See this chart:
    (from here: http://images.apple.com/environment/reports/docs/macmini_per_july2011.pdf)
    At most, you're drawing 1.16W in Sleep.  For me, that amounts to a cost of about 10p every fortnight.  If it's the environmental effects that concern you, further reading of the PDF should show you've got one of the most environmentally-friendly home computers money can buy.
    I hope that puts your mind at ease.

  • Application Restart and Recovery APIs doesn't work for windows services

    I am using the Application Restart and Recovery mechanism (provided in Windows API Code Pack for Microsoft.NET Framework) to collect some information (i.e. stack information when there's an unhandledexception)  before my windows service crash down.
    It works well for windows form applications, but the callback method wouldn't be called if the host is a windows service. 
    I have checked the article: https://msdn.microsoft.com/zh-cn/subscriptions/downloads/cc303708
    But it doesn't specify clearly whether it works for a windows service. It seems that the recovery will only be activated when the user interacts with the error dialog of Windows Error Reporting (clicking "close" on the dialog, for example).
    So I am wondering is my guess right that the Application Restart and Recovery mechanism doesn't work for windows services. Or is there a better way to meet my requirement? 

    I would suggest trying ARR if that's what you want to use.  The restart portion won't work, but it doesn't need to as if you fail out of your service, the Windows service controller will handle recovery (up to and including restarting your service).
     You configure those recovery actions either through code or one of the built in administrative tools for services such as services.msc.  
    DebugDiag/ADplus and similar tools ultimately do use built-in APIs; you don't need to add anything external to collect debugging information.  You do however have to write a good deal of code to do somethings.  It's pretty simple to use the unmanaged
    function that I pointed out before and
    MiniDumpWriteDump to write a minidump when you hit an unexpected error(the dbghelp.dll that comes installed with Windows has it so you don't need anything additional installed).  You can even write a basic debugger that literally debugs a process using
    only kernel32 functions (see
    https://msdn.microsoft.com/en-us/library/windows/desktop/ms679301(v=vs.85).aspx if you're interested).  
    WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/

  • Headphone jack sometimes doesn't work for my ipad air.

    Headphone jack sometimes doesn't work for my ipad air, when watching a video or listening to music the audio in the ear or head phones cuts off. It's definitely not the ear phones it's the ipad because I've tried too many different headphones. It's been 7 months that I've bought it from the apple store so would you be able to fix it. Is there a  fee?

    Hello SungSungE,
    please check out this thread: https://discussions.apple.com/thread/6288240
    It doesn't perfectly answer your question but you will see that I have an answer from Apple regarding this problem.
    regards, Elberto

  • My mic for my iPhone 4S only works on speaker phone and doesn't work for Siri. What can I do?

    My mic on my 4s only works on speaker phone in calls. It also doesn't work for Siri or voice memos. Is there any way to fix this without having to buy new parts or exchange it?

    Hello there, mbrda92.
    The following Knowledge Base article provides some great, in-depth steps for troubleshooting your issue:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Particularly of note:
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIsand corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

Maybe you are looking for

  • Cannot install Windows 7 on Satellite L550

    I have a notebook Toshiba Satellite L550-13C. I had problems with my laptop i couldn't start it i managed to boot my pc to windows xp with no drivers. I have downloaded most of the drivers now I and to go back to windows 7 but it doest recognize the

  • Extractor of Line Items for Profit center

    Hi I am trying to find an Business Content Extractor of Line Items for profit center. Under Controling I could fined a data store for Cost Center, But could not fined the same for Profit Center. It has to be part of Co and not of FI Regards

  • DES output size bigger than input size

    If I try the code below for passwords and data of each 8 bytes, I get encrypted data of 16 bytes. Why is this so? I thought with DES the number of output bits equals the number of input bits. Thanks, J�rgen static String A="DES"; private static byte[

  • JDBC Transaction - Exception management

    Does anybody know how to catch ALL the SQL errors that could appear in a transaction composed for instance of 10 insert ?

  • Adding support for IP Telephony to network

    We are in the process of getting a new phone system. The new system is capable of supporting Voice over IP and the "phone" guys are saying they are going to test and move to IP phones. They have also talked of creating IP Trunks between various remot