Imbalanced Zero Posted October 3, 2009 Share Posted October 3, 2009 I'm currently trying to use a remote computer to encode my recordings as the PC I use to record is incredibly slow, but fast enough to record. Outside Recording Service I can use a batch file as a test which contains: "H:\more tv\pstools\psexec.exe" \\192.168.0.8 -u myusername -p mypassword "C:\ffmpeg\ffmpeg.exe" -i "\\MOON\More TV\10-03_20-53-51_BBC ONE_Strictly Come Dancing.mpg" -threads 2 -vcodec libx264 -s 640x368 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 24 -bt 256k -refs 1 -coder 0 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -acodec libfaac -ab 128k -ar 48000 -ac 2 -y "\\MOON\More TV\test22.mp4" This works fine and ffmpeg encodes the file on the Remote PC. Inside Recording Service under Process Task I use for Filename: H:\More TV\psexec.exe and for parameters: \\192.168.0.8 -u myusername -p mypassword "C:\ffmpeg\ffmpeg.exe" -i "\\MOON\More TV\10-03_20-53-51_BBC ONE_Strictly Come Dancing.mpg" -threads 2 -vcodec libx264 -s 640x368 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 24 -bt 256k -refs 1 -coder 0 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -acodec libfaac -ab 128k -ar 48000 -ac 2 -y "\\MOON\More TV\test22.mp4" Psexec runs but ffmpeg does not run on the remote PC and there is no test22.mp4 file. Am I doing something wrong? What I am looking to do in the future is run a batch file to wake up the remote PC and then run this command so the remote PC can speedily convert to MP4, but how can I use {SOURCE_FILE} and the other strings so it is integrated into a batch file. Many Thanks 2 Link to comment
Lars_MQ Posted October 3, 2009 Share Posted October 3, 2009 most likely missing rights for the system account the service runs in... Link to comment
Imbalanced Zero Posted October 3, 2009 Author Share Posted October 3, 2009 most likely missing rights for the system account the service runs in... Can I give more rights to recording service if I run it under as an admin rather than system? Link to comment
Imbalanced Zero Posted October 3, 2009 Author Share Posted October 3, 2009 (edited) Thanks Lars, changed the service to run as admin it worked! I'm just stuck on the strings now. How can I integrate the strings into the batch file? Edited October 3, 2009 by Imbalanced Zero Link to comment
Recommended Posts