Video freeze while decoding AVC H.264 RTSP stream

VLC for Android and Chrome OS specific usage questions
caraprince
New Cone
New Cone
Posts: 4
Joined: 25 Sep 2014 09:24

Video freeze while decoding AVC H.264 RTSP stream

Postby caraprince » 25 Sep 2014 09:42

Dear all,

I'm implementing an RTSP server which distribute DVB-T to PC or hand-held devices. The stream can be decoded successfully by VLC on PCs. While streaming to VLC on android or iOS, video always freezes on first frame, but audio plays well. I think the video is OK cause if I stream it by HTTP, VLC plays well. The video format is AVC H.264 1080i. I captured the RTP packets by using Wireshark and uploaded it to the following link.
http://1drv.ms/1oiANus

Is there anyone that can help me to check what the problem is? Thanks a lot. :D

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Video freeze while decoding AVC H.264 RTSP stream

Postby edwardw » 01 Oct 2014 08:14

Hello,

You should generate a playback log so that we can see what is going on under the hood.

http://wiki.videolan.org/Android_Report ... _not_crash

sunil sunny
New Cone
New Cone
Posts: 2
Joined: 01 Oct 2014 08:37

Re: Video freeze while decoding AVC H.264 RTSP stream

Postby sunil sunny » 01 Oct 2014 08:56

Hi ,

I am also having issues with the latest vlc version(0.9.9).The videos are staggering a lot while playing Full HD videos (1080 p) on samsung s3,this issue is only when playing the videos in the landscape mode no problem in portrait mode.I created a small video player app using the libvlc from the github and the app created by me also having this exact same issue ,the only error log I am getting is "core video output: picture is too late to be displayed (missing 117 ms)" .I disabled the hardware overlay of the phone and I tried to play the same video and it was playing fine but I don't want to disable that.Any ideas?

PS : There are no problems with videos having resolution 720 p and lower.

Regards

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Video freeze while decoding AVC H.264 RTSP stream

Postby edwardw » 02 Oct 2014 01:30

It might be an issue with your phone's hardware acceleration.

caraprince
New Cone
New Cone
Posts: 4
Joined: 25 Sep 2014 09:24

Re: Video freeze while decoding AVC H.264 RTSP stream

Postby caraprince » 07 Oct 2014 04:48

My problem is solved in VLC 0.9.9 for Android. I don't know why. :shock:
But there is a new problem on VLC 0.9.9. While I stream h264 1080p video to VLC, a hardware acceleration error occurs on Asus Nexus 7 2013. The following is the catlog. It does not happen on my other devices. :?

Code: Select all

10-06 11:38:40.191: W/VLC(8030): core video output: picture is too late to be displayed (missing 304 ms) 10-06 11:38:40.221: W/VLC(8030): core video output: picture is too late to be displayed (missing 293 ms) 10-06 11:38:41.182: W/VLC(8030): rtp demux: 2 packet(s) lost 10-06 11:38:41.182: W/VLC(8030): ts demux: discontinuity received 0xf instead of 0x1 (pid=2001) 10-06 11:38:41.192: D/VLC(8030): rtp demux: ignoring late packet (sequence: 63299) 10-06 11:38:41.192: D/VLC(8030): rtp demux: ignoring late packet (sequence: 63300) 10-06 11:38:41.222: E/OMX-VDEC-1080P(187): OMX_COMPONENT_GENERATE_HARDWARE_ERROR 10-06 11:38:41.222: E/OMX-VDEC-1080P(187): ERROR: Sending OMX_EventError to Client 10-06 11:38:41.222: E/OMX-VDEC-1080P(187): WARNING: Unexpected flush from driver 10-06 11:38:41.222: E/OMX-VDEC-1080P(187): WARNING: Unexpected flush from driver 10-06 11:38:41.222: E/ACodec(8030): [OMX.qcom.video.decoder.avc] ERROR(0x80001009) 10-06 11:38:41.222: E/MediaCodec(8030): Codec reported an error. (omx error 0x80001009, internalError -2147483648) 10-06 11:38:41.222: E/VLC(8030): mediacodec decoder: Exception in MediaCodec.dequeueOutputBuffer (GetOutput) 10-06 11:38:41.222: E/VLC(8030): mediacodec decoder: Exception occurred in MediaCodec.dequeueInputBuffer 10-06 11:38:41.222: E/VLC(8030): mediacodec decoder: Exception in MediaCodec.dequeueOutputBuffer (GetOutput) 10-06 11:38:41.222: W/dalvikvm(8030): threadid=16: thread exiting with uncaught exception (group=0x41731ba8) 10-06 11:38:41.222: E/VLC/VlcCrashHandler(8030): java.lang.NoSuchMethodError: no method with name='eventHardwareAccelerationError' signature='()V' in class Lcom/wnc/sqaplayer/VideoPlayerActivity; 10-06 11:38:41.222: E/VLC/VlcCrashHandler(8030): at dalvik.system.NativeStart.run(Native Method) 10-06 11:38:41.222: E/VLC/VlcCrashHandler(8030): at Android.MODEL(Nexus 7) 10-06 11:38:41.222: E/VLC/VlcCrashHandler(8030): at Android.VERSION(4.4.3) 10-06 11:38:41.222: E/VLC/VlcCrashHandler(8030): at Android.FINGERPRINT(google/razorg/deb:4.4.3/KTU84L/1148727:user/release-keys)

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Video freeze while decoding AVC H.264 RTSP stream

Postby edwardw » 07 Oct 2014 05:11

That is an internal problem with your device's hardware decoder.


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 6 guests