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 780389 - got context from element autovideosink, error from element osxaudio: the stream is in the wrong format, sink not neotiated before gap event
got context from element autovideosink, error from element osxaudio: the stre...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.10.4
Other Mac OS
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-03-22 10:09 UTC by skuntner
Modified: 2018-11-03 15:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gst-play debug log (2.04 MB, application/zip)
2017-03-22 10:09 UTC, skuntner
Details

Description skuntner 2017-03-22 10:09:58 UTC
Created attachment 348463 [details]
gst-play debug log

gst-play output:

Now playing /Users/stefankuntner/Desktop/test/file.mp4
Redistribute latency...

** (gst-play-1.0:20303): WARNING **: Invalid channel positions
2017-03-22 10:59:38.116 gst-play-1.0[20303:2076652] 10:59:38.116 ERROR:    >aqme> 268: (0x84f4f082): scope 2, element 0, tag=0x650002: error -10851
ERROR The stream is in the wrong format. for file:///Users/stefankuntner/Desktop/test/file.mp4
ERROR debug information: gstaudiobasesink.c(1142): gst_audio_base_sink_wait_event (): /GstPlayBin:playbin/GstPlaySink:playsink/GstBin:abin/GstOsxAudioSink:osxaudiosink0:
Sink not negotiated before gap event.
Reached end of play list.

gst-discoverer output:

Analyzing file:///Users/stefankuntner/Desktop/test/file.mp4
2017-03-22 11:00:53.976 gst-discoverer-1.0[20421:2077622] 11:00:53.976 ERROR:    >aqme> 268: (0x84fc507f): scope 2, element 0, tag=0x650002: error -10851
Done discovering file:///Users/stefankuntner/Desktop/test/file.mp4

Topology:
  container: Quicktime
    audio: MPEG-4 AAC
      audio: MPEG-4 AAC
    video: H.264 (High Profile)

Properties:
  Duration: 2:08:38.821666666
  Seekable: yes
  Tags: 
      audio codec: MPEG-4 AAC audio
      maximum bitrate: 400528
      bitrate: 329752
      language code: en
      datetime: 2011-03-30T08:57:43Z
      container format: ISO MP4/M4A
      video codec: H.264 / AVC

tried all different audio formats that inspect says are supported by osxaudiosink

using: 
gst-launch-1.0 filesrc location=file.mp4  ! decodebin name=d ! autovideosink d. ! audioconvert ! audio/x-raw,format=#FORMAT# ! autoaudiosink

always same error:

Got context from element 'autovideosink0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayCocoa\)\ gldisplaycocoa0";
Redistribute latency...
2017-03-22 10:19:08.199 gst-launch-1.0[16459:2037292] 10:19:08.199 ERROR:    >aqme> 268: (0x8404b082): scope 2, element 0, tag=0x650002: error -10851
ERROR: from element /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstOsxAudioSink:autoaudiosink0-actual-sink-osxaudio: The stream is in the wrong format.
Additional debug info:
gstaudiobasesink.c(1142): gst_audio_base_sink_wait_event (): /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstOsxAudioSink:autoaudiosink0-actual-sink-osxaudio:
Sink not negotiated before gap event.


original file is big (2.2gb), can upload if needed

gst play debug log in attachment
Comment 1 GStreamer system administrator 2018-11-03 15:17:34 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/357.