![]() |
![]() |
||||||
|
|||||||
| Tags: |
![]() |
|
|||
|
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? |
| Sponsored Links |
|
|||
|
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. ... |
|
|||
|
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.. |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise