Splitting/Merging 3gp files using a java library - java

I'm wondering if there's a java library out there that can manipulate 3gp files. Mostly I'm interested in splitting or merging existing video files.
I've looked at JMF (java media framework), but it doesn't support 3gp…and FFmpeg looks promising, but it's not clear that the library allows splitting/merging of existing files.
Does such a library exist?

Try Xuggler http://www.xuggle.com/ (its FREE btw)

Related

Playing MP3 files using pure Java

Is it possible at all to play MP3 files using only the built-in libraries provided with JDK. I've heard of the javax.media library which is found is 1.7 I think. By the way I know of jlayer but I don't want to use it.
Yes you can play MP3 file, but you need to download MP3 plugin because java framework only supports WAV and AIFF files.
Check http://www.morgenstille.at/blog/how-to-play-a-mp3-file-in-java-simple-and-beautiful/

Is there any Java MultiMedia Conversion Library

I wonder if there is a lib, like Apache Commons, or something of that sort to help convert media-files (e.g. avi, mkv, mp4 etc) any-to-any? For example an InputFile is in format .avi and an OutputFile is in mp4.
See either of the following to convert between a range of formats.
Jffmpeg is a plugin that allows the playback of a number of common audio and video formats. It is based around a Java port of parts of the FFMPEG project, supporting a number of codecs in pure Java code. Where codecs have not yet been ported, a JNI wrapper allows calls directly into the full FFMPEG code.
Xuggle - A free open-source library for Java developers to uncompress, manipulate, and compress recorded or live video in real time.
The only library I know for that is ffmpeg, but you will have to run it through JNI.

Open source Java Library for guitar chords detection when you play an mp3 music file

I am looking for an alternative in java as most of the libraries I found were written in c++
E.x. the clam library. http://clam-project.org/wiki/Chordata_tutorial
Does any body know a good java library which does pitch synthesis from a raw mp3 file and does chord matching afterwards based on some predefined algorithms?
I want to use it in android.
You might want to try using Android NDK and build and use clam with it.
http://developer.android.com/sdk/ndk/index.html

MP4 container writer in Java

I would like to find a FREE MP4 (container) writer for Java. I do not need an encoder, only something which can write the correct atoms given their expected values. Bonus for such a library that also can write "valid" F4V.
I would prefer a pure Java solution rather than something using JNI or external executables.
Even though my answer comes very late you could have a look into my MP4 Parser/Unparser at Github. You can parse MP4 files, modify them and write the result. You can even start from scratch creating boxes programatically and write your object representation to some sink.
You can have a look at JCodec ( http://jcodec.org ). It contains an MP4 library and MP4 demuxer and muxer.
May be you are looking for something like StreamBaby.
Can't vouch for it, but red5 is an open source flash server written in Java, which claims support for streaming mp4 and has implementations of mp4 IO objects which may be able to create said format.
Also, IBM created their Toolkit For MPEG-4 a while back and though it's not free, it might help.
FFMPEG's java bindings?
http://fobs.sourceforge.net/f4jmf_first.html
Or simpler a JNA proxy over some C++ MP4 library.
I have implemented a QuickTimeWriter class which can write a QuickTime container in pure Java.
As far as I know, the QuickTime file format is structurally equivalent to MPEG-4 Part 14. There are only a few minor differences in the fields inside atoms/boxes.
So, with an MPEG-4 spec on your lap, and a few hours of work, you should be good.
The Java I've seen which modifies MP4 files would invoke Nero AAC Codec externally (a Windows native .exe which Nero does not supply the source for) to modify AAC files (which are Apple's audio-only MP4 files). It works for audio only, not to video.

How to save web audio streaming to file ( c++ / java )

is there any lib or well known method to save audio web streaming ( web radio , mp3 streaming)
to file programmatically ?
You could use libvlc from the VLC project. The wiki seems to be down right now though. The code is in c++.
EDIT: Found this and this via google cache.
You can use the BASS library. It has plenty of support for attaching to network streams and decode them into MP3/WMA/OGG/AAC files. Developed in C, but could easily be used in C++ and many other languages.

Categories

Resources