Author Topic: NVIDA H264 Codec  (Read 36982 times)

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: NVIDA H264 Codec
« Reply #45 on: February 27, 2010, 03:56:14 am »
You should now be able to build MPlayer_Player and test vdpau.

I had to add the actual methods as well as the declarations.  I replicated Get_Name() and found the appropriate constants.  After that it built perfectly.  I copied the .deb to my ION and used dpkg to install it... mplayer is now using the webadmin settings and vdpau acceleration.  MPlayer cpu usage is ~20% showing 1080P h264 and doing on-the-fly re-encoding of multichannel AAC audio to AC3.

J.

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: NVIDA H264 Codec
« Reply #46 on: February 28, 2010, 03:07:52 am »
Quote
mplayer is now using the webadmin settings and vdpau acceleration.  MPlayer cpu usage is ~20% showing 1080P h264 and doing on-the-fly re-encoding of multichannel AAC audio to AC3
Could you send it to me, the .deb?

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: NVIDA H264 Codec
« Reply #47 on: February 28, 2010, 05:52:33 am »
Here's the .deb I built for pluto-mplayer-player:
http://filebin.ca/huhbtu/pluto-mplayer-player_2.0.0.44.10022622803_i386.deb

J.

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: NVIDA H264 Codec
« Reply #48 on: February 28, 2010, 02:50:16 pm »
Hi J.,
i did try to install it, but am getting this message:
Code: [Select]
dpkg --root=/ -I pluto-mplayer-player_2.0.0.44.10022622803_i386.deb
 new debian package, version 2.0.
 size 715058 bytes: control archive= 1143 bytes.
     455 bytes,    11 lines      control
     368 bytes,     5 lines      md5sums
    1067 bytes,    46 lines   *  postinst             #!/bin/bash
 Package: pluto-mplayer-player
 Version: 2.0.0.44.10022622803
 Architecture: i386
 Maintainer: LinuxMCE Developers <developers@linuxmce.org>
 Installed-Size: 2504
 Pre-Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libmysqlclient15off (>= 5.0.27-1), libstdc++6 (>= 4.1.1), mplayer
 Section: unknown
 Priority: extra
 Homepage: <insert the upstream URL, if relevant>
 Description: <insert up to 60 chars description>
  <insert long description, indented with spaces>
I reinstalled from ground zero yesterday and have all updates and upgrades installed. Is there anything else to install?
TIA,
Paulo

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: NVIDA H264 Codec
« Reply #49 on: February 28, 2010, 05:33:20 pm »
It says you're missing package dependencies, like mplayer itself.  I`m not sure why it's not installing automatically for you.  It explains why you are getting the mplayer errors you described in a earlier post.

I didn't have to do anything extra on my MD.  You could try installing the missing packages with apt-get and then dpkg -i the mplayer-player package again.

I'd be nice to know why mplayer is not installed on your fresh system though.

J.

niz23

  • Guru
  • ****
  • Posts: 361
    • View Profile
Re: NVIDA H264 Codec
« Reply #50 on: February 28, 2010, 05:51:12 pm »
Vdpau support is committed into lmce svn. An updated den Will be available soon.
/niz23

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: NVIDA H264 Codec
« Reply #51 on: February 28, 2010, 07:41:30 pm »
The "missing"  packages are installed:
Advanced | Software versions - CORE
mplayer = 2:1.0-svn30383-0ubuntu1
libmysqlclient15off = 5.0.67-0ubuntu6.1
libgcc1 = 1:4.3.2-1ubuntu12
libstdc++6 = 4.3.2-1ubuntu12
libc6 = 2.8~20080505-0ubuntu9
Advanced | Software versions - core/hybrid - No IP for media director selected.
I'm using the core/hybrid. It seems that i need to configure something.. but don' t know where.
If i only have one core/hybrid (did not setup any diskless MD), where shall i inform the IP for the MD?
May this be the problem?


niz23

  • Guru
  • ****
  • Posts: 361
    • View Profile
Re: NVIDA H264 Codec
« Reply #52 on: February 28, 2010, 07:57:08 pm »
What are you doing?
There is no reason you should need to install mplayer manually unless you have screwed with apt sources.
I have done lot´s of installations and mplayer together with mplayer_player have always installed automatically.

/niz23

The "missing"  packages are installed:
Advanced | Software versions - CORE
mplayer = 2:1.0-svn30383-0ubuntu1
libmysqlclient15off = 5.0.67-0ubuntu6.1
libgcc1 = 1:4.3.2-1ubuntu12
libstdc++6 = 4.3.2-1ubuntu12
libc6 = 2.8~20080505-0ubuntu9
Advanced | Software versions - core/hybrid - No IP for media director selected.
I'm using the core/hybrid. It seems that i need to configure something.. but don' t know where.
If i only have one core/hybrid (did not setup any diskless MD), where shall i inform the IP for the MD?
May this be the problem?



pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: NVIDA H264 Codec
« Reply #53 on: February 28, 2010, 08:20:23 pm »
What are you doing?
There is no reason you should need to install mplayer manually unless you have screwed with apt sources.
I have done lot´s of installations and mplayer together with mplayer_player have always installed automatically.

/niz23

What i am doing? Trying to install the package Phenigma created.
I did not screwed anything with apt-sources.
I do have mplayer-player, but with no vdpau support.
I just told that the "missing" files reported by the try to install his package already were installed, and i did not installed them by hand.
Some others i did install, like kaffeine or smplayer and the upgrade of alsa, to 1.0.22.1-2, which apparently solved the HDMI sound output.

Paulo

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: NVIDA H264 Codec
« Reply #54 on: February 28, 2010, 10:48:06 pm »
Vdpau support is committed into lmce svn. An updated den Will be available soon.
/niz23

Thanks Niz!  I know you've been busy.

J.

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: NVIDA H264 Codec
« Reply #55 on: February 28, 2010, 11:00:01 pm »
What i am doing? Trying to install the package Phenigma created.
I do have mplayer-player, but with no vdpau support.

The changes are in svn so the next beta update, which the wiki says is building now, should include the new mplayer-player package.  Wait for the update to finish and do an apt-get update/apt-get upgrade on your system.

J.

FireMail

  • Regular Poster
  • **
  • Posts: 30
    • View Profile
Re: NVIDA H264 Codec
« Reply #56 on: March 01, 2010, 10:21:35 am »
What i am doing? Trying to install the package Phenigma created.
I do have mplayer-player, but with no vdpau support.

The changes are in svn so the next beta update, which the wiki says is building now, should include the new mplayer-player package.  Wait for the update to finish and do an apt-get update/apt-get upgrade on your system.

J.
hi - thanks for your integration of vdpau into mplayer. i will test that today and give you some feedback.

where is this wiki page that tells you about the build process?

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: NVIDA H264 Codec
« Reply #57 on: March 01, 2010, 11:44:15 am »
Thx J. and niz23,
i was only reporting that the dependencies warned by the package built by J. already were installed.
Sometimes it confuses me having a disklless client in a server (the core/hybrid) and i'm trying to understand where the configs are picked by what, and what is to be done (reload router, regen orbiter, rebuit md).
Yes, i know that i need to wait until update finish to start upgrade or dist-upgrade.
niz23, thx for spendig time and so quickly providing an update.
J., thx for the support and the hint regarding the sound issue.
 
BTW, did it today, mlayer_player was updated, is using vdpau, but for a .m2ts file, there's still no sound.
« Last Edit: March 01, 2010, 11:58:56 am by pw44 »

FireMail

  • Regular Poster
  • **
  • Posts: 30
    • View Profile
Re: NVIDA H264 Codec
« Reply #58 on: March 01, 2010, 12:40:58 pm »
works very well - cpu load reduced. mplayer now gets about 24-28% depending on the movie. great work!

there is only one problem when i try to play movies recorded with my video camera (sony HDR-TG7VE). the movie itself is replaying very slowly, the audio in real time. so its getting out of sync in the first second and delays about 2-3 seconds each frame.
tech details: High Definition, AVCHD (1920 x 1080, 1440 x 1080)/Standard Definition, MPEG2

i recorded all the stuff in full HD - do i need to run that through a codec so that i can play it smoothly?

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: NVIDA H264 Codec
« Reply #59 on: March 01, 2010, 02:02:09 pm »
MPEG2 content should be vdpau accelerated through either xine or mplayer.  What container format (File extension) are the files?

The AAC re-encode configuration is not included with the vdpau update, you will still need some portions of the config file I posted for AAC audio over SPDIF.

J.