Skip to main content

Progressive playlist

10 replies [Last post]
popeyese
Offline
Joined: 2008-05-02

Hello, this is my first post on this forum.

First of all, I am French, I hope that my English will not be too bad!

I am currently in internship and I work on BD-J.
I want to deal with the progressive playlist. I have already read different threads, but I did not find anything on the way of building these playlists.

Do you have a sample code or another thing which can help me to start?

Thank you for your assistance and your invaluable answers which had already helped me a lot!

Thanks,
Pierre.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
chenshangan
Offline
Joined: 2009-11-16

I'm a newcomer,will you pls send me a sample code that can download a movie from internet and then play it? and how to generate playlist dynamically which can construct a BDLocator,any suggestion will be a great help to me!

lingeswaran
Offline
Joined: 2010-05-19

hi,

Can anyone help me in doing the steps what Joe told above. What i have done is, i have tried the progressive playlist that is given in the HDCookbook repository. I cant able to add another progressive asset in the manifest.xml.. Can we add more streams to the manifest file? thats my first question..

My second question is, how to enable the clip? i have downloaded another pair of manifest.xml and manifest.sf during the playback of the current clip that is from vfs.jar( thats containing 00000.mpls, 00001.clpi, 00001.m2ts, manifest.xml, manifest.sf) file. Can we do vfs update with those files(that is 00001.mpls, 00002.clpi, 00002.m2ts). i have done the update but its throwing org.bluray.vfs.preparingFailedException.

I think the manifest.xml and manifest.sf files are not matching with the files correctly. But i have tested them with vfs.jar file. Its correctly unzipped from jar to BUDA and played. I dont know why its throwing exception when i do the vfs update from server with the same files.

And i'm having another doubt. how to create a new playlist file. i have gone through the playlist.xml . how to do that? and how to map its corresponding clip file and stream??

Please i have been searching these things for the last one month. please help me in doing this. Do anyone know the steps? Even a small hint also appriciated. so that i can correct myself. I will be very thankful if i get any help from anyone. And sorry for my poor english.

Thank you,
lingesh

tilemahosg
Offline
Joined: 2008-04-08

Hello Pierre.

I'm a newbie here (in the world of BD authoring).

When you say about progressive playlists you mean dynamic playlists? Playlists that can be altered - modulated with some interactivity or some randomness? If so, I look exactly for the same thing.

In my point of view, all you need is to make all the HDMV playlists you need and then call them (locate them and start the player), from the BD-J part. This is what I wanna do. You may find my last question helpfull. Here's the url of my question and the answers given. http://forums.java.net/jive/thread.jspa?threadID=41048&tstart=0

Hope you find what you're looking for.

Best,
Tilemahos.

popeyese
Offline
Joined: 2008-05-02

Thank you very much for your answer.

In fact, my goal is to play a file which could be stored on Internet or on a lan.

Currently, it seems to me that it is necessary to download completely the file to be able to read it, but I have read that these progressive playlists makes it possible to download a file and play it at the same time. (See this post: http://forums.java.net/jive/thread.jspa?messageID=241796)

I wanted to use the RTP protocol (with JMF) but it is not implemented in the Blu-Ray specs.

Thanks again.

Best,
Pierre.

Joe Rice

Hi Pierre -

Here's a brief summary of progressive playlists:

1. During playback of a progressive playlist, it is allowed that a
VFS update be active whose files don't all exist in the BUDA at the
time of activation.

2. It is required that all files except for clip A/V files be present
in the BUDA when the update becomes active. (eg PlayList and Clip
Informaction files)

3. Clips are downloaded and then enabled via a call to the VFS
Manager, and cannot be played back before they are completely
downloaded and enabled.

4. Typically one will download the subsequent clips (eg via http)
while the current clip is playing. This will generally require a multi-
threaded application.

5. On the authoring side, a progressive playlist is typically set up
as a collection of multiple, seamlessly-connected playitems, with a
one-to-one relationship between playitems and clips.

Hope this helps.

Cheers,
Joe

On May 23, 2008, at 7:19 AM, bd-j-dev@mobileandembedded.org wrote:

> Thank you very much for your answer.
>
> In fact, my goal is to play a file which could be stored on Internet
> or on a lan.
>
> Currently, it seems to me that it is necessary to download
> completely the file to be able to read it, but I have read that
> these progressive playlists makes it possible to download a file and
> play it at the same time. (See this post: http://forums.java.net/jive/thread.jspa?messageID=241796)
>
> I wanted to use the RTP protocol (with JMF) but it is not
> implemented in the Blu-Ray specs.
>
> Thanks again.
>
> Best,
> Pierre.
> [Message sent by forum member 'popeyese' (popeyese)]
>
> http://forums.java.net/jive/thread.jspa?messageID=276313
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
> For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net

popeyese
Offline
Joined: 2008-05-02

Thank you very much for your help.
It was very useful! That saved me much time.

This page was also helpful: http://www.freshpatents.com/Reproducer-program-and-reproducing-method-dt....

I have succeeded in setting up this functionality, after several problems with the VFS update of TotalMedia Theatre…

Now, I have to find a means of generating the .clpi files and the playlist…
Is the way of building these files only defines in the specs or there is a documentation which would make it possible to create a tool?

Thanks a lot.

Pierre.

luckyaruna
Offline
Joined: 2009-03-16

Hi Perre,

I am facing the problem with the progressive playlist.

In my project i did vfs binding.i have downloaded first stream and then i am enabling the stream file using VfsManager.getInstance().enableClip(bindingunitdir+"00000.m2ts") file. Then i am failing to enable the stream..

I am requesting your help..

Thanks,
Aruna

billf
Offline
Joined: 2004-02-13

For the on-disc side of progressive playlist, check out /xlets/tests/functional/ProgressivePlaylist . Chihiro did the real work of putting it together, but I built it and it worked great on my PS/3. It's basically a textbook example of using the APIs - the UI tries to be chatty, and tell you what's going on when.

Cheers,

Bill

luckyaruna
Offline
Joined: 2009-03-16

Hi Bill,

Thanks for the response.
can you send me the useful links regarding progressive playlist.

Main problem with my programming in progressive playlist is

1. I can able to download the first stream and able to play after binding.
2. while playing first stream , player is stopping to play the first stream(pause) while downloading second stream.
3. I am using playback control listener to listen to the events after completion of first stream.
4 . It is failing to catch the event.

Thanks & Regads,
Aruna

chenshangan
Offline
Joined: 2009-11-16

would you please send me your code that can download a stream and then play it? I've tried many ways,but none works. Thanks very much for your help