How to compile JMF source code
Hello,
Im working in an application which uses Java Media Framework to code/decode and transmit/receive the video and audio. I need to modify the h.263 codec in order to get an especial issue related to video.
I download the source code of jmf I found in this topic: http://ohmydear.tistory.com/attachment/48fd0e73b49f9C0.zip. But I dont know how to compile the jmf in eclipse tool. Does anybody know?
If anybody doesn't, would anybody know how to modify the coding and decoding of h.263 in JMF. I have no idea how to get that?
Thanks a lot and best regards.
Pedro
pedritomoreno wrote:
I download the source code of jmf I found in this topic: http://ohmydear.tistory.com/attachment/48fd0e73b49f9C0.zip. But I dont know how to compile the jmf in eclipse tool. Does anybody know?
If it's not just a straightforward build, then I doubt anyone has instructions on how to do it...
If anybody doesn't, would anybody know how to modify the coding and decoding of h.263 in JMF. I have no idea how to get that?Well, if you look at the following link...
[http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/formats.html]
You'll see that for h.263, decryption is the only thing that's implemented in Java (the things that are in the windows pack but not in the cross platform pack are implemented in native code)... so if you're wanting to do h.263 encoding, you'll have to code that from the ground up...
Read the following post for more information about writing your own codecs...
[http://forums.sun.com/thread.jspa?messageID=10725041#10725041]
Similar Messages
-
How to compile the source code?
Hello,
I have got the source code and want to custom my nosql db.
how can I compile the source code?
thank you!You will have to apply some workarounds to achieve your goal, but they are not too bad.
One problem is that the sources for the Admin Console web application are missing from the distribution. You can build a kvstore.jar that lacks the web application but is functional in every other way. If you need to have the web application in your build, we can discuss that separately.
You will need to download the hadoop core jar file from http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-core/0.20.2/hadoop-core-0.20.2.jar .
Place it in the lib directory of the distribution.
I've appended to this message a context-style diff to show the changes that are needed in build.xml. You can apply these changes by hand, or use a diff-applying program such as "patch". The diff is small -- only three lines are changed.
With these changes in place, issue the command "ant jar", which should produce the file dist/lib/kvstore.jar. This jar file has dependencies such that it will not work correctly unless it resides in the same directory as the other jars in the distribution. Therefore you should move dist/lib/kvstore.jar to lib/kvstore.jar before you try to run with it.
This is certainly harder than it needs to be. We'll consider making this easier to do in a future release.
Let me know how it goes!
*** build.xml.~1~ 2011-12-14 15:11:06.000000000 -0500
--- build.xml 2012-04-19 09:44:19.649000428 -0400
*** 282,292 ****
<!-- ============================================================ -->
<target name="compile" depends="compile-src,
! compile-webapp,
compile-examples,
compile-test"/>
! <target name="compile-src" depends="dep-dirs, update-external-libraries">
<javac
srcdir="${srcdir}"
destdir="${destdir}"
--- 282,292 ----
<!-- ============================================================ -->
<target name="compile" depends="compile-src,
compile-examples,
compile-test"/>
! <target name="compile-src" depends="dep-dirs">
<javac
srcdir="${srcdir}"
destdir="${destdir}"
*** 402,408 ****
</java>
</target>
! <target name="jar" depends="compile-src, compile-webapp-gwtc, je-version, kvclientjar">
<delete failonerror="false" file="${jarfile}" />
<jar jarfile="${jarfile}">
<fileset refid="jarclasses"/>
--- 402,408 ----
</java>
</target>
! <target name="jar" depends="compile-src, je-version, kvclientjar">
<delete failonerror="false" file="${jarfile}" />
<jar jarfile="${jarfile}">
<fileset refid="jarclasses"/>Edited by: Guy Hillyer, Oracle on Apr 19, 2012 9:57 AM -
How to compile jni source code include thirty-party library
I use this command line to compile
set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06
set C_HOME=C:\Program Files\Microsoft Visual Studio\VC98
set java_include=%JAVA_HOME%\include
set win32=%JAVA_HOME%\include\win32
set LIB=C:\Java
set INCLUDE=C:\Java;%C_HOME%\include
"%C_HOME%\bin\cl.exe" -I%java_include% -I%win32% -LD HelloWorldImp.c -Fehello.dll /link c:\thirty-party.libyou did direct compiling with linking.
In order to obtain the not linked object you need to:
gcc -l usb -c hello.c
Finally you can link it to the binary as you did at hello:hello.o. -
Where is JMF source code?
Sun, I love Java and use it in most of my projects but what's up with the JMF source code? You mention several places that we can download the source code and even provide some links throughout your Sun site but none of them actually provide a way to download the source code. Can you either reply here with a good link to the source code or attach it to an e-mail to me at [email protected]? Thanks.
GerryI was just getting ready to post a new thread similar to this one. It looks like you're doing something very much like what I need to do. I'm looking to create a movie from the contents of a JPanel and (if possible) I would like to create a composite movie--that is overlay the contents of the JPanel onto video footage of the same dimensions. Basically, I have a 2D application that draws lines over video. Currently, the video is displayed in the background and the lines are overlayed by drawing on the JPanel. I would like to export the finished product to a movie so that results can be viewed outside of my application.
If you have any insight as to how to do this, I would be greatly appreciative.
Additionally, I just read a similar thread where some guy seemed to have the same problem you have. The only response received was,
"I think it does that for QuickTime if you don't define the lineStride value in the VideoFormat (lineStride = pixelStride * width)."
The only insight I can give is the obvious: either videoTrakInfo or videoFormat is null when that method (writeVideoSampleDiscription) is called. I'd assume it's the former, which would meen that
trakInfoArray[streamNumber]
is null. Which, I guess would mean there is no track information for the given stream? Of course, this is all obvious. Further, I have no idea what it all means.
- Kevin -
Hi Frendz..
I want to know how we can build a callable obj which have a two buttons those r Accept n Reject accordiing to the actions on these buttons flow should forward to next screen(approver ) r sent back to the sender(screen with reject).
I gone thru the Leave process(Time-Off process) which is very suitable for my requirment but in this app there r using predefined CO(com.sap.caf.eu.gp.example.tiimeoff.wd.create).How we see the source code of this predefined CO.
Thanks in Advance
Regards
RajeshHi,
check [this|Re: Source of Time-off Request Project].
Regards,
Naga -
Hi Frendz..
I want to know how we can build a callable obj which have a two buttons those r Accept n Reject accordiing to the actions on these buttons flow should forward to next screen(approver ) r sent back to the sender(screen with reject).
I gone thru the Leave process(Time-Off process) which is very suitable for my requirment but in this app there r using predefined CO(com.sap.caf.eu.gp.example.tiimeoff.wd.create).How we see the source code of this predefined CO.
Thanks in Advance
Regards
Rajeshnot answered
-
How to locate the source code which populate the SO number?
Hi,
For example:
In T-code: VA01
Put your cusor on the screen field : Standard Order
Then press F1, get the technical info of this field as below shows:
Screen field VBAK-VBELN
Program name SAPMV45A
Screen no. 4001
So my question is, how to locate the source code which exactly to populate the SO number into VBAK-VBELN by the system automaticallly.
As assumed that the system is generate this kind of SO autuomatically, and its number range is defined in SPRO.
I just want to find out the coding part which gengerate the SO number.
Want to see the source code of that...
How to find it???
Thanks.Hi Deepak,
Thanks for the info..
But i think i am also know that.
Questions is dont know how to find the KEY statements that exactlly to generate the number...
Anyway, 2 points to you. -
How to view the source code for Native Method
hi
i am using some native methods in to my code ;
can anybody tell me how to view the source code for the same ;
nikBuy/acquire a C/C++/assembly code disassembler and run the shared library through it.
-
Hi,
I want to know how to read the source code of web dynpro java from the source folder i.e. without loading the project in NWDS. Please answer me as soon as possible.
Thanks & Regards,
AniruddhaHi,
If you are using DC's then you can find the .Java files in the path
<project Name>\_comp\gen_wdp\packages\<Pacjage>\<ComponentName>\..
In the above path you can find the Java files of the controllers.
Thanks,
Raju Bonagiri -
How to get the source code of Java Concurrent Program?
Hi,
How to get the source code of Java Concurrent Program?
Example
Programe Name:Format Payment Instructions
Executable:Format Payment Instructions
Execution File Name:FDExtractAndFormatting
Execution File Path:oracle.apps.iby.scheduler
Thanks in advance,
SenthilGo on Unix box at $JAVA_TOP/oracle/apps/iby/scheduler
You will get class file FDExtractAndFormatting.
Decompile it to get source code.
Thanks, Avaneesh -
How to get the source code of a PRT application in the portal
Hi!
Does anybody know how to get the source code of a PRT application in the portal?
Thanks in advance,
CelsoCelso,
If its Java-based code have a look at the properties of an iView that belongs to the application in question and copy the value of the Code Link parameter e.g. 'com.sap.pct.hcm.rc_vacancyrequestov.default'.
Search the Portal installation directory under /j233/cluster/server/ for a .par.bak file of the same name, removing .default from the codelink parameter
e.g. com.sap.pct.hcm.rc_vacancyrequestov.par.bak
Copt this locally and import into Netweaver Developer Studio. You will have to decompilte the class files with a decompiler such as DJ Decompiler or Cavaj (search with Google).
Cheers,
Steve -
How to get the source code of an HTML page in Text file Through J2EE
How to get the source code of an HTML page in Text file Through J2EE?
Huh? If you want something like your browser's "view source" command, simply use a URLConnection and read in the data from the URL in question. If the HTML page is instead locally on your machine, use a FileInputStream. There's no magic invovled either way.
- Saish -
How to get the source code of an HTML page in Text file Through java?
How to get the source code of an HTML page in Text file Through java?
I am coding an application.one module of that application is given below:
The first part of the application is to connect our application to the existing HTML form.
This module would make a connection with the HTML page. The HTML page contains the coding for the Form with various elements. The form may be a simple form with one or two fields or a complex one like the form for registering for a new Bank Account or new email account.
The module will first connect through the HTML page and will fetch the HTML code into a Text File so that the code can be further processed.
Could any body provide coding hint for thatYou're welcome. How about awarding them duke stars?
edit: cheers! -
Where to find the pcui_gp components ,How to get the source code of those
Hi All,
Can anybody tell the exact location wher the pcui_gp components will be stored if they are not appearing.
And another question is how to get the source code of the pcui_gp for customization.
anybody working on these compoents please help me.
answers will be rewarded.
thanks and regards,
anandHi Arun,
I am unable to see the pcui_gp components in the DTR ,I require this in order to get the source code of one of its component.
Can you please tell me the step by step procedure getting those pcui_gp components from J2ee engine to the dtr or NWDI.
If there are any documents on pcui_gp components exclusively please do forward to my mail id [email protected]
Thansk and Regards,
Anand. -
How to protect java source code?
Hi everybody
I love Java but I think that people can decompile my class file to take my source code!Like this program
http://kpdus.tripod.com/jad.html
How to protect our source code?Even you use Jar files, they can unzip them and decompile!
Thanks in advance!Use Java Obfuscator. Try one of these
http://preemptive.com/products/dasho/index.html
http://www.zelix.com/klassmaster/obfuscator.html
http://java-source.net/open-source/obfuscators
Maybe you are looking for
-
Waveform graph x-axis into real time recording
Hey there, I have acquired voltage off a LVDT through the DAQ assistant and connected it to a waveform graph. However, the x-axis says its 'Time' but its got the white line running across it even though no time has elapsed and the time itself has fun
-
Is it possible to recover an IMS DB Backup to Oracle
I have an IMS DB Backup file which I have been asked to see if we can recover. Not having IMS, my goal is to somehow recover to Oracle 11g R2. Are there any resources where I can figure out if this is even possible, and what that process may be?
-
How do i get Hbo onto my Apple TV
I purchased Apple TV a year ago but i don't have HBO on it. I was under the impression that we will be able to get HBO in April .So how to i get in on my Apple TV with all the other modulars.
-
Type any value in a inputListOfValues
I'm using af:inputListOfValues, but i need that it allow to type any value and not validate from LOV. hot can i do??? <af:inputListOfValues id="numeroProductoId" popupTitle="Search and Select: #{bindings.voSolicitudDetalle1.hints.NumeroProducto.label
-
How can I transfer my photos from my macbook pro to iphone4?
How can I transfer my photos from my macbook pro to iphone4? use which software? iphoto? or itunes? What is the step??