In windows, we can see the properties of the Video file such as Title , Subject , Author. I just want to get the Summary (Title , Subject , Author) in java coding. How to read these properties in java. I have searched but i didnt get clear. if any one know how to slove it. plz guide me. plz tell the which Jar to use and sample coding if possible.
see Java Media Framework [JMF] : http://java.sun.com/javase/technologies/desktop/media/jmf/
I'm not aware of any particular library that does this, but of course you should be aware that there is no such thing as "a video file"; the choice of audio and video codecs as well as the container format will vary wildly between different video files, and hence what is supported.
However, I suspect that the Java Media Framework would be a good place to start. This would also give you a better understanding of what files are supported, and the limitations of the technology.
Related
I am currently in the process of developing a Java program that downloads/streams some anime videos:
I want to download the video from:
https://animetwist.net/a/swordartonline/25
I was able to find the direct link to the video:
https://animetwist.net/mount/swordartonline/swordartonline25.mp4
but I have no idea how I could download or stream that video from this java application I'm creating. I have no idea where to start and all the questions I find are related to YouTube videos and not other videos.
What I know/have tried:
VGet - Only for Youtube/Vimeo only...
Xuggler - I tried but don't understand how I could use it to download videos
Any help or a point in the correct direction would be much helpful. I don't exactly understand how it would work. The perfect solution would be something in pure java, but using addons are fine as well.
Sorry if my question is unclear, post a comment below and I'll try to answer it as best I can, thanks for your time.
If you just want to download a file from a URL you do it like any other file in Java. There are several good options for accomplishing this task here.
I want to develop a karaoke player in Java that works with kar files. I got it to play the song, but I coundn't make it read the lyric information from the file. I've searched a lot, but I coundn't find any clue about how kar files work.
How can I do it? I appreciate some example.
Thanks.
I don't think there is a Java library for that so you'll have to write it on your own code.
First, you need to know the inner structure of a .kar file. Since these files are so small, they're probably some kind of text files. Try opening one of them with your text editor and see what it looks like. Then you'll know how to process it.
Apologies as I don't have a definitive answer for you. I have seen several discussions about this but no real solid solutions. Here are a couple links to others' discussions on the topic. It seems to be a much more complicated task than one might imagine, as it is an uncommonly used file type. From what I know, it consists of MIDI data, albeit with slightly different meta data.
Reading lyrics information from a .kar file
How to read MIDI file in C#?
Can you open the .kar file in a text editor? What does it give you?
The best I could find is this:
"KAR"
Origin: The Company Tune 1000 A file kar (kar) is in fact, a midi
file, but whose words are standardized in events meta of the type
TEXT. The texts starting with # are additional indications compared to
the words. Example:
#L specifies the language of the words
#I any additional information
#T information of title
#KMIDI KARAOKE SPINS information of copyright
and type of file
Several lines of titles and information can be present. KaraWin
extracts information from titles to post them. The text even has a
very simple format to him: \ indicates a page break, /a return
indicates has the line
Source.
Besides that, according to Wikipedia, XBMC is an open source program that supports kar files. Since it's an open source project, you can download its code. If you are really interested, you can try searching among its 10k+ files (in C, not Java), how they do it. Maybe you can ask them or in their forum for a little bit of guidance.
You can also try in this yahoo group about karaoke software.
i am doing really important app and i need to ask you, if is there some way, how to switch between java files from one BUTTON with one iD..
Look on this picture for clear: http://imageshack.us/photo/my-images/811/radab.png/ (i've uploaded it on imageshack because i don't have reputation..
I am new to the ANDROID developing and i really need your help to the beggining.
Thanks a lot.
Thanks for your help.
The Java Package name hierarchy is not meant to be a place to hardcode your database of movies into.
Preferably, learn to use SQLite for keeping that kind of data. Don't even bother using XML in this case.
Take a look at this tutorial.
Is there a JAVA library/class which provides parsing capabilities for Flash cookie files (.SOL) by any chance?
The user case scenario is quite simple:
Given a *.SOL file I need to read all the text info (programmatically).
PS.: From a similar question someone figured out that SOL files format is based on AMF, however I would like to know whether Adobe has opened the format or not.
Thanks a lot,
--Max
Any of the following libraries claim to do the work:
AMF48AMF Encode/Decode Library for Java
http://amf48.develop.jp/en/download
AMF-serializer
http://code.google.com/p/amf-serializer/downloads/detail?name=amf-serializer-1.0.0.zip&can=2&q=
Open AMF
http://programmaremobile.blogspot.com/2009/10/java-and-amf-by-as3-in-flash.html
Not that I am aware of.
I'm not sure if it's an open format or not but this software certainly seems to read them from the harddrive
http://www.nirsoft.net/utils/flash_cookies_view.html
More info on wikipedia including a list of software reading them
http://en.wikipedia.org/wiki/Local_Shared_Object
this claims to translate sol files to xml... you might be able to use this easily in Java
http://osflash.org/s2x
I am working on a project named as LMS (Learning management system) and the modules allocated to me are:-
The uploaded course content saved as ppt,doc ,pdf or audio/video file should be opened in the same window.The application by which file needs to be opened should be embedded in the context window itself.
The uploaded course content saved as ppt,doc ,pdf file can be converted to audio/video file.
I have to code them in JSP.
Being new to java i am not getting how to do these. Can you plz plz help me out by showing me some direction? I shall be very thankful to you.
I will be waiting for your reply desperately.
Thanks and regards
swati
First I have to ask do you already have a transformation server/code to do the conversion in point nbr2 or do you ask for guidance on that to? If that's the case maybe you can look into HTML5 for this otherwise use something like flash.
I would say use HTML5 for video and the other things I would require the users to install the correct plug in adobe reader ... I think it's reasonable to put requirements on the user when using an enterprise app.
Almost all of this could be done in HTML JavaScript inside your jsp.