Linux How to make Linux Video Playback Better?
#1
I run XBMC on two platforms: Windows 7 (laptop), and my primary HTPC on Linux. Lately, I've noticed more and more videos that seem to play in Win7 XBMC but not Linux. I don't expect these to be identical 100% of the time, but would like to help with any errors, codec problems, etc to further the development of the Linux version. Is posting debug logs the best way to help with this advancement?

I'm running xbmc-11.0-3.23.x86_64 on the Linux box, and v11.0 (Mar 21 Compiled) on Win 7 x64.
Reply
#2
Logs, hardware details, maybe even MediaInfo (wiki) ran on the problematic files, etc. The more info, the better.
Reply
#3
Here's a several files that will not play on the Linux version of XBMC (xbmc-11.0-3.30.x86_64). I'm running these on an Intel 2500K i5 with nVidia drivers (x11-video-nvidiaG02-290.10-13.1.x86_64) on OpenSUSE 12.1.

Media File 1 (Avengers): http://pastebin.com/4QjYRtWn
Media File 2 (Body of Lies): http://pastebin.com/vqTegF3G
Media File 3 (Bourne Supremacy): http://pastebin.com/Rkrhuc30
Media File 4 (Iron Man 2): http://pastebin.com/1QajubRa
Media File 5 (Source Code): http://pastebin.com/WFKMC1Pw
Media File 6 (Usual Suspects): http://pastebin.com/Agdr1eie

XBMC Log trying to play these files: http://pastebin.com/rC7zVXtM

I've got a growing number of files that will not play in linux but do in Windows..... there seems to be more and more each time I add more media. Any help would be appreciated. Thanks!

Edit: XBMC Log redone with Debug on: http://pastebin.com/SjPx8crw
Reply
#4
Turn on debugging and post another log.
Reply
#5
Sorry about that....

xbmc.log redone with Debugging on: http://pastebin.com/SjPx8crw
Reply
#6
Just a wild hair, but I notice that the filenames contain extra dots. For example,
Quote:/data/Movies/The Avengers (2012)/The Avengers 2012 - 720P..x264.bluray..mkv
. Can you try renaming one of the files, then see if it plays. You might want to remove the spaces too. I'm not certain that this is what's causing the problem, but I'm rubbish for reading debug logs, especially at 1:30am, when the only reason I'm awake is because my newborn won't sleep.
Also, it looks like the files are trying to load with software acceleration. Double check that VDPAU is installed and enabled in XBMC. I have no idea how to do that in suse.
Reply
#7
@PsychoGTI:
As you are running via nvidia. Try to enable vdpau via (System -> Video -> Playback), Make sure also sure that Vertical Sync Blank is enabled (via System -> Settings -> System).

For perfect smooth playback, also Adjust RefreshRate to match video and Sync Playback to Display (method Video Clock (Drop / Dup)) should be enabled.

Nvidia cards need a specific xorg.conf in order to only get the right 24p mode - search this forum for more information.

The package for vdpau is: vdpau-video. After you got vdpau to run, disable DynamicTwinView within your xorg.conf in order to be able to switch modes and refreshrate.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#8
Tried renaming the file, installed vdpau-video and enabled it with all suggested settings. Still no good for these files.

I've always found vdpau a bit jittery at times in the high-res videos that do work in XBMC.... so normally I have it disabled. I think this is purely because I have only a Geforce G210, but have an excellent CPU.
Reply
#9
A G210 with VDPAU enabled should be able to handle about anything you can throw at it. I tend to find that VDPAU assisted decoding works better, overall, than DXVA assisted decoding in Windows, with very few exceptions.
Reply
#10
i have a g210 and mkv's ripped from my bluray discs, with no recompression.

All play faultlessly. VC1 MPEG2 or H264.
Reply
#11
(2012-09-09, 21:14)PsychoGTI Wrote: Tried renaming the file, installed vdpau-video and enabled it with all suggested settings. Still no good for these files.

I've always found vdpau a bit jittery at times in the high-res videos that do work in XBMC.... so normally I have it disabled. I think this is purely because I have only a Geforce G210, but have an excellent CPU.

jittery vdpau looks like bad xorg.conf
Reply
#12
vdpau-video is the backend for VAAPI.

To install vdpau for Linux you have to install "libvdpau1"

To find out if VDPAU is working press the 'o' key while a video is playing.

Jerry
Reply
#13
I've got my VDPAU running nice now.... a lot better than it was the last time I had it enabled. Here's my current xorg.conf: http://pastebin.com/9v5GfPNF

This, however, as still not solved the problem of several media files not playing in Linux XBMC....
Reply
#14
could you paste a new DEBUG-Log-file, trying to play the movies after you've rename them into human-readable filenames?
Reply
#15
Here you go: http://pastebin.com/3pyJnur1

The movie was renamed to testmovie.mkv.
Reply

Logout Mark Read Team Forum Stats Members Help
How to make Linux Video Playback Better?0