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 668091 - qtmux: Add support for DASH
qtmux: Add support for DASH
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 660260
Blocks: 668094 708221 777540 777984
 
 
Reported: 2012-01-17 14:00 UTC by Andoni Morales
Modified: 2018-11-03 14:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add DASH comtaible muxer (8.14 KB, patch)
2012-01-17 14:00 UTC, Andoni Morales
needs-work Details | Review
mp4dashmux: Add DASH-compatible mp4 muxer (9.01 KB, patch)
2013-08-21 15:35 UTC, Andoni Morales
needs-work Details | Review
mp4dashmux: Add DASH-compatible mp4 muxer (10.10 KB, patch)
2013-11-06 09:51 UTC, Andoni Morales
accepted-commit_now Details | Review
mp4dashmux: Add DASH-compatible mp4 muxer (11.10 KB, patch)
2013-11-14 01:17 UTC, Andoni Morales
reviewed Details | Review
mp4dashmux: Add DASH-compatible mp4 muxer (11.57 KB, patch)
2017-01-18 14:45 UTC, Andreas Frisch
none Details | Review
mp4dashmux: Add DASH-compatible mp4 muxer (12.37 KB, patch)
2017-01-24 14:10 UTC, Andreas Frisch
none Details | Review
mp4dashmux: Add DASH-compatible mp4 muxer (12.35 KB, patch)
2018-05-04 10:13 UTC, Andreas Frisch
none Details | Review

Description Andoni Morales 2012-01-17 14:00:51 UTC
Created attachment 205444 [details] [review]
Add DASH comtaible muxer

Dash support for the ISO file format has been defined in the Amendment 3 of the ISO/IEC 14496-12 standard.
Basic support can be added by appending the new 'styp', identical to the ftyp box in front of each fragment.
Comment 1 Sebastian Dröge (slomo) 2013-07-26 10:10:50 UTC
Review of attachment 205444 [details] [review]:

::: gst/isomp4/gstqtmux.c
@@ +1539,3 @@
+  {
+    GST_ELEMENT_ERROR (qtmux, STREAM, MUX, (NULL),
+        ("Failed to serialize ftyp"));

s/ftyp/styp/

::: gst/isomp4/gstqtmuxmap.c
@@ +214,3 @@
+        "DASH",
+        "GstDASHMux",
+        GST_STATIC_CAPS ("video/quicktime, variant = (string) iso-fragmented"),

Shouldn't it be a different variant?
Comment 2 Andoni Morales 2013-08-21 15:35:01 UTC
Created attachment 252613 [details] [review]
mp4dashmux: Add DASH-compatible mp4 muxer
Comment 3 Sebastian Dröge (slomo) 2013-08-21 17:21:27 UTC
Thiago, what do you think?
Comment 4 Thiago Sousa Santos 2013-09-26 22:36:48 UTC
Review of attachment 252613 [details] [review]:

Just a minor nitpicking, otherwise looks good to me.

It would be nice to have this early in this cycle so we get proper testing before release. Going to look at the bug for the fragments support in qtmux to get it pushed, too.

::: gst/isomp4/atoms.c
@@ -241,2 +241,2 @@
 static void
-atom_ftyp_init (AtomFTYP * ftyp, guint32 major, guint32 version, GList * brands)
+atom_brands_init (AtomFTYP * ftyp, guint32 fourcc, guint32 major,

I'd think it is better to rename this to 'AtomBrands' instead of leaving it as AtomFTYP as it can also be an STYP now.
Comment 5 Andoni Morales 2013-11-06 09:51:48 UTC
Created attachment 259060 [details] [review]
mp4dashmux: Add DASH-compatible mp4 muxer
Comment 6 Andoni Morales 2013-11-14 01:17:34 UTC
Created attachment 259774 [details] [review]
mp4dashmux: Add DASH-compatible mp4 muxer
Comment 7 Sebastian Dröge (slomo) 2013-11-25 14:55:08 UTC
Review of attachment 259774 [details] [review]:

Some changelog between the patches would've been good ;)

There are now some "qtmux_klass->format != GST_QT_MUX_FORMAT_ISML" cases left that previously also checked for DASH. Why?
Comment 8 Sebastian Dröge (slomo) 2013-12-30 08:54:00 UTC
Andoni?
Comment 9 Andreas Frisch 2017-01-18 14:45:42 UTC
Created attachment 343726 [details] [review]
mp4dashmux: Add DASH-compatible mp4 muxer

this updated version of the patch applies on 1.10.2
Comment 10 Tim-Philipp Müller 2017-01-18 14:51:48 UTC
> this updated version of the patch applies on 1.10.2

Did you not maintain the original Author on that patch on purpose?
Comment 11 Andreas Frisch 2017-01-18 15:27:19 UTC
sorry, i just did a new git commit and format-patch after merging it
Comment 12 Andreas Frisch 2017-01-24 14:10:46 UTC
Created attachment 344152 [details] [review]
mp4dashmux: Add DASH-compatible mp4 muxer

Original Credits Andoni Morales Alastruey <ylatuya@gmail.com>

this applies on git master aswell
Comment 13 Tim-Philipp Müller 2017-01-24 17:22:42 UTC
I think you are looking for git commit --amend --author="" :)
Comment 14 Sebastian Dröge (slomo) 2018-05-04 09:50:49 UTC
Andreas, can you update your patch so that it keeps Andoni as author? We should get this reviewed and merged now.
Comment 15 Andreas Frisch 2018-05-04 10:13:33 UTC
Created attachment 371663 [details] [review]
mp4dashmux: Add DASH-compatible mp4 muxer

Remarks: 
* this is un-re-tested and just a quick resolution of the merge conflict
* unit tests will all fail because of a warning caused by G_OBJECT_WARN_INVALID_PROPERTY_ID for the streamable property for unfragmented streams
Comment 16 GStreamer system administrator 2018-11-03 14:45:26 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/55.