in

andy vt's tools & blog

Automating lazy

Weird issues converting AVI to DVR-MS

Last post 03-14-2010 10:49 PM by puwaha. 9 replies.
Page 1 of 1 (10 items)
Sort Posts: Previous Next
  • 01-22-2010 8:40 AM

    Weird issues converting AVI to DVR-MS

    I've been struggling with converting AVI files to DVR-MS files for a while now and with the release of 1.2.2.0 I'm closer than ever to getting this working, but I'm running into a weird problem. I'm using the "Convert AVI to DVR-MS -mencoder" profile to process AVI files and it seems to mostly be working. I get intermediate MPG files that all playback perfectly and seem to match the quality of the original AVI. So far so good. Then the todvrms process runs and converts the MPG files to DVR-MS files. These are created and successfully moved to the Recorded TV folder. They show up in 7MC with all of the metadata and playback just fine. The problem is, none of them are the full length of the episode. Although the original AVI files and the intermediate MPG files are all the full length of the episode, the end resulting dvr-ms is not. A half-hour show could wind up being only 9 minutes or so, or an hour-long episode could wind up being only 3-4 minutes long. Any ideas?
  • 01-22-2010 7:08 PM In reply to

    Re: Weird issues converting AVI to DVR-MS

    So after actually sitting and watching it run, I've figured out why the files are truncated. todvrms is crashing during the conversion (I get a "todvrms has stopped working" message), and then DTB continues on and moves what it does have to the Recorded TV folder. The end result is a dvr-ms file that is shorter in duration than the source file.

    Here's a log of it in action, although I don't see any errors listed. Would it help if I uploaded the source AVI and intermediate MPG file somewhere to see if there's some reason todvrms is crashing?

    Setting Priority = Normal
    FileName = D:\Downloads\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi
    InputFile=D:\Processing\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi
    Processing actions, this may take some time!!
    Current Affinity: 3 System Mask: 3
    Getting MetaData
    File is not a dvrms-file
    Run Profile = Convert AVI to DVR-MS - mencoder
    ProcessId = 33204
    DvrmsToolbox Version: 1.2.2.0
    Throttle DVRMStoMPEG
    FWThrottle: D:\Downloads\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi
    WaitTime: 1 PollTime
    Waiting to process file
    Queue file
    Duration = 00:00:01.0140018
    Waiting for available worker: 1/22/2010 9:51 PM
    Worker allocated: 1/22/2010 9:51 PM
    Get the value of Context["OutputFile"] and set the value of Context["OutputFile"]
    Context["OutputFile"] = D:\Processing\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi
    Context["OutputFile"] = D:\Temp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg
    Duration = 00:00:00
    Get the value of Context["InputFile"] and set the value of Context["OutputFolder"]
    Context["InputFile"] = D:\Downloads\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi
    Context["OutputFolder"] = D:\Downloads\
    Duration = 00:00:00
    Run Mencoder
    Run C:\Program Files\DVRMSToolbox\Applications\Mencoder\Mencoder.exe -quiet "D:\Downloads\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi" -profile "MPG-AC3" -o "D:\Temp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg" -vf pp=md,harddup
    MEncoder Sherpya-SVN-r29355-4.5.0 (C) 2000-2009 MPlayer Team
    success: format: 0  data: 0x0 - 0xaf0f000
    AVI file format detected.
    [aviheader] Video stream found, -vid 0
    [aviheader] Audio stream found, -aid 1
    VIDEO:  [XVID]  624x352  12bpp  23.976 fps  1002.0 kbps (122.3 kbyte/s)
    [V] filefmt:3  fourcc:0x44495658  size:624x352  fps:23.976  ftime:=0.0417
    ==========================================================================
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
    AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
    Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
    ==========================================================================
    PACKET SIZE: 2048 bytes, deltascr: 43885
    Opening video filter: [expand osd=1]
    Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
    Opening video filter: [harddup]
    Opening video filter: [pp=md]
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
    ==========================================================================
    VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
    [PP] Using external postprocessing filter, max q = 6.
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
    videocodec: libavcodec (624x352 fourcc=3267706d [mpg2])
    Writing header...
    INITV: 0.200, 0.158, fps: 23.976
    Flushing video frames.
    Writing index...
    Overhead: 2.837% (10992907 / 387545845)
    Writing header...
    Video stream: 2090.044 kbit/s  (261255 B/s)  size: 336103573 bytes  1286.494 secs  30847 frames
    Audio stream:  320.000 kbit/s  (39999 B/s)  size: 51463680 bytes  1286.592 secs
    Duration = 00:03:47.4456012
    Move the file in Context["InputFile"] to %OutputFolder%
    File Operation completed
    Duration = 00:00:01.0140018
    Get the value of Context["OutputFile"] and set the value of Context["InputFile"]
    Context["OutputFile"] = D:\Temp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg
    Context["InputFile"] = D:\Temp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg
    Duration = 00:00:00
    Get the value of Context["OutputFile"] and set the value of Context["OutputFile"]
    Context["OutputFile"] = D:\Temp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg
    Context["OutputFile"] = D:\Temp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.dvr-ms
    Duration = 00:00:00
    Get the value of Context["InputFile"] and set the value of Context["TvDBXMLFile"]
    Context["InputFile"] = D:\Temp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg
    Context["TvDBXMLFile"] = D:\Temp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg.xml
    Duration = 00:00:00
    Read metadata from TvDB and build Sage XML file.
    Processing TvDBMetaData with 12 arguments.
    Using following file as Template Metadata XML file: Template.mpg.xml
    Using following file as Series Alias XML file: SeriesAlias.xml
    Using following file as the target Metadata XML file: D:\Temp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg.xml
    Using input parameter as regular expression: (?<series>.+)\.S(?<season>\d+)E(?<episodenbr>\d+)\.
    Metadata provided by thetvdb.com
    Found APIKey.
    Found Series Name
    Retreived Series Info
    Retreived Episode Info
    Sage XML file created: D:\Temp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg.xml
    Duration = 00:00:00.6396012
    Run todvrms.exe "D:\Temp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg" "D:\Temp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.dvr-ms"
    Run C:\Program Files\DVRMSToolbox\Applications\todvrms.exe "D:\Temp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg" "D:\Temp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.dvr-ms"
    Duration = 00:00:42.6083239
    Move file specified in Context("OutputFile") to C:\Users\Public\Recorded TV\
    Moving D:\Temp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.dvr-ms to C:\Users\Public\Recorded TV\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.dvr-ms
    Duration = 00:00:00
    Delete the file in Context["InputFile"]
    Duration = 00:00:00.0156001
    Delete the file in Context["TvDBXMLFile"]
    Duration = 00:00:00
    Total Duration = 00:04:32.7371300

    This is running on a Windows 7 Home Premium 32bit machine.

  • 01-22-2010 7:16 PM In reply to

    Re: Weird issues converting AVI to DVR-MS

    Not sure if it helps any, but here's the contents of the Windows Application log in relation to the todvrms.exe crash...

     Log Name:      Application
    Source:        Application Error
    Date:          1/22/2010 9:55:35 PM
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Media
    Description:
    Faulting application name: todvrms.exe, version: 1.0.1.2, time stamp: 0x4b450998
    Faulting module name: AttributeEnable.ax, version: 1.0.0.1, time stamp: 0x4a96f106
    Exception code: 0xc0000005
    Fault offset: 0x00005be9
    Faulting process id: 0x%9
    Faulting application start time: 0x%10
    Faulting application path: %11
    Faulting module path: %12
    Report Id: %13
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2010-01-23T02:55:35.000000000Z" />
        <EventRecordID>614</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Media</Computer>
        <Security />
      </System>
      <EventData>
        <Data>todvrms.exe</Data>
        <Data>1.0.1.2</Data>
        <Data>4b450998</Data>
        <Data>AttributeEnable.ax</Data>
        <Data>1.0.0.1</Data>
        <Data>4a96f106</Data>
        <Data>c0000005</Data>
        <Data>00005be9</Data>
      </EventData>
    </Event>

  • 01-22-2010 7:20 PM In reply to

    Re: Weird issues converting AVI to DVR-MS

    Hmm... weird. I posted another post with the log from DTB, but it said it was awaiting moderation approval before posting, but then my next post posted right away... Just in case my DTB log post was eaten along the way, here's the log again... basically, I watched the process run from start to finish and noticed that the reason I was getting truncated dvr-ms files is because todvrms.exe was crashing (got the todvrms.exe has stopped working message from Windows).

    I'm running Windows 7 Home Premium 32bit, btw. 

     Here's the DTB log...

    Setting Priority = Normal
    FileName = C:\Users\Matt\Documents\Bittorrent\Complete\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi
    InputFile=C:\Users\Matt\Documents\Bittorrent\Complete\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi
    Processing actions, this may take some time!!
    Current Affinity: 3 System Mask: 3
    Getting MetaData
    File is not a dvrms-file
    Run Profile = Convert AVI to DVR-MS - mencoder
    ProcessId = 33204
    DvrmsToolbox Version: 1.2.2.0
    Throttle DVRMStoMPEG
    FWThrottle: C:\Users\Matt\Documents\Bittorrent\Complete\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi
    WaitTime: 1 PollTime
    Waiting to process file
    Queue file
    Duration = 00:00:01.0140018
    Waiting for available worker: 1/22/2010 9:51 PM
    Worker allocated: 1/22/2010 9:51 PM
    Get the value of Context["OutputFile"] and set the value of Context["OutputFile"]
    Context["OutputFile"] = C:\Users\Matt\Documents\Bittorrent\Temp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi
    Context["OutputFile"] = C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg
    Duration = 00:00:00
    Get the value of Context["InputFile"] and set the value of Context["OutputFolder"]
    Context["InputFile"] = C:\Users\Matt\Documents\Bittorrent\Complete\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi
    Context["OutputFolder"] = C:\Users\Matt\Documents\Bittorrent\Complete\
    Duration = 00:00:00
    Run Mencoder
    Run C:\Program Files\DVRMSToolbox\Applications\Mencoder\Mencoder.exe -quiet "C:\Users\Matt\Documents\Bittorrent\Complete\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi" -profile "MPG-AC3" -o "C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg" -vf pp=md,harddup
    MEncoder Sherpya-SVN-r29355-4.5.0 (C) 2000-2009 MPlayer Team
    success: format: 0  data: 0x0 - 0xaf0f000
    AVI file format detected.
    [aviheader] Video stream found, -vid 0
    [aviheader] Audio stream found, -aid 1
    VIDEO:  [XVID]  624x352  12bpp  23.976 fps  1002.0 kbps (122.3 kbyte/s)
    [V] filefmt:3  fourcc:0x44495658  size:624x352  fps:23.976  ftime:=0.0417
    ==========================================================================
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
    AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
    Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
    ==========================================================================
    PACKET SIZE: 2048 bytes, deltascr: 43885
    Opening video filter: [expand osd=1]
    Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
    Opening video filter: [harddup]
    Opening video filter: [pp=md]
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
    ==========================================================================
    VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
    [PP] Using external postprocessing filter, max q = 6.
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
    videocodec: libavcodec (624x352 fourcc=3267706d [mpg2])
    Writing header...
    INITV: 0.200, 0.158, fps: 23.976
    Flushing video frames.
    Writing index...
    Overhead: 2.837% (10992907 / 387545845)
    Writing header...
    Video stream: 2090.044 kbit/s  (261255 B/s)  size: 336103573 bytes  1286.494 secs  30847 frames
    Audio stream:  320.000 kbit/s  (39999 B/s)  size: 51463680 bytes  1286.592 secs
    Duration = 00:03:47.4456012
    Move the file in Context["InputFile"] to %OutputFolder%
    File Operation completed
    Duration = 00:00:01.0140018
    Get the value of Context["OutputFile"] and set the value of Context["InputFile"]
    Context["OutputFile"] = C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg
    Context["InputFile"] = C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg
    Duration = 00:00:00
    Get the value of Context["OutputFile"] and set the value of Context["OutputFile"]
    Context["OutputFile"] = C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg
    Context["OutputFile"] = C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.dvr-ms
    Duration = 00:00:00
    Get the value of Context["InputFile"] and set the value of Context["TvDBXMLFile"]
    Context["InputFile"] = C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg
    Context["TvDBXMLFile"] = C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg.xml
    Duration = 00:00:00
    Read metadata from TvDB and build Sage XML file.
    Processing TvDBMetaData with 12 arguments.
    Using following file as Template Metadata XML file: Template.mpg.xml
    Using following file as Series Alias XML file: SeriesAlias.xml
    Using following file as the target Metadata XML file: C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg.xml
    Using input parameter as regular expression: (?<series>.+)\.S(?<season>\d+)E(?<episodenbr>\d+)\.
    Metadata provided by thetvdb.com
    Found APIKey.
    Found Series Name
    Retreived Series Info
    Retreived Episode Info
    Sage XML file created: C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg.xml
    Duration = 00:00:00.6396012
    Run todvrms.exe "C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg" "C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.dvr-ms"
    Run C:\Program Files\DVRMSToolbox\Applications\todvrms.exe "C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg" "C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.dvr-ms"
    Duration = 00:00:42.6083239
    Move file specified in Context("OutputFile") to C:\Users\Public\Recorded TV\
    Moving C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.dvr-ms to C:\Users\Public\Recorded TV\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.dvr-ms
    Duration = 00:00:00
    Delete the file in Context["InputFile"]
    Duration = 00:00:00.0156001
    Delete the file in Context["TvDBXMLFile"]
    Duration = 00:00:00
    Total Duration = 00:04:32.7371300

  • 01-22-2010 7:31 PM In reply to

    Re: Weird issues converting AVI to DVR-MS

    Found another post where somebody was having a similar problem and was asked to run todvrms with the -v option. So I did that and here's the output. Hope it makes to somebody. :)

    Setting Priority = Normal
    FileName = C:\Users\Matt\Documents\Bittorrent\Complete\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi
    InputFile=C:\Users\Matt\Documents\Bittorrent\Complete\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi
    Processing actions, this may take some time!!
    Current Affinity: 3 System Mask: 3
    Getting MetaData
    File is not a dvrms-file
    Run Profile = Convert AVI to DVR-MS - mencoder
    ProcessId = 41908
    DvrmsToolbox Version: 1.2.2.0
    Throttle DVRMStoMPEG
    FWThrottle: C:\Users\Matt\Documents\Bittorrent\Complete\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi
    WaitTime: 1 PollTime
    Waiting to process file
    Queue file
    Duration = 00:00:01.0140018
    Waiting for available worker: 1/22/2010 10:22 PM
    Worker allocated: 1/22/2010 10:22 PM
    Get the value of Context["OutputFile"] and set the value of Context["OutputFile"]
    Context["OutputFile"] = C:\Users\Matt\Documents\Bittorrent\Temp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi
    Context["OutputFile"] = C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg
    Duration = 00:00:00
    Get the value of Context["InputFile"] and set the value of Context["OutputFolder"]
    Context["InputFile"] = C:\Users\Matt\Documents\Bittorrent\Complete\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi
    Context["OutputFolder"] = C:\Users\Matt\Documents\Bittorrent\Complete\
    Duration = 00:00:00
    Run Mencoder
    Run C:\Program Files\DVRMSToolbox\Applications\Mencoder\Mencoder.exe -quiet "C:\Users\Matt\Documents\Bittorrent\Complete\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.avi" -profile "MPG-AC3" -o "C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg" -vf pp=md,harddup
    MEncoder Sherpya-SVN-r29355-4.5.0 (C) 2000-2009 MPlayer Team
    success: format: 0  data: 0x0 - 0xaf0f000
    AVI file format detected.
    [aviheader] Video stream found, -vid 0
    [aviheader] Audio stream found, -aid 1
    VIDEO:  [XVID]  624x352  12bpp  23.976 fps  1002.0 kbps (122.3 kbyte/s)
    [V] filefmt:3  fourcc:0x44495658  size:624x352  fps:23.976  ftime:=0.0417
    ==========================================================================
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
    AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
    Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
    ==========================================================================
    PACKET SIZE: 2048 bytes, deltascr: 43885
    Opening video filter: [expand osd=1]
    Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
    Opening video filter: [harddup]
    Opening video filter: [pp=md]
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
    ==========================================================================
    VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
    [PP] Using external postprocessing filter, max q = 6.
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
    videocodec: libavcodec (624x352 fourcc=3267706d [mpg2])
    Writing header...
    INITV: 0.200, 0.158, fps: 23.976
    Flushing video frames.
    Writing index...
    Overhead: 2.837% (10992907 / 387545845)
    Writing header...
    Video stream: 2090.044 kbit/s  (261255 B/s)  size: 336103573 bytes  1286.494 secs  30847 frames
    Audio stream:  320.000 kbit/s  (39999 B/s)  size: 51463680 bytes  1286.592 secs
    Duration = 00:03:42.0819900
    Move the file in Context["InputFile"] to %OutputFolder%
    File Operation completed
    Duration = 00:00:01.0140018
    Get the value of Context["OutputFile"] and set the value of Context["InputFile"]
    Context["OutputFile"] = C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg
    Context["InputFile"] = C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg
    Duration = 00:00:00
    Get the value of Context["OutputFile"] and set the value of Context["OutputFile"]
    Context["OutputFile"] = C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg
    Context["OutputFile"] = C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.dvr-ms
    Duration = 00:00:00
    Get the value of Context["InputFile"] and set the value of Context["TvDBXMLFile"]
    Context["InputFile"] = C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg
    Context["TvDBXMLFile"] = C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg.xml
    Duration = 00:00:00
    Read metadata from TvDB and build Sage XML file.
    Processing TvDBMetaData with 12 arguments.
    Using following file as Template Metadata XML file: Template.mpg.xml
    Using following file as Series Alias XML file: SeriesAlias.xml
    Using following file as the target Metadata XML file: C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg.xml
    Using input parameter as regular expression: (?<series>.+)\.S(?<season>\d+)E(?<episodenbr>\d+)\.
    Metadata provided by thetvdb.com
    Found APIKey.
    Found Series Name
    Retreived Series Info
    Retreived Episode Info
    Sage XML file created: C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg.xml
    Duration = 00:00:00.5304010
    Run todvrms.exe "C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg" "C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.dvr-ms" -v
    Run C:\Program Files\DVRMSToolbox\Applications\todvrms.exe "C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.mpg" "C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.dvr-ms" -v
    Source filter GUID: e436ebb5-524f-11ce-9f53-0020af0ba770
    Get stream pin
    Add AttributeEnable Filter
    Connect source to AE pin
    Connect first pin
    Add VA Filter
    Connect stream/video pin to mpg analyzer
    Get input on SBE
    Input pin obtained, connect it
    Connected Analyzer pin
    Grab the connected pin
    Grab the connected pin
    Got audio pin
    Write MetaDataItem manualRecord = True
    Write MetaDataItem WM/MediaStationName =
    Write MetaDataItem Duration = 0
    Write MetaDataItem isHDTV = False
    Write MetaDataItem WM/MediaOriginalChannel = 0
    Write MetaDataItem WM/WMRVEncodeTime = 633991158000000000
    Write MetaDataItem duration = 180
    Write MetaDataItem originalAirDate = 2010-01-14T00:00:00.00Z
    Write MetaDataItem quality = MPEG2 Max Quality
    Write MetaDataItem stereo = False
    Write MetaDataItem favoriteId = 0
    Write MetaDataItem channelId = 0
    Write MetaDataItem startTime = 2010-01-15T06:30:00.000Z
    Write MetaDataItem Title = Parks and Recreation
    Write MetaDataItem description = Ann sets Leslie up on a bland date with one of her co-workers. However, the date does not go as Leslie had hoped. Meanwhile, Mark begins to feel insecure when he meets one of Ann's old friends.
    Write MetaDataItem category = Comedy
    Write MetaDataItem WM/MediaOriginalBroadcastDateTime = 2010-01-14T00:00:00.00Z
    Write MetaDataItem channelName = NBC
    Write MetaDataItem WM/MediaStationCallSign = NBC
    Write MetaDataItem parentalRating = TV-Y
    Write MetaDataItem WM/SubTitleDescription = Ann sets Leslie up on a bland date with one of her co-workers. However, the date does not go as Leslie had hoped. Meanwhile, Mark begins to feel insecure when he meets one of Ann's old friends.
    Write MetaDataItem WM/Genre = Comedy
    Write MetaDataItem WM/OriginalReleaseTime = 2010-01-14T00:00:00.00Z
    Write MetaDataItem WM/SubTitle = The Set Up
    Write MetaDataItem episode = The Set Up
    Write MetaDataItem channelDescription =
    Write MetaDataItem WM/ToolName = todvrms
    Write MetaDataItem WM/WMRVEndTime = 633991176000000000
    Write MetaDataItem closedCaptioned = False
    Write MetaDataItem sageDbId = 0
    Write MetaDataItem channelNetwork =
    Write MetaDataItem IsSageFile = True
    Write MetaDataItem channelNumber = 0
    Write Attributes
    Start Recording
    Run the graph
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Last Write: 1/22/2010 10:25:59 PM
    Done waiting
    Stop recording
    Duration = 00:00:40.2521206
    Move file specified in Context("OutputFile") to C:\Users\Public\Recorded TV\
    Destination File exists.
    Rename C:\Users\Public\Recorded TV\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.dvr-ms to C:\Users\Public\Recorded TV\Parks.and.Recreation.S02E13.HDTV.XviD-LOL1273817f-6195-496c-8e97-c6780d18a9ec.dvr-ms
    Moving C:\Users\Public\DvrmsToolbox\DTBTemp\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.dvr-ms to C:\Users\Public\Recorded TV\Parks.and.Recreation.S02E13.HDTV.XviD-LOL.dvr-ms
    Duration = 00:00:00
    Delete the file in Context["InputFile"]
    Duration = 00:00:00.0312001
    Delete the file in Context["TvDBXMLFile"]
    Duration = 00:00:00
    Total Duration = 00:04:24.9237153

  • 01-24-2010 2:01 PM In reply to

    Re: Weird issues converting AVI to DVR-MS

    I am also having an issue with AVI to DVR-MS -mencoder   with the new public 1.2.2.0 release.  (1.1.19 would complete fine but the resulting dvr-ms had no sound)

     I am on Windows 7 64bit... not sure if its related to the thread starters problem but I get a PROTECTED MEMORY error when it gets to the  TODVRMS.exe part of the conversion (first properly creates a working .mpg file) . See below for log of the error

     

     

     

    Run todvrms.exe "C:\Users\Public\DvrmsToolbox\DTBTemp\project.runway.s07e02.repack.ws.dsr.xvid-dvskyfileprocess.mpg" "C:\Users\Public\DvrmsToolbox\DTBTemp\project.runway.s07e02.repack.ws.dsr.xvid-dvskyfileprocess.dvr-ms"
    Run C:\Program Files (x86)\DVRMSToolbox\Applications\todvrms.exe "C:\Users\Public\DvrmsToolbox\DTBTemp\project.runway.s07e02.repack.ws.dsr.xvid-dvskyfileprocess.mpg" "C:\Users\Public\DvrmsToolbox\DTBTemp\project.runway.s07e02.repack.ws.dsr.xvid-dvskyfileprocess.dvr-ms"
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

    arg[0] = C:\Users\Public\DvrmsToolbox\DTBTemp\project.runway.s07e02.repack.ws.dsr.xvid-dvskyfileprocess.mpg
    arg[1] = C:\Users\Public\DvrmsToolbox\DTBTemp\project.runway.s07e02.repack.ws.dsr.xvid-dvskyfileprocess.dvr-ms

  • 01-29-2010 9:20 AM In reply to

    Re: Weird issues converting AVI to DVR-MS

    I'm also seeing the same effect, DVR-MS files that are too short. I'm running 64bit with 1.2.2.0 of DTB
  • 02-15-2010 9:35 AM In reply to

    Re: Weird issues converting AVI to DVR-MS

    Has anyone found a solution to this? I have found it is doing the same thing whether converting an avi or an mkv. I am using mc7 with release 1.2.2.0 Thanks
  • 02-16-2010 1:34 PM In reply to

    • woody
    • Top 75 Contributor
    • Joined on 01-28-2010

    Re: Weird issues converting AVI to DVR-MS

    The problem is in todvrms. I am unable to create dvr-ms files that have audio, but this works for .wtv files:

    Install todvrms 1.0.1.4. in dtb 1.2.2.0. Then replace the AttributeEnable.ax filter in dtb with the one from version 1.0.1.3.  You will need to create a custom template that adds the -uselastwrite parameter with todvrms.  This takes a lot of tweaking, but this combination does produce good .wtv files.

  • 03-14-2010 10:49 PM In reply to

    Re: Weird issues converting AVI to DVR-MS

    Any other solutions for this? I've tried woody's method above, and I get sound, but the video isn't working. I'll get a split-second of video, then a freeze-frame for a few seconds, then another split second of video, then freeze-frame. All the while the audio is playing fine.
Page 1 of 1 (10 items)
@2008 andy vt
Powered by Community Server (Non-Commercial Edition), by Telligent Systems