Page 1 of 1

Video freeze while decoding AVC H.264 RTSP stream

Posted: 25 Sep 2014 09:42
by caraprince
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

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

Posted: 01 Oct 2014 08:14
by edwardw
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

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

Posted: 01 Oct 2014 08:56
by sunil sunny
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

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

Posted: 02 Oct 2014 01:30
by edwardw
It might be an issue with your phone's hardware acceleration.

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

Posted: 07 Oct 2014 04:48
by caraprince
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)

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

Posted: 07 Oct 2014 05:11
by edwardw
That is an internal problem with your device's hardware decoder.