Skip to content

ges-uri-asset: Fix iphone quicktime clip import

MOV files produced by newer iOS devices fail discovery when adding them in GES.

uridecodebin gsturidecodebin.c:982:unknown_type_cb:<discoverer-uri> warning: No decoder available for type 'meta/x-gst-fourcc-mebx'.
  discoverer gstdiscoverer.c:1577:handle_message:<discoverer-uri> Got a warning [debug:../subprojects/gst-plugins-base/gst/playback/gsturidecodebin.c(982): unknown_type_cb (): /GstPipeline:Discoverer/GstURIDecodeBin:discoverer-uri], [message:No decoder available for type 'meta/x-gst-fourcc-mebx'.]
     default descriptions.c:1234:gst_pb_utils_get_codec_description: No description available for media type: meta/x-gst-fourcc-mebx

Newer iOS devices include streams of mebx metadata in the quicktime container. image

See details about timed metadata here: https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/QTFFChap3/qtff3.html

The discoverer returns error code 5 (missing plugins) when analyzing the file, and thus the clip fails to be added to the GES asset cache. By allowing this result, the clip can be included in the asset cache and plays just fine.

Unknown what other side effects of this change might be, would welcome feedback on the best way to move forward.

Merge request reports