After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 301312 - dvdsubdec element
dvdsubdec element
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.9
Other Linux
: Normal enhancement
: 0.8.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-04-20 11:06 UTC by Jan Schmidt
Modified: 2005-07-01 16:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
dvdsubdec files (8.80 KB, application/x-compressed-tar)
2005-04-20 11:07 UTC, Jan Schmidt
  Details
configure.ac changes (604 bytes, patch)
2005-04-20 11:08 UTC, Jan Schmidt
none Details | Review
updated version with clipping bug fixed (8.34 KB, application/x-compressed-tar)
2005-04-20 14:42 UTC, Jan Schmidt
  Details
version that generates definite durations (8.18 KB, application/x-compressed-tar)
2005-04-21 13:20 UTC, Jan Schmidt
  Details
update (33.28 KB, patch)
2005-06-05 10:36 UTC, Ronald Bultje
none Details | Review
another update (33.28 KB, patch)
2005-06-11 12:31 UTC, Ronald Bultje
none Details | Review
update (33.30 KB, patch)
2005-06-19 11:28 UTC, Ronald Bultje
none Details | Review

Description Jan Schmidt 2005-04-20 11:06:14 UTC
dvdsubdec component for review before adding it to gst-plugins
Comment 1 Jan Schmidt 2005-04-20 11:07:59 UTC
Created attachment 45472 [details]
dvdsubdec files
Comment 2 Jan Schmidt 2005-04-20 11:08:46 UTC
Created attachment 45473 [details] [review]
configure.ac changes
Comment 3 Jan Schmidt 2005-04-20 11:16:45 UTC
Basically, I've set it up so the element walks the commands in each subtitle
packet as time advances
time is advanced either by a new subtitle packet arriving, or a filler event
each frame is emitted with a timestamp and no duration, including blank frames
for turning each subtitle off.

dvdsubdec should connect to a videomixer that understands this method of
describing the stream, which doesn't exist yet I don't think
Comment 4 Jan Schmidt 2005-04-20 14:42:02 UTC
Created attachment 45488 [details]
updated version with clipping bug fixed
Comment 5 Jan Schmidt 2005-04-21 13:20:13 UTC
Created attachment 45514 [details]
version that generates definite durations

This version generates buffers with a duration, reemitting the 'current' buffer
with a new timestamp as it receives new filler events.
Comment 6 Ronald Bultje 2005-04-22 15:09:52 UTC
The element looks good now. Sending the same buffer is not ideal, but can be
worked around in muxers and is better than nothing.

I'd recommend to not apply it yet. Reason is that we cannot actually use it yet,
which will lead to users commenting "where are the DVD subtitles I saw in the
release notes?". I'd recommend merging this together with the imagemixer
element, which I'd like to use for subpicture merging.
Comment 7 Ronald Bultje 2005-06-04 10:58:55 UTC
Minor comment: I don't like the way in which you negotiate an output format, at
the very least, the missing of a fixation function here will cause major issues.
Comment 8 Ronald Bultje 2005-06-05 09:42:25 UTC
(of course, this comment was done before I noticed the fixed pad template... n/m.
Comment 9 Ronald Bultje 2005-06-05 10:36:34 UTC
Created attachment 47259 [details] [review]
update

Your version sets the alpha value using only 4 bits (0..15), which is the DVD
alpha depth. We need to <<4 it to make it useful in AYUV, so it displays fine
when  overlayed over DVD frames. This patch fixes that.
Comment 10 Ronald Bultje 2005-06-11 12:31:25 UTC
Created attachment 47605 [details] [review]
another update

* set rank so playbin recognizes it for autoplugging (see #306555 for the
playbin patch).
Comment 11 Ronald Bultje 2005-06-19 11:28:30 UTC
Created attachment 47985 [details] [review]
update

* swap U/V, seems to fix some color issues.
Comment 12 Ronald Bultje 2005-07-01 16:53:18 UTC
applied.