in

andy vt's tools & blog

Automating lazy

Unable to convert mkv to dvr-ms

Last post 02-02-2010 7:42 AM by woody. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 12-22-2009 11:52 PM

    • chinlj
    • Not Ranked
    • Joined on 12-23-2009
    • Posts 2

    Unable to convert mkv to dvr-ms

    Hi. Since wiped out Windows 7 RC recently and installed Windows 7 RTM x86, DTB failed to convert almost any mkv files. MencoderProper simply crashes as soon as I start the process. From the output, looks like the mediainfo portion is incomplete. Below is the a sample output followed by the mkv file info.

    Any help is very much appreciated. Thank you.

     -----------------------------------------------------
    InputFile=C:\Temp\test.mkv
    Processing actions, this may take some time!!
    Current Affinity: 3 System Mask: 3
    File is not a dvrms-file
    Could not retrieve stream information
    Meta data could not be read, some actions may not function properly
    Run Profile = Convert avi or mkv  to DVR-MS
    ProcessId = 1732
    DvrmsToolbox Version: 1.2.1.9
    Throttle DVRMStoMPEG
    FWThrottle: C:\Temp\test.mkv
    WaitTime: 5 PollTime
    Waiting to process file
    Queue file
    Duration = 00:00:01.0296018
    Waiting for available worker: 23/12/2009 3:20:46 PM
    Worker allocated: 23/12/2009 3:20:46 PM
    Get the value of Context["InputFile"] and set the value of Context["TempFile"]
    Context["InputFile"] = C:\Temp\test.mkv
    Context["TempFile"] = C:\Users\Public\DvrmsToolbox\DTBTemp\test.mpg
    Duration = 00:00:00.0156000
    Run MencoderProper\MencoderProper.exe "C:\Temp\test.mkv" "C:\Users\Public\DvrmsToolbox\DTBTemp\test.mpg"
    Run C:\Program Files\DVRMSToolbox\Applications\MencoderProper\MencoderProper.exe "C:\Temp\test.mkv" "C:\Users\Public\DvrmsToolbox\DTBTemp\test.mpg"
    [MencoderProper] Need some help running Mencoder?  Well that's what I'm here for!
    [MencoderProper] You entered [C:\Temp\test.mkv] as the file you would like to convert and [C:\Users\Public\DvrmsToolbox\DTBTemp\test.mpg] as the destination file.
    [MencoderProper] Initializing........
    [MencoderProper] Loading config file located at: C:\Program Files\DVRMSToolbox\Applications\MencoderProper\MencoderProper.config
    [MencoderProper] Config file loaded.
    [MencoderProper] Initialization complete.
    [MencoderProper] Obtaining input file location from parameter passed in and setting output to parameter passed in.

    [MencoderProper] Found subtitle file.  Will hardsub with [C:\Temp\test.srt] subtitle file.
    [MencoderProper] Getting MediaInfo for [C:\Temp\test.mkv]
    [MencoderProper] Video Height: 534
    [MencoderProper] Video Width: 1280
    [MencoderProper] Number of Audio Streams: 1
    [MencoderProper] Audio Aspect Ratio: 2.397
    [MencoderProper] Audio Type: DTS
    [MencoderProper] Audio Bitrate: 1509750
    [MencoderProper] Audio Channels: 6

    Duration = 00:00:05.0388088
    Get the value of Context["TempFile"] and set the value of Context["InputFile"]
    Context["TempFile"] = C:\Users\Public\DvrmsToolbox\DTBTemp\test.mpg
    Context["InputFile"] = C:\Users\Public\DvrmsToolbox\DTBTemp\test.mpg
    Duration = 00:00:00
    Run todvrms.exe "C:\Users\Public\DvrmsToolbox\DTBTemp\test.mpg" "C:\Temp\test.dvr-ms"
    Run C:\Program Files\DVRMSToolbox\Applications\todvrms.exe "C:\Users\Public\DvrmsToolbox\DTBTemp\test.mpg" "C:\Temp\test.dvr-ms"
    C:\Users\Public\DvrmsToolbox\DTBTemp\test.mpg does not exist

    Duration = 00:00:05.0388089
    Delete the file in Context["TempFile"]
    Duration = 00:00:00
    Total Duration = 00:00:11.1228195

     -----------------------------------------------------

    General
    Complete name                    : C:\Temp\test.mkv
    Format                           : Matroska
    File size                        : 4.35 GiB
    Duration                         : 1h 35mn
    Overall bit rate                 : 6 557 Kbps
    Encoded date                     : UTC 2009-11-02 07:42:00
    Writing application              : mkvmerge v2.9.8 ('C'est le bon') built on Aug 13 2009 12:49:06
    Writing library                  : libebml v0.7.7 + libmatroska v0.8.1

    Video
    ID                               : 1
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : High@L4.1
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 6 frames
    Muxing mode                      : Container profile=Unknown@4.1
    Codec ID                         : V_MPEG4/ISO/AVC
    Duration                         : 1h 34mn
    Bit rate                         : 4 917 Kbps
    Nominal bit rate                 : 5 046 Kbps
    Width                            : 1 280 pixels
    Height                           : 534 pixels
    Display aspect ratio             : 2.35
    Frame rate                       : 23.976 fps
    Resolution                       : 24 bits
    Colorimetry                      : 4:2:0
    Scan type                        : Progressive
    Bits/(Pixel*Frame)               : 0.300
    Stream size                      : 3.26 GiB (75%)
    Writing library                  : x264 core 78 r1318 fe83a90
    Encoding settings                : cabac=1 / ref=6 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.1:0.2 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=2 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=0 / mbaff=0 / constrained_intra=0 / bframes=4 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=2 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=5046 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=50000 / ip_ratio=1.40 / aq=2:0.60

    Audio
    ID                               : 2
    Format                           : DTS
    Format/Info                      : Digital Theater Systems
    Codec ID                         : A_DTS
    Duration                         : 1h 35mn
    Bit rate mode                    : Constant
    Bit rate                         : 1 510 Kbps
    Channel(s)                       : 6 channels
    Channel positions                : Front: L C R, Surround: L R, LFE
    Sampling rate                    : 48.0 KHz
    Resolution                       : 24 bits
    Stream size                      : 1.00 GiB (23%)
    Language                         : English

     

  • 12-23-2009 8:35 PM In reply to

    • chinlj
    • Not Ranked
    • Joined on 12-23-2009
    • Posts 2

    Re: Unable to convert mkv to dvr-ms

    Turns out that it is due to the subtitle file .srt that's causing the problem. Removing the .srt and MencoderProper will run. Putting the .srt file back and MencoderProper just crashes.

    It still crashes even the .srt file has only 1 line of text. Found a similar post in My Network Project blog which I think is the author of MencoderProper but no solution provided yet.

    Anyone has got any ideas how to workaround this?

    -----------------------------------------------------

    [MencoderProper] Need some help running Mencoder?  Well that's what I'm here for!
    [MencoderProper] You entered [C:\temp\test.mkv] as the file you would like to convert and [C:\temp\test.mpg] as the destination file.
    [MencoderProper] Initializing........
    [MencoderProper] Loading config file located at: C:\Temp\MencoderProper.config
    [MencoderProper] Config file loaded.
    [MencoderProper] Initialization complete.
    [MencoderProper] Obtaining input file location from parameter passed in and setting output to parameter passed in.
    [MencoderProper] Found subtitle file.  Will hardsub with [C:\temp\test.srt] subtitle file.
    [MencoderProper] Getting MediaInfo for [C:\temp\test.mkv]
    [MencoderProper] Video Height: 536
    [MencoderProper] Video Width: 1280
    [MencoderProper] Number of Audio Streams: 1
    [MencoderProper] Audio Aspect Ratio: 2.388
    [MencoderProper] Audio Type: DTS
    [MencoderProper] Audio Bitrate: 1509750
    [MencoderProper] Audio Channels: 6

    Unhandled Exception: System.FormatException: Input string was not in a correct format.
       at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
       at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
       at System.Convert.ToInt32(String value)
       at MencoderProper.FileSource.GetMediaInfo()
       at MencoderProper.FileSource..ctor(String inputFile, String outputFile)
       at MencoderProper.MEncoderTranscoder..ctor(String InputFile, String OutputFile)
       at MencoderProper.Program.Main(String[ args)

  • 01-22-2010 9:02 AM In reply to

    Re: Unable to convert mkv to dvr-ms

    I have a few mkv files with .srt subtitles and was trying to convert then to dvr-ms, but could not due to the subtitles as well.

     has anyone succeded?

  • 01-22-2010 4:30 PM In reply to

    Re: Unable to convert mkv to dvr-ms

     By the way, are there any requisites (external codecs, splitters) to run dvrmstoolbox under Windows 7 32bit ?

  • 01-26-2010 11:17 AM In reply to

    Re: Unable to convert mkv to dvr-ms

     Mencoder works, but the mpg file is not completely processed by todvrms, only a small part of the video is converted.

     Has anyone found the same problem?

  • 01-27-2010 10:40 AM In reply to

    Re: Unable to convert mkv to dvr-ms

    have you tried todvrms 1.0.1.3?
  • 01-27-2010 3:22 PM In reply to

    Re: Unable to convert mkv to dvr-ms

     Actualy I was using 1.0.1.2. Just installed 1.0.1.3 but can't find registertodvrmsfilters.cmd.

  • 02-02-2010 2:51 AM In reply to

    Re: Unable to convert mkv to dvr-ms

     Went back to ToDVRMS 1.0.1.0 (which contains the registertodvrmsfilters.cmd) and can now convert mkv to wtv.

  • 02-02-2010 7:42 AM In reply to

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

    Re: Unable to convert mkv to dvr-ms

     

    Gilson:

     Went back to ToDVRMS 1.0.1.0 (which contains the registertodvrmsfilters.cmd) and can now convert mkv to wtv.

     

    I've had the same problems you're havin. I'm also running Win7 Ultimate X64.  todvrms 1.0.1.2 produces files that are cut off in length.  1.0.1.3 terminates with errors.  I'll try 1.0.1.0 of todvrms and see if that works.

Page 1 of 1 (9 items)
@2008 andy vt
Powered by Community Server (Non-Commercial Edition), by Telligent Systems