Video lagging - python client 1.6

Asked by SMarty

Hello,

I am facing some video lagging with python client 1.6 playing 1280x1080 H264 video.

I got no problem playing this video from desktop with mplayer for instance

Seems like python client has performance issues.

I am using a Macmini with Core2Duo intel processor and NVIDIA GeForce 320M graphic card.
Using Kernel 3.8 with NVIDIA 331 display drivers

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
SMarty (bopieds) said :
#1

sorry, i meant "no problem using ffmpeg"
mplayer is lagging

What player does python client use by the way ?

Revision history for this message
Alex Harrington (alexharrington) said :
#2

It uses libavg which uses ffmpeg

Revision history for this message
SMarty (bopieds) said :
#3

Hummm... so what do you think the problem could be ?

Revision history for this message
Alex Harrington (alexharrington) said :
#4

Well it's possible it's not using hardware acceleration properly

Revision history for this message
SMarty (bopieds) said :
#5

how could i improve this ?
What would you suggest ?

Revision history for this message
Alex Harrington (alexharrington) said :
#6

Try editing plugins/media/VideoMedia.py

Line 41:
http://bazaar.launchpad.net/~xibo-maintainers/xibo/ponswinnecke/view/head:/client/python/plugins/media/VideoMedia.py#L41

tmpXML = str('<video href="%s" id="%s" opacity="0" accelerated="1"
loop="%s" />' % (video,self.mediaNodeName,loop))

If that doesn't work, try accelerated="True"

Alex

Revision history for this message
SMarty (bopieds) said :
#7

Ok,

Thanks for the answer.
Tried your suggestion but without success...

Revision history for this message
Alex Harrington (alexharrington) said :
#8

In that case I have no further suggestions I'm afraid.

Revision history for this message
SMarty (bopieds) said :
#9

ok.
By the way, for the record tried with another macmini with an AMD Radeon but same problem appears.

Strange it works well with ffmpeg an not libavg which uses ffmpeg... maybe an issue with libavg version ?

Revision history for this message
Alex Harrington (alexharrington) said :
#10

Radion definitely won't work because the hardware acceleration is based on
nVidia vdpau

Revision history for this message
SMarty (bopieds) said :
#11

ok. strange it seems ok just using ffmpeg anyway.

Thank you for your help.

I leave this thread unsolved.

Can you help with this problem?

Provide an answer of your own, or ask SMarty for more information if necessary.

To post a message you must log in.