got context from element autovideosink, error from element osxaudio: the stream is in the wrong format, sink not neotiated before gap event
Submitted by sku..@..ir.com
Link to original bug (#780389)
Description
Created attachment 348463
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
Attachment 348463, "gst-play debug log":
gst.log.zip
Version: 1.10.4