The Source for Java Technology Collaboration

Home » java.net Forums » Mobile & Embedded » Blu-ray Disc Java

Thread: What causes javax.media.RestartingEvent

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 2 - Last Post: Nov 6, 2009 9:18 AM by: vinaykagarwal Threads: [ Previous | Next ]
vinaykagarwal

Posts: 122
What causes javax.media.RestartingEvent
Posted: Nov 5, 2009 11:01 AM
  Click to reply to this thread Reply

Hello,

On some players (but not on all) I am observing javax.media.RestartingEvent for some videos which causes it to stop playing momentarily. What is the real reason for this event? I am looking for something more descriptive than Player having to go to prefetching. Thanks in advance.

Regards,
Vinay Agarwal

billf

Posts: 107
Re: What causes javax.media.RestartingEvent
Posted: Nov 5, 2009 12:46 PM   in response to: vinaykagarwal
  Click to reply to this thread Reply

How was the disc authored?

If you're playing a BD-RE disc that you made by dragging video files over and burning them with inexpensive burner software that's designed for data discs, then it's quite possible that the physical layout of your m2ts file doesn't obey the part 3-2 specifications for seamless playback. This, I assume, could lead to the behavior you're seeing.

To get seamless A/V playback, you need to use a program that makes a CMF (a cutting master file) that obeys the seamless playback constraints. I'm no expert in the specifics of this, but that would include taking into account what's in the .clpi and .mpls files, and making sure the physical layout of the m2ts file(s) on the disc doesn't require head seeks or other time-consuming activities that exceed the buffer model.

Bill

vinaykagarwal

Posts: 122
Re: What causes javax.media.RestartingEvent
Posted: Nov 6, 2009 9:18 AM   in response to: billf
  Click to reply to this thread Reply

Bill,
Thanks for the info. Although I am running from BUDA memory, the files aren't created by any fancy software but by tsMuxeR. I suppose there would be limitations to it.
Vinay




 XML java.net RSS