Abnormal frame lost when using HW codec
Hardware: Xiaomi MI4 is a Qualcomm Spandragon 801 based device.
- Software codec: It's smooth and seems no frame lost.
- HW codec: Video playback lags.
- HW codec + DR: The same. Video info: mingdembp:~ ming$ adb pull /sdcard/Android/data/tv.danmaku.bili/download/1715793/2/lua.mp4.bapi.2/0.flv 4558 KB/s (217086482 bytes in 46.503s) mingdembp:~ ming$ ffmpeg -i 0.flv ffmpeg version N-63596-g772d46d Copyright (c) 2000-2014 the FFmpeg developers built on Jul 8 2014 12:51:18 with Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn) configuration: --prefix=/opt/3rdparty/ffmpeg libavutil 52. 87.100 / 52. 87.100 libavcodec 55. 65.100 / 55. 65.100 libavformat 55. 42.100 / 55. 42.100 libavdevice 55. 13.101 / 55. 13.101 libavfilter 4. 5.100 / 4. 5.100 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 Input #0, flv, from '0.flv': Metadata: metadatacreator : Yet Another Metadata Injector for FLV - Version 1.8 hasKeyframes : true hasVideo : true hasAudio : true hasMetadata : true canSeekToEnd : true datasize : 217081297 videosize : 198514574 audiosize : 18158591 lasttimestamp : 1440 lastkeyframetimestamp: 1440 lastkeyframelocation: 217086462 Duration: 00:23:59.98, start: 0.083000, bitrate: 1206 kb/s Stream #0:0: Video: h264 (High), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 1100 kb/s, 23.98 fps, 23.98 tbr, 1k tbn, 48k tbc Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 96 kb/s
Meanwhile older VLC release works well without lagging, version I don't remember but it's around April, 2014. Is there something I can help investigating where the problem is?