B
Bruce Lee
Hi, does anyone know if I can chop say the 1st 500Kb from a video and play
that in JMF (Java Media Framework)?
that in JMF (Java Media Framework)?
Hi, does anyone know if I can chop say the 1st 500Kb from a video and play
that in JMF (Java Media Framework)?
Roedy Green said:You would look for an editing utility. try googling on
"whateverformat editor"
Can I not just grab the raw bytes in a buffer and convert them into a
DataSource and push them through the Player?
I'm guessing no. How would the player know what format it is? Some
formats play fine as long as they have the header, but others need the
whole file. And apart from that you'd probably get some very funky
effects.
Bruce Lee said:Some video files don't provide a meta header? Then how does the player
know
what codec to use?
How would the player know what format it is? Some
formats play fine as long as they have the header, but others need the
whole file.
Roedy said:Have you noticed that pornographic clips ..
Why are you projecting your viewing tastes to others?
Roedy Green said:Given how the porn industry financially drives the home consumer side
of the net, I would expect all Java programmers to examine the
delivery technology.
Not all porn is the type Scooter Libby and George W Bush have custom
made for them in Iraq with child rape by attack dogs.
Actually, if you look at the code samples in JMF, there is a videoBruce said:Hi, does anyone know if I can chop say the 1st 500Kb from a video and play
that in JMF (Java Media Framework)?
Roedy said:Given how the porn industry financially drives the home consumer side
of the net, I would expect all Java programmers to examine the
delivery technology.
Not all porn ..
JScoobyCed said:Actually, if you look at the code samples in JMF, there is a video
editing tool. It's very simple stuff, but could guide you to what you need.
But as some people replied here, you might need in some cases to load
the whole file before cutting off the part you need
Julian McMaster said:Not in the good US of A. If porn were to be restricted here, I'd estimate
80 to 90% of the home Internet traffic would cease...which means the big
ISPs that are making a killing from their broadband fees would lose tons
of money...and as we all know... $$$ drives America!
Andrew Thompson said:[ And, just as a trivial aside - since I get all my porn via
a file swapping program, I can only watch it when it is
fully downloaded, *irrespective* of what format it is!
Julian McMaster said:Not in the good US of A. If porn were to be restricted here, I'd estimate
80 to 90% of the home Internet traffic would cease...which means the big
ISPs that are making a killing from their broadband fees would lose tons
of money...and as we all know... $$$ drives America!
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.