Kodi Community Forum

Full Version: mkv video files played as music
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The majority of my digital library is mkv videos. xbmc will only play the audio from the videos yet on all of my desktop computers they play just fine. Mp4 files work I just don't want to have to reconvert my library to mp4.
Can you get us a debug log (wiki) of when you playback one of these mkv videos?
Quote:11:21:43 T:2905322560 DEBUG: OMXClock::OMXStop
11:21:43 T:2905322560 DEBUG: OMXClock::OMXSetSpeed(0.00) pause_resume:1
11:21:43 T:2905322560 NOTICE: Opening video stream: 0 source: 256
11:21:43 T:2905322560 DEBUG: DllBcm: Using omx system library
11:21:43 T:2905322560 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.video_decode input port 130 output port 131 m_handle 0x38324c8
11:21:43 T:2978587712 ERROR: COMXCoreComponent:Big GrinecoderEventHandler OMX.broadcom.video_decode - OMX_ErrorUnsupportedSetting, unsupported setting
11:21:43 T:2905322560 DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.video_decode) - port(130), nBufferCountMin(1), nBufferCountActual(60), nBufferSize(81920), nBufferAlignmen(16)
11:21:43 T:2905322560 ERROR: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.video_decode) - OMX_UseBuffer failed with omx_err(0x80001018)
11:21:43 T:2905322560 ERROR: COMXVideo::Open AllocOMXInputBuffers error (080001018)
11:21:43 T:2905322560 ERROR: OMXPlayerVideo : Error open video output

Wrong gpu_mem setting?
What do you mean "Wrong gpu_mem setting?" and how would I fix it?

PS I forgot to mention this is on a Raspberry Pi but you can see that in the log file.
I tried uninstalling and reinstalling it and still getting the same results.
You can manually set how much RAM goes to the GPU for graphics processing and how much goes to the CPU for general use, but I'm guessing you're using all default settings? Have you edited a config.txt file on the Raspberry Pi's SD card at all?

Also, do you know which Pi you have? Model A, Model B rev1, Model B rev2, Model B+? You can use this to compare and find out: http://raspi.tv/wp-content/uploads/2014/...d_1500.jpg
Everything is default on it. I never edited the config.txt but I can. It is a model B rev1 ( It was the second batch of version B Pis that were for public use.)
Tut, it doesn't play the video because its mpeg2 inside the mkv container, for which you have to buy the licence from the foundation.

11:21:43 T:2905322560    INFO: ffmpeg[AD2BB440]:     Stream #0:0(eng): Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27 DAR 16:9], SAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc
11:21:43 T:2905322560    INFO: ffmpeg[AD2BB440]:     Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
I changed the basic overclocking mode to Super and restarted. I still can't play the mkvs but the videos that I could play before (mp4) are playing a bit choppy. I doubt its my network everything is at least gigabit besides the pi.
Read what I wrote. You need to buy the mpeg2 licence from the raspberry Pi foundation. You can't play mpeg2 video without it. There is also a licence for VC-1 http://www.raspberrypi.com/mpeg-2-license-key/
I bought the licence I will enter it in today after work. Is the reason why it stops playback randomly the power supply for it? Right now I am just running it off of a USB port on my computer.
Most likely yea. Especially if you are overclocking it. Decent power supply will avoid all sorts of issues Smile