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 566958 - fix dirac support in qtmux/mp4mux
fix dirac support in qtmux/mp4mux
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal blocker
: 0.10.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-07 23:21 UTC by David Schleef
Modified: 2009-01-09 22:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (2.15 KB, patch)
2009-01-07 23:22 UTC, David Schleef
none Details | Review

Description David Schleef 2009-01-07 23:21:58 UTC
Sorry about not committing it earlier.  Didn't check -bad for stuff to commit before the freeze.
Comment 1 David Schleef 2009-01-07 23:22:55 UTC
Created attachment 125982 [details] [review]
patch
Comment 2 Jan Schmidt 2009-01-07 23:35:11 UTC
Did you mean to include the qtmux part too?

Should video/x-dirac disappear from the sink pad template of mpegtsmux with this patch?
Comment 3 David Schleef 2009-01-07 23:59:22 UTC
Didn't intend to, but it's essentially the same fix.

Yeah, video/x-dirac should disappear, assuming we wish to break working code that happens to create broken files.  (I do, but other people don't like breaking stuff as much as I do.)
Comment 4 Jan Schmidt 2009-01-08 09:14:07 UTC
Seems like the patch needs more work: The handling of video/x-dirac already disappeared in favour of mpegts-part, so it should disappear from the sink pad caps too, if that's the way things are going. Who converts video/x-dirac to video/x-mpegtspart? What parses an existing stream in the case of remuxing?

Also:
     ts_data->stream = tsmux_create_stream (mux->tsmux, TSMUX_ST_VIDEO_DIRAC,
         ts_data->pid);

Why is the constant still VIDEO_DIRAC, if the incoming caps are video/x-mpegtspart, which sounds like it is designed to carry multiple video formats?

The qtmuxmap part looks OK.
Comment 5 David Schleef 2009-01-09 21:07:23 UTC
schroenc and schroparse create video/x-mpeg-ts-part.

Yeah, skip the mpegtsmux part of the patch.  I don't think it creates valid Dirac in MPEG-TS streams yet anyway, which isn't going to get fixed before the release.
Comment 6 Jan Schmidt 2009-01-09 21:26:02 UTC
If you just want to do the qtmux/mp4mux bits, go for it.
Comment 7 David Schleef 2009-01-09 22:11:36 UTC
Done.