Adobe Dreamweaver Forums



Last 10 THreads :         Pop up window using AS3 (Last Post : retsnomrev - Replies : 3 - Views : 4 )           »          can a combobox contain two different list seperated byvdivider ? (Last Post : v-Jay - Replies : 2 - Views : 6 )           »          Refreshing xml data in flex (Last Post : PiyushGiri01 - Replies : 2 - Views : 19 )           »          Integrating Captivate with ASP - SQL? (Last Post : bikturisint - Replies : 19 - Views : 131 )           »          Re: IPhone (Last Post : MiLSaN99 - Replies : 0 - Views : 1 )           »          Re: IPhone (Last Post : MiLSaN99 - Replies : 0 - Views : 1 )           »          Re: IPhone (Last Post : MiLSaN99 - Replies : 0 - Views : 1 )           »          Re: IPhone (Last Post : MiLSaN99 - Replies : 0 - Views : 1 )           »          more about pop ups - epic fail (Last Post : retsnomrev - Replies : 0 - Views : 1 )           »          Custom cursor flickers like a short-circuiting LED. (Last Post : Chosin Won - Replies : 5 - Views : 7 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Flash > Media Encoder
 
Tags:



Reply
  #1 (permalink)  
Old 11-10-2008, 06:34 PM
Alejux
 
Posts: n/a
Diggs:
Default Unable to initialize Shared Memory

I need to start and stop encoding sessions by command-line using FMEcmd.exe.
The problem is, I can't use the FMEcmd.exe properly. It encodes and streams
normally when I run it, but I can't seem to find a way to stop a session with
FMEcmd.exe /s. It always gives a message:

Could not map view of file (5).
Unable to initialize Shared Memory.


Reading the log file for the encoding session, I always read:

Mon Nov 10 2008 15:13:49 : Session Started
Mon Nov 10 2008 15:13:49 : Unable to initialize Shared Memory.
Mon Nov 10 2008 15:13:50 : Video Encoding Started
Mon Nov 10 2008 15:13:50 : Audio Encoding Started

...so I imagine that this is the reason I'm getting the error message when
trying to stop de the encoding.

Just to clarify my problem, the reason I need to be able to do this, instead
of just killing the console window, is because it seems that without ending the
session, the FLV files recorded end up not getting the metadata.

Does anyone have any clue as to how I can solve this "Shared Memory" problem
when runing the encoder via command line?






Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-12-2008, 04:57 AM
Moin Ansari
 
Posts: n/a
Diggs:
Default Re: Unable to initialize Shared Memory

Which is the OS? If it's Vista you may want to run the command line in admin mode.
Reply With Quote
  #3 (permalink)  
Old 11-12-2008, 11:15 AM
Alejux
 
Posts: n/a
Diggs:
Default Re: Unable to initialize Shared Memory

I'm running XP on an admin account.
Reply With Quote


  #4 (permalink)  
Old 11-18-2008, 11:15 AM
Alejux
 
Posts: n/a
Diggs:
Default Re: Unable to initialize Shared Memory

It always amazes me how pointless this forum is.
Reply With Quote
  #5 (permalink)  
Old 11-20-2008, 09:54 AM
Moin Ansari
 
Posts: n/a
Diggs:
Default Re: Unable to initialize Shared Memory

It never happened at my end. It just works fine on XP. Can you share machine configuration and OS details like service packs installed, please?

Reply With Quote
  #6 (permalink)  
Old 11-21-2008, 02:04 PM
Alejux
 
Posts: n/a
Diggs:
Default Re: Unable to initialize Shared Memory

My system is:

Windows XP Professional 32bit SP3
2GB Ram
Core 2 Duo 6400
240GB Harddisk (~50GB Free)

FME 2.5
FMS 3

Also take note that I tested a variety of encoding setups, with different
capture devices and resolutions. And most important of all, this is also
happening on my other machine (which has a similar setup).

The message that I get on the encoding console window is:
...
Could not map view of file (5).
Fri Nov 21 2008 11:56:05 : Unable to initialize Shared Memory.

...





Reply With Quote


  #7 (permalink)  
Old 11-21-2008, 05:15 PM
Moin Ansari
 
Posts: n/a
Diggs:
Default Re: Unable to initialize Shared Memory

Thanks for providing the info. I'll get back to as soon as I have any update.

-Moin
Reply With Quote
  #8 (permalink)  
Old 11-21-2008, 07:04 PM
Alejux
 
Posts: n/a
Diggs:
Default Re: Unable to initialize Shared Memory

Thanks for the help Moin.
Reply With Quote
  #9 (permalink)  
Old 11-25-2008, 09:03 PM
arajalali
 
Posts: n/a
Diggs:
Default Re: Unable to initialize Shared Memory

I have the same problem on my windows 2003 server but the thing is that I have
not been able to get the same error on any other machine including a windows
2003 I installed on VMWare on the same machine. I have narrowed down to where
in the encoder this happens. The encoder uses page file backed file maps to
register session information. The call to MapViewOfFileEx method of the Win32
API fails with the "access denied" error. Whatever it is, it's due to some
defect in the Windows installation I have because I do not get that message on
any other windows installation even the ones I do with the same windows CD !

I am still trying to find out what the defect might be but I thought you
should know it's got nothing to do with you Windows make and model...it happens
for me on 2k3 and for you on XP...so you should looke elsewhere..


Reply With Quote


  #10 (permalink)  
Old 11-26-2008, 05:25 AM
Moin Ansari
 
Posts: n/a
Diggs:
Default Re: Unable to initialize Shared Memory

Thanks arajalali for you inputs. You are right in your findings. Issue is, OS
doesn't allow the user to create a in-proc shared memory which it should do, at
least to the user with admin rights. I will keep the post updated with any
further findings.

Thanks.

-Moin

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 07:24 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk