I am trying to create a 30 second sample from a 2 minute MPEG-4 video. We are looking for a 100% java solution as an alternative to ffmpeg. So far, we have tried IsoParser, which lacks example code and documentation splitting MPEG-4. Has anyone used this tool or others to create cut/split MPEG-4 video?
Or use Xuggler; it's free, open-source (LGPL), maintained, and does stuff like that in its sleep. See the tutorials link for lots of examples.
IBM has a thing: http://www.alphaworks.ibm.com/tech/tk4mpeg4
Related
I am looking for a Android compatible Java feed reader class to help create a calendar application for my school's calendar. The feed I was given is located here and it is atom based; not RSS 2.0
Help would be greatly appreciated
This very good article by IBM should get you going. It covers all the concepts and tech involved... with full code examples and documentation starting on page 4. A project for download as well to build their example. Enjoy!
Check out these codes from a project of mine https://github.com/dodyg/AndroidRivers/tree/master/src/com/silverkeytech/android_rivers/syndications
They handle Atom and RSS equally fine.
I am currently making a project for school, where I am going to make a program which teaches children how to read. My basic idea for the program was produce the sentence and then get Windows Anna to say it. My question to you is, how can I access Winodws Anna through Java? and is there a better way of doing this?
Thanks
If having the program access internet is acceptable, then you could use iSpeech.
You can use their API, but the problem with that is that it is limited to 200 uses/day.
iSpeech has decently sounding voices, generally more polished than other TTS engines I've tired like espeak or FreeTTS, because it actually pronounces the words more fluently. Sure, it might pronounce 'Wind', relating with air, as 'Wind', relating to twisting, but other than that, it speaks quite well.
Also, while I haven't had any prior experience with this, I found an article that shows you how to access the MS Speech with command line (which can obviously be commanded through Java[if you do not know how, here is a good article]). It is located here. In command line, all you do is type in 'SayDynamic.exe* the text you want to speak".
*Or SayStatic, the other download available on the page.
This method seems to be better in terms of speed and not relying on internet access, but it definitely does NOT pronounce things as well as iSpeech. I guess the ideal thing for your program to have would be to use iSpeech when online, and use the Say*.exe when offline.
The site also provides the source code of the program. As you might notice, it is NOT Microsoft Anna's voice, but you can specify that in the source and recompile it.
Hope I helped!
You can use command line utiity NirCmd that uses text-to-speech API installed on Windows.
So, supply this utility together with your java application and run it with appropriate command line.
You can try FreeTTS : a speech synthesizer written in java.
You can try to call the Microsoft Speech API (SAPI) but I don't know how to do it in java.
Can you tell us how you invoke NirCmd ?
Altenatively to NirCmd, you can build your own tool in C# that will read the text. The text could be within a txt and your tool invoked with the path to that txt as argument. You can easily adapt a demo project like this one : http://www.codeproject.com/Articles/19334/Text-to-Speech-using-Windows-SAPI
There is the Speech platform of Windows
http://www.microsoft.com/en-us/download/details.aspx?id=27226
The Speech runtime
http://www.microsoft.com/en-us/download/details.aspx?id=27225
You can use JNA (not JNI) to interact with dll from java
https://github.com/twall/jna
I am a student and as a project i have to implement a barcode(1-D) based attendance marking system.While surfing across the web i came to know that barcode readers are a bit costly toys to purchase,so now what I want to do is I want to capture images of barcodes through a capturing device(mostly a webcam) and then process them to get the content stored in it.
I found a few projects on the internet that do the same but they use .NET f/w and I am not so familiar with .NET technology. The only project that uses java is http://sourceforge.net/projects/javabarcoderead/ but somehow i am not able to run the jar file they are providing.
SO, I would like to know about the algorithms or methods that can be used for the same or even any project from where i can get some insight on how to move further with this...
Happy Coding...
You're right, it would be very difficult to use a library with no documentation and no source code.
I'd suggest using ZXing. It's a well-documented library with lots of examples.
How I read the file IFF raster graphics, and make changes to it?
Apparently the Java Imaging Utilities library has a built-in codec for it. I've never used it myself, but I did download it and look through the manual; it looks pretty good.
I think that you are looking for the ILBM file format, once very popular on the Amiga platform.
I found the this article and the same in html here written by Jerry Morrison # Electronic Arts.
If you are just looking in to converting old pictures to lets say ping format to be used in your java app, you can use GraphicsConverter for Mac.
Good luck!
I am looking for an addon that can say characters vocally. It is for non-commercial use, and it would be nice if it can vocalize more languages, like asian, english etc...
I have googled it, but can't seem to find anything for free use.
Update: This is for web use
You could try http://espeak.sourceforge.net/ and make an mp3 of the word, then stream it to a flash application (you could use darwin for the streaming).
You can convert the text to speech in Java using freetts1.2 API. It is quite simple to use. This link could be useful for you which has an example program.
http://learnsharelive.blogspot.com/2011/01/convert-text-to-speech-java-freetts12.html
What yo uare searching for ist Sphinx4. Some free speech models for other languages can be found here.
A similar question has been asked regarding Java Text-to-Speech engines. Take a look at the question Java: Text to Speech engines overviewand see if any of the responses are helpful.
It's unlikely that you'll find an Actionscript 2.0 or 3.0 text to speech codebase, as sound synthesis is only just being introduced in the upcoming Flash Player version 10.
Java however has many, try this, this, or even that!