[Mp4-tech] MPEG4 playback in java applet
Steve Wood
woodsp us.ibm.com
Fri May 19 09:44:41 ESTEDT 2006
Manik, the player works using any of the built-in protocols that Java
supports as well as over rtsp (udp, tcp interleave, and http tunnelled).
Perhaps you have a tcp connection that is not running one of the supported
protocols such as http: or ftp:. Now if your tcp stream contains just a
raw MPEG-4 video bitstream you should be able to use the player as long as
you provide Java with a custom protocol handler, Lets say that you make
your protocol tcpv: (for tcp video). By adding a custom protocol handler
to Java you will be able to pass the a url like
tcpv://myremotesystem.com/myvideo.m4v to the player and your custom
handler would end up being called and you would open the right tcp
connection through that handler and provide back an InputStream when
requested through which the player can read the data. Now the player needs
to know the format, which is why I ended the url with .m4v so it looks
like a file of that type (ie a raw MPEG-4 video bitstream); you could also
end the url with something like ?type=.m4v is you prefer. There are some
tutorials on the web for custom protocols if you search around, as well a
or course articles in books on Java Networking etc.
Regards, Steve Wood
Composite Media Technologies
IBM TJ Watson Research
19 Skyline Drive, Hawthorne, NY 10532. USA
"Manik Bambha" <bambha vsmedia.com>
Sent by: mp4-tech-bounces lists.mpegif.org
05/18/2006 10:23 AM
To
"Wesley De Neve" <Wesley.DeNeve UGent.be>, <mp4-tech lists.mpegif.org>
cc
Subject
RE: [Mp4-tech] MPEG4 playback in java applet
Thanks Wesley,
I saw that before and the player they serve doesn?t work with packet by
packet processing of MPEG4 data. It actually requires a file from local or
remote machine which it can play. I am getting the MPEG4 stream over TCP
connection. Any ideas of how to decode MPEG4 frames in an applet without
installing any additional decoder.
Manik Bambha
Sr. Software Engineer
VS Media Inc.
Phone: (818)-880-9021 x211
Fax: (818)-880-9022
From: Wesley De Neve [mailto:Wesley.DeNeve UGent.be]
Sent: Wednesday, May 17, 2024 12:19 PM
To: Manik Bambha; mp4-tech lists.mpegif.org
Subject: Re: [Mp4-tech] MPEG4 playback in java applet
Dear Manik,
It depends on how you define MPEG4 (MPEG-4 Systems, MPEG-4 Visual,
H.264/MPEG-4 AVC, ...) and on your target application, but you might have
a look at the following website.
IBM Toolkit for MPEG-4:
http://www.research.ibm.com/mpeg4/Projects/player.htm
Best regards,
Wesley De Neve
----- Original Message -----
From: Manik Bambha
To: mp4-tech lists.mpegif.org
Sent: Tuesday, May 16, 2024 6:05 PM
Subject: [Mp4-tech] MPEG4 playback in java applet
Any ideas of how to decode MPEG4 frames in an applet? Please provide code
of reference if possible. Thanks
Manik Bambha
_______________________________________________
NOTE: Please use clear subject lines for your posts. Include [audio,
[video], [systems], [general] or another apppropriate identifier to
indicate the type of question you have.
Note: Conduct on the mailing list is subject to the Antitrust guidelines
found at
http://www.mpegif.org/public/documents/vault/mp-out-30042-Antitrust.php
_______________________________________________
NOTE: Please use clear subject lines for your posts. Include [audio,
[video], [systems], [general] or another apppropriate identifier to
indicate the type of question you have.
Note: Conduct on the mailing list is subject to the Antitrust guidelines
found at
http://www.mpegif.org/public/documents/vault/mp-out-30042-Antitrust.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/mp4-tech/attachments/20060519/c63f4d02/attachment-0001.html
More information about the Mp4-tech
mailing list