Newbee : jmf video in full java ?
Hello,
I am trying to develop with the jmf technology. I tried to see quicktime movies with jmstudio. Failure. Of course I can see these movies with VLC or mplayer.
Then I tried with the jmf for linux, so some of quicktime movies are seable with jmstudio.
So my questions are :
- Is it possible to have a full java video player? If yes : which file format and which CODEC ?
- Do you tools to convert movies into this format ? (I try ffmpeg but without success)
- Is it possible to select the video track or the sound track in this kind of movie ?
- Is it possible to have the size (200 * 300) of the video track ?
Thanks for any pointers
PHL.
You might want to start by posting question in the correct subforum...
This forum is for mobile application development.
If this IS the correct forum, I suggest you take a look at the available mobile api's. JMF, Swing and I realy have no clue what Java Server Faces would have to do with video playback...
Similar Messages
-
JMF; Video watermarking in java?
Can any one suggest me how to proceed for this problem?
Input is quicktime file. A watermark should be added to the video track (this can be a small black square in the upper left hand corner of the screen, or something more elaborate). The watermarked movie is output to a new Quicktime file.Is n't that qtjava out of JMF? i mean it looks like it has got its own packages of Apple
-
Compressing video files via Java ?
Hi All,
Is there any well know API/library for compressing video files like (*.flv, *.mkv , *.avi ) etc via java.
Google just gave me a few but if some has used/recommend some that would be great.
thxRainaV wrote:
Is there any well know API/library for compressing video files like (*.flv, *.mkv , *.avi ) etc via java.First off, there is a difference between a file format and a video compression. All of those things you listed above are file formats, and have nothing to do with compression...
Not sure if FLV files support multiple kinds of compression, but AVIs do. You can have anything from an uncompressed RGB-encoded AVI all the way to a DIV-X encoded AVI.
But to answer your actual question, no. Java is extraordinarily bad at video compression (because Java doesn't support any sort of hardware acceleration), so the best you're going to find in Java is a Java wrapper for some native encoding library... an example of such a thing would be JMF (which doesn't support FLV or MKV files) or FMJ (which I think supports damned near everything as it wraps around FFMPEG). -
How jmf video dispaly using javafx
i want to place a video in applet by javafx,the idea can work?
var myMedia: Media = Media {
source: "http://sun.edgeboss.net/download/sun/media/1460825906/1460825906_2957290001_DayEarth-Bluray.flv"
the media only from a file ,is it a stream , Capture from Device?
please give me some suggestion,thanks
Edited by: alading on Jul 9, 2009 12:38 AMcaptfoss wrote:
alading wrote:
i tested
var dlist:Vector=CaptureDeviceManager.getDeviceList(new VideoFormat(
VideoFormat.YUV));
System.out.println(dlist.size());//0
result =0, that say can't CaptureDeviceActually, no, it says that you havn't previously run JMRegistry to detect capture devices, there are no capture devices present, none of the capture devices present support YUV formatting, JMF isn't installed correctly, etc...first i am very happy friends forcus the topic,Actually,I had Installed jmf, Captured the video successfully using applet
Name = vfw:Microsoft WDM Image Capture (Win32):0
Locator = vfw://0
Output Formats---->
0. javax.media.format.YUVFormat
YUV Video Format: Size = java.awt.Dimension[width=640,height=480] MaxDataLength = 614400 DataType = class [B yuvType = 32 StrideY = 1280 StrideUV = 1280 OffsetY = 0 OffsetU = 1 OffsetV = 3
1. javax.media.format.YUVFormat
YUV Video Format: Size = java.awt.Dimension[width=160,height=120] MaxDataLength = 38400 DataType = class [B yuvType = 32 StrideY = 320 StrideUV = 320 OffsetY = 0 OffsetU = 1 OffsetV = 3
2. javax.media.format.YUVFormat
YUV Video Format: Size = java.awt.Dimension[width=176,height=144] MaxDataLength = 50688 DataType = class [B yuvType = 32 StrideY = 352 StrideUV = 352 OffsetY = 0 OffsetU = 1 OffsetV = 3
3. javax.media.format.YUVFormat
YUV Video Format: Size = java.awt.Dimension[width=320,height=240] MaxDataLength = 153600 DataType = class [B yuvType = 32 StrideY = 640 StrideUV = 640 OffsetY = 0 OffsetU = 1 OffsetV = 3
4. javax.media.format.YUVFormat
YUV Video Format: Size = java.awt.Dimension[width=352,height=288] MaxDataLength = 202752 DataType = class [B yuvType = 32 StrideY = 704 StrideUV = 704 OffsetY = 0 OffsetU = 1 OffsetV = 3
Edited by: alading on Jul 10, 2009 8:06 PM -
hi,
i am developing video conferencing project using JMF.
and using AVReceive2 and AVTransmit2.
i am able to send and receive audio and video between two pc's where one transmits and one receives.
but how to use AVReceive2 and AVTransmit2 for more than two pc's when any one doesnot have information that other user is transmitting.
What i mean is that when one user wants to connect to another user then how can second (receiver) know that someone is sending him data.
Basically when to run the AVReceive2 program on second PC..hello anyonebaris,
Am currently working wid this topic of audio video conferencing using java.....N i wud be glad if u wud try helping me out....
I wanted to find out the actual function the server performs while the audio video transmission is going on in a JMF based platform ...Am using java 1.5 ...n JMF 1.2.1...
Is the server monitoring the clients and how..??..what function is it performing while establishing the link between the two clients...??
.....................Plz try 2 help me out....
---------Thanx in advance -
* JMF Video Server Codec *
I have added another example to http://www.exactfutures.com/index02.htm which is an Effect that does nothing at all to the video data stream! However, do see below.
Add it by setCodecChain (see example source TestEffect.java), and then whether you are running a webcam or video you will see no difference in the display or speed.
To test on a PC you can hit on run.bat and then it may find your webcam to run TestEffect.
Otherwise, to use for a video track, just set the final codec in setCodecChain to the ServerEffect Codec, and include ServerEffect.class and ServerEffect$SvrControl.class and ServerEffect$clientThread.class in the classpath or application directory.
So what does this Effect actually do?
If once running you use your web browser to find http://localhost:8080/any.jpg then JMF will serve it a jpeg. Further, if you load http://localhost:8080/ and hit the link, or just hit http://localhost:8080/camapplet.htm directly, then an applet will pop up streaming the source jpegs.
This can also stream video over a LAN if localhost is replaced with the IP address. If you try this over a network (adjust your firewall and/or router and/or security settings) then one can achieve good results, especially given the simplicity.
The code to view the output of this JMF Video Server Codec is like for any other such stream, it does not need JMF, and there are Axis video server cam examples on this forum or elsewhere.
I have added this because it offers an alternative to using RTP (although one can still use that alongside for the audio if required). It may not be as fast as RTP, although with improving broadband speeds that is becoming less of a issue, but it is simpler and robust.
It is also interesting to see how such a simple plug in can add such useful further functionality. It may help someone. Enjoy.write a codec for jmf that accepts, i think rtp type 96 and something else, look in log files, answer is there
-
Expanding video to full screen mode gives unwanted full "white" screen. Is this a bug? It works fine in IE.
== This happened ==
Every time Firefox openedSame thing happens to me. As far as I can tell, it just started a few days ago. I have made no changes of which I am aware. Today, I disabled Java Development toolkit add-ons. (One was already disabled, but one was still active.) I have only one version of shockwave flash running as a Firefox add-on. Having more than one version running is a known issue with Firefox. Reluctantly, I have just made IE my default browser, after several years as a devout Firefox fan. Pretty frustrating.
-
Can't put videos in full screen-5th generation
Cant put music videos in full scree Just bought a iPod 5th gen I transferred all my music and music videos When I play the videos I get a a small video and when I turn the iPod I get the album cover How can I change this and make the view full screen?
http://www.mcelhearn.com/ios-7-tip-play-music-videos-full-screen-in-landscape-mo de/
-
In IO7 how can I view my music videos in full screen?
Downloaded IO7 onto my 4S and now I cannot view my music videos in full screen. Why would I pay $3.39 for a music video from the iTunes store when I can't view the videos in full screen. The video player does it but you can't create playlists, repeat etc so that is not an option.
I do not understand what you want to do. Please rephrase the question.
-
Since upgrading to ios7 my iPhone 4S no longer allows me to watch music videos in full screen mode when I select the clips via a playlist from the music app.
It's now more necessary than before to use the music app rather than the video app to select music videos to play. That's because the video app doesn't list music videos by artist any more. And also because the fast forward and rewind buttons on headphones remote no longer work on videos.
How do I watch full screen videos when rotating my iphone now shows my music library rather than showing the video itself?I do not think it is a problem to play videos in the full screen mode using the video app. It should work just fine, it does work ok for me on iphone 5. The original question was to play music videos in the music app. Music videos and videos are two different things - I am not sure why but they are.
The problem here is that the music app supports lists and the video app does not. I just looked at the ios7 video app and while my few test videos are shown in it, the lists they were in (in iTunes) are nowhere to be found. There is no lists in the video app - period - which is as it was before.
The video app plays videos and music videos in the full screen mode no problem but if you have a few hundreds or more of such videos you will have hard time finding the one you want to play. There is simply no way to categorize or group videos. The old good folders/directories are, I guess, too simple for Apple. It is just too bad that for years on end the world's leader in S/W development did not offer anything to categorize videos.
You have lists, albums, etc., for music, you have albums for pictures but you have absolutely nothing for videos. And this is and has been the Apple's state-of-the art solution for this problem - simply insist that the problem does not exist. Actually it is getting worse. Not only there is nothing to categorize or group videos but now the only way it could be done (by marking videos as music videos and using the music app) results in a mini playback area.
Soon this OS will be able to cook dinner for your but grouping videos... no way.
What is happening here??? -
How do I play a video in full-screen mode on one screen of a dual-screen Windows 7 system without blanking out the other screen? Not losing the other screen would be useful as I would like to, for example, monitor my emails whilst watching a video or to work on a project whilst watching an instructional video.
Note : Resizing a window to fill the screen is not acceptable as it still leaves unsightly borders.bump
-
How do I view videos in full screen
Does anyone know how to view videos full screen in iTunes v. 7.0? The layout has changed, and I can't seem to find any information regarding this. Thanks
D.P.Does anyone know how to view videos full screen in
iTunes v. 7.0? The layout has changed, and I can't
seem to find any information regarding this. Thanks
D.P.
hi,
i am new at this
did you ever find out the answer on how to play video on full screen on the iPod? something has changed. I don't why anyone on earth would want to watch on a widescreen format on an iPod.
please let me know.
thank you,
mauricio -
Duel Monitor issue with video in full screen mode
Hi, im not sure if this is the right forum but here is my question
I have an external monitor connected to my MacBook Pro 13" model...i want to be able to have a video in full screen on my external monitor but still use my laptop to do work and browse the web
However, ever time i put it in full screen mode it blackens my laptop screen
how do i stop this from happeningI've tried moving the menu bar to the monitor...didnt work
ive tried playing the video on my mac but it just blackens the monitor
What do you mean by the adaptor - i have what ever software etc that came with the mac...and then from apple i bought the mini display port to VGA adaptor...the monitor is a new LG W2261 Full HD...currently i am connect via the blue VGA cable
it works if im playing games full screen...i just have to move the menu bar in the arrangement option...but it doesnt work for videos
i havent tried another monitor cos i dont have one - but i did try another account and its the same effect
surely it should be simple - what if i was to do a powerpoint presentation connect to a TV or projector, normally you can see your screen for the separate controls which the other displays the presentation -
How do I stop the taskbar from showing when I watch a video on full screen?
When I watch a video with Mozilla Firefox on sites like YouTube, Google Video or Bing Video in full screen the taskbar shows at the bottom of my screen and doesn't disappear like it does in Internet Explorer. How do I watch videos in full screen without the taskbar showing? It's not a website problem, it's not a Windows problem, it only does this on Mozilla Firefox's browser. All three websites play perfect full screen video on the Internet Explorer browser with no taskbar showing at the bottom..
I got it :)
(I tried using Google Chrome but the same problem occurred, by the way).
a) Right-click on the desktop area, click on "Personalize" then on "Display" (bottom left), "Set custom text size (DPI)" (left) and check "Use windows xp style DPI scaling".
or
b) Right-click on the desktop area, click on "Personalize" and change the Windows 7 Aero theme to Windows 7 Basic or a High Contrast theme. -
Source monitor and program monitor boxes will not display video in full only half
I have adobe premiere pro cs6 and source monitor and program monitor boxes will not display video in full only half. So the top half of both monitors are black and the bottom half is where the video displays. But you can see that the video is missing the top part. Like people's heads are cut off and can only see body. How can i fix this so premiere pro cs6 will use the full monitors boxes to display my video?
This is a known issue with a recent Windows update.
The Fix (post 3):
http://forums.adobe.com/message/5494175#5494175
The Status Update (posts 46 / 52):
http://forums.adobe.com/message/5555797#5555797
Maybe you are looking for
-
The salesperson for my iphone 4 said on Christmas morning we could go to our online account, select my number, select to change my SIM card, and enter the ICCID number so that I'd be able to use my iphone 4 today instead of my old phone (not an iphon
-
PDF - container variables in a script
Hello. Please tell me how I can refer to the variable container PDF if they are not on the screen. For Example: I imported from the interface in the container table IT_TAB with fields: FIELD01 FIELD02 FIELD03 COLOR_LINE In the form of PDF displays a
-
Accept Liscense Agreement and Itunes Will Not Open
I upgraded to current Itunes software and have not been able to open ever since. I have Windows XP. I have tried installing with antivirus turned off. I have tried installing quicktime standalone and then itunes. I have followed all the troubleshooti
-
Registration key missing for Documents to go premium
I just purchased Documents To Go Premium, and I supposed to get the registration and activation key, but the only thing I got is the purchase order. I can not find any help out there. Please help.
-
Trying to layout a photo for printing in iPhoto '09
I'm fairly new to a Mac and iPhoto and have been trying to get a photo to print half-size on an A4 sheet of paper and can't seem to do it. I'm using A4 photo paper and just want to re-size and layout a photo so it only takes up half the A4 sheet (i.e