PL1685563T3

Apparatus and method of playing back a storage medium storing text-based subtitle data including style information

Abstract

This record has no abstract on file.

Term

Term ended

Projected expiry passed 9 November 2024, 1.9 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

1 claim: 1 independent, 0 dependent

  1. 1
    Patent claims Zastrzeżenia patentowe 1. A device adapted to transfer data with respect to the storage medium, the storage medium comprising:1. Urządzenie dostosowane do transferowania danych w odniesieniu do nośnika pamięci, przy czym nośnik pamięci zawiera: dane (102) ruchomego obrazu;i dane (130) napisów do dostarczania napisów dla danych ruchomego obrazu, przy czym dane napisów zawierają informację skryptową (131) zawierającą informację tekstową do wykorzystania przez urządzenie dla napisów, identyfikator jednostki informacji o stylu do zastosowania względem informacji tekstowej i informację o czasie, w którym ma się rozpocząć wyświetlanie napisów i o czasie, w którym wyświetlanie napisów ma się zakończyć;i informację (132) o stylu do wykorzystania przy renderowaniu informacji tekstowej przez urządzenie, przy czym informacja o stylu zawiera wiele jednostek informacji o stylu, przy czym każda jednostka informacji o stylu zawiera identyfikator i wyjściowym do zastosowania przez tekstowej, przy czym informacje o stylu urządzenie względem jedna jednostek informacji informacji o stylu odpowiadająca identyfikatorowi jednostki informacji o stylu w informacji skryptowej jest początkowo stosowana względem informacji tekstowej, gdy dane napisów są odtwarzane przez urządzenie, a inna jedna lub większa liczba jednostek informacji o stylu jest selektywnie stosowana względem informacji tekstowej, gdy operacja użytkownika dla zmiany stylu jest odbierana przez urządzenie podczas odtwarzania danych ruchomego obrazu, a wyjściowa informacja o stylu zawiera informację o współ rzę dnych obszaru na ekranie, na którym informacja moving image data (102);and subtitle data (130) for providing subtitles for moving image data, the subtitle data comprising script information (131) containing text information to be used by the subtitle device, a style unit information identifier to be applied to the textual information, and time information, in at which the subtitle display is to start and at what time the subtitle display should end;and style information (132) for use in rendering text information by the device, the style information comprising a plurality of style information units, each style information unit having an identifier and output for use by the textual, wherein the device style information relative to one unit of style information information corresponding to the identifier of the style information unit in the script information is initially applied to the text information when the subtitle data is played by the device and another one or more style information units are selectively used regarding textual information, when a user operation for a style change is received by the device during the reproduction of moving image data and the output style information includes information about the coordinates of the area on the screen where the information 53/59P31597PL00 tekstowa ma być wyświetlona, przy czym informacja o współrzędnych wskazuje pozycję odniesienia, w której znaki informacji tekstowej mają być wyświetlone oraz informację wskazującą odstępy między liniami informacji tekstowej przeznaczonej do wyświetlenia na ekranie w jednostkach pikseli, przy czym urządzenie zawiera: The text is to be displayed, wherein the coordinate information indicates a reference position at which the characters of the text information are to be displayed and information indicating the spacing between lines of text information to be displayed on the screen in pixel units, the device comprising: a moving image data processor (414) adapted to decode the moving image data;player status registers (416) adapted to store the identifier of a style information unit selected from another one or more style information units by a user style change operation, the subtitle stream number selected for reproducing the moving image data, and the subtitle stream language code;procesor (414) danych ruchomego obrazu dostosowany do dekodowania danych ruchomego obrazu;rejestry (416) stanu odtwarzacza dostosowane do przechowywania identyfikatora jednostki informacji o stylu wybranej spośród innej jednej lub większej liczby jednostek informacji o stylu przez operację użytkownika zmiany stylu, numeru strumienia napisów wybranego do odtwarzania danych ruchomego obrazu i kodu języka strumienia napisów;a text subtitle processor (413) adapted to determine the style to be applied to the text information, initially using the style information unit identifier in the script information, and then the identifier stored in the player's state register during the moving image data for the text information;and a mixer (415) adapted to mix the decoded moving image data and rendered textual information as a combined image to be displayed on the screen. procesor (413) napisów tekstowych dostosowany do określania stylu do zastosowania względem informacji tekstowej, początkowo z wykorzystaniem identyfikatora jednostki informacji o stylu w informacji skryptowej, a nastę pnie identyfikatora przechowywanego w rejestrze stanu odtwarzacza podczas danych ruchomego obrazu w celu informacji tekstowej;oraz mikser (415) dostosowany do mieszania dekodowanych danych ruchomego obrazu i renderowanej informacji tekstowej jako połączonego obrazu, który ma być wyświetlony na ekranie. odtwarzania renderowania rendering rendering 2. A method of playing a storage medium, the storage medium comprising: 2. Sposób odtwarzania nośnika pamięci, przy czym nośnik pamięci zawiera: dane (102) ruchomego obrazu;i dane (130) napisów do dostarczania napisów dla danych ruchomego obrazu, przy czym dane napisów zawierają moving image data (102);and subtitle data (130) for providing subtitles for moving image data, wherein the subtitle data includes 53/59P31597PL00 informację skryptową (131) zawierającą informację tekstową do wykorzystania przez urządzenie dla napisów, identyfikator jednostki informacji o stylu do zastosowania względem informacji tekstowej i informację o czasie, w którym ma się rozpocząć wyświetlanie napisów i o czasie, w którym wyświetlanie napisów ma się zakończyć;i informację (132) o stylu do wykorzystania przy renderowaniu informacji tekstowej przez urządzenie, przy czym informacja o stylu zawiera wiele jednostek informacji o stylu, przy czym każda jednostka informacji o stylu zawiera identyfikator i wyjściowym do zastosowania przez tekstowej, przy czym informacje o stylu urządzenie względem jedna jednostek informacji informacji o stylu odpowiadająca identyfikatorowi jednostki informacji o stylu w informacji skryptowej jest początkowo stosowana względem informacji tekstowej, gdy dane napisów są odtwarzane przez urządzenie, a inna jedna lub większa liczba jednostek informacji o stylu jest selektywnie stosowana względem informacji tekstowej, gdy operacja użytkownika dla zmiany stylu jest odbierana przez urządzenie podczas odtwarzania danych ruchomego obrazu, a wyjściowa informacja o stylu zawiera informację o współ rzę dnych obszaru na ekranie, na którym informacja tekstowa ma być wyświetlona, przy czym informacja o współrzędnych wskazuje pozycję odniesienia, w której znaki informacji tekstowej mają być wyświetlone oraz informację wskazującą odstępy między liniami informacji tekstowej przeznaczonej do wyświetlenia na ekranie w jednostkach pikseli, przy czym sposób obejmuje: Script information (131) comprising the text information for use by the device for subtitles, the identifier of the style information unit to be applied to the text information and information about the time at which the subtitle display is to start and the time at which the subtitle display is to end ;and style information (132) for use in rendering text information by the device, the style information comprising a plurality of style information units, each style information unit having an identifier and output for use by the textual, wherein the device style information relative to one unit of style information information corresponding to the identifier of the style information unit in the script information is initially applied to the text information when the subtitle data is played by the device and another one or more style information units are selectively used regarding textual information, when a user operation for a style change is received by the device during the reproduction of moving image data, and the output style information includes information on the coordinates of the area on the screen where the text information is to be displayed, where the coordinate information indicates a reference position, in which the characters of the text information are to be displayed and information indicating the spacing between the lines of text information to be displayed on the screen in pixel units, the method comprising: decoding moving image data;dekodowanie danych ruchomego obrazu;odbieranie operacji użytkownika dla zmiany stylu;receiving user operations for style change;przechowywanie identyfikatora jednostki informacji o stylu wybranej spośród innej jednej lub większej storing the unit identifier of a style information selected from another one or more 53/59P31597PL00 liczby jednostek informacji o stylu przez operację użytkownika, numeru strumienia napisów wybranego do odtwarzania danych ruchomego obrazu i kodu języka strumienia napisów w rejestrach stanu odtwarzacza w urządzeniu;The number of units of style information by the user operation, the number of the subtitle stream selected for reproducing the moving image data and the language of the subtitle stream language in the player's state registers in the device;determining a style to be applied to the text information, initially using the style information unit identifier in the script information, and then the identifier stored in the player's state register when playing back the moving image data to render the text information;and mixing the decoded moving image data and rendered text information as a combined image to be displayed on the screen. określanie stylu do zastosowania względem informacji tekstowej, początkowo z wykorzystaniem identyfikatora jednostki informacji o stylu w informacji skryptowej, a nastę pnie identyfikatora przechowywanego w rejestrze stanu odtwarzacza podczas odtwarzania danych ruchomego obrazu w celu renderowania informacji tekstowej;oraz mieszanie dekodowanych danych ruchomego obrazu i renderowanej informacji tekstowej jako połączonego obrazu, który ma być wyświetlony na ekranie. SAMSUNG ELECTRONICS CO., LTD. SAMSUNG ELECTRONICS CO., LTD. Pełnomocnik: Proxy: 53 / 59P31597PL00 53/59P31597PL00 53 / 59P31597PL00 53/59P31597PL00 53/59P31597EN00 53/59P31597PL00 53 / 59P31597PL00 53/59P31597PL00 FIG. FIG. LU § LU § O o Oh 53 / 59P31597PL00 53/59P31597PL00 FIG. 5 FIG. 5 PLAYER STATUS REGISTERS (PSR) REJESTRY STANU ODTWARZACZA (PSR) FIG. 6 FIG. 6 GENERAL PURPOSE REGISTERS (GPR) OR TEXT INSCRIPTION BUFFER REJESTRY OGÓLNEGO PRZEZNACZENIA (GPR) LUB BUFOR PROCESORA NAPISÓW TEKSTOWYCH 53 / 59P31597PL00 53/59P31597PL00 FIG. 7 i * Next_Style and Prev_Style are pre-defined symbols * / FIG. 7 i* Next_Style and Prev_Style are pre-defined symbols */ Siibtitle 'Stylesheet_Change (arg) { Siibtitle„Stylesheet_Change(arg) { jf (arg == Next_Style) - CASE A and iHPSn (l9) - Valje05 (orar;addr., ol ... 3tylestieet ID + Num_of_Siylesheet - 1)) and PSR (19) = ValueOf (Śtart_addr_of_StylesheetJD);ί -------------------- else {r........................................................ jf(arg == Next_Style) — PRZYPADEK A i iHPSn(l9) -- Valje05(orar;addr.,ol ...3tylestieet ID + Num_of_Siylesheet - 1)) i PSR(19) = ValueOf(Śtart_addr_of_StylesheetJD);ί--------------------else { r........................................................ : addr = Start_addr_ef_SlylesheeUD: · i while (PSR (19)! = ValueOf (addr)) j ί addr = addr + 1: I --------------------- ---------: PSR (19) = ValueOf (addr + I): : addr = Start_addr_ef_SlylesheeUD:· i while(PSR( 19) != ValueOf(addr)) j ί addr = addr + 1: I------------------------------: PSR(19) = ValueOf(addr + I): 1..................................................... 1..................................................... } else ifiarg == Piev_Style) - CASE B {if (PSR (19) == ValueOf (Start_addr_ol_Sty1esheeUD)): PSR (19) - ValueOf (Stait_address_of_Stylesheet_ID + Num_o (_Stylesheet - 1): ΐ -eise } else ifiarg == Piev_Style) — PRZYPADEK B { if(PSR( 19) == ValueOf(Start_addr_ol_Sty1esheeUD)) : PSR(19) - ValueOf(Stait_address_of_Stylesheet_ID + Num_o(_Stylesheet - 1): ΐ -eise { addr = 5tart_addr_of "Siylesheet_ID;i while (PSR (l9)! = ValueOf (addr)};________________________________ addr = addr + 1;· and PSR (19) = ValueOf (addr - 1): i} ...... .................................................. addr = 5tart_addr_of„Siylesheet_ID;i while(PSR(l9) != ValueOf(addr)} ;________________________________ addr = addr + 1;· i PSR(19) = ValueOf(addr - 1): i } ........................................................ } else - CASE C t .... } else — PRZYPADEK C t .... | PSR (19) = arg:! ----------------------------------------- ------} ........... ' |PSR(19) = arg:!-----------------------------------------------} ........... ' 701 701 702 702 703 703 704 704 705 705 53 / 59P31597PL00 53/59P31597PL00 FIG. 8 FIG. 8 801 package BDROM.media.subtitle pub lic interface TextSubtitle extends Subtitle {public boolean status;public TextSubtitleAttribute getAttributeO;public unsigned int getLangCodeO;public String getTitleNameO;public unsigned int getSubtitielDO;801 package BDROM.media.subtitle pub lic interface TextSubtitle extends Subtitle { public boolean status;public TextSubtitleAttribute getAttributeO;public unsigned int getLangCodeO;public String getTitleNameO;public unsigned int getSubtitielDO;public unsigned int getCurrentTextStylesheetlD ();public unsigned int getCurrentTextStylesheetlD();' public void setTextStylesheetlD(unsigned int ID);'public void setTextStylesheetlD (unsigned int ID);public void nextTextStylesheet ();public void prevTextStylesheet ();public unsigned int getDefaultTextStylesheetlD ();public void nextTextStylesheet();public void prevTextStylesheet();public unsigned int getDefaultTextStylesheetlD();public Time getCurrentPresentationTimeO;public void setPresentationTime (Time t);public FILE getCurrentTextSubtitle ();public Time getCurrentPresentationTimeO;public void setPresentationTime(Time t);public FILE getCurrentTextSubtitle();public void setTextSubtitle ($ tring filename or unsigned int ID);public void setTextSubtitle($tring filename or unsigned int ID);public void startO;public void stop ();public void startO;public void stop();} } 53 / 59P31597PL00 53/59P31597PL00 FIG. 9 : import BOROM.media.*;FIG. 9: import BOROM.media. *;: public class PlayXlet extends Xlet implements ControllerListener { : Player player: : public class PlayXlet extends Xlet implements ControllerListener {: Player player: : public void init () {: setLayout (new BorderLayoutO);: public void init() { : setLayout(new BorderLayoutO);: String mediaFile = getParameterCFILE ');: String mediaFile = getParameterCFILE');: try { : URL mediaURL = new URL(getDocumentBase(), mediaFile);: try {: URL mediaURL = new URL (getDocumentBase (), mediaFile);: player = Manager. createPlayerCmediaURL): : player = Manager. createPlayerCmediaURL): : player .addControllerListener (this);: player .addControllerListener(this);: player.subtitle - new TextSubti1le (): : player.subtitle - new TextSubti1le(): : player.subtitle.setTextSubtitle ("filename");: player.subtitle.setTextSubtitle(“filename”);: }catch(Exception e) { :} catch (Exception e) { System.out.printlnCGet Exception "+ e);System.out.printlnCGet Exception “ + e);: } } : } } : public vaid startO { : player.startO: : public vaid startO {: player.startO: ł : public synchronized void controllerUpdate(ControllerEvent e) { : if( e instanceof SubtitleToggleEyent) { : ifCpIayer.subtitle.status == TRUE) : player.subtitle.stopO: ł: public synchronized void controllerUpdate (ControllerEvent e) {: if (e instanceof SubtitleToggleEyent) {: ifCpIayer.subtitle.status == TRUE): player.subtitle.stopO: : else { : player.subtitle.setPresentationTime(player.getMediaTimeO) : player .sublitle.startO: : else {: player.subtitle.setPresentationTime (player.getMediaTimeO): player .sublitle.startO: } } } } : if (e instanceof nextSubtitleStylesheetEvent) { : if( e instanceof nextSubtitleStylesheetEvent) { 26: player.subtitle.nextTextStylesheetO: 26: player.subtitle.nextTextStylesheetO: } : if(e instanceof prevSubtitleStylesheetEvent) { : player.subtitle.prevTextStylesheet(): }: if (e instanceof prevSubtitleStylesheetEvent) {: player.subtitle.prevTextStylesheet (): } : if Ce instanceof setSublitleStylesheetEvent) { : player.subtitle.setTextStylesheetlD(e.value);}: if Ce instanceof setSublitleStylesheetEvent) {: player.subtitle.setTextStylesheetlD (e.value);} } } } } } 53 / 59P31597PL00 53/59P31597PL00 53 / 59P31597PL00 53/59P31597PL00 END KONIEC