mrmaffen / vlc-android-sdk

VLC Android SDK pushed to Maven Central. Primarily used in project tomahawk-android.
793 stars 244 forks source link

RTSP streaming through WAN is not working working properly #103

Open VikashKumar0 opened 6 years ago

VikashKumar0 commented 6 years ago

I'm playing RTSP streaming in vlc media player version 2.1.10. Some time it's playing well but some time it's playing only audio and showing only one frame of video. Some time it's playing only video.

These are the loges when i play stream then it fetch one frame of video and audio is coming continuously.

10-26 17:26:11.162 1740-17793/com.halo.app E/VLC: [b7c4e170/4581] mediacodec decoder: output: 2141391876 unknown, 640x480 stride 640 480, crop 0 0 0 0 10-26 17:26:11.162 1740-17793/com.halo.app D/VLC: [b7c4e170/4581] core decoder: Received first picture 10-26 17:26:11.162 1740-17793/com.halo.app E/VLC: [b7c4e170/4581] core decoder: Timestamp conversion failed (delay 1500000, buffering 100000, bound 9000000) 10-26 17:26:11.162 1740-17793/com.halo.app E/VLC: [b7c4e170/4581] core decoder: Could not convert timestamp 171747692736 for mediacodec 10-26 17:26:11.163 1740-17787/com.halo.app D/VLC: [b7fca270/457b] core video output: Detected interlaced video 10-26 17:26:11.163 1740-17787/com.halo.app D/VLC: [b7fca270/457b] core video output: deinterlace 0, mode blend, is_needed 1 10-26 17:26:11.437 1740-17746/com.halo.app D/VLC: [b7bafb00/4552] core input: Buffering 85% 10-26 17:26:11.731 1740-17746/com.halo.app D/VLC: [b7bafb00/4552] core input: Stream buffering done (1600 ms in 1743 ms) 10-26 17:26:11.731 1740-17746/com.halo.app D/VLC: [b7bafb00/4552] core input: Decoder wait done in 0 ms 10-26 17:26:11.732 1740-17793/com.halo.app E/VLC: [b7c4e170/4581] core decoder: Timestamp conversion failed (delay 1500000, buffering 100000, bound 9000000) 10-26 17:26:11.732 1740-17793/com.halo.app E/VLC: [b7c4e170/4581] core decoder: Could not convert timestamp 171747979896 for mediacodec 10-26 17:26:11.732 1740-17793/com.halo.app W/VLC: [b7c4e170/4581] core decoder: early picture skipped 10-26 17:26:11.733 1740-17793/com.halo.app E/VLC: [b7c4e170/4581] core decoder: Timestamp conversion failed (delay 1500000, buffering 100000, bound 9000000) 10-26 17:26:11.733 1740-17793/com.halo.app E/VLC: [b7c4e170/4581] core decoder: Could not convert timestamp 171748013229 for mediacodec

Can any one tell me solution of it? @mrmaffen Can you check this issue?