Recorder unable to create file (1 Viewer)

jlutze

Portal Member
November 11, 2006
11
0
Canberra
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
 

arion_p

Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    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
     

    jlutze

    Portal Member
    November 11, 2006
    11
    0
    Canberra
    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
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    :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.
     

    Vasilich

    Portal Pro
    August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    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/
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    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.
     

    Vasilich

    Portal Pro
    August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    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.
     

    Users who are viewing this thread

    Top Bottom