Jump to content

Recommended Posts

Posted (edited)

Just to add if I try skipping forward it trips up and goes back to software decoding. Tried adjusting CMA buffers (128mb) but this just leads to the system crashing.

 

[lavf] queuing seek to 243.633333
[lavf] execute seek (to 243.633333 flags 4)
[lavf] seek done
[file] stream level seek from 32352085 to 32875635
[vd] Pixel formats supported by decoder: vdpau vaapi drm_prime yuv420p
[vd] Codec profile: Main (0x4d)
[vd] Requesting pixfmt 'drm_prime' from decoder.
[ffmpeg/video] h264: v4l2_request_try_format: pixelformat 842094158 not supported for type 1
[ffmpeg/video] h264: v4l2_request_buffer_alloc: create buffers failed for type 1, Cannot allocate memory (12)
[ffmpeg/video] h264: Failed setup for format drm_prime: hwaccel initialisation returned error.
[vd] Pixel formats supported by decoder: vdpau vaapi yuv420p yuv420p
[vd] Codec profile: Main (0x4d)
[vd] Requesting pixfmt 'yuv420p' from decoder.
[statusline] (Paused) V: 00:04:03 / 01:24:45 (5%)
[osd/libass] libass API version: 0x1701000
[osd/libass] libass source: tarball: 0.17.1
[vd] Falling back to software decoding.
[vd] Detected 2 logical cores.

 

Edited by Ryzer
Posted

Right will give it another go. Turns out adjusting the CMA is not straightforward in the case of the A10 or A20. The Video Engine can only access the first 256mb of memory, which is addressed via a DMA pool in the respective dtsi files. Anything higher than the default 96mb causes it become dissociated from the DMA pool. i suspect that's what lead to my earlier crashes.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines