imx6-sabreSD android play rtsp stream issue

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

imx6-sabreSD android play rtsp stream issue

ソリューションへジャンプ
1,807件の閲覧回数
huangjacky
Contributor III

Dear All:

I have setup a rtsp server which can be play normally by others ARM platform , however, I got problem when I use imx6 android to play it.

my apk play the rtsp stream by the Android mediaplayer API.

Below is the logcat information:

V/EMemoryPower( 2534): VideoSequence----->0:0

I/caikq   ( 2534): setVideoURI-------------------rtsp://admin:123456@192.168.0.123:554/mpeg4

I/caikq   ( 2534): ----------------------------openvideo----------------------

V/VVV EVideoView( 2534): reset duration to -1 in openVideo

D/MediaPlayer( 2534): Couldn't open file on client side, trying server side

I/OMXPlayer( 2235): Loading content: rtsp://admin:123456@192.168.0.123:554/mpeg4

I/VVV EVideoView( 2534): 旧播放位置:-1------当前播放位置=0

E/tips    ( 2594): id----->30

E/tips    ( 2594): id----->35

I/OMXPlayer( 2235): LEVEL: 1 FUNCTION: InstanceInit LINE: 75

I/OMXPlayer( 2235): InitStreaming failed.

I/OMXPlayer( 2235): LEVEL: 1 FUNCTION: SysEventHandler LINE: 1336

I/OMXPlayer( 2235): OMX.Freescale.std.parser.streaming.sw-based report Error 80001020.

I/OMXPlayer( 2235): LEVEL: 1 FUNCTION: Load LINE: 598

I/OMXPlayer( 2235): Can't load content rtsp://admin:123456@192.168.0.123:554/mpeg4

I/OMXPlayer( 2235): Stop Player.

E/MediaPlayer( 2534): error (-2147483648, 0)

E/MediaPlayer( 2534): Error (-2147483648,0)

D/VVV EVideoView( 2534): Error: -2147483648,0

E/eten    ( 2534): ------------------------播放出现错误-----------------

V/EMemoryPower( 2534): VideoSequence----->0:0

I/caikq   ( 2534): setVideoURI-------------------rtsp://admin:123456@192.168.0.123:554/mpeg4

I/caikq   ( 2534): ----------------------------openvideo----------------------

V/VVV EVideoView( 2534): reset duration to -1 in openVideo

D/MediaPlayer( 2534): Couldn't open file on client side, trying server side

I/OMXPlayer( 2235): Loading content: rtsp://admin:123456@192.168.0.123:554/mpeg4

the error  information is report by the OMXPlayer.

pls help me to check out what problem occur  in the OMXPlayer!

Thanks!

ラベル(3)
タグ(3)
0 件の賞賛
1 解決策
816件の閲覧回数
juangutierrez
NXP Employee
NXP Employee

Well, the error reported by the OMXPlayer is Error 80001020 which is OMX_ErrorFormatNotDetected. It means that the format of the input stream cannot be parsed or determined. However, this error seems to be happening AFTER an error from the MediaPlayer which seems to be while opening the file:   D/MediaPlayer( 2534): Couldn't open file on client side, trying server side. So not sure ig the stream cannot be parsed because it is failing in first place to read the file. Are you sure the video file can be opened properly?

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
817件の閲覧回数
juangutierrez
NXP Employee
NXP Employee

Well, the error reported by the OMXPlayer is Error 80001020 which is OMX_ErrorFormatNotDetected. It means that the format of the input stream cannot be parsed or determined. However, this error seems to be happening AFTER an error from the MediaPlayer which seems to be while opening the file:   D/MediaPlayer( 2534): Couldn't open file on client side, trying server side. So not sure ig the stream cannot be parsed because it is failing in first place to read the file. Are you sure the video file can be opened properly?

0 件の賞賛
816件の閲覧回数
huangjacky
Contributor III

Thanks for your reply,  I'm sure the video url can be open,  we setup the rtsp server and it has be tested in some arm platform

0 件の賞賛