Error number -2

Post Reply
copson
Posts: 11
Joined: Sat Apr 10, 2010 6:26 pm

Error number -2

Post by copson »

Hi, I just upgraded to 1.03 and now most of my movies fail to transcode. I have tested with "Test Transcoding" to my device (Samsung B650) and I just get the following log:

"C:\Program Files\Wild Media Server\wmsmpeg.exe" -i "xxx.avi" -f mpegts
-vcodec mpeg2video -b 20000000 -aspect 16:9 -copyts -pix_fmt yuv420p -padleft
0 -padright 0 -padtop 52 -padbottom 52 -padcolor 000000 -s 640x256 -vhook "wmssu
bt.dll indicator,Verdana,7,1,16777215,0,2,1677721600,640,360,35,0,4" -threads 4
-acodec ac3 -ab 448000 -ar 48000 -ac 2 -map 0:0 -map 0:1 "F:\Transcode\WmsTemp\T
est_ddb82bd12017a3cd0e4f342cc4bf9214.mpg" -v -1 -loglevel quiet

FFmpeg version SVN-r22696, Copyright (c) 2000-2010 the FFmpeg developers
built on May 2 2010 17:40:51 with gcc 4.4.0
libavutil 50.13. 0 / 50.13. 0
libavcodec 52.61. 0 / 52.61. 0
libavformat 52.57. 1 / 52.57. 1
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
libpostproc 51. 2. 0 / 51. 2. 0
xxx.avi: Error number -2 occurred

Where xxx.avi is the file I try to play with its full path. Any suggestions? What does error number -2 mean?

Thanks.
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Error number -2

Post by Eugene »

Hi,
copson wrote: I just upgraded to 1.03 and now most of my movies fail to transcode. I have tested with "Test Transcoding" to my device (Samsung B650) and I just get the following log:

"C:\Program Files\Wild Media Server\wmsmpeg.exe" -i "xxx.avi" -f mpegts
-vcodec mpeg2video -b 20000000 -aspect 16:9 -copyts -pix_fmt yuv420p -padleft
0 -padright 0 -padtop 52 -padbottom 52 -padcolor 000000 -s 640x256 -vhook "wmssu
bt.dll indicator,Verdana,7,1,16777215,0,2,1677721600,640,360,35,0,4" -threads 4
-acodec ac3 -ab 448000 -ar 48000 -ac 2 -map 0:0 -map 0:1 "F:\Transcode\WmsTemp\T
est_ddb82bd12017a3cd0e4f342cc4bf9214.mpg" -v -1 -loglevel quiet

FFmpeg version SVN-r22696, Copyright (c) 2000-2010 the FFmpeg developers
built on May 2 2010 17:40:51 with gcc 4.4.0
libavutil 50.13. 0 / 50.13. 0
libavcodec 52.61. 0 / 52.61. 0
libavformat 52.57. 1 / 52.57. 1
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
libpostproc 51. 2. 0 / 51. 2. 0
xxx.avi: Error number -2 occurred

Where xxx.avi is the file I try to play with its full path. Any suggestions? What does error number -2 mean?
Check that the file wmssubt.dll exists in the installation directory of the program
copson
Posts: 11
Joined: Sat Apr 10, 2010 6:26 pm

Re: Error number -2

Post by copson »

Yes, the dll exists. I tried some more and finally found the problem. I have my files on a NAS and Windows was able to access the files without any problem. However when I went into Settings to add a new folder on the NAS, it did not allow me to select it but instead gave an Windows error message that I was not allowed access. Maybe Wild Media Server use other permissions that the current logged on user to access the files? However, by restarting the computer and then restarting WMS again it was possible to browse the NAS. So Error number -2 seems to mean "access denied" for this case.

Do you know what files I can back up to save the current list of media and the information I had added to them from themoviedb.org? When doing a rescan of a directory it could not found (due to the permission problem above), it just cleared out all the information of the files and I had to readd all the information when it found the directory again, so it would be good to be able to make a backup of all the media information for those cases.

Thanks!
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Error number -2

Post by Eugene »

copson wrote:Yes, the dll exists. I tried some more and finally found the problem. I have my files on a NAS and Windows was able to access the files without any problem. However when I went into Settings to add a new folder on the NAS, it did not allow me to select it but instead gave an Windows error message that I was not allowed access. Maybe Wild Media Server use other permissions that the current logged on user to access the files? However, by restarting the computer and then restarting WMS again it was possible to browse the NAS. So Error number -2 seems to mean "access denied" for this case.
The install program running with admin rights, run WMS from the installation program also starts with admin rights, because of this you have a problem.
copson wrote: Do you know what files I can back up to save the current list of media and the information I had added to them from themoviedb.org? When doing a rescan of a directory it could not found (due to the permission problem above), it just cleared out all the information of the files and I had to readd all the information when it found the directory again, so it would be good to be able to make a backup of all the media information for those cases.
Help-Backup or Settings-Processing-Save/Load metadata
Post Reply