This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Yes you can do both of these things with the Java Media Framework (JMF). Sun has a reference implementation of it on the Java web site... just search for JMF. It works very well and is fairly easy to use. Hope this helps.