AnsweredAssumed Answered

i.MX6 mxc-vpu-test video streaming problems.

Question asked by William Ho on Jun 19, 2014
Latest reply on Mar 31, 2015 by Jamie Whitham

Dear all,

 

I got some problems about streaming functions of mxc-vpu-test.

Here is my test environment:

[Camera] ---->[i.MX6Q]---[mxc-vpu-test] ....(wifi)....[PC]----[VLC player]

 

*Server setup :

Platform: i.MX6Q  with Android BSP android-imx6-jb4.3-1.0.0. 

Video input: Camera with CVBS interface, device node: /dev/video0

Internet: WIFI connection, 192.168.1.12/24

Server command:  mxc-vpu-test -E '-x 0 -w 720 -h 480 -f 1 -n 239.255.12.42 -p 5555'

 

*Client setup :

Platform:  PC, ubuntu 12.04

Internet: WIFI connection,  192.168.1.20/24

Client command:   cvlc -v udp://@239.255.12.42:5555 

 

The client can display camera video via UDP video streaming.

There are some problems I met now:

1. I got  delay ( >10 seconds ) for UDP multicast stream.

I will upload a video about this issue.

Is there any ideas about how to reduce it?

   

2. Not every streaming transcends works.

In my testing, only MPEG4  and  H.263 works now, otherwise the vlc will return errors.

 

3. I got lots complaint message from VLS at clients:

How to setup VLC player to fix these warning? 

 

Ex 1:  Server sent H.263 streaming: 

> cvlc -v udp://@239.255.12.42:5555 

VLC media player 2.0.8 Twoflower (revision 2.0.8a-0-g68cf50b)

[0x20f8a58] main services discovery error: no suitable services discovery module

[0x205b3e8] dummy interface: using the dummy interface module...

[h263 @ 0x7f5dd402e380] warning: first frame is no keyframe

[h263 @ 0x7f5dd40230a0] max_analyze_duration reached

[h263 @ 0x7f5dd40230a0] Estimating duration from bitrate, this may be inaccurate

[0x7f5dd40013d8] access_udp access warning: unimplemented query in control

[h263 @ 0x7f5dd4037ea0] warning: first frame is no keyframe

[h263 @ 0x7f5dd4037ea0] Bad picture start code

[h263 @ 0x7f5dd4037ea0] header damaged

[0x7f5dd402d828] avcodec decoder warning: cannot decode one frame (12 bytes)

[h263 @ 0x7f5dd4037ea0] Bad picture start code

[h263 @ 0x7f5dd4037ea0] header damaged

……

 

Ex 2:  Server sent MPEG4 streaming, client fails

> cvlc -v udp://@239.255.12.42:5555 

VLC media player 2.0.8 Twoflower (revision 2.0.8a-0-g68cf50b)

[0xed5a58] main services discovery error: no suitable services discovery module

[0xe383e8] dummy interface: using the dummy interface module...

[0x7fa4ec002278] ps demux warning: this does not look like an MPEG PS stream, continuing anyway

[0x7fa4ec0015d8] access_udp access warning: unimplemented query in control

[0x7fa4ec002278] ps demux warning: garbage at input, trying to resync...

 

Ex 3:  Server sent MPEG4 streaming with warning...

> cvlc -v udp://@239.255.12.42:5555 

VLC media player 2.0.8 Twoflower (revision 2.0.8a-0-g68cf50b)

[0x20caa58] main services discovery error: no suitable services discovery module

[0x202d3e8] dummy interface: using the dummy interface module...

[m4v @ 0x7f1b2c0211c0] max_analyze_duration reached

[m4v @ 0x7f1b2c0211c0] Estimating duration from bitrate, this may be inaccurate

[0x7f1b2c0013d8] access_udp access warning: unimplemented query in control

[0x7f1b28000c28] main video output warning: picture is too late to be displayed (missing 48 ms)

[0x7f1b28000c28] main video output warning: picture is too late to be displayed (missing 4052 ms)

[0x7f1b28000c28] main video output warning: picture is too late to be displayed (missing 4012 ms)

….

Outcomes