Posts: 120
Joined: Apr 2012
Reputation:
0
Hi,
Footage taken with my Panasonic SD900 plays with jerky and with glitches. The m2ts files however were created with Sony Vegas and are the product of encoding, so there is no relationship anymore with the raw footage. To be sure I muxed the files again using TSMuxer but the result is exactly the same.
The files play on any other compatibel device or software: VLS media player, Media Player Classic, Popcorn Hour, PS3 (if renamed mpg), ... I am on the last release of XBMC: Eden 11.0 beta 3. I think there is definitely a codec problem in XBMC here. I can upload a file if required. Who can help?
Regards
Posts: 120
Joined: Apr 2012
Reputation:
0
No-one has this problem and no-one takes an interest? Is a media center not supposed to play home movies? Strange...
Well, I did another test, this time with Corel Video Studio X5. This program can both smart render and encode. The output of the smart render process cannot be played well either however the behaviour is different. The movies play well untill the first transition to the next clip (the place where the video was trimmed). From that point on the video hangs and starts jumping a frame forward and backward.
Again, the output plays well on VLC Media player etc. Not in XBMC.
Am I wasting my time here asking for help?
Posts: 8,315
Joined: May 2011
Reputation:
146
bluray
Posting Freak
Posts: 8,315
Not enough info for any of us to offer solution-
Hardware- cpu, gpu, etc
software- OS, driver, etc
Posts: 3,025
Joined: Sep 2011
Reputation:
255
DDDamian
Team-XBMC Developer
Posts: 3,025
Sounds like messed up video, but if VLC plays it (which is based on ffmpeg) then XBMC might do better at now that the latest ffmpeg version has been merged into master. However you'll need to build it yourself or wait for nightlies to resume as the merge was held off until after Eden, and has just happened.
System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
Posts: 120
Joined: Apr 2012
Reputation:
0
Video is certainly not messed up, besides I can create 2 different kinds of problematic behaviour with the same footage depending on the way I edited and processed the video. I now found out that the raw footage straight from the camera plays fine.
Hardware:
CPU: Intel Core 2 Quad Q9450 @ 2.66Ghz
GPU: Nvidea Geforce 9600 GS
Software:
Windows Vista SP2 64 bit
GPU Driver: I tried the very latest GeForce 9600 GS Driver v.296.10 WHQL
I am in the process of testing before I migrate from my current Popcorn Hour solution to a PC based XBMC which is why I installed the latest drivers etc. It is here that I came across the seemingly problematic support of AVCHD files. I rolled back to the original version of the GPU driver just to make sure that the driver update was not causing this problem. The version of the GPU driver does not seem to affect the problem.
Posts: 31,445
Joined: Jan 2011
debug logs (wiki) and sample files will help to understand the issue.
Posts: 8,315
Joined: May 2011
Reputation:
146
bluray
Posting Freak
Posts: 8,315
@streamerke-
You can try these simple configurations-
1. Set power option in W7 control panel to "high performance"- make a full use of your powerful Q9450
2. Enable DXVA2 using DXVA render method and disable everything else in XBMC settings/videos/playback
Posts: 120
Joined: Apr 2012
Reputation:
0
2012-04-09, 23:01
(This post was last modified: 2012-04-09, 23:03 by Streamerke.)
I did put DXVA as render method, I will check the high performance setting. I have got Vista, not W7. Is this in the power/energy settings that I need to check?
Edit: I installed XBMC on a laptop and tried to play the same files. Same problem here...
Did you play the file I uploaded?
Posts: 31,445
Joined: Jan 2011
Tried your test file and it plays flawlessly on my 2009 Macbook Pro (2.8 GHz Core 2 duo), Mac OS X 10.7.3. No dropped frames, using CPU decoding.
Tried it on my ATV1, which is an Intel Pentium M, running a custom Linux build and using a Broadcom Crystal HD decoder, which normally plays everything I throw at it, and it stuttered like mad.
I'm guessing that hardware decoding is messing up, or it may even be limited to specific types of hardware decoding. CPU decoding should work, though. In other words, XBMC is trying to use hardware decoding when it shouldn't.
Posts: 120
Joined: Apr 2012
Reputation:
0
2012-04-10, 08:41
(This post was last modified: 2012-04-10, 08:46 by Streamerke.)
Hi,
I narrowed down the problem now!
- I changed the energy settings to "High performance" => No impact whatsoever.
- Rendering method => I can choose what I want but it does not affect the problem in any way
- I installed the latest Geforce drivers again => improvement but problem not gone
THEN I simply disabled the "Allow hardware acceleration (DXVA2)" setting in XBMC => Problem GONE!
Apparently this setting is activated by default, I cannot remember setting it.
OK, this makes me very happy as I can now play my home movies. I am wondering though what the problem really is. Does XBMC not work well with the Nvidea drivers. This seems to be the case as different versions of the drivers cause different kinds of behaviour. I think I want to use handware acceleration to get the best out of my system, right?
Posts: 31,445
Joined: Jan 2011
2012-04-10, 11:10
(This post was last modified: 2012-04-10, 11:11 by Ned Scott.)
Hardware acceleration just means your CPU doesn't have to work as hard. As far as quality goes, CPU decoding tends to be a little better on average, mostly because CPU/software decoding can be more forgiving of video formats that have quirks. More or less.
If the CPU can handle it, then I wouldn't worry much about hardware decoding being enabled. CPU decoding will use more battery power on a laptop, though.