Recorder unable to create file

Discussion in 'MediaPortal 1.1.0 RC 1 & 2' started by jlutze, May 4, 2010.

  1. jlutze

    jlutze Portal Member

    Joined:
    November 11, 2006
    Messages:
    11
    Likes Received:
    0
    Occupation:
    Agricultural Scientist
    Location:
    Canberra
    Ratings:
    +0 / 0
    Home Country:
    Apologies if there are relevant threads already - cannot seem to find any.

    I have a recurrent problem recording "better homes and gardens" (in trouble with spouse....).

    This seemed to work on RC1, but now I am having problems. CAn view the progam, but not record (manual or scheduled). Log (attached) is repeated a number of times with the error "cannot create file":

    ++
    0-04-2010 19:23:12.02 Recorder: RECORD set filename:E:\PublicTVMasterVideo-F\video\Better Homes And Gardens\Better Homes And Gardens - SE - Backyard Autumn Colour _ Dog's Dinner Issues _ Minestrone Soup _ Mushroom Growing _ Pergola Make-Over _ Pork Roast with Home Made Apple Sauce 30_04_10 - 2010-04-30 - 7_30 PM - PRIME HD.ts
    30-04-2010 19:23:12.05 Recorder: RECORD Received from TvService: pmt pid:0x1cc serviceId: 0x960 pmtlength:75
    30-04-2010 19:23:12.05 Recorder: RECORD Old pids cleared
    30-04-2010 19:23:12.05 Recorder: RECORD got pmt - tableid: 0x2 section_length: 75 sid: 0x960
    30-04-2010 19:23:12.05 Recorder: RECORD PMT parsed - Pid 0x1cc ServiceId 0x960 stream count: 3
    30-04-2010 19:23:12.06 Recorder: RECORD pcr pid:0xab4
    30-04-2010 19:23:12.06 Recorder: RECORD SetPcrPid clear old PIDs
    30-04-2010 19:23:12.06 Recorder: RECORD add video stream pid: 0xab4 fake pid: 0x30 stream type: 0x2 logical type: 0x2 descriptor length: 8
    30-04-2010 19:23:12.07 Recorder: RECORD add audio stream pid: 0xab5 fake pid: 0x40 stream type: 0x4 logical type: 0x4 descriptor length: 12
    30-04-2010 19:23:12.07 Recorder: RECORD add teletext stream pid: 0xab9 fake pid: 0x60 stream type: 0x6 logical type: 0x56 descriptor length: 15
    30-04-2010 19:23:12.08 Recorder: RECORD SetVideoAudioObserver observer ok
    30-04-2010 19:23:12.08 Recorder:unable to create file:'E:\PublicTVMasterVideo-F\video\Better Homes And Gardens\Better Homes And Gardens - SE - Backyard Autumn Colour _ Dog's Dinner Issues _ Minestrone Soup _ Mushroom Growing _ Pergola Make-Over _ Pork Roast with Home Made Apple Sauce 30_04_10 - 2010-04-30 - 7_30 PM - PRIME HD.ts' 3
    30-04-2010 19:23:27.51 Recorder: RECORD Stop 'E:\PublicTVMasterVideo-F\video\Better Homes And Gardens\Better Homes And Gardens - SE - Backyard Autumn Colour _ Dog's Dinner Issues _ Minestrone Soup _ Mushroom Growing _ Pergola Make-Over _ Pork Roast with Home Made Apple Sauce 30_04_10 - 2010-04-30 - 7_30 PM - PRIME HD.ts'
    30-04-2010 19:23:27.51 Recorder: RECORD Reset

    +++



    Have this error on prime & prime HD. Using ice TV program guide (file name looks long).

    other than this specific program MP is working very well for recording....

    clues/comments?? - thanks in anticipation

    :confused:


    MediaPortal Version: 1.1.0.0 RC2
    MediaPortal Skin: BlueTwoWide
    Windows Version: Win 7 64 bit UpToDate
    CPU Type: AMD Athlon 4850e
    HDD: Seagate 500GB SATAII + 1TB SATAII + Samsug 1TB SATAII
    Memory: 4GB DDRII
    Motherboard: Gigabyte GA-MA78G-DS3H
    Video Card: Gigabyte ATI HD 4550
    Video Card Driver: current
    Sound Card: GIGabyte ATI HDMI + ASUS Xonar DX
    Sound Card AC3: HDMI for video, analouge for music
    Sound Card Driver: current
    1. TV Card: Compro DVB-T300 PCI
    1. TV Card Type: DVB-T
    1. TV Card Driver: current
    2. TV Card: Compro DVB-T300 PCI
    2. TV Card Type: DVB-T
    2. TV Card Driver: current
    3. TV Card: Hauppauge HVR-2200 PCIe
    3. TV Card Type: DVB-T
    3. TV Card Driver: current
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec:
    MPEG2 Audio Codec:
    h.264 Video Codec:
    Satelite/CableTV Provider:
    HTPC Case: silverstone LC17
    Cooling: Zalman
    Power Supply: Zalman 500W
    Remote: Fusion
    TV: Hitachi 81cm LCD
    TV - HTPC Connection: HDMI
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. arion_p
    • Premium Supporter

    arion_p Retired Team Member

    Joined:
    February 7, 2007
    Messages:
    3,352
    Likes Received:
    1,447
    Occupation:
    Developer
    Location:
    Athens
    Ratings:
    +1,522 / 0
    Home Country:
    Greece Greece
    Show System Specs
    The filename is too long. This is a Windows limitation. For compatibility reasons, MS decided to limit all paths to 260 characters, your path is 277. You need to change the recording naming format so that the resulting path is shorter.

    You may try using \\?\E:\PublicTVMasterVideo-F\video as the recording folder instead of E:\PublicTVMasterVideo-F\video. This turns on unicode long pathnames in Windows NT and later
     
  4. jlutze

    jlutze Portal Member

    Joined:
    November 11, 2006
    Messages:
    11
    Likes Received:
    0
    Occupation:
    Agricultural Scientist
    Location:
    Canberra
    Ratings:
    +0 / 0
    Home Country:
    Thanks,
    I suspected this may have something to do with it.

    How can I directly edit the 'recording folder' in the 'folders' tab of the recording dialog in TVServer config? - it only seems to let me select ftom the established folders?

    Or does it need to be put in via 'custom paths and filenames??

    thanks,
    Jason
     
  5. arion_p
    • Premium Supporter

    arion_p Retired Team Member

    Joined:
    February 7, 2007
    Messages:
    3,352
    Likes Received:
    1,447
    Occupation:
    Developer
    Location:
    Athens
    Ratings:
    +1,522 / 0
    Home Country:
    Greece Greece
    Show System Specs
    :oops: I didn't think of that. Currently there is no way to enter a recording path manually, you have to select it from Folder Browser. So, at least for now, your only option is to shorten the folder names and change the naming format so that filenames created are shorter.
     
    • Like Like x 1
  6. Vasilich
    • Team MediaPortal

    Vasilich Test Group

    Joined:
    August 30, 2009
    Messages:
    3,390
    Likes Received:
    608
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Germany, Mayence
    Ratings:
    +1,172 / 2
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    same problem here, but definitely another reason
    "
    14-06-2010 07:03:02.664 Recorder: RECORD SetVideoAudioObserver observer ok
    14-06-2010 07:03:02.665 Recorder:unable to create file:'D:\Capture\KiKa - Zoes Zauberschrank\2010-06-14 07_10 - Zoes Zauberschrank.ts' 3
    14-06-2010 07:03:07.691 Recorder: RECORD Stop 'D:\Capture\KiKa - Zoes Zauberschrank\2010-06-14 07_10 - Zoes Zauberschrank.ts'
    14-06-2010 07:03:07.692 Recorder: RECORD Reset"
    I believe that the reason here is that DVB EPG entry for that program is "Zoès Zauberschrank", and TsWriter tries to create file with ANSI function, calling STDMETHODIMP CRecorder::confused:etRecordingFileName(char* pszFileName) from "trunk\DirectShowFilters\TsWriter\source\Recorder.cpp" with char parameter. I am using Win7 with russian as language for nonunicode programs, so symbol "è" cannot be mapped to that codepage.
    Anyone is able to fix it? i don't know where this function is called from, so i don't feel myself able to fix it across all MP.

    Same problem is described here https://forum.team-mediaportal.com/.../cannot-record-shows-double-byte-names-53580/
     
  7. arion_p
    • Premium Supporter

    arion_p Retired Team Member

    Joined:
    February 7, 2007
    Messages:
    3,352
    Likes Received:
    1,447
    Occupation:
    Developer
    Location:
    Athens
    Ratings:
    +1,522 / 0
    Home Country:
    Greece Greece
    Show System Specs
    Unfortunately this is not fixable. TsWriter is compiled as ANSI dll. Switching to Unicode is possible but will require extensive testing to make sure no bugs have been introduced and surely this is not going to happen in 1.1.0.
     
  8. Vasilich
    • Team MediaPortal

    Vasilich Test Group

    Joined:
    August 30, 2009
    Messages:
    3,390
    Likes Received:
    608
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Germany, Mayence
    Ratings:
    +1,172 / 2
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    arion, thanks for the reply.
    could you tell me points where calling to tswriter for creating this file is used? i will try to patch it locally first, and maybe later i coud commit a patch, because i don't want to wait another half a year for this to be fixed.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!