Transcoding Not Starting (1 Viewer)

PhilUK

Portal Member
March 27, 2010
40
0
Home Country
United Kingdom United Kingdom
Following on from my posts in the (now closed) iPiMP thread. I have got everything running smoothly now with iPiMP, tv recordings are accessible and setting recordings and controlling the client work great.

The only thing to sort now that I cannot fix is transcoding.

None of my files will transcode whether set to transcode at a specified time or asked directly in the web interface.
Neither ffmpeg or handbrake work, there are no error files in either handbrake or ffmpeg utilities folders.

I think it is to do with the fact that my system drive is G:\ rather than C:\ though setting a SUBST c: g:\ in cmd make no difference...

I have found the following in various log files:

From error.log @ G:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal TV Server\log

2010-04-05 01:00:00.343750 [5]: plugin: iPiMPTranscodeToMP4 - LaunchProcess: The system cannot find the file specified
2010-04-05 01:00:00.343750 [5]: plugin: iPiMPTranscodeToMP4 - LaunchProcess: The system cannot find the file specified
2010-04-05 01:00:00.375000 [5]: plugin: iPiMPTranscodeToMP4 - LaunchProcess: The system cannot find the file specified
2010-04-05 01:00:00.375000 [5]: plugin: iPiMPTranscodeToMP4 - LaunchProcess: The system cannot find the file specified
2010-04-05 01:00:00.390625 [5]: plugin: iPiMPTranscodeToMP4 - LaunchProcess: The system cannot find the file specified
2010-04-05 01:00:00.406250 [5]: plugin: iPiMPTranscodeToMP4 - LaunchProcess: The system cannot find the file specified

I guess these are from the attempt each morning at 1am.

Transcoding status from the web application: (NB no exception is given)

Transcoding status

Transcoding is not running.
Last time it started at 05/04/2010 11:10:43
and finished at
This task failed.
The exception was:

From tv.log @ G:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal TV Server\log

2010-04-05 11:21:59.296875 [15]: uWiMP.Transcode: Transcoding started.
2010-04-05 11:21:59.312500 [15]: uWiMP.Transcode: LaunchProcess start "C:\Program Files\iPiMP\Utilities\MTN\mtn.exe" -B 60 -E 60 -w 88 -h 50 -c 1 -r 1 -i -t -P -z -O "G:\Video\MP4" -o .jpg "G:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal TV Server\recordings\Tropic of Cancer\Tropic of Cancer - BBC TWO - 2010-03-28 - 20_00.ts" "G:\Video\MP4"
2010-04-05 11:21:59.312500 [15]: uWiMP.Transcode: LaunchProcess exception: System.ComponentModel.Win32Exception: The system cannot find the path specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Website.uWiMP.TVServer.Transcode.LaunchProcess(String _filename, String _params, String _workingFolder, Boolean reportSuccess) in D:\Dev\vs2008\MediaPortal Universal Web Interface\Website\Code\TVServer\Transcode.vb:line 276
2010-04-05 11:21:59.312500 [15]: uWiMP.Transcode: LaunchProcess end
2010-04-05 11:21:59.312500 [15]: uWiMP.Transcode: LaunchProcess start "C:\Program Files\iPiMP\Utilities\HandBrake\HandBrakeCLI.exe" "iPhone & iPod Touch" -i "G:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal TV Server\recordings\Tropic of Cancer\Tropic of Cancer - BBC TWO - 2010-03-28 - 20_00.ts" -o "G:\Video\MP4\Tropic of Cancer - BBC TWO - 2010-03-28 - 20_00.mp4" "G:\Video\MP4"
2010-04-05 11:21:59.328125 [15]: uWiMP.Transcode: LaunchProcess exception: System.ComponentModel.Win32Exception: The system cannot find the path specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Website.uWiMP.TVServer.Transcode.LaunchProcess(String _filename, String _params, String _workingFolder, Boolean reportSuccess) in D:\Dev\vs2008\MediaPortal Universal Web Interface\Website\Code\TVServer\Transcode.vb:line 276
2010-04-05 11:21:59.328125 [15]: uWiMP.Transcode: LaunchProcess end
2010-04-05 11:22:12.265625 [5]: DiskManagement: checking free disk space


Can't find any other logs which contain any more info...
Any ideas what this is due to? I have tried for hours to sort this to no avail!

Cheers for any help!
Phil
 

cheezey

Community Plugin Dev
August 26, 2004
1,560
312
55
West Yorks, UK
Home Country
United Kingdom United Kingdom
I think I have found the problem. The path to the iPiMP utilities folder is set when you install iPiMP, in your case you installed it to C:\ (using the SUBST command) and there is no way to change this in the plugin settings pages (I'll fix that in the next release).

In the meantime, open a command prompt, navigate to "G:\Program Files\Team MediaPortal\MediaPortal TV Server" and run the following:

iPiMPConfigurePlugin.exe add=iPiMPTranscodeToMP4_iPiMPPath=G:\Program Files\iPiMP\Utilities

Then see if a transcode works.
 

Olli0815

MP Donator
  • Premium Supporter
  • August 22, 2006
    182
    17
    Hi,

    I have the same error when want to start transcoding via handbreak.
    But it is "folder" related - not drive related. because i installed it on C:
    only changed the target path to X:... that works with fine with older version and ffmpeg...
    Now i realized in LOG: "hard coded path..." beacsue i am running "German" system and the installation path is "Programme/..."
    NOT "Program files/... as shown in LOG

    View attachment iPiMP.txt



    Thanks,
    Olli


    OK, I tried to change plugIn settings via cmd setting to "Programme..." does not work...
    But copy IPMP folder to "Program Files../ now and it seems to work..
     

    PhilUK

    Portal Member
    March 27, 2010
    40
    0
    Home Country
    United Kingdom United Kingdom
    I think I have found the problem. The path to the iPiMP utilities folder is set when you install iPiMP, in your case you installed it to C:\ (using the SUBST command) and there is no way to change this in the plugin settings pages (I'll fix that in the next release).

    In the meantime, open a command prompt, navigate to "G:\Program Files\Team MediaPortal\MediaPortal TV Server" and run the following:

    iPiMPConfigurePlugin.exe add=iPiMPTranscodeToMP4_iPiMPPath=G:\Program Files\iPiMP\Utilities

    Then see if a transcode works.

    Perfect! I've run the cmd and resetted and transcoding now works perfectly...

    Recorded TV shows from anywhere. Amazing, this has to be the best 'app' on my iPhone.

    Thanks so much for the help cheezey, sorry for using G:\ lol! :D

    Phil :D
     

    Olli0815

    MP Donator
  • Premium Supporter
  • August 22, 2006
    182
    17
    yes,
    after restart the path is correct, but transcoding starts for 1 min - then stopps - no error but also no output..
    Is there a further log to check what happend?

    Thanks,
    Olli

    View attachment 59687
     

    Olli0815

    MP Donator
  • Premium Supporter
  • August 22, 2006
    182
    17
    Hi,

    yes, tried but same result...



    ----->>>
    OK, changed the path for output file back to another drive and it works fine now,
    so what is the cmd to change the output path?


    Thanks for support,
    Olli
     

    Users who are viewing this thread

    Top Bottom