![]() |
Solved Mpeg 2 files fail to play with adsp enabled - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +---- Forum: Audio DSP (https://forum.kodi.tv/forumdisplay.php?fid=235) +---- Thread: Solved Mpeg 2 files fail to play with adsp enabled (/showthread.php?tid=276031) |
Mpeg 2 files fail to play with adsp enabled - scarface_one - 2016-05-23 Problem - mpeg 2 video files (MakeMKV DVD rips, SD trailers from demo-world.eu, etc.) fail to play when adsp is enabled on a Raspberry Pi 2, but playback perfectly with adsp disabled. These are files with mpeg 2 video and ac3 audio in MKV, VOB or M2TS containers. OMX doesn't play the video stream, the audio steam is played with adsp. MMAL causes a crash. These video file playback perfectly on a Mac with kodi 16.1 and adsp.basic enabled. You can get a sample to test from here Setup - Raspberry Pi 2 running LibreELEC 7.0.1, adsp enabled with adsp.basic filter. mpeg 2 licence not purchased. Debug log - OMX - http://sprunge.us/IJGe MMAL - http://sprunge.us/HXRO RE: Mpeg 2 files fail to play with adsp enabled - AchimTuran - 2016-05-23 What do you mean with fail? Does Kodi crash? Can you please try it without active Audio DSP add-ons. RE: Mpeg 2 files fail to play with adsp enabled - scarface_one - 2016-05-24 I think my post wasn't clear, so I'll clarify. By fail, I mean that the files don't play like they should. The results vary depending on the Hardware Acceleration options I choose - OMX or MMAL. MMAL causes kodi to crash, OMX plays only the audio, without video. As I said in the previous post, with adsp addons disabled, the videos playback perfectly on the pi. These are all 480p or 576p mpeg2 videos. These issues do not occur with h.264/mp4 files. UPDATE - read next post RE: Mpeg 2 files fail to play with adsp enabled - scarface_one - 2016-05-24 I did some quick testing and I found something interesting - It appears Kodi crashes when software decoding is used along with Audio DSP addons. I forced the software decoder by disabling both MMAL and OMX. Playing any file (h.264, mpeg2, etc.) like this while Audio DSP is enabled causes a crash, while with Audio DSP disabled the files play perfectly. Maybe Audio DSP is doing something wrong when software decoding is used? btw, I love Audio DSP, I use adsp.basic to downmix 5.1 sources to Dolby ProLogic II, and when it works it is brilliant. RE: Mpeg 2 files fail to play with adsp enabled - popcornmix - 2016-05-25 A master build with ADSP enabled (but no options chosen) crashes for me with. With MMAL: Code: Program terminated with signal SIGSEGV, Segmentation fault. With software decode: Code: Program terminated with signal SIGSEGV, Segmentation fault. ADSP will never work with omxplayer acceleration - there is no Audio Engine in that case. RE: Mpeg 2 files fail to play with adsp enabled - AchimTuran - 2016-05-31 @sireesh Currently I don't know why it fails. Sorry I don't use an Raspberry Pi and I'm not able to develop or fix issues on this platform. RE: Mpeg 2 files fail to play with adsp enabled - scarface_one - 2016-06-01 @wisler, thanks for your response. Maybe you could forward this to one of the devs who work on the pi? RE: Mpeg 2 files fail to play with adsp enabled - AchimTuran - 2016-06-01 I already did this, but I don't know if he has the time to fix it. RE: Mpeg 2 files fail to play with adsp enabled - popcornmix - 2016-06-01 There is no evidence this is in any Pi specific code. I don't know this code and wouldn't easily be able to debug it. RE: Mpeg 2 files fail to play with adsp enabled - scarface_one - 2016-06-01 I was able to run the same mpeg2 files with Kodi 16.1 on OS X, with adsp.basic active. They worked as expected. Hardware acceleration of mpeg2 is not possible on OS X. So it is probably a Raspberry Pi specific issue. RE: Mpeg 2 files fail to play with adsp enabled - AchimTuran - 2016-06-05 Are you able to play video files without a crash of Kodi on your RPi when AudioDSP is enables? My RPi2 crashes regardless which add-on I enable or disbale... RE: Mpeg 2 files fail to play with adsp enabled - AchimTuran - 2016-06-11 Hi sireesh, I try to solve the issue, but currently video frames are dropped but Kodi doesn't crash. If you want you can follow the conversion here. But I don't know if we can backport this to Jarvis. You might have to use Krypton after this fix went in. RE: Mpeg 2 files fail to play with adsp enabled - AchimTuran - 2016-06-21 Hi siresh, after a long journy I fixed most of the issues on RPi. It works now here and others started to integrate my commits into RPi testbuilds for OSMC and LibreELEC. If they did it well it should work ![]() RE: Mpeg 2 files fail to play with adsp enabled - popcornmix - 2016-06-21 (2016-06-21, 19:37)wisler Wrote: after a long journy I fixed most of the issues on RPi. It works now here and others started to integrate my commits into RPi testbuilds for OSMC and LibreELEC. If they did it well it should work Try this build (or a later one): http://forum.kodi.tv/showthread.php?tid=269814&pid=2361740#pid2361740 RE: Mpeg 2 files fail to play with adsp enabled - scarface_one - 2016-06-25 Thanks, Great to see this is fixed! |