<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:微软雅黑
}
--></style>
<div dir="ltr">my develop environment:<br>yocto-layer(daisy)<br><div dir="ltr">qt5.3.2(ported)<br>meta-ivi(daisy)<br>distro poky-ivi-systemd<br>I got error log below. someone ? any ideas ?<br><br>ops ! I change some code in qvideosurfacegstsink.cpp<br>=============================<br> foreach (QVideoFrame::PixelFormat format, supportedFormats) {<br> int index = indexOfYuvColor(format);<br><br> if (index != -1) {<br> gst_caps_append_structure(caps, gst_structure_new(<br>#if GST_CHECK_VERSION(1,0,0)<br> "video/x-raw",<br>#else<br> "video/x-raw-yuv",<br>#endif<br> "framerate", GST_TYPE_FRACTION_RANGE, 0, 1, INT_MAX, 1,<br> "width" , GST_TYPE_INT_RANGE, 1, INT_MAX,<br> "height" , GST_TYPE_INT_RANGE, 1, INT_MAX,<br>#if GST_CHECK_VERSION(1,0,0)<br> "format" , G_TYPE_STRING, gst_video_format_to_string(qt_yuvColorLookup[index].vfmt),<br>#else<br> "format" , G_TYPE_UINT, qt_yuvColorLookup[index].fourcc, //("format" from G_TYPE_STRING to G_TYPE_UINT<br>#endif<br> NULL));<br> continue;<br> }<br>=============================<br><br>./qmlvide o -platform eglfs<br>QEglFSImx6Hooks will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.<br> If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1<br>qrc:///qml/qmlvideo/DisableScreenSaver.qml:43:1: module "QtSystemInfo" is not installed<br>qml: [qmlvideo] performanceLoader.init logging false visible true<br>[frequencymonitor] FrequencyMonitor::FrequencyMonitor<br>[frequencymonitor] FrequencyMonitor::FrequencyMonitor<br>qml: [qmlvideo] main.onSceneSourceChanged source VideoBasic.qml<br>qml: [qmlvideo] Content.initialize: contentType video<br>qml: [qmlvideo] Content.initialize: loading VideoItem.qml<br>QGstreamerVideoWindow (null)<br>0:00:00.500651666
772 0x188da20 WARN mfw_v4lsink
mfw_gst_v4lsink.c:303:mfw_gst_v4l2sink_query_support_formats:
unrecognized format:[Y444]YUV444<br>MFW_GST_V4LSINK_PLUGIN 3.0.11 build on Nov 13 2014 13:09:05.<br>qml: [qmlvideo] Content.initialize: complete<br>qml: [qmlvideo] SceneBasic.onClicked, started = false<br>qml: [qmlvideo] Content.start<br>0:00:03.145508000
772 0x188da20 WARN pulse
/opt/freescale/yocto-layers/offical/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gst-plugins-good/0.10.31-r8/gst-plugins-good-0.10.31/ext/pulse/pulsesink.c:570:gst_pulseringbuffer_open_device:<audiosink-actual-sink-pulse>
error: Failed to connect: Connection refused<br>0:00:03.163621667
772 0x188da20 WARN alsa
/opt/freescale/yocto-layers/offical/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/gst-plugins-base/0.10.36-r8/gst-plugins-base-0.10.36/ext/alsa/gstalsa.c:124:gst_alsa_detect_formats:<audiosink-actual-sink-alsa>
skipping non-int format<br>0:00:03.164841667 772 0x188da20
WARN alsa
/opt/freescale/yocto-layers/offical/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/conf.c:4694:snd_config_expand:
alsalib error: Unknown parameters {AES0 0x02 AES1 0x82 AES2 0x00 AES3
0x02}<br>0:00:03.164927000 772 0x188da20 WARN alsa
/opt/freescale/yocto-layers/offical/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:snd_pcm_open_noupdate:
alsalib error: Unknown PCM iec958:{AES0 0x02 AES1 0x82 AES2 0x00 AES3
0x02}<br><br>(qmlvideo:772): GStreamer-CRITICAL **: gst_debug_log_valist: assertion 'category != NULL' failed<br>Aiur: 3.0.11 <br>Core: BLN_MAD-MMLAYER_FLVPARSER_ARM11_01.09.02 build on Sep 26 2013 06:32:16<br> mime: video/x-flv<br> file: /usr/lib/imx-mm/parser/lib_flv_parser_arm11_elinux.so.3.1<br>Content Info:<br> URI:<br> file:///home/root/video/2.flv<br> Idx File:<br> /home/root/.aiur/.home.root.video.2.flv.aidx<br> Seekable : Yes<br> Size(byte): 7535218<br><br>0:00:03.244964333
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:3811:aiurdemux_loop_state_header: Warning:
API[initializeIndex] not implement!<br>0:00:03.245244333 772
0x189fcf0 WARN aiurdemux
aiurdemux.c:3503:aiurdemux_set_readmode: API[setReadMode] failed, ret=-6<br>0:00:03.245378333 772 0x189fcf0 ERROR aiurdemux aiurdemux.c:3524:aiurdemux_set_readmode: ***final file mode<br>0:00:03.245483667
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:3822:aiurdemux_loop_state_header: Warning:
API[getNumPrograms] not implement!<br>Movie Info:<br> Seekable : Yes<br> Live : No<br> Duration : 0:03:35.899000000<br> ReadMode : File<br> Track : 2<br><br>0:00:03.246282667
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:3343:aiurdemux_parse_streams: Warning: API[getLanguage] not
implement!<br>0:00:03.246426667 772 0x189fcf0 WARN
aiurdemux aiurdemux.c:2926:aiurdemux_parse_audio: Warning:
API[getAudioBitsPerSample] not implement!<br>Track 00 [audio_000000] Enabled<br> Duration: 0:03:35.899000000<br> Language: <br> Mime:<br> audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)22050, bitrate=(int)0<br> , framed=(boolean)true, stream-format=(string)raw, codec_data=(buffer)139056e5a5<br> 4800<br>0:00:03.265367333
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:3343:aiurdemux_parse_streams: Warning: API[getLanguage] not
implement!<br>Track 01 [video_000000] Enabled<br> Duration: 0:03:35.899000000<br> Language: <br> Mime:<br> video/x-h264, parsed=(boolean)true, width=(int)496, height=(int)304, framerate=(<br> fraction)30/1<br>0:00:03.278882000
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:1344:aiurdemux_send_stream_newsegment: Pad video: Send
newseg 0:00:00.000000000 first buffer 0:00:00.000000000 <br>0:00:03.279368000
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:1344:aiurdemux_send_stream_newsegment: Pad audio: Send
newseg 0:00:00.000000000 first buffer 0:00:00.000000000 <br>0:00:03.295233000
772 0x6740b950 WARN uridecodebin
/opt/freescale/yocto-layers/offical/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/gst-plugins-base/0.10.36-r8/gst-plugins-base-0.10.36/gst/playback/gsturidecodebin.c:874:unknown_type_cb:<uridecodebin0>
warning: No decoder available for type 'video/x-h264,
parsed=(boolean)true, width=(int)496, height=(int)304,
framerate=(fraction)30/1, stream-format=(string)byte-stream,
alignment=(string)au'.<br>0:00:03.303811333 772 0x67408180 WARN
playsinkconvertbin
/opt/freescale/yocto-layers/offical/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/gst-plugins-base/0.10.36-r8/gst-plugins-base-0.10.36/gst/playback/gstplaysinkconvertbin.c:481:gst_play_sink_convert_bin_cache_converter_caps:<GstPlaySinkAudioConvert@0x67e14020>
No conversion elements<br>0:00:03.307924000 772 0x67408180
WARN audioresample
/opt/freescale/yocto-layers/offical/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/gst-plugins-base/0.10.36-r8/gst-plugins-base-0.10.36/gst/audioresample/gstaudioresample.c:1581:plugin_init:
Orc disabled, can't benchmark int vs. float resampler<br>0:00:03.308007667
772 0x67408180 WARN GST_PERFORMANCE
/opt/freescale/yocto-layers/offical/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/gst-plugins-base/0.10.36-r8/gst-plugins-base-0.10.36/gst/audioresample/gstaudioresample.c:1585:plugin_init:
orc disabled, no benchmarking done<br>qml: [qmlvideo] VideoItem.onError error 2 errorString Cannot play stream of type: <unknown><br>qml: [qmlvideo] Content.onFatalError<br>qml: [qmlvideo] Content.stop<br>Beep: 3.0.11 <br>Core: AAC decoder Wrapper build on Jan 22 2014 15:42:53<br> mime: audio/mpeg, mpegversion=(int){2,4}<br> file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm12_elinux.so.3<br>CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.07.00_CORTEX-A8 build on Sep 18 2013 10:29:53.<br>0:00:03.661798333
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2<br>0:00:03.661971333
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad video push error type -1<br>0:00:03.662043000
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2<br>0:00:03.662131000
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2<br>0:00:03.662215000
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad video push error type -1<br>0:00:03.662342000
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2<br>0:00:03.662432333
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad video push error type -1<br>0:00:03.662498000
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2<br>0:00:03.662570667
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2<br>0:00:03.662647333
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad video push error type -1<br>0:00:03.662720667
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2<br>0:00:03.662801333
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad video push error type -2<br>0:00:03.662877333
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2<br>0:00:03.662969667
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad video push error type -2<br>0:00:03.663036000
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2<br>0:00:03.663106333
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2<br>0:00:03.663181000
772 0x189fcf0 WARN aiurdemux
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad video push error type -2<br>[--->FINALIZE aiurdemux<br>Warning:
"No decoder available for type 'video/x-h264, parsed=(boolean)true,
width=(int)496, height=(int)304, framerate=(fraction)30/1,
stream-format=(string)byte-stream, alignment=(string)au'."<br><br> </div>
<div class="c-MessageCount RPOnMessageCount NoSel"> </div> <div class="v-InboxFooterContainer"> </div> <div id="RightRailContainer" class="c-RightRail RightRailContainerWidth t_sbgc"> <div id="RadAd_Skyscraper" class="RightRailContent"> <div id="adbarContainer"> </div> </div> </div> <div class="reauthenticationDiv"> </div>
<br></div>
</div></body>
</html>