Adding MP4/RTP support in JMF

Hi All,
I want to add support in jmf to stream RTP streams for MP4 files. For this i used Fobs4Jmf to read mp4 files from the local system. As fobs4jmf only read MP4 file from local system and render it on jmstudio, but not able to create MP4V/RTP and MP4A/RTP, therefore i tried writing my own packetiser for MP4 files. But then i realised fobs4jmf uses FFMPEG_VIDEO codec to read all videos and FFMPEG_AUDIO codec to read all audios. FFMPEG_VIDEO converts all video types MP4,mpeg etc to RGB format and FFMPEG_Audio converts all audio types to LINEAR format. Now i want to send this data in MP4/RTP packet but have no idea how to convert RGB in MP4V and Linear into MP4A.
I think i am missing something. Or i am doing it all together wrong.
My ultimate aim is to stream videos to mobile using RTSP. I have written my RTSP server but for that i need RTP streams.
Is there any other way to stream RTP streams to mobile from jmf.
Kindly help me i am totally stuck.

search4rajat wrote:
Hi, is anyone there who can help me. Where is captfoss and other gurus of jmf. I was on vacation.
Kindly help me it is very important. Any slight insight may be helpful.... like how to stream RTP to mobile.I doubt it's "very important"...
If the remote system handles MP4/RTP streams, then you'll likely need to do nothing else but write an MP4 packetizer... and the packetizer probably won't need to do anything but break the file up into peices, no special processing.
[http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/CustomPayload.html]
Modify that example so that instead of taking in AudioFormat.LINEAR and outputting CUSTOM_PCM, make it so it takes in MP4 and outputs MP4_RTP... and just play around with the example. I've never written a custom packetizer, so I don't have any grand advice other than, use that example and try to create a simple MP4 packetizer.
Your processor shouldn't be transcoding from MP4 to RGB if you're wanting to transmit in MP4-RTP. It should be transcoding from MP4 directly to MP4-RTP, which is what your custom packetizer will do...

Similar Messages

  • How to use MS GSM support in JMF?

    Hello,
    Anyone has idea how to use the MS GSM encoding and decoding support in JMF.
    As Microsoft GSM is different from the standard GSM 6.10, however, JMF can both read and write MS-GSM coded file (in .wav wrapper). Here I would like to know whether it is possible to have real-time encoding and decoding in MS GSM format?
    This is very important for me as I need to use PocketPC for live audio streaming and it only support microsoft GSM coding.
    Thanks in advance
    /h.b.

    Hello,
    Did you (hotbee) eventually solved your problem ?
    I'm writing an application which listens to a GSM 06.10 audio stream from a multicast socket.
    The application that sends the audio is written in C++ and I don't manage to find the correct parameters for JMF to be able to decode it...
    Here is the C++ code that encodes the audio :
    m_WaveFormatEx.wfx.wFormatTag = WAVE_FORMAT_GSM610;
    m_WaveFormatEx.wfx.nChannels = 1;
    m_WaveFormatEx.wfx.nSamplesPerSec = 9920;
    m_WaveFormatEx.wfx.nBlockAlign = 65;
    m_WaveFormatEx.wfx.wBitsPerSample = 0;
    m_WaveFormatEx.wfx.cbSize = 2;
    m_WaveFormatEx.wSamplesPerBlock = 320;
    m_WaveFormatEx.wfx.nAvgBytesPerSec = (m_WaveFormatEx.wfx.nSamplesPerSec / 320) * 65; Is JMF (Windows performance pack) able to decode this ?
    If so, what is the AudioFormat I should return from my custom SourceStream ?
    I tried quite a lot of parameters (GSM, GSM_MS with various combination of parameters), but couldn't get an audible sound... :(
    Thanks for any help !
    Julien

  • [svn:fx-trunk] 16267: Added better baseline support for ConstraintLayout.

    Revision: 16267
    Revision: 16267
    Author:   [email protected]
    Date:     2010-05-20 15:24:53 -0700 (Thu, 20 May 2010)
    Log Message:
    Added better baseline support for ConstraintLayout. ConstraintRow's now have a baseline property. It can either be a number or of the form "maxAscent:x". In the first case, it will position elements at that y-pixel value in the row based on their baseline position.  Otherwise, it first aligns elements to the maximum baseline position of the elements in the row, and then, positions elements based on the pixel value provided. This support allows elements with different baselinePositions to be aligned more easily.
    QE notes: No
    Doc notes: No
    Bugs: No
    Reviewer: Jason
    Tests run: checkintests
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/ConstraintR ow.as
        flex/sdk/trunk/frameworks/projects/spark/bundles/en_US/layout.properties
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/ConstraintLayout.as

  • Any idea when GTX 970's will be added to the supported list in the latest version of premiere? id like my cuda.

    Any idea when GTX 970's will be added to the supported list in the latest version of premiere? id like my cuda.

    I Too would like to know. I've finally finished upgrading my rig with a 970, and as far as I know, there's been some good things and not so good things. (I'm on CC 2014.1 with Windows 8.1 Pro) I'll post screenshots when I get back to my computer.
    FIrst things first: Make sure to install the CUDA specific to the 970/980. They have their own toolkit, that I believe people miss. I installed this, and then manually added my card to te supported cards file in the Premiere, AE, and Speedgrade files. When I opened Premiere, it's automatically set to use CUDA acceleration, so I believe it's supported there. I wasn't able to test this, unfortunately. I will confirm this soon.
    Second, when I open After Effects, the Previews preference pane states my card is supported, and all the info below it seems correct, like the shader model. The only thing that seems off is the OpenGL, which is set to 2.1.2 NVIDIA or something of the like instead of 4.x, but I believe its an NVIDIA optimized driver, so I'm not too concerned. The big thing for me is the error message that I recieve when I try to enable Ray-traced 3D. I recieve a compilation error, followed by another message, and I have no clue what to do with them.
    I'm really hoping Adobe releases an updates that bring full native support for these cards, as I'm running an class at my high school where I need to build three machines, all of which will have a 970 inside, and if Adbe doesn't support these cards, I'm kind of screwed as the pipeline is based completely in Adobe with its Dynamic Link and CUDA acceleration. Come on Todd, we believe in you!
    TL;DR     Yes, CUDA acceleration should work within Premiere Pro CC 2014.1, but make sure to install the correct CUDA drivers from NVIDIA (they should be in the yellow boxed text on the downloads page)

  • Darshan Prajapati -- About RTP support in J2ME

    Hello friends I am developing the SIP client on J2ME. I want to route speech packets in real time in both client server direction. Also I want to continuously monitor the microphone to get the speech of the user and then simultaneously encode that speech and send it over wifi or internet through RTP packets.
    So how can I do this? Please tell me api for getting continuous input from microphone(I do not want to first record and then send it.) and also making RTP packets to send it on internet.
    Thanks in advance !
    Darshan Prajapati

    There is no RTP support in J2ME. Vikram Goyal has done some experiments using current mmapi but it does not work because of limitations of Manager and Player classes.
    http://today.java.net/pub/a/today/2006/08/22/experiments-in-streaming-java-me.html?page=1

  • When building an application unit tests are added to a support directory

    Why are unit tests (.lvtest files) added to a support directory when building an application? I cannot find a way to exclude them from the support directory.

    I'd imagine this is happening to you because they are in the "Dependencies" section of your project file (*.lvproj). Is this correct?
    If so, you should add them to your project file somewhere. Then you will be able to prevent them from being installed. In my experience LabVIEW grabs files it thinks are nesecary from the Dependencies list and installs them in a support directory. 

  • RTP support in Burrito

    Hi,
    Do burrito support RTP/RTSP . I need to build a rtp streaming app for android. Can Burrito be used for it ?
    If possible pls give some reference link .
    Regards,
    Amit

    There is no RTP support in J2ME. Vikram Goyal has done some experiments using current mmapi but it does not work because of limitations of Manager and Player classes.
    http://today.java.net/pub/a/today/2006/08/22/experiments-in-streaming-java-me.html?page=1

  • When does hardware get added to you support profile?

    I ordered a new iPhone 6 and wanted to know if it will be added to my support profile automatically or do I need to add it to apple care

    Well, I got very tired of waiting for Adobe to support my Nikons so I use a Camranger, their computer and tablet app and tether wirelessly to LR. Yes, there is a bit of a delay amounting to a few seconds but in practice my customers love it and have not complained. I use the few seconds to better connect with them, answer questions, etc. Being wireless gives me more range of movement and I have one less cord. The Camranger goes in an old phone holster that clips to my shirt or pants pocket, connected by a 3 ft cord.
    You need to enable auto import in LR and point it to the folder that Camranger saves the files to. Since it is an import you can use presets if you wish. I've not seen a downside yet and Camranger has support for new cameras very quick like. An added plus is having full wireless functionality for your camera via the Camranger apps. You can change any setting, focus, use live view, etc.. using a phone, tablet or laptop.

  • Re: Dubt about the JMF 2.1.1 - Supported Formats and RTP supported

    Post your JMF question on that forum:
    http://forum.java.sun.com/forum.jspa?forumID=28

    It can be done in Designer, but I don't think it can be done with AcroForms (forms within Acrobat).
    I should mention that there is an option that allows the latter. In that case you have to convert the DOC file to an HTML file in WORD (it should be a fillable HTML). Then use create PDF from web page to make the fillable form in Acrobat.

  • Adding MP4 video to a page created in DW CS5

    I'm adding video for the first time and my initial attempt leaves a lot to be desired. I used the Insert Plugin to add the video, which is a full HD clip of about 150MB. It opens fine in IE, although it takes it awhile to load. I don't know what plugin to specify so it'll load up in any Mozilla session? Since it will take time to load, any suggestion about adding some "progress" bar would be appreciated- I guess with the right plugin that should be included?
    The page I'm working on is here:
    http://losangelesbillsbackers.com/video
    Thanks

    The problem with plugins is not everybody has QuickTime player or browser add-ons required to play the media.  And there's little chance that visitors will download and install required apps just for your site.
    The modern approach is HTML5 <video> with MP4, OGG and WEBM files to support all modern browsers and mobile devices.
    Below is the HTML5 code:
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 with Video</title>
    <!--help for older IE browsers-->
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    </head>
    <style>
    video {
        max-width:100%;
        display:block;
        margin:0 auto;
    </style>
    <body>
    <h2>Use 3 File Types to support all browsers &amp; mobile devices:  MP4, WEBM and OGV.</h2>
    <h3>Online Video Converter
    http://video.online-convert.com/</h3>
    <!--begin video-->
    <video controls poster="Your_poster_image.jpg">
    <!--these are 6 sec sample videos for testing purposes. Replace sample-videos with your own files-->
    <source src="http://techslides.com/demos/sample-videos/small.webm" type="video/webm">
    <source src="http://techslides.com/demos/sample-videos/small.ogv" type="video/ogg">
    <source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4">
    If you're seeing this, you're using an
    outdated browser that doesn't support
    the video tag. </video>
    <!--end video-->
    </body>
    </html>
    Bigger videos take longer to load.  Consider reducing the length, height/width & frame rate to get the file size down.
    Nancy O.

  • RTP support in J2ME

    hi,
    i am doing a proj to stream captured video to mobile phones. i can stream them using rtp. but in the mobile, i am not able to receive it.
    the code is
    player = Manager.createPlayer("rtp://192.168.10.81:42060/video");
    this throws a mediaexception: cannot create player for rtp 192.168.10.81:42060/video
    can anybody help me plz... its urgent.
    thanks in advance
    premitha

    HI all,...
    appearantly we all have the same problems...
    i want 2 implement rtp player for ipaq h5550. Ive used j9 but i dont know how to implement mmapi to ipaq so j9 can run it....
    i want 2 use the jeode vm with jmf, but i dont have any jeode coz ive lost my cd...and they (HP) doesnt support it anymore,
    i heard in the forum that rtp player worked with j9 and jmf crossplatform. so would anyone who have made it please help all of us,..
    im beginning 2 felt sick about this.....
    thx
    regards ,
    hendra

  • RTP Support

    I want to connect mobile device with a remote PC that has created an RTP session .How can I do this ?
    I checked with this
    Manager.createPlayer("rtp://127.0.0.1:9998/video");
    but it is not working and an exception is thrown
    so please help me if any one has idea abot this?.

    For my project, I initially considered JMF...but ran into issues due to the level of abstraction it provides. With JMF, I was able to play audio easily but to actually do anything else with it was almost impossible or very difficult given the provided interfaces. And judging from the last release, I don't think Sun is actively supporting it.
    My project plays live streaming audio over RTP using Java Sound. There is a Java library that implements the RTP protocol called jrtp which can be found at https://jrtp.dev.java.net.

  • Flex 3 SDK and mp4 playback support ?

    Hi,
    Does flex 3.x sdk support playing mp4 files?
    Looking at the documentation, Flex component videoDisplay only supports flvs.
    thanks,
    Sunil

    A quick google search shows that flash player supports mp4 files.
    http://blogs.zdnet.com/Stewart/?p=501
    -Sunil
    Sunil Patro
    video chat: www.tokbox.com/sunil

  • How to receive RTP data by JMF

    Hello!!
    I have a ipaq3870 installed Jeode.
    I can run JMStudio to play media on PDA and receive RTP data from PC's JMStudio.
    But I can't receive RTP data by AVReceive2.
    I compressed AVreceive2 into custom.jar.
    Can anyone teach me how to do?
    Did my steps correct?
    Thank you!!
    Shih-Wei Chen

    Hi,
    hope we could talk a little more about this because I am also trying to do some applications with the JMF and Personal Java / Jeode.
    So far I haven�t worked with the JMstudio but with the AVReceive and the AVTransmit classes. My Transmit-PC is a Desktop PC running Windows XP and my Receive Handheld is Sharp Zaurus with - as I said - Personal Java / Jeode running.
    Both classes run but the Transmitter only says "Transmitting ..." and the Receiver says "Waiting for data to arrive" and nothing happens.
    Perhaps you know what I am doing wrong ? Can it be the Windows XP - Linux ? But the JMF ist platform independent, isn�t it ?
    Do you think the JMStudio is better than the AVReceive ?
    How did you manage to run jmstudio under Jeode ?
    Of course he didn�t find the "java" exec because it is called evm but how can I change this ?
    Thanks for your help
    Poldi

  • Oracle OC4J: JAZNUserManager ready, now adding SSL security support...

    Hello,
    I developed a J2EE application with FORM
    based authentication security using the JAAS
    JAZN Oracle support for encrypted passwords.
    Now I would like to find the way to send it
    as encrypted data with SSL but don't know
    how to do it...
    I already tried adding something
    declaratively like:
    my web.xml
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>index.jsp</form-login-page>
    <form-error-page>login_error.jsp</form-error-page>
    </form-login-config>
    <security-constraint>
    <web-resource-collection>
    <user-data-constraint>
    <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    But I only got it refusing to send any data... I guess there
    should be a way to do it?
    I also tried:
    <login-config>
    <login-config>
    <auth-method>CLIENT-CERT</auth-method>
    </login-config>
    </login-config>
    but again I received an error message stating I didn't
    have any valid certificates?
    Can anyone help please,
    Best Regards,
    Giovanni

    hi
    I just found a URL to a security guide on this forum, maybe it can help you.
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/core.902/a90146/toc.htm
    succes
    -Jan

Maybe you are looking for

  • PING Process :: Checking App System availability from SAP R/3

    Hi Our requirement is to check Whether Application System is UP or DOWN before sending the data from SAP Server like Pinging the  application system from SAP System. We are using the Web Service as Target Application System & SAP R/3 as Source System

  • On-line art gallery

    If we want to create an on-line art gallery using the java programming,so what should we want to include inside it and what is the first step we should do before we try to write the program.

  • AS3 SWF inside Director 11.5.9 quirk

    I've previously used AS2 SWFs inside Director 11.5.9, and the SWFs work fine, actionscript works as it should. I'm working on a project where I need to use some AS3 SWFs inside Director, and I've come across a limit on the pixel width and height of t

  • Weblogic Server switching from debug to start mode

    I am using weblogic server on bea workshop for weblogic platform(weblogic 10.1) I started the server in debug mode. When I start the server there is an exception popup shown on the ide saying "Server could not be launched within timeout". Now on the

  • Internet Sharing via USB cable

    I have a nokia lumia 720. I want to connect internet to my pc through my Phone via usb cable. how can i connect internet via usb cable to my pc. My pc has no wifi connectivity. Solved! Go to Solution.