Playing recorded TV in external player (mpc-hc) (1 Viewer)

TLD

Portal Pro
October 26, 2007
962
395
Rainy Washington
Home Country
United States of America United States of America
I see from another thread that MP is coded not to play .ts files with an external player, does anyone know if there is there any way to work around this and trick MP to play recorded TV in mpc-hc.
 

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    MP used to play video files in external player if setup to do that regardless of extension (as long as .ts was listed under recognised extensions), this was a couple of years ago so maybe it has changed. Have you tried this recently?
     
    Last edited:

    TLD

    Portal Pro
    October 26, 2007
    962
    395
    Rainy Washington
    Home Country
    United States of America United States of America
    MP used to play video files in external player if setup to do that regardless of extension (as long as .ts was listed under recognised extensions), this was a couple of years ago so maybe it has changed. Have you tried this recently?

    Yes, I have mpc-hc set up and working with other file types as the external player but when i play a .ts file in the Myvideos plugin it plays in the internal player, even though .ts is listed under recognized extensions for the external player to play.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I'm guessing you are doing this so you can use BOINC to detect the MPC-HC process. I suggest you just rename .ts files to .mp4 you could even write a simple script to do this.
     

    TLD

    Portal Pro
    October 26, 2007
    962
    395
    Rainy Washington
    Home Country
    United States of America United States of America
    I'm guessing you are doing this so you can use BOINC to detect the MPC-HC process. I suggest you just rename .ts files to .mp4 you could even write a simple script to do this.

    Yes your right but i have no experience with scripts is there a way to automatically convert .ts to .mp4 after they are recorded with a script?
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Code:
    set "Filename=%*"
    set Filename=%Filename:~0,-3%
    ren "%filename%.ts" "*.mp4"

    save above as c:\renamerecording.bat

    goto tvserver config
    enable comskip launcher plugin

    set when to launch:
    recording end

    set program:
    c:\renamerecording.bat

    set parameters:
    {0}

    Then run a test to see if it renames the file successfully.
     
    Last edited:

    TLD

    Portal Pro
    October 26, 2007
    962
    395
    Rainy Washington
    Home Country
    United States of America United States of America
    First i want to thank you for writing a script for me.
    my recording folder is R:\TV RECORDINGS so i changed the script accordingly. I hope it is correct.


    md "R:\TV RECORDINGS\"
    xcopy /s /y "R:\TV RECORDINGS\*.ts" R:\TV RECORDINGS\*.mp4"
    del /s /q "C:\tv recordings\*.ts"
    xcopy /s /y "R:\TV RECORDINGS\*.mp4" "R:\TV RECORDINGS\*.mp4"
    rd "R:\TV RECORDINGS" /s /q

    I am using comskip at the present time though it probably won't work after these changes will it?
    I can run this with windows task scheduler can't i or would that cause a problem if a recording was in progress?
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    No please don't use that first script I made it better
    also the way you changed the script would make it delete your entire tv recording folder, because you left out the temp directory.

    you can use both comskip and filerename just change to the following

    Code:
    call "c:\comskip\comskip.exe -t %*"
    ren "%*" "*.mp4"

    if it doesn't work change to
    Code:
    c:\comskip\comskip.exe -t "%*"
    ren "%*" "*.mp4"

    I made the file shorter as I just released the string manipulation is not needed.
     
    Last edited:

    TLD

    Portal Pro
    October 26, 2007
    962
    395
    Rainy Washington
    Home Country
    United States of America United States of America
    Just so i have this straight i use this script:

    call "c:\comskip\comskip.exe -t %*"
    set "Filename=%*"
    set Filename=%Filename:~0,-3%
    ren "%filename%.ts" "*.mp4"

    in a .bat file

    Then call the .bat file with the comskip launcher?
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    yes you can do that and it should work
    assuming your comskip.exe is located in c:\comskip\[DOUBLEPOST=1354948001][/DOUBLEPOST]ps. does mpc-hc even support comskip chapters ?
     
    Last edited:

    Users who are viewing this thread

    Similar threads

    Hi, I'm wish to be able to watch the recorded TV (*.ts) files on my Sony Bravia Android TV but cannot. The default media player app does not support the file type. So I installed VLC. VLC does read the ts files but the TV's remote does not allow to control basic VLC functions like FF or FR or pause etc... Tried 1-2 other apps, even...
    Hi, I'm wish to be able to watch the recorded TV (*.ts) files on my Sony Bravia Android TV but cannot. The default media player...
    Hi, I'm wish to be able to watch the recorded TV (*.ts) files on my Sony Bravia Android TV but cannot. The default media player...
    Replies
    0
    Views
    671
    All sorted now with images attached as above. The problem attaching the images was the dugh brain user as well as the image size being too big
    All sorted now with images attached as above. The problem attaching the images was the dugh brain user as well as the image size...
    I have just updated my mobo and installed Win 10. I then imported all my old settings that were working ok on my old Win 7 system...
    Replies
    14
    Views
    2K
    Just those I attached. I messed about with task priorities MP/TV-Server/SQL-Server and the issue changed to the skin.. I would do something, but it would be 10's of seconds before the action happened. Doing an Alt-Tab would flush the actions. Too weird lol!! So, with some flak from the family, I had to give in. I just did a...
    Just those I attached. I messed about with task priorities MP/TV-Server/SQL-Server and the issue changed to the skin.. I would do...
    So, this one has me quite stumped. Have tried ) and a few things - driver updates, kicking the box, threatening it with a static...
    Replies
    8
    Views
    586
    I realize this is a (very) old thread, however, I just discovered something that may have been the problem all along, and thought you might like to know. I had a Yamaha RX-A1050 HTR receiver. About three weeks ago, I started having problems where the HDMI audio from Windows, itself (11 Pro), would not work. After multiple times of...
    I realize this is a (very) old thread, however, I just discovered something that may have been the problem all along, and thought...
    My apologies for posting two separate issues in one posting, however, the logs I have cover both. 1. Resume playback of...
    Replies
    14
    Views
    2K
    When attempting to play live TV from a Client Only install of Media Portal back to my Media Portal Server I get an error of "There is no player registered to play media item stream X.Y". I've tried version 2.4.1 and 2.5. I've also tried setting a static IP on both the client and the server. In 2.5 I get this error in the logs...
    When attempting to play live TV from a Client Only install of Media Portal back to my Media Portal Server I get an error of "There...
    When attempting to play live TV from a Client Only install of Media Portal back to my Media Portal Server I get an error of "There...
    Replies
    0
    Views
    507
    Top Bottom