I get "Internal data stream error" all the time! I am using Android/QML mobile Cameras and the VideoOutput element
> Sent: Thursday, February 12, 2015 at 3:47 PM > From: "Nikos Chantziaras" <[email protected]> > To: [email protected] > Subject: Re: [Interest] "Internal data stream error" when trying to play > video file > > I now tried examples/multimedia/video/qmlvideo. > > When I click the first time, "Internal data stream error." It doesn't play. > > If I click again, it plays fine, and continues to play fine on all > subsequent attempts. But the first try on program start, it always fails :-/ > > Enabling full gstreamer debug output (setting GST_DEBUG="*:2") gives > this on the first attempt where it fails: > > > $ GST_DEBUG="*:2" ./qmlvideo /tmp/video.mpg > Failed to start video surface > 0:00:00.830868311 1368 0x2c00280 WARN ffmpeg > /var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r3/work/gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegdec.c:2275:gst_ffmpegdec_frame:<ffdec_cinepak0> > > ffdec_cinepak: decoding error (len: -1, have_data: 0) > 0:00:00.830939490 1368 0x2bffca0 WARN avidemux > /var/tmp/portage/media-libs/gst-plugins-good-0.10.31-r1/work/gst-plugins-good-0.10.31/gst/avi/gstavidemux.c:5212:gst_avi_demux_loop:<avidemux0> > > error: Internal data stream error. > 0:00:00.830958617 1368 0x2bffca0 WARN avidemux > /var/tmp/portage/media-libs/gst-plugins-good-0.10.31-r1/work/gst-plugins-good-0.10.31/gst/avi/gstavidemux.c:5212:gst_avi_demux_loop:<avidemux0> > > error: streaming stopped, reason not-linked > 0:00:00.831172531 1368 0x2c00280 WARN ffmpeg > /var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r3/work/gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegdec.c:2275:gst_ffmpegdec_frame:<ffdec_cinepak0> > > ffdec_cinepak: decoding error (len: -1, have_data: 0) > 0:00:00.838421437 1368 0x7f170c00b190 WARN basetransform > /var/tmp/portage/media-libs/gstreamer-0.10.36-r2/work/gstreamer-0.10.36/libs/gst/base/gstbasetransform.c:1739:gst_base_transform_prepare_output_buffer:<ffmpegcolorspace-vo> > > pad-alloc failed: wrong-state > 0:00:00.838439087 1368 0x7f170c00b190 WARN basetransform > /var/tmp/portage/media-libs/gstreamer-0.10.36-r2/work/gstreamer-0.10.36/libs/gst/base/gstbasetransform.c:2548:gst_base_transform_handle_buffer:<ffmpegcolorspace-vo> > > could not get buffer from pool: wrong-state > qml: [qmlvideo] VideoItem.onError error 1 errorString Internal data > stream error. > qml: [qmlvideo] Content.onFatalError > Error: "Internal data stream error." > > > The output on the subsequent attempts (they all succeed): > > > 0:00:04.737457749 1396 0x7f8b2000acf0 WARN ffmpeg > /var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r3/work/gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegdec.c:2275:gst_ffmpegdec_frame:<ffdec_cinepak2> > > ffdec_cinepak: decoding error (len: -1, have_data: 0) > 0:00:04.738491738 1396 0x7f8b2000ade0 WARN bin > /var/tmp/portage/media-libs/gstreamer-0.10.36-r2/work/gstreamer-0.10.36/gst/gstbin.c:2395:gst_bin_do_latency_func:<playbin20> > > did not really configure latency of 0:00:00.000000000 > > > Playing it manually with gst-launch-0.10 on the CLI does not give any > decoding warnings. Just: > > > $ GST_DEBUG="*:2" gst-launch-0.10 playbin uri=file:///tmp/video.mpg > 0:00:00.049918625 1427 0x87fb00 WARN bin > /var/tmp/portage/media-libs/gstreamer-0.10.36-r2/work/gstreamer-0.10.36/gst/gstbin.c:2395:gst_bin_do_latency_func:<playbin0> > > did not really configure latency of 0:00:00.000000000 > > > On 12/02/15 21:09, Harri Pasanen wrote: > > Cool video :) > > > > It plays just fine on my Qt 5.4.x linux installation using QML MediaPlayer. > > > > Just my 2 cents, > > > > Harri > > > > On 12/02/2015 19:00, Nikos Chantziaras wrote: > >> On 12/02/15 19:57, Nikos Chantziaras wrote: > >>> [...] > >>> When trying to play a video file, QMediaPlayer raises an error: > >>> > >>> Error: "Internal data stream error." > >>> > >>> [,,,] > >>> If I play the file manually with gstreamer: > >>> > >>> $ gst-launch-0.10 playbin uri=file:///tmp/video.mpg > >>> > >>> it plays just fine. > >> This is the video file: > >> > >> http://wikisend.com/download/489786/video.mpg > >> > >> (I hope that site works.) > >> > >> _______________________________________________ > >> Interest mailing list > >> [email protected] > >> http://lists.qt-project.org/mailman/listinfo/interest > > > > > _______________________________________________ > Interest mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/interest > _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
