Kodi Community Forum

Full Version: android 4.4.2 Hisilicon Hi3796MV100
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi
experts,help me!
problem with VC 1 Codec
all others сodec OK. Using KODI 16.1

SOURCE_ID
19:53:12 T:1380968416 DEBUG: CDVDDemuxFFmpeg::AddStream(0, ...) -> 0
19:53:12 T:1380968416 DEBUG: CDVDDemuxFFmpeg::AddStream(1, ...) -> 1
19:53:12 T:1380968416 DEBUG: CDVDDemuxFFmpeg::AddStream(2, ...) -> 2
19:53:12 T:1380968416 DEBUG: CDVDInputStreamFile::SetReadRate - set cache throttle rate to 2407631 bytes per second
19:53:12 T:1380968416 NOTICE: Opening stream: 0 source: 256
19:53:12 T:1380968416 NOTICE: Creating video codec with codec id: 71
19:53:12 T:1380968416 DEBUG: CDVDFactoryCodec: compiled in hardware support: AMCodec:yes MediaCodec:yes OpenMax:no libstagefright:no VDPAU:no VAAPI:no iMXVPU:no MMAL:no
19:53:12 T:1380968416 INFO: MediaCodec Video Decoder...
19:53:12 T:1380968416 DEBUG: FactoryCodec - Video: mediacodec - Opening
19:53:13 T:1380968416 ERROR: CDVDVideoCodecAndroidMediaCodec:: Failed to create Android MediaCodec
19:53:13 T:1380968416 DEBUG: FactoryCodec - Video: amc-vc1 - Failed
19:53:13 T:1380968416 DEBUG: FactoryCodec - Video: - Opening
19:53:13 T:1380968416 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: SMPTE VC-1
19:53:13 T:1380968416 DEBUG: CDVDVideoCodecFFmpeg - open frame threaded with 4 threads
19:53:13 T:1380968416 DEBUG: FactoryCodec - Video: ff-vc1 - Opened
19:53:13 T:1380968416 NOTICE: Creating video thread
19:53:13 T:1374674200 DEBUG: Thread DVDPlayerVideo start, auto delete: false
19:53:13 T:1380968416 NOTICE: Opening stream: 1 source: 256
19:53:13 T:1380968416 NOTICE: Finding audio codec for: 86019
19:53:13 T:1374674200 NOTICE: running thread: video_thread
19:53:13 T:1380968416 DEBUG: FactoryCodec - Audio: passthrough - Opening
19:53:13 T:1380968416 DEBUG: FactoryCodec - Audio: passthrough - Failed
19:53:13 T:1380968416 DEBUG: FactoryCodec - Audio: FFmpeg - Opening
19:53:13 T:1380968416 DEBUG: FactoryCodec - Audio: FFmpeg - Opened
19:53:13 T:1380968416 NOTICE: Creating audio thread
19:53:13 T:1374674200 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
19:53:13 T:1380968416 NOTICE: Opening stream: 2 source: 256
19:53:13 T:1381870672 DEBUG: Thread DVDPlayerAudio start, auto delete: false
19:53:13 T:1381870672 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
19:53:13 T:1380968416 DEBUG: FactoryCodec - Overlay: FFmpeg Subtitle Decoder - Opening
19:53:13 T:1381870672 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
19:53:13 T:1380968416 DEBUG: FactoryCodec - Overlay: FFmpeg Subtitle Decoder - Opened

Very laggy

19:57:04 T:1380968416 DEBUG: CDVDPlayer::HandleMessages - player started 2
19:57:05 T:1381870672 DEBUG: CDVDClock:Big Griniscontinuity - CDVDPlayerAudio::HandleSyncError2 - was:235363216.213653, should be:235350897.285978, error:-12318.927675
19:57:20 T:1381870672 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:57:21 T:1380968416 WARNING: Previous line repeats 1 times.
19:57:21 T:1380968416 DEBUG: CDVDPlayer::HandlePlaySpeed - audio stream stalled, triggering re-sync
19:57:21 T:1374674200 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
19:57:21 T:1380968416 DEBUG: CDVDPlayer::SetCaching - caching state 3
19:57:21 T:1381870672 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
19:57:21 T:1380968416 DEBUG: CDVDPlayer::HandleMessages - player started 2
19:57:21 T:1380968416 DEBUG: CDVDPlayer::SetCaching - caching state 4
19:57:21 T:1374674200 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(251376000.000000, 0)
19:57:21 T:1381870672 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(251360000.000000, 1)
19:57:21 T:1380968416 DEBUG: CDVDPlayer::HandleMessages - player started 1
19:57:21 T:1380968416 DEBUG: CDVDPlayer::SetCaching - caching state 0
19:57:21 T:1381870672 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 32
19:57:21 T:1381870672 NOTICE: Previous line repeats 4 times.
19:57:21 T:1381870672 DEBUG: CDVDPlayerAudio::HandleSyncError - average error -8251.800158 below threshold of 50000.000000
19:57:45 T:1381870672 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:57:45 T:1380968416 DEBUG: CDVDPlayer::HandlePlaySpeed - audio stream stalled, triggering re-sync
19:57:46 T:1380968416 ERROR: CDVDMsgGeneralSynchronize - timeout
19:57:46 T:1381870672 ERROR: Previous line repeats 1 times.
19:57:46 T:1381870672 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
19:57:46 T:1374674200 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
19:57:46 T:1380968416 DEBUG: CDVDPlayer::SetCaching - caching state 3
19:57:46 T:1380968416 DEBUG: CDVDPlayer::HandleMessages - player started 2
19:57:46 T:1380968416 DEBUG: CDVDPlayer::HandleMessages - player started 1
19:57:46 T:1380968416 DEBUG: CDVDPlayer::SetCaching - caching state 4
19:57:46 T:1381870672 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(276672000.000000, 1)
19:57:46 T:1374674200 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(276693000.000000, 0)
19:57:46 T:1381870672 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 32
19:57:46 T:1381870672 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:57:46 T:1381870672 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 32
19:57:46 T:1380968416 NOTICE: Previous line repeats 1 times.
19:57:46 T:1380968416 DEBUG: CDVDPlayer::SetCaching - caching state 0
19:57:46 T:1381870672 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 32
19:57:46 T:1381870672 NOTICE: Previous line repeats 1 times.
19:57:46 T:1381870672 DEBUG: CDVDPlayerAudio::HandleSyncError - average error -12003.550268 below threshold of 50000.000000
19:57:46 T:1381870672 DEBUG: CDVDClock:Big Griniscontinuity - CDVDPlayerAudio::HandleSyncError2 - was:276801904.250000, should be:276789903.366732, error:-12000.883268
19:57:47 T:1381870672 DEBUG: CDVDClock:Big Griniscontinuity - CDVDPlayerAudio::HandleSyncError2 - was:277814737.991732, should be:277826409.826728, error:11671.834996
19:58:01 T:1381870672 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:58:01 T:1380968416 WARNING: Previous line repeats 1 times.
19:58:01 T:1380968416 DEBUG: CDVDPlayer::HandlePlaySpeed - audio stream stalled, triggering re-sync
19:58:01 T:1381870672 ERROR: CDVDMsgGeneralSynchronize - timeout
19:58:01 T:1374674200 ERROR: Previous line repeats 1 times.
19:58:01 T:1374674200 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
19:58:01 T:1381870672 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
19:58:01 T:1380968416 DEBUG: CDVDPlayer::SetCaching - caching state 3
19:58:01 T:1380968416 DEBUG: CDVDPlayer::HandleMessages - player started 2
19:58:01 T:1380968416 DEBUG: CDVDPlayer::SetCaching - caching state 4
19:58:01 T:1374674200 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(292375000.000000, 0)
19:58:01 T:1381870672 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(292352000.000000, 1)
19:58:01 T:1380968416 DEBUG: CDVDPlayer::HandleMessages - player started 1
19:58:01 T:1381870672 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 32
19:58:01 T:1381870672 NOTICE: Previous line repeats 1 times.
19:58:01 T:1381870672 DEBUG: CDVDPlayerAudio::HandleSyncError - average error -18631.666180 below threshold of 50000.000000
19:58:01 T:1380968416 DEBUG: CDVDPlayer::SetCaching - caching state 0
19:58:01 T:1381870672 DEBUG: CDVDClock:Big Griniscontinuity - CDVDPlayerAudio::HandleSyncError2 - was:292478550.958000, should be:292459921.708820, error:-18629.249180
19:58:02 T:1381870672 DEBUG: CDVDPlayerAudio::HandleSyncError - average error -116173.480248 above threshold of 100000.000000
19:58:02 T:1381870672 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 32
19:58:02 T:1381870672 NOTICE: Previous line repeats 3 times.
19:58:02 T:1381870672 DEBUG: CDVDPlayerAudio::HandleSyncError - average error -24453.033144 below threshold of 50000.000000
19:58:02 T:1381870672 DEBUG: CDVDClock:Big Griniscontinuity - CDVDPlayerAudio::HandleSyncError2 - was:293611796.875820, should be:293587347.092675, error:-24449.783145
19:58:03 T:1381870672 DEBUG: CDVDClock:Big Griniscontinuity - CDVDPlayerAudio::HandleSyncError2 - was:294610870.010675, should be:294646999.719853, error:36129.709177
Solution - ask HiSilicon to fix it in their Firmware.
VC-1 is one of the worst supported compression formats getting about for cheap and old Android devices.

A lot of work went into fixing up VC-1 playback recently for AMLogic S8xx/S9xx devices running LibreELEC. AMLogic even provided Linux Kernel patches to LibreELEC developers to fix VC-1 playback.
Thanks, I'll try to address through openboxfan