Hi, in alpha 4 and RC on RPi2 some MP4 ASP videos don’t get rendered correctly. Switch to SW decoding corrects the issue. Any thoughts? I can send the video, if it helps…
Thanks, Ludek.
Please provide the media info for the file, along with debug logs and upload the info to http://paste.osmc.io
Thanks.
Sorry, I have no idea how to make the requested things. But I simply uploaded the file to http://wikisend.com/download/154312/03_Mokry-DivXCZ.avi. It is < 100 MB.
Works perfectly with software encoding, but the picture gets corrupted with HW decoding. Generally switching to SW is no option, because then no HD content works…
mediainfo would show
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings, BVOP : 2
Format settings, QPel : Yes
Format settings, GMC : 3 warppoints
Format settings, Matrix : Default (MPEG)
Muxing mode : Packed bitstream
Codec ID : XVID
Codec ID/Hint : XviD
The GMC/3 warppoints is the problem. From here
Basically no hardware decoders will handle this file. Ideally we would detect this and fall back to the software decoder, but I’m not sure whether this is possible just from parsing the headers. I’ll look into it.
Thank you for information and your effort. btw. on my win 8.1 kodi the video plays also with hw acceleration activated (but perhaps really gets rendered using sw - the cpu usage is somehow high)
Your PC has different hardware to decode the media.
I’ve written that note about my pc because of
which apparently conflicts with my experience on pc with enabled hw decoding…
btw. any news here? or plans for next rc/final?
Are you sure your PC is decoding it via a hardware accelerated pathway? Press ‘O’ during playback and upload a screenshot of what you see.
Sam
I was never sure, see my previous post.
(but perhaps really gets rendered using sw - the cpu usage is somehow high)
I’ll try at home, now I have no access to kodi at all.
this is from my kodi on win 8.1
That’s software decoding
Add [Solved] to the thread title?
I don’t see anything solved. There is on my pc hw decoding activated, but apparently it switches to SW automatically when needed. This behavior should be also present in osmc, I think (to avoid the annoying manual switching in settings)
This is your problem @ludek
You might get this behavior if you disable OMX acceleration (but keep MMAL acceleration enabled).
Edit: Reading thread again I am probably wrong…
yeah, I know. And I even know, it works seamlessly on my NTB without any switching to SW decoding and I also know, that I must MANUALLY switch so SW decoding in osmc on raspberry to play this video. I also know, that I can’t stay on sw decoding generally, as then no HD content plays. So I would like to have an AUTOMATIC fallback to sw decoding for such hw-incompatible videos, just like the kodi on my notebook does.
I hope, it is enough explained by now…
You must understand, your laptop which probably cost 10x more than your pi and likely has 100x more processing power, compensates for doing the SW decode much better than the Pi can. If you expect Kodi to to be able to differentiate these types of files, as opposed to files that play without issue, and have a player change on the fly based on that then you’ll have to go to Kodi. This is 100% a Kodi issue. Please address it with them. Kodi Community Forum - Raspberry Pi