Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - klanmce

Pages: 1 ... 6 7 [8] 9
106
Users / Re: Mplayer initialization error
« on: December 05, 2009, 12:39:44 pm »
Took the plunge and upgrade to beta2 on production system, MPlayer_Player is now working.

Thanks guys.

Do not seem to be using vdpau, no problem, will recompile mplayer as tested previously and attempt to make the modifications in MPlayer_Player. As test system down, doing this on an MD, which I created a backup of its directory.

My question still stands, can I only compile one module?. Simple tried make and got some dependency errors.

107
Users / Re: Mplayer initialization error
« on: December 04, 2009, 11:54:59 pm »
Quick question.

If I want to compile one module "MPlayer_Player", what are the exact steps, looked at the set up development environment, I did such.

108
Users / Re: Mplayer initialization error
« on: December 04, 2009, 01:20:44 am »
Forgot to add, am also see the following error, which possible indicate something wrong with running mplayer
Quote
1       12/03/09 18:13:18       26 (spawning-device)    Starting... 1
1       12/03/09 18:13:18       26 (spawning-device)    Found ./MPlayer_Player
05      12/03/09 19:12:08.992           MPlayer_Player::Log I'm a parent <0xb7101b90>
05      12/03/09 19:12:08.992           MPlayer_Player::Log [EngineOutputReader] EngineOutputReader - started <0xb60ffb90>
05      12/03/09 19:12:08.992           MPlayer_Player::Log I'm a child <0xb7101b90>
05      12/03/09 19:12:08.992           MPlayer_Player::Log Starting mplayer <0xb7101b90>
05      12/03/09 19:12:08.992           MPlayer_Player::Log execle() failed <0xb7101b90>
01      12/03/09 19:12:18.990           MPlayer engine didn't set up within 10 seconds, something is wrong <0xb7101b90>           

Which would be from the following piece of code in the MPlayerEngine
Quote
Log("Starting mplayer");
      
      if (m_bOverrideAudioSettings) {
         // device dependant, replacing ":" with "=" to keep mplayer parser happy
         string sALSADevice = "alsa:device="+StringUtils::Replace(m_sALSADevice,":", "=");
         
         // depending on the passthrough setting
         string sALSACodec = (m_bALSAPassthrough?"hwac3,hwdts,":"") + string("a52,");
         
         execle(MPLAYER_BINARY, MPLAYER_BINARY_SHORT, "-slave", "-idle", "-msglevel", "all=4", "-noborder",
            "-fixed-vo", "-fs", "-vo", "xv,x11", "-vf", "screenshot",
            "-ao", sALSADevice.c_str(),
            "-ac", sALSACodec.c_str(),
            "-lavdopts", "fast:threads=2", BLACK_MPEG_FILE, (char *) 0, environ);
      }
      else {
         execle(MPLAYER_BINARY, MPLAYER_BINARY_SHORT, "-slave", "-idle", "-msglevel", "all=4", "-noborder",
                "-fixed-vo", "-fs", "-vo", "xv,x11", "-vf", "screenshot",
              "-lavdopts", "fast:threads=2", BLACK_MPEG_FILE, (char *) 0, environ);
      }

      Log("execle() failed");
      exit(127);


Thanks again.

109
Users / Mplayer initialization error
« on: December 04, 2009, 01:06:33 am »
First I will like to indicate if this post seems silly, I am not coder in writing application, only experience is minimal best, doing my degree which was in pascal and Java.

Here goes:

When trying to use mplayer, through Mplayer_Player, I am getting the following error in the log:
Quote
MPlayer engine didn't set up within 10 seconds, something is wrong <0xb7101b
90>
Return code: 141
3       12/03/09 19:12:19       26 (spawning-device)    Device died... count=1/50 dev=26

,

From my investigation, I think the error is coming from this condition in the Mplayer_Player.cpp file, the error output highlighted.
Quote
if (m_pPlayerEngine->GetEngineState()==MPlayerEngine::PLAYBACK_FINISHED)
   {
      g_pPlayerInstance = this;
      g_iMplayerChildPID = m_pPlayerEngine->GetChildPID();
      
      struct sigaction new_action;
      new_action.sa_sigaction = SignalHandler_CHLD;
      new_action.sa_flags = SA_SIGINFO /*| SA_NOCLDSTOP*/;      
      sigaction(SIGCHLD, &new_action, NULL);
      LoggerWrapper::GetInstance()->Write(LV_STATUS, "MPlayer - installed SIGCHLD handler");
      
      signal(SIGPIPE, SignalHandler_PIPE);
      LoggerWrapper::GetInstance()->Write(LV_STATUS, "MPlayer - installed SIGPIPE handler");

      LoggerWrapper::GetInstance()->Write(LV_STATUS, "MPlayer engine initialized and ready to go");
   }
   else
      LoggerWrapper::GetInstance()->Write(LV_CRITICAL, "MPlayer engine didn't set up within 10 seconds, something is wrong");

Prior to the above quote, the following suppose to insure the black file is finished played.
Quote
while (m_pPlayerEngine->GetEngineState()!=MPlayerEngine::PLAYBACK_FINISHED && iCounter!=0)
   {
      Sleep(100);
      iCounter--;
   }

I am stating the obvious, when saying the condition is returning false, in either the while - so it exists early and then the if fails or in the if condition so the else kicks in.

Any information - logic, on what supposed to happen in this line: m_pPlayerEngine->GetEngineState()!=MPlayerEngine::PLAYBACK_FINISHED, found below in MPlayerEngine, have not fully gotten a handle on this
Quote
MPlayerEngine::EngineState MPlayerEngine::GetEngineState() {
   PLUTO_SAFETY_LOCK(stateLock, m_engineStateMutex);
   return m_eEngineState;
}

Also, In my ignorance is it possible the sleep time is to long, or the loop to short.

Once I get this to work, plan on editing to get mplayer working with vdpau, I know xine already works with beta2. Have not upgraded to beta2 as yet, fixing my test machine for that, so I know what is entailed, minimize transition for the family.

Is this fixed by chance in beta2?

Thanks for all assistance

110
Users / Re: Multiple USBUIRT on core
« on: December 03, 2009, 01:53:03 pm »
Thanks.

I am planing equipment replacement sometime in the third quarter of 2010, that is why I was looking at this options, as I have seen an increase in my electric bill - wife want to kill me, she thinks its my toys, although she loves the service. Plan on looking at the hibernation discussed in the forums, but want to get it working in such a way that pressing the power button does not halt the MD, but hibernate it - suspend to disk(compact flash) or ram - subsequent power on, resumes. Have not focused on it as yet, trying to finish my initial project, getting Mplayer_Player to work with vdpau, as the recompiled mplayer works fine with vdpau, just not through conventional control, watched the whole of transformers - first one - with nothing over 30% cpu usage on a semprom LE.... Printed the code, finally set up the development env, hopefully on my day off today, I can rap my mind around it.
 
Just want to clarify though, I can have multiple gcc-100 or the network IRTrans each assigned to separate room.

111
Users / Re: Multiple USBUIRT on core
« on: December 03, 2009, 01:06:39 am »
Ok thanks.

I was hoping to have a USBUIRT in each room connected to the core, in a effort when I walk in the room and press the remote's power button, it is registered by the core and turn on the MD and all controlled MEDIA devices in that room, something similar how you can power on the MD using the Webpad orbiter.

I read somewhere, you can have multiple gcc-100, each assigned to separate rooms, is this correct? Also does the same apply to the network IRTrans?

112
Users / Multiple USBUIRT on core
« on: December 02, 2009, 07:49:29 pm »
I am using 810 beta.

I wanted to set up multiple USBUIRT on the core, but by default, it seems to be not allowing me. Looking at the template, thinking I can create my own using the existing template and manually adding the device, I see there is a value set ( 162 Only one per pc(bool) = 1).

Is it possible to safely modify this value to, lets say 2/3, if it would break any functionality and if it would allow me to achieve my intended goal, multiple USBUIRT on the core?

My test hybrid, decided to quit, I would have tested it there.

113
Users / Re: GC 100 seller
« on: December 02, 2009, 06:51:46 pm »
http://www.smarthomeusa.com/ShopByManufacturer/Global-Cache/Item/GC-100-06/

Bought one, waiting on it to ship in, I used paypal, which did not give me the choice to ship to my mailing address in US.

114
Users / Re: Playback of directv box 810 beta
« on: November 21, 2009, 05:08:31 pm »
Thanks.

Got it working, issue being how the home directory was mounted, needed to put forcedirectio in the mount options in the /etc/fstab for home,  of the md in question (someone posted this on the forum).

Tried it once, but have not used it since as we have been working on a massive project at work, practically in the office all the time, to deliver before christmas, you know how it is. Family simple uses the hybrid.

I was initially lost, as I was always of the belief, that configuration through setup wizard, when you add the device as live tv, will configure it through mythtv, did not realize you had to do it manually in mythtv setup (only had antenna hooked up in 710).


115
Users / Re: Hauppauge HVR 1600 _ device template
« on: November 16, 2009, 03:36:04 pm »
Got this card working on my core/no luck on my MD, using http://www.mythtv.org/wiki/Hauppauge_HVR-1600.

If you have an nvidia graphics card , you may have to follow this section on that: http://www.mythtv.org/wiki/Hauppauge_HVR-1600#Workaround_for_NVIDIA_restricted_driver_users

Did not get the created device template to work though, configured it through mythtv. There is another post which the guy indicated he has a working template, can't remember, search the forum for the card.

116
Users / Re: HVR-2250
« on: November 14, 2009, 04:19:12 pm »
I have been doing some research and indication is, that only the digital ATSC and QAM supported - http://www.mythtv.org/wiki/Hauppauge_HVR-2250.

Is this as indicated?

117
Users / Re: How to get MythTV working again .21
« on: November 13, 2009, 12:34:09 pm »
I have been plagued with this for a while, quick question.

How did you handle the exception for the kernel line, when using nvidia driver, for your MD's

My device template, simple did not work in 710, as such, I took the manual route, installing the card on an upgraded kernel, and manually configuring mythtv, and when I installed my pvr-500 (got it on ebay) the system never loaded the orbiter, had to take it out eventually.

118
Users / Re: Playback of directv box 810 beta
« on: November 13, 2009, 12:26:12 pm »
Ok, just an update

I manually configured mythtv, edited the media scenario changed the device and template to reflect that of mythtv player and changed the 11 to 1; it worked, that is the box played through mythtv, either clicking on tv or the media scenario that was created - this is on the core/hybrid.

I subsequently edited the other scenarios for the other rooms, but clicking on tv or the scenario on those MD's, gives me a blank screen, better than what is was getting before, the gui of mythtv. I can change the channel on the box from the MD's, but I get no picture or sound. Checked the mythtv log on the md (30_..., can't remember and can't check, I am in work) and all seemed well, but the Spawn_mythtv...log, show a timeout, hopefully this weekend I am not working so I can get the MD's to work also.

One other thing, I had looked all through the settings of mythtv, and the scenarios, saw no place to change the aspect ration to 16:9 - the box is outputing 16:9, and the MD's are 16:9 - even added the aspect ratio for mythtv in the scenario, setting it to 16:9, no luck; did not enter a value for stream, still trying to find the appropriate value.

119
Users / Re: Certain MKVs not working
« on: November 04, 2009, 12:04:32 am »
Hi guys.

I also having difficulties playing certain mkv files in 810 beta, there would just be a blank screen. Created an HD folder and tagged the files using linuxmce Blueray ..., and seeing an error in myplayer log saying, myplayer not initialized. A top will show myplayer attempts to start and then stop. Myplayer works fine from kde though.

120
Users / Playback of directv box 810 beta
« on: November 03, 2009, 09:18:47 pm »
Good Afternoon All,

I have installed 810 Beta created a device template for my Directv Receiver (model #L12T-700) here in the Cariibbean - choosing the option for liveTv in the drop down list for the type of device.

I have added a pvr-500 it installed all the required software, ran the wizard and connected the device to the svideo port, and assign it to all rooms.

I was of the opinion when I clicked on the device, it would be able to pause its feed as with live tv, but the device is being played by xine not myth and not getting any such functionality; is this standard or did I mess things up!

Also on another note, does 810 automatically update the community with new devices created, or this is a manual process?

Thanks for all assistance forth coming.

Pages: 1 ... 6 7 [8] 9