• Post Reply Bookmark Topic Watch Topic
  • New Topic

Embed a Video using JFrame

 
Yohan Gao
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am going to insert a video using following codes, but I can only hear the sound of the file, the video is not visible. Could some one help me with that?
//////////////////////////////////////////////////

////////////////////////////////////////


I want to play a video using JFrame(not javaFX). This is related with my project and I got stuck here for a long time.
JMF provide .mpg and .avi, I tried both and .avi is not working, then .mpg file could not should the video but the audio.

Second question is that: are DJ native and VLCj only for 32-bit JDK? I also tried them, but seems only for 32-bit JDK. Anyway, I want to play a video in java, can someone help? 

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!