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 642879 - qtmux: add a 'variant' with the bare video/quicktime media type
qtmux: add a 'variant' with the bare video/quicktime media type
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other All
: Normal normal
: 0.10.29
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-02-21 15:09 UTC by Vincent Penquerc'h
Modified: 2011-08-02 10:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
qtmux: add a 'variant' with the bare video/quicktime media type (4.50 KB, patch)
2011-02-21 15:10 UTC, Vincent Penquerc'h
reviewed Details | Review

Description Vincent Penquerc'h 2011-02-21 15:09:57 UTC
This will allow encodebin to select it when using a profile with video
set to video/quicktime, as can happen if this profile is generated from
a typefind result, which may or may not have set a variant.
Comment 1 Vincent Penquerc'h 2011-02-21 15:10:00 UTC
Created attachment 181466 [details] [review]
qtmux: add a 'variant' with the bare video/quicktime media type
Comment 2 Marco Ballesio 2011-02-23 07:33:06 UTC
Are you planning to add support to the QT-specific metadata? I don't see the advantage of using a particular FTYP if, at the end, metadata is still the good old ISO/mp4
Comment 3 Vincent Penquerc'h 2011-02-23 09:35:25 UTC
I am not.

The intent of the patch is to allow a muxer to be selected when encodebin is instructed to use video/quicktime without specifying a particular type.
Comment 4 Tim-Philipp Müller 2011-04-13 12:34:15 UTC
This patch doesn't look like the optimal solution to me. It should be okay to just add a second caps structure to the normal qtmux caps in the template, we shouldn't have to register another element just to make this work.

Will have a look.
Comment 5 Tim-Philipp Müller 2011-04-13 14:25:14 UTC
Fixed this differently (I hope):

 commit 025417f12436170fe77d469d614933304b0b046f
 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
 Date:   Wed Apr 13 15:18:11 2011 +0100

    qtmux: add variant-less video/quicktime to source pad template caps
    
    This is needed for automatic transcoding using encodebin. Our typefinder
    does not always add a variant to the found caps, and encodebin needs
    an *exact* match to the caps on the source pad template, so we need
    to add the variant-less video/quicktime caps to the template as well
    for encodebin to be able to find it. Add unit test for this as well.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=642879
Comment 6 Thiago Sousa Santos 2011-08-01 23:52:12 UTC
Just adding here a related bug that was caused by this change.

https://bugzilla.gnome.org/show_bug.cgi?id=651496
Comment 7 Christian Fredrik Kalager Schaller 2011-08-02 08:23:20 UTC
Shouldn't the fix for this issue be to update the typefinders to always generate a variant?
Comment 8 Tim-Philipp Müller 2011-08-02 09:20:13 UTC
> Shouldn't the fix for this issue be to update the typefinders to always
> generate a variant?

Not sure that's possible.

Another fix would be to give qtmux lower priority, so that encodebin tries the non-generic muxers first.

However, I think maybe encodebin should first try to find an exact match and only then settle for a subset match.
Comment 9 Christian Fredrik Kalager Schaller 2011-08-02 10:16:53 UTC
But is the current fix truly useful? I mean if you rely on a typefind to set your container format I assume that means you want the same container format used for your output. But with the current fix I assume your 3gpp or mp4 files gets defaulted to quicktime, which might not want to play on your device or system at all. So the only case where this fix actually gives you the expected result is if your input happens to be quicktime anyway. Anyway I will cut and paste your fix suggestion over to the other, still open bug for completeness.