iMX28 and problem with Gstreamer and Phonon

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX28 and problem with Gstreamer and Phonon

1,411件の閲覧回数
DarioCosta
Contributor II
Hi all, This is my 1st post, and I start with asking help... We designed a custom iMX28 core board to use on our TFT 7". After days of work I have now the system stable with the ltib compiled with all I need, included qt and Phonon. My problem is that if I launch an avi file with gst-launch I can see it correctly, but if I use gplay or Phonon in a qt app (qmediaplayer, the demo of qt that use Phonon) I have a lot of problem and no video. My goal is to have the possibility to manage video inside a qt app, so I need to fix my Phonon problem, I cannot use gst-launch. If I check with gst-inspect | grep mfw, I have: mfw_mpeg4aspdecoder:  mfw_mpeg4aspdecoder: Freescale MPEG4 Decoder mfw_v4lsink:  mfw_v4lsink: Freescale: V4L Sink mfw_h264decoder:  mfw_h264decoder: Freescale    H264 decoder mfw_mp3decoder:  mfw_mp3decoder: freescale mp3 decoder mfw_aacdecoder:  mfw_aacdecoder: Freescale AAC Decoder Plugin So I think the codecs are correct (I compiled all the gstreamer good, bad etc etc). Here there are the test results; the first is the good one, then the second with gplay and no video on fb0, and the third with Phonon: TEST OK gst-launch playbin2 uri=file:///home/user/copter.avi Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Aiur Core Info:   mime: video/x-msvideo   file: lib_avi_parser_arm9_elinux.3.0.so   ver : AVI_PARSER_03.01.10  build on Aug 12 2010 09:51:26 Index table /home/user/copter.avi.aidx imported. MPEG4_ASP_D_01.02.01  build on Dec 21 2010 10:24:16. MFW_GST_MPEG4ASP_DECODER_PLUGIN 1.9.6 build on Oct 27 2011 08:28:22. Movie Info:     Seekable: Yes     Live:     No     Duration: 0:01:39.134000000     ReadMode: File Total Track: 2 Track 00[Video]:     Duration: 0:01:39.000000000     Language: und     Mime:           video/x-divx, divxversion=(int)5, width=(int)480, height=(int)272, framerate=(fr           action)25/1 Track 01[Audio]:     Duration: 0:01:39.134000000     Language: und     Mime:           audio/mpeg, mpegversion=(int)1, channels=(int)2, rate=(int)44100, bitrate=(int)0 BLN_MAD-MMCODECS_MP3D_ARM_02.07.00_ARM9  build on Nov 12 2010 20:57:54. MFW_GST_MP3_DECODER_PLUGIN 1.9.6 build on Oct 27 2011 08:28:16. MFW_GST_V4LSINK_PLUGIN 1.9.6 build on Oct 27 2011 08:28:10. >>V4L_SINK: Actually buffer status:     hardware buffer : 7     software buffer : 0 Pipeline is PREROLLED ... Setting pipeline to PLAYING ... full screen size:800x480 [V4L Update Display]: left=0, top=0, width=800, height=480 New clock: GstAudioSinkClock ^CCaught interrupt -- handling interrupt. Interrupt: Stopping pipeline ... Execution ended after 10042125000 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... Total rendered:250 (gst-launch-0.10:2301): GStreamer-CRITICAL **: gst_mini_object_unref: assertion `mini_object != NULL' failed >>V4L_SINK: All buffer freed, close device. Setting pipeline to NULL ... >>V4L finalize: class finalized. Freeing pipeline ... TEST KO NO VIDEO gplay /home/user/copter.avi ok /home/user/copter.avi playbin is employed! fsl_player_init(): Successfully initialize! fsl_player_set_media_location(): filename=/home/user/copter.avi [Stopped  ][Vol=01][00:00:00/00:00:00]Aiur Core Info:   mime: video/x-msvideo   file: lib_avi_parser_arm9_elinux.3.0.so   ver : AVI_PARSER_03.01.10  build on Aug 12 2010 09:51:26 Index table /home/user/copter.avi.aidx imported. MPEG4_ASP_D_01.02.01  build on Dec 21 2010 10:24:16. MFW_GST_MPEG4ASP_DECODER_PLUGIN 1.9.6 build on Oct 27 2011 08:28:22. Movie Info:     Seekable: Yes     Live:     No     Duration: 0:01:39.134000000     ReadMode: File Total Track: 2 Track 00[Video]:     Duration: 0:01:39.000000000     Language: und     Mime:           video/x-divx, divxversion=(int)5, width=(int)480, height=(int)272, framerate=(fr           action)25/1 Track 01[Audio]:     Duration: 0:01:39.134000000     Language: und     Mime:           audio/mpeg, mpegversion=(int)1, channels=(int)2, rate=(int)44100, bitrate=(int)0 FOUND GST_MESSAGE_TAG!           codec: MP3   language code: und FOUND GST_MESSAGE_TAG!           codec: Divx   language code: und BLN_MAD-MMCODECS_MP3D_ARM_02.07.00_ARM9  build on Nov 12 2010 20:57:54. MFW_GST_MP3_DECODER_PLUGIN 1.9.6 build on Oct 27 2011 08:28:16. [Stopped  ][Vol=01][00:00:00/00:00:00]MFW_GST_V4LSINK_PLUGIN 1.9.6 build on Oct 27 2011 08:28:10. ** (:2308): WARNING **: could not link video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ]: -2 Total rendered:0 >>V4L finalize: class finalized. FOUND GST_MESSAGE_TAG!     audio codec: MPEG 1 Audio, Layer 3 (MP3) FOUND GST_MESSAGE_TAG!         bitrate: 128000         has crc: FALSE    channel mode: joint-stereo FOUND GST_MESSAGE_TAG!     audio codec: MPEG-1 Layer 3         bitrate: 128000 sampling frequency (Hz): 44100 number of channels: 2 [Stopped  ][Vol=01][00:00:00/00:01:39]fsl_player_play() FSL_PLAYER_01.00_LINUX build on Oct 27 2011 08:28:25     [h]display the operation Help     [p]Play     [s]Stop     [e]Seek     [a]Pause when playing, play when paused     [v]Volume     [m]Switch to mute or not     [>]Play next file     [<]Play previous file     [r]Switch to repeated mode or not     [f]Set full screen or not     [z]resize the width and height     [t]Rotate     [i]Display the metadata     [x]eXit [Playing  ][Vol=01][00:00:11/00:01:39]x (:2308): GStreamer-CRITICAL **: gst_mini_object_unref: assertion `mini_object != NULL' failed (:2308): GStreamer-CRITICAL **: Trying to dispose object "volume", but it still has a parent "abin". You need to let the parent manage the object instead of unreffing the object directly. fsl_player_stop() FSL_PLAYER_UI_MSG_EXIT player_exit(): No more multimedia files, exit. g_main_loop_thread_fun() quit! fsl_player_deinit TEST KO WITH QMEDIAPLAYER ./qmediaplayer -qws Initializing QFontEngineQPF failed for /usr/local/Trolltech/qt-everywhere-opensource-src-4.7.4/lib/fonts/DejaVuSans.ttf Initializing QFontEngineQPF failed for /usr/local/Trolltech/qt-everywhere-opensource-src-4.7.4/lib/fonts/DejaVuSans-Bold.ttf QDesktopServices::storageLocation 4 not implemented Aiur Core Info:   mime: video/x-msvideo   file: lib_avi_parser_arm9_elinux.3.0.so   ver : AVI_PARSER_03.01.10  build on Aug 12 2010 09:51:26 Index table /home/user/copter.avi.aidx[size:7012] exported. MPEG4_ASP_D_01.02.01  build on Dec 21 2010 10:24:16. MFW_GST_MPEG4ASP_DECODER_PLUGIN 1.9.6 build on Oct 27 2011 08:28:22. Movie Info:     Seekable: Yes     Live:     No     Duration: 0:01:39.134000000     ReadMode: File Total Track: 2 Track 00[Video]:     Duration: 0:01:39.000000000     Language: und     Mime:           video/x-divx, divxversion=(int)5, width=(int)480, height=(int)272, framerate=(fr           action)25/1 Track 01[Audio]:     Duration: 0:01:39.134000000     Language: und     Mime:           audio/mpeg, mpegversion=(int)1, channels=(int)2, rate=(int)44100, bitrate=(int)0 BLN_MAD-MMCODECS_MP3D_ARM_02.07.00_ARM9  build on Nov 12 2010 20:57:54. MFW_GST_MP3_DECODER_PLUGIN 1.9.6 build on Oct 27 2011 08:28:16. ** (:2318): WARNING **: ffmpegcsp1: size 233472 is not a multiple of unit size 195840 (:2318): GStreamer-CRITICAL **: gst_mini_object_unref: assertion `mini_object != NULL' failed I don't know where I did error.... Have someone idea? Regards Dario
タグ(1)
0 件の賞賛
返信
1 返信

761件の閲覧回数
AlbertoFontan
Contributor I

Hello,

Do you solve this problem?? I have similar problem. I have compiled Qt with phonon and gstreamer and fsl plugins for imx53. If I play any video with playbin2, all is ok, but when I try use Qt with phonon libraries video is very slow  and the color video is incorrect. Qt with phonon only works with music .mp3 files.

Can anyone help me??

Thank you

0 件の賞賛
返信