Open TaleSnake opened 4 months ago
Only audio speed from 0.25x to 2.00x are supported. Can you please let us know a bit more of your context and environment of use?
Android 14 Galaxy Z Fold 3
Video fps is 435fps 0.25, 0.5, 0.75, 1.5 not working on it
Google Play Store App is Crashed by control playback speed
Description
Thank you for making it. Thanks to this, you can play video that was stuttering smoothly.
how is going on with the video speed control feature?
I tried setting setAvSpeed(2.5f), and log printed "avos_mp_setavspeed: 3.500000" but the playback speed does not change.
`private val videoPreparedListener = IMediaPlayer.OnPreparedListener { VXLog.e(TAG, "player] videoPreparedListener") setPlayState(PlayerState.PREPARED)
}`
If the function exists, is there a wrong way to use the speed control? Is there any information you can refer to?
Additional information
Video: (792KB) ( http://{domain}/video.mp4 ) stream size : 533xx704 codec: H.264 duration : 3s
2024-05-20 13:02:54.219 avos_player D start video at start 2024-05-20 13:02:54.219 NovaPlayer D player] CONFIG OnVideoAspectChanged: 1.0 2024-05-20 13:02:54.219 NovaPlayer D player] CONFIG OnVideoSizeChanged: 704x544 2024-05-20 13:02:54.219 NovaPlayer D player] videoPreparedListener 2024-05-20 13:02:54.219 SwingNovaVideoPlayer player] PREPARED 2024-05-20 13:02:54.219 NovaPlayer D player] getDuration: 3000 2024-05-20 13:02:54.219 SurfaceController D Player] updateSurface 2024-05-20 13:02:54.219 SurfaceController D Player] updateSurface: lcd plugged dw=0, dh=0 2024-05-20 13:02:54.219 SurfaceController D Player] updateSurface: vw=704, vh=544 2024-05-20 13:02:54.219 NovaPlayer D handleMetadata 2024-05-20 13:02:54.220 avos_player D 0xb4000070d080bdf0|avos_mp_setavspeed: 3.500000 2024-05-20 13:02:54.221 NovaPlayer D player] videoPreparedListener.duration: 3000 2024-05-20 13:02:54.221 avos_player D 0xb4000070d080bdf0|avos_mp_start: 2024-05-20 13:02:54.221 NovaPlayer D player] mRefreshRateCheckerAsync: 3000 2024-05-20 13:02:54.225 CCodecConfig D c2 config diff is c2::u32 output.delay.value = 10
set max dequeue count 19 from update 2024-05-20 13:02:54.233 CCodecConfig D c2 config diff is c2::u32 raw.color.matrix = 3 c2::u32 raw.color.primaries = 3 c2::u32 raw.color.range = 2 c2::u32 raw.color.transfer = 3 c2::u32 raw.crop.height = 544 c2::u32 raw.crop.left = 0 c2::u32 raw.crop.top = 0 c2::u32 raw.crop.width = 704 2024-05-20 13:02:54.233 CCodecBuffers com.maumgolf.tupVision.dev D [c2.qti.avc.decoder#566:2D-Output] popFromStashAndRegister: at 0us, output format changed to AMessage(what = 0x00000000) = { int32_t android._color-format = 0 int32_t android._video-scaling = 1 int32_t android._dataspace = 258 int32_t color-standard = 2 int32_t color-range = 2 int32_t color-transfer = 3 int32_t sar-height = 1 int32_t rotation-degrees = 0 Buffer hdr-static-info = { 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000010: 00 00 00 00 00 00 00 00 00 ......... } int32_t sar-width = 1 Rect crop(0, 0, 703, 543) int32_t width = 704 int32_t feature-secure-playback = 0 int32_t frame-rate = 30 int32_t height = 544 int32_t max-height = 4320 int32_t max-width = 8192 string mime = "video/raw" int32_t priority = 0 int32_t color-format = 2130708361 }