[meta-freescale] qtmultimedia 5.3.2 can not play video

zarelaky zarelaky at hotmail.com
Tue Nov 25 00:04:37 PST 2014




my develop environment:
yocto-layer(daisy)
qt5.3.2(ported)
meta-ivi(daisy)
distro poky-ivi-systemd
I got error log below.  someone ? any ideas ?

ops ! I change some code in qvideosurfacegstsink.cpp
=============================
    foreach (QVideoFrame::PixelFormat format, supportedFormats) {
        int index = indexOfYuvColor(format);

        if (index != -1) {
            gst_caps_append_structure(caps, gst_structure_new(
#if GST_CHECK_VERSION(1,0,0)
                    "video/x-raw",
#else
                    "video/x-raw-yuv",
#endif
                    "framerate", GST_TYPE_FRACTION_RANGE, 0, 1, INT_MAX, 1,
                    "width"    , GST_TYPE_INT_RANGE, 1, INT_MAX,
                    "height"   , GST_TYPE_INT_RANGE, 1, INT_MAX,
#if GST_CHECK_VERSION(1,0,0)
                    "format"   , G_TYPE_STRING, gst_video_format_to_string(qt_yuvColorLookup[index].vfmt),
#else
                    "format"   , G_TYPE_UINT, qt_yuvColorLookup[index].fourcc, //("format" from G_TYPE_STRING to G_TYPE_UINT
#endif
                    NULL));
            continue;
        }
=============================

./qmlvide o -platform eglfs
QEglFSImx6Hooks will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
 If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
qrc:///qml/qmlvideo/DisableScreenSaver.qml:43:1: module "QtSystemInfo" is not installed
qml: [qmlvideo] performanceLoader.init logging false visible true
[frequencymonitor] FrequencyMonitor::FrequencyMonitor
[frequencymonitor] FrequencyMonitor::FrequencyMonitor
qml: [qmlvideo] main.onSceneSourceChanged source VideoBasic.qml
qml: [qmlvideo] Content.initialize: contentType video
qml: [qmlvideo] Content.initialize: loading VideoItem.qml
QGstreamerVideoWindow (null)
0:00:00.500651666  
 772  0x188da20 WARN             mfw_v4lsink 
mfw_gst_v4lsink.c:303:mfw_gst_v4l2sink_query_support_formats: 
unrecognized format:[Y444]YUV444
MFW_GST_V4LSINK_PLUGIN 3.0.11 build on Nov 13 2014 13:09:05.
qml: [qmlvideo] Content.initialize: complete
qml: [qmlvideo] SceneBasic.onClicked, started = false
qml: [qmlvideo] Content.start
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
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
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}
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}

(qmlvideo:772): GStreamer-CRITICAL **: gst_debug_log_valist: assertion 'category != NULL' failed
Aiur: 3.0.11 
Core: BLN_MAD-MMLAYER_FLVPARSER_ARM11_01.09.02  build on Sep 26 2013 06:32:16
  mime: video/x-flv
  file: /usr/lib/imx-mm/parser/lib_flv_parser_arm11_elinux.so.3.1
Content Info:
    URI:
          file:///home/root/video/2.flv
    Idx File:
          /home/root/.aiur/.home.root.video.2.flv.aidx
    Seekable  : Yes
    Size(byte): 7535218

0:00:03.244964333  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:3811:aiurdemux_loop_state_header: Warning: 
API[initializeIndex] not implement!
0:00:03.245244333   772  
0x189fcf0 WARN               aiurdemux 
aiurdemux.c:3503:aiurdemux_set_readmode: API[setReadMode] failed, ret=-6
0:00:03.245378333   772  0x189fcf0 ERROR              aiurdemux aiurdemux.c:3524:aiurdemux_set_readmode: ***final file mode
0:00:03.245483667  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:3822:aiurdemux_loop_state_header: Warning: 
API[getNumPrograms] not implement!
Movie Info:
    Seekable  : Yes
    Live      : No
    Duration  : 0:03:35.899000000
    ReadMode  : File
    Track     : 2

0:00:03.246282667  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:3343:aiurdemux_parse_streams: Warning: API[getLanguage] not 
implement!
0:00:03.246426667   772  0x189fcf0 WARN               
aiurdemux aiurdemux.c:2926:aiurdemux_parse_audio: Warning: 
API[getAudioBitsPerSample] not implement!
Track 00 [audio_000000] Enabled
    Duration: 0:03:35.899000000
    Language: 
    Mime:
          audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)22050, bitrate=(int)0
          , framed=(boolean)true, stream-format=(string)raw, codec_data=(buffer)139056e5a5
          4800
0:00:03.265367333  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:3343:aiurdemux_parse_streams: Warning: API[getLanguage] not 
implement!
Track 01 [video_000000] Enabled
    Duration: 0:03:35.899000000
    Language: 
    Mime:
          video/x-h264, parsed=(boolean)true, width=(int)496, height=(int)304, framerate=(
          fraction)30/1
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 
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 
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'.
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 at 0x67e14020>
 No conversion elements
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
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
qml: [qmlvideo] VideoItem.onError error 2 errorString Cannot play stream of type: <unknown>
qml: [qmlvideo] Content.onFatalError
qml: [qmlvideo] Content.stop
Beep: 3.0.11 
Core: AAC decoder Wrapper  build on Jan 22 2014 15:42:53
  mime: audio/mpeg, mpegversion=(int){2,4}
  file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm12_elinux.so.3
CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.07.00_CORTEX-A8  build on Sep 18 2013 10:29:53.
0:00:03.661798333  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2
0:00:03.661971333  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad video push error type -1
0:00:03.662043000  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2
0:00:03.662131000  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2
0:00:03.662215000  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad video push error type -1
0:00:03.662342000  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2
0:00:03.662432333  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad video push error type -1
0:00:03.662498000  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2
0:00:03.662570667  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2
0:00:03.662647333  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad video push error type -1
0:00:03.662720667  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2
0:00:03.662801333  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad video push error type -2
0:00:03.662877333  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2
0:00:03.662969667  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad video push error type -2
0:00:03.663036000  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2
0:00:03.663106333  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad audio push error type -2
0:00:03.663181000  
 772  0x189fcf0 WARN               aiurdemux 
aiurdemux.c:4095:aiurdemux_push_pad_buffer: Pad video push error type -2
[--->FINALIZE aiurdemux
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'."

 		 	   		  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              


        
    
    

    










  

    
    
  

  
                                                                                                                        


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20141125/7b585f83/attachment-0001.html>


More information about the meta-freescale mailing list