How to avoid mosaic/blur when playing online video

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to avoid mosaic/blur when playing online video

444 Views
lqll
Contributor III

hi all

My environment is i.MX6Q and Android 4.4.2.
When I use Android videoView to play UDP online video(H264,4M bitrate),some frames(not very much frames but obvious can find) are mosaic/blur, but when I play the same video local at the sdcard/sata,it does not have this problem and it's fluency.

I am sure my cable network is ok,I checked ifconfig,there is no errors or dropped Rx packets.

I've been changed android/external/fsl_imx_omx/lib_ffmpeg/libavformat/udp.c

-#define UDP_TX_BUF_SIZE 32768
-#define UDP_MAX_PKT_SIZE 1048576

+#define UDP_TX_BUF_SIZE 4194304
+#define UDP_MAX_PKT_SIZE 4194304

but it's not working for me,so it's not buffer problem.

So,anybody know how to solve this problem,please tell me,thank you very much!

Labels (2)
0 Kudos
1 Reply

372 Views
diegoadrian
NXP Employee
NXP Employee

Hello

Unfortunately, we cannot help you with your problem. Our support does not contemplate something related with the Android application development. I apologize for this inconvenient.

Best Regards,

Diego 

0 Kudos