JMF, alternatives and H.264

I need to create an application that records the audio and video from the webcam and transformations in this video using the latest codecs and formats. The development platform should be Java EE 5. The API standard because it comes to JMF, but unfortunately its development was stopped long before and so I don't know if he's using now is the best choice. I would like to know if there is no alternatives better standard for dealing with the media in Java and Oracle platform to the requirements, that I mentioned at the beginning.
I tried Xuggle framework but unfortunately it is the recording of webcam support is very limited. What I do currently performs a raw to AVI recording using JMF and convert then to MPEG-4 (H.264) using Xuggle. Unfortunately, this solution does not work very well because the Raw AVI consuming too much disk space, a few minutes takes gigabytes. The best choice would be to do the JMF to use the H.264 codec rather than it is by default, the recording would be alreadly in the right format. I could not find a solution to add a Codec that encodes to the H.264 format, only decoders... so any help will be well appretiated.
Thank you!

Yes.

http://Web.archive.org/Web/20080316203605/http://Java.Sun.com/products/Java-media/JMF/2.1.1/solutions/CustomPayload.html

This is the example of how to create a custom codec, techincally. Is a codec that decodes simply PCM to PCM_RTP, but the code structure is there.

Essentially, a codec not something more than a function of process, where your job is to take the input stream, transcode it and then write to the output buffer. Before being called the first time, setInputFormat / setOutputFormat must be called to specify the transcoding settings.

After you have coded, you should just register your codec with JMF then he know where / what it does. (PlugInManager.addPlugIn in the AVCustomTrans.java logic)

Tags: Java

Similar Questions

  • My laptop xp display Dim on current alternative and light on the battery! How reverse that?

    Original title: display dims

    My laptop xp display Dim on current alternative and light on the battery!  How reverse that?

    Hello KarenJudyOrdoyne,

    Thanks for the return of the response.  I've included the Dell Web site below for the latest drivers, firmware and BIOS updates.  I would like to confirm that you are the first on the updates.

    Dell support:

    http://support.Dell.com/support/topics/global.aspx/support/KCS/document?docid=427825

    If you look in the support section, other users have reported this problem.  In some cases, replace the power supply cable has solved this problem and I show other update to the latest BIOS update and this has changed.

    Also, do you have the Dell Diagnostics on your computer?  This is usually installed by the manufacturer, but you can run a test to determine if there is a hardware problem.

    I hope this helps!

  • Problem with Edge95 MXP and H.264 DualVideo (H.239)

    Hi experts,

    We try to make a MXP Edge95 serve H.264 codec for presentation to Radvision/Scopia MCU using H.323 signalling Protocol and H.239 as standard presentation. But it seems to only use as H.263 codec.

    When the presentation is started from endpoint Edge95 MXP, only main video appears on remote side (except H.263 is used for presentation)

    Presentation at the start of the side remote, only main video appears on the endpoint Edge95 MXP (except H.263 is used for presentation)

    -H.239 is obviously active, all video codecs are enabled (H.263 and H.264)

    -Video quality is set to Motion for main Cam and sharpness for PC

    See attached Wireshark packet captures.

    --

    Filippo Zangheri

    Hello

    This is an expected behavior for MXP. He always uses for presentation h263 / duo video.

    Kind regards

    Dharmmesh

  • Only "h.264" and "MSE and h.264" are disabled in the html5 player support youtube video.

    I spotted this problem just after I installed Windows 10 and still have not been able to understand why. I did some research on google, but none of them was the case for firefox 39 (and 40.0 because I've just updated!) and Windows 10.

    What I think is that Firefox has an open H.264 codec built-in so I have need additional facilities or tweaks to enable h.264 support during the recent generation. However, even though I clearly see the codec installed in the plugin list, it seems that something is missing in my Firefox accroding to the support page.

    I already tried to clean reinstall it and even checked on the mode safe but had no luck so far. I wish I could get help or advice. Thanks in advance!

    In fact... Firefox needs the Windows Media Foundation to decode H.264.

    First of all, let's see if there is a problem with YouTube only: you can play H.264 video on this test page: http://www.quirksmode.org/html5/tests/video.html

    If this does not work on any site, you may have a version N or KN of Windows that does not have the Media Feature Pack bundled in? Please visit: https://www.microsoft.com/en-us/download/details.aspx?id=48231

  • MPEG4 and H.264

    I'm trying to convert a HD 1920 x 1080 video in the h.264 format. When I use share and use the 'Apple camera 1080 p' it gives me the possibility to H.264. After compression, it's a MPEG.4. What is the difference, if any. I am trying to add the file to a USB Flash drive for customer can play on a laptop or PC Mac pr. Basically a "generic" playable on PC and Mac file.

    Thanks for the help.

    For broader compatibility, I suggest that instead of Apple devices you choose a master file and in the settings dialog, choose the computer for the Format.

    Here Is a brief, but sums up the Apple format.

    Good luck.

    Russ

  • audio and H.264

    Since the recent update for after effects CC. whenever I visit a clip, I have no sound. and also I can't find my 'H.264' format to make it.

    I just make a video like I always do and also set ' Audio output on "but still, I get no audio. And I can't find the 'H.264' format to make the video out.

    Use Adobe Media Encoder for H.264. The issue of the audio output is a bug.

    Mylenium

  • Agitated and h.264 renders does not!

    My renders are very restless. I want to use h.264, but it isn't there, and the check box show obsolete is not there also.  Help, please!

    FAQ: Why my huge output file, and why not playing smoothly?

    Using Adobe Media Encoder to create videos WMV, H.264 and MPEG-2 for After Effects

  • Mixture of alternation and MovieClip animations

    I have a 2d isometric game in which a user can walk around a House.

    The House consists of 1 x 1 several wall tiles, floor tiles, etc. For performance reasons, I would use blitting draw all non animated House parts (floor, walls, furniture, etc.).

    My game also has nice animations. For example, the animation of player movement or a ticking of the clock on the wall. These I have animated in Flash Pro and exported in .swfs in my game.

    I can not simply draw the House using blitting (copyPixels()) then add animation film clips to display tree ontop of the bitmap. This is because some of the animations (animation of walking, for example) in some cases will have to be drawn in some parts of the House. I need to be able to "insert" the clip in half way through the House of drawing. Is there an easy way to do this?

    I can't really blit clips animation film is that some of them have very many executives (although many frameworks are just copies of eachother) and if I were to cache all the frames of my memory usage will be too high.

    different parts of the House can be blitted at different depths.

  • The trial of CS5 and H.264 Blu - Ray

    I get a "bad header" when you try to export to a file, H.264 Blu - Ray... is this a limitation of the trial?

    See you soon

    The trial won't do anything MPEG. The fully-paid version (with a 30 day money back guarantee) will be.

    Good luck

    Hunt

  • How fast it will be that MS dies a quick death the day that happens an alternative and should we measure this time in days or weeks?

    As above.

    MMMXLVIII

  • Alternative and improvement of the union query?

    Hello

    I have 2 sets of similar data together with a union query.

    Simplified example
    *Table A*
    Name Dept
    Ben    1
    Amy   3
    Ken    3
    
    *Table B*
    Name Dept
    Jim    1
    John  2
    Sue   3
    
    select Name, Dept
    from table A
    UNION
    select Name, Dept
    from table B
    I want to do is to ONLY include data from the second part of the union query, where it is associated with the first part of the union query data.

    For example
    select Name, Dept
    from table A
    UNION
    select Name, Dept
    from table B
    where Dept in (select distinct Dept from A)
    That's why John, who works in the Dept 2 would not be included in the results.

    Is there a better or more effective way to achieve that my example using the subquery in the where clause?

    Thank you very much
    Hazel

    Hi, Hazel,

    What you posted is as good as you can get without changing tables.

    Do not say SEPARATE in the IN-under-query:

    ...
    where   Dept in (  select  Dept
                       from    A
                    )
    

    will get the same results, maybe a little faster.

  • Premiere Pro CC - impossible to H.264 encoding & its used to load as inaudible feedback sounds, and now he is not good at all

    Holy damn, I'm stressed. So I launched a channel on YouTube and I had to get a video out about a week ago. I have a new laptop on the 4th (Lenovo y510p) and transferred to this laptop to a Macbook Pro. On my Macbook, I had absolutely no problem making and editing videos using Quicktime Player and Final Cut Pro X, but now that I have a Windows computer I have no idea how I'm supposed to run lots of those things. Let's get into the details:

    I bought Bandicam, started to record, had a really good clip that I was going to use for the video, and then I'm going to change (the clip is .avi and H.264 btw). So I'm going to drag and drop it in first and it cannot load in because it's a file unsupported or damaged. Turns, I can't load this file into ANY software. I tried to install the drivers for H.264, but I don't know if I installed it right or it did not.

    This is my first problem.

    The second problem is that when I worked my way around H.264 encoding (and recorded in MPEG-1), he loaded in the first, but he played the Larsen effect where my voice would go. I spent an hour or two, try to fix it and looking upward in order to do it, but no luck. Finally, this is just no sound. Nothing at all.

    If you guys can help me, it would be fantastic. Thank you!

    I use Bandicam for screenshot and when I imported into first the audio should sound like noise. I was able to solve the problem of audio by changing the audio codec bandicam uses.

    Open bandicam and go to the video tab and then in the format section, choose settings and under audio change the codec on pcm.

    I hope this helps.

  • Export to Quicktime H.264 and mp4?

    Hello

    Using Premiere Pro CS4 how to export to Quicktime, H.264 / MP4 please?

    If I chose Quicktime and H.264, it renders in. MOV, but I need it to return to mp4?

    See you soon

    Choose h.264 for your output.  The Media Encoder file creates will be a .mp4.

    J. D.

  • Compressor flickers and a gazillion more problems...

    Hello

    I have so many disagreements with compressor recently bought (4.2.2,) that I don't really know where to start.

    Well, let's focus more annoying:

    • Playing a movie with causes of e/s allowed to compare playback flicker and stutter like a film of the 1920s.

    (Looks sometimes much like the field is reversed, even movies are progressive)

    In addition the canvas shows not all differences between / out until I move his bar vertical/output comparison completely to the right.

    Installation program:

    iMac 27 ", end of 2013, i7 3.5 GHz, 24 GB RAM, GeForce GTX 780 M / 4 GB VRAM, El Capitan 11.6.

    (As claimed by Apple, this configuration should be good with compressor 4.x)

    What I've tried so far:

    1. containers of different movie (.mov, .mp4) with different codecs (several ProRes and H.264 versions)

    2. all mentioned here: https://support.apple.com/en-us/HT203476 (several times, with more reboot I had never made over the past 10 years on all my Macs together...)

    3 disabled Perian 1.2.3

    4. read across the web, was completely...

    Another player, i.e. 7 QT, QT X, same MPEG Streamclip nice plays.

    That's what I found in the newspapers (just after a compressor installation and reboot system costs):

    When you drag a movie to the batch list:

    25.08.16 18:00:14, 931 compressor [635]: [18:00:14.931] reported ParseSampleGroupDescriptionAtom err =-12848 (kFigFormatReaderError_ParsingFailure) (zero entries sampleGroupDescription) /Library/Caches/com.apple.xbs/Sources/CoreMedia/CoreMedia-1731.15.206/Prototype s/FormatHandlers/Movie/MovieAtomParsing.c line 1814

    25.08.16 18:00:14, 936 compressor [635]: 18:00:14.935 WARNING: 140: this application or a library it uses, uses the carbon component deprecated hosting Audio Units Manager. Support for this will be removed in a future version. In addition, this makes the incompatible host with devices audio version 3. Please transition to the AudioComponent.h API.

    And when I start playing:

    25.08.16 18:02:08, 892 compressor [635]: 18:02:08.892 WARNING: 140: this application or a library it uses, uses the carbon component deprecated hosting Audio Units Manager. Support for this will be removed in a future version. In addition, this makes the incompatible host with devices audio version 3. Please transition to the AudioComponent.h API.

    25.08.16 18:03:28, 860 compressor [635]: _DPSDiscardEvents: FlushEventsMatchingListFromQueue returned error (-50)

    25.08.16 18:03:30, 444 compressor [635]: 18:03:30.444 WARNING: 140: this application or a library it uses, uses the carbon component deprecated hosting Audio Units Manager. Support for this will be removed in a future version. In addition, this makes the incompatible host with devices audio version 3. Please transition to the AudioComponent.h API.

    25.08.16 18:03:30, compressor 500 [635]: failure of CreateWrappedSurface() to a CGImageRef back dataprovider.

    25.08.16 18:03:30, compressor 511 [635]: failure of CreateWrappedSurface() to a CGImageRef back dataprovider.

    25.08.16 18:03:37, 823 compressor [635]: 18:03:37.823 WARNING: 140: this application or a library it uses, uses the carbon component deprecated hosting Audio Units Manager. Support for this will be removed in a future version. In addition, this makes the incompatible host with devices audio version 3. Please transition to the AudioComponent.h API.

    25.08.16 18:03:38, 000 kernel [0]: [635] compressor process taken causing excessive Awakenings. EXC_RESOURCE lost audio playback

    25.08.16 18:03:38, 187 compressor [635]: failure of CreateWrappedSurface() to a CGImageRef back dataprovider.

    25.08.16 18:03:38, 221 compressor [635]: failure of CreateWrappedSurface() to a CGImageRef back dataprovider.

    25.08.16 18:03:38, 254 compressor [635]: failure of CreateWrappedSurface() to a CGImageRef back dataprovider.

    ... (last line repeats 5 to 20 times / s while playing)

    Despite warnings about the Audio devices: audio plays, only film flickers and stutters.

    Could someone enlighten me, please?

    Thanks in advance!

    What is the source of the original video?  What is the format/codec?

    What is the preset that you use to transcode to?  How are you twisting who?

  • How can I repair my broken Magic Keyboard and Mouse?

    My niece who is 23 years younger than broken me my Apple Magic keyboard and mouse Magic Mouse from Apple for my iMac, and all of them are not in stock because they are used on Mac computers, and I don't want to lose a keyboard and a mouse, another Mac as on my Mac Pro. She said I was due, but I SLEEP, then all of a sudden, I heard the noise. Is there warranty for the keyboard and mouse? How can I replace it with Apple because she says it's worth $ 5, and piano of plastic doll is worth $ 500 and the cheap plastic. Should I go to the Genius Bar because the keys are gone, and the mouse is broken.

    Apple does not cover such damages, regardless of warranty.

    You can buy new online through a variety of websites looking for them online, that they do not have to come from Apple.com. Stores of brick and mortar like best buy or Wal-Mart can take so if an Apple Store is not an option. There are also alternatives and sometimes a lot less expensive replacements through various vendors such as Microsoft and Targus just to name a few.

Maybe you are looking for

  • In Plugins, I have two versions of Adobe Acrobat - how can I get rid of the old?

    In Plugins (and Applications), it shows two Adobe Acrobat version: 10.1.13.16 and 11.0.10.32, how can I get rid of the old?

  • Does not connect to the update server?

    When you start firefox, im getting one "needs update" However, when I click ok and then next, the download bar rises, but reading still "searching for update server.

  • 300 to 700 RAID migration

    is it possible to upgrade RAID 300-700 RAID without reinstalling OS or image? Can I put the 700, reconnect the cables to the new card and keep the power active? Thank you

  • Reduced in Outlook after updates performance

    I recently noticed a subtle but annoying changes in the way that my email Outlook performs. As usual, it loads the messages when you first open the app. But now, it recharges (and therefore expected) when switching between files. Thus, for example, i

  • Photosmart B109n - UK now using the Australia bought

    I used to use ink 364 to the United Kingdom for this printer.  I couldn't find this number in Aust, but on checking, found my printer takes HP564 that I brought. I only need two colors, so put the cartridges and received the message from the printer