|
Project Links | mvpmc.org wiki |
|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
DVB subtitlesIf anyone's interested, I've made some good progress getting subtitles
working with DVB subtitles (from MythTV recordings). I've got the graphic decoding and CLUT decoding working. I'm trying to make it display the subtitles at the right time, but it's a few seconds off, and currently polls for subtitle display, same mechanism as SPU. My current code changes have broken SPU subtitles, but I can probably make that work again. One thing to note is that I copied the PTS extraction code from parse_spu_frame, but found it was incorrect (some of the bit shifts were off by one). ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Mvpmc-devel mailing list Mvpmc-devel@... https://lists.sourceforge.net/lists/listinfo/mvpmc-devel |
|
|
Re: DVB subtitlesChris Reed wrote: > If anyone's interested, I've made some good progress getting subtitles > working with DVB subtitles (from MythTV recordings). I've got the > graphic decoding and CLUT decoding working. I'm trying to make it > display the subtitles at the right time, but it's a few seconds off, and > currently polls for subtitle display, same mechanism as SPU. > > My current code changes have broken SPU subtitles, but I can probably > make that work again. > > One thing to note is that I copied the PTS extraction code from > parse_spu_frame, but found it was incorrect (some of the bit shifts were > off by one). Wow, thanks for your efforts Chris. I know people have been talking about subtitles off and on for ages. 10K foot questions: -How are we doing on target memory space? -Are DVB subtitles from ATSC broadcasts?** **If so what are you doing about transcoding the video down to StandardDefinition/Stereo for playback on a mvpmc box? I would have thought transcoding would have wiped the subtitle information. ...thanks ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Mvpmc-devel mailing list Mvpmc-devel@... https://lists.sourceforge.net/lists/listinfo/mvpmc-devel |
|
|
Re: DVB subtitlesOn Thu, Nov 20, 2008 at 1:56 AM, Chris Reed <cr212@...> wrote:
> If anyone's interested, I've made some good progress getting subtitles > working with DVB subtitles (from MythTV recordings). I've got the > graphic decoding and CLUT decoding working. I'm trying to make it > display the subtitles at the right time, but it's a few seconds off, and > currently polls for subtitle display, same mechanism as SPU. Chris I know several people have been asking for this so thank you. This is second to AC3 on my list of requests. Of course people will immediately want teletext subtitles. Martin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Mvpmc-devel mailing list Mvpmc-devel@... https://lists.sourceforge.net/lists/listinfo/mvpmc-devel |
|
|
Re: DVB subtitlesOn Thu, 20 Nov 2008, Chris Reed wrote:
> If anyone's interested, I've made some good progress getting subtitles > working with DVB subtitles (from MythTV recordings). I've got the > graphic decoding and CLUT decoding working. I'm trying to make it > display the subtitles at the right time, but it's a few seconds off, and > currently polls for subtitle display, same mechanism as SPU. Ah...well...I think your best bet here is to use the video event queue which I added when adding the WSS/aspect ratio handling code. I designed it so that it could easily be used to display subtitles. Basically you need to store your bitmap and any other information in a malloc()ed buffer in memory somewhere, then do a: vid_event_add(pts, VID_EVENT_SUBTITLES, (void *)pBitmap); The "pts" you use here is just the 32 least significant bits of the actual (33-bit) pts. Then modify video_events_start in src/video.c to handle, decode and display anything with type VID_EVENT_SUBTITLES as this new bitmap. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Mvpmc-devel mailing list Mvpmc-devel@... https://lists.sourceforge.net/lists/listinfo/mvpmc-devel |
|
|
Re: DVB subtitlesOn Thu, 20 Nov 2008, stuart wrote:
> > > Chris Reed wrote: >> If anyone's interested, I've made some good progress getting subtitles >> working with DVB subtitles (from MythTV recordings). I've got the >> graphic decoding and CLUT decoding working. I'm trying to make it >> display the subtitles at the right time, but it's a few seconds off, and >> currently polls for subtitle display, same mechanism as SPU. >> >> My current code changes have broken SPU subtitles, but I can probably >> make that work again. >> >> One thing to note is that I copied the PTS extraction code from >> parse_spu_frame, but found it was incorrect (some of the bit shifts were >> off by one). > > Wow, thanks for your efforts Chris. I know people have been talking > about subtitles off and on for ages. > > 10K foot questions: > -How are we doing on target memory space? > -Are DVB subtitles from ATSC broadcasts?** Nope...DVB is the european/worldwide standard for digital TV broadcast. ATSC is North America's bash at trying to do it themselves because following other people's standards would be too easy (*). I suspect (although I don't know) that Closed Captioning on ATSC broadcasts is probably just a stream of text in ASCII. DVB subtitles on the other hand are sent as bitmaps containing the texts, allowing the broadcaster to select an easily read font, and to send text in any character set without the box first having to have support for it. DVB subtitling is a lot closer to DVD subtitling (which also uses bitmaps, encoded in a different format) than it is to ATSC Closed Captions/DVB-Teletext. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Mvpmc-devel mailing list Mvpmc-devel@... https://lists.sourceforge.net/lists/listinfo/mvpmc-devel |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |