My Burner - now with Video DVD burning :) (1 Viewer)

egonspengleruk

Retired Team Member
  • Premium Supporter
  • June 30, 2005
    250
    0
    knutinh said:
    I dont know any C#, but Id love to participate on algorithm/low-level implementation of a normalization routine.

    If all files are converted to 44.1/16bit wav files beforehand, I think that it should be quite easy to do a file-scan for statistics, compare the given files, and do a individual file attenuation before returning to actually burning the CD.

    Adobe Audition has quite nice normalisation features.

    Id say that it is sufficient to scan for peak amplitude as well as average "percieved" amplitude (using some weighing filter taking our hearings increased sensitivity for midrange sounds).

    Then you get two vectors:
    peak1, percieved1
    peak2, percieved2
    ...

    Now, we dont want any peak levels to exceed the maximum allowable amplitude (0dB, '1' or +/- 32768). So take the maximum

    Find the global "gain factor" by checking all files percieved amplitude against peak amplitude to find the one song that limits the total gain (typically one with high peak-to-rms ratio) and use this factor with the inverse of percieved amplitude to attenuate every song.

    Now, the main obstacles would be finding fast and compact means to do a full wav file convolution (weighing filter) as well as attenuation. Adobe audition is quite slow, so I think it is hard to do very fast.

    BTW, the convolution would contain only a few filter taps, no need to have milimetre-precision.

    The UI really should have only a simple selection for "no normalise", "normalise by peak" and "normalise by percieved soundlevel"

    regards
    Knut

    Your more than welcome to help out :) The more the merrier (and less work for me!)
    All the source code for the MyBurner plugin is included in the download. Grab a copy of that then look for the function called MakeWav. This uses Madlibb.dll to do the MP3 -> Wav conversion. After this you have your temporary wav file to do you normalisation on.

    Egon
     

    knutinh

    Portal Pro
    September 4, 2005
    558
    2
    egonspengleruk said:
    Your more than welcome to help out :) The more the merrier (and less work for me!)
    All the source code for the MyBurner plugin is included in the download. Grab a copy of that then look for the function called MakeWav. This uses Madlibb.dll to do the MP3 -> Wav conversion. After this you have your temporary wav file to do you normalisation on.

    Egon
    Thanks. I am going away for a week or so but will look into it after that.

    It seems that this site will be a good place to start with the tech stuff:
    http://www.replaygain.org/

    with regards
    Knut
     

    connect

    New Member
    August 13, 2006
    1
    0
    Having Problems

    Hi Guy's,

    I want to burn DVD's from TV shows I 've recorded. I hhave installed the Mediaportal software and the MyBurner plugin. I have got as far as the XML file so I can see the Video button. However if I click convert it says files converting and there is an ok button. But nothing seems to happen.

    Also I tried to burn the recorded TV files but it doesn't show up in the list of media I can use to burn with.

    Sorry if these questions are stupid but I don't know much about this type of stuff. Do I need to have any kind of codecs or special system files installed for this to work? If someone gets a spare 5 minutes could you let me know what settings I should have.

    Thanks in advance for any help.
     

    Robbedoes2

    New Member
    August 15, 2006
    2
    0
    Great plugin!
    Only it is not working on my PC :(

    It is creating an ISO image (in the temp directory), but it does not burn the CD.

    in the logfile the following is shown:

    Code:
    15-8-2006 17:24:12 My Burner Plugin->BurnVideoDVD Class: Starting ISOFileCreation - Args: -V "MyDvd" -o "C:\Documents and Settings\Rob\Local Settings\Temp\\DVD\dvd.iso" -dvd-video "C:\Documents and Settings\Rob\Local Settings\Temp\\DVD\DVD_Image"
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: Burn DVD Step Exited: Step:  - Step4
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: StatusUpdate:  - DVD Burn Process Exited: DVD ISO Creation - mkisofs.exe
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: NextStep_DVDCreation - CurrentState: Step5
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: Entered VideoDVDBurn - BurnOption: False
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: StatusUpdate:  - Burning ISO image to DVD
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: Burn DVD Step Exited: Step:  - Step5
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: StatusUpdate:  - DVD Burn Process Exited: DVD Burning is Disabled
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: NextStep_DVDCreation - CurrentState: Finished
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: StatusUpdate:  - Performing Cleanup of Temporary Files
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: StatusUpdate:  - Temporary Files Not Deleted: In Debug Mode
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: StatusUpdate:  - Completed Video DVD Burning

    However, I turned it on in the plugin configuration and also in the configuration XML file it is on:

    Code:
      <section name="burner">
        <entry name="temp_folder">C:\Documents and Settings\Rob\Local Settings\Temp\</entry>
        <entry name="recorder">0</entry>
        <entry name="burn">yes</entry>
        <entry name="fastformat">yes</entry>
        <entry name="convertdvr">yes</entry>
        <entry name="deletedvrsource">no</entry>
        <entry name="convertautomatic">no</entry>
        <entry name="changetvdatabase">no</entry>
        <entry name="mpegpath">no</entry>
        <entry name="deletetvdatabase">no</entry>
        <entry name="mpeg_folder">
        </entry>
        <entry name="PalTvFormat">yes</entry>
        <entry name="leavedebugfiles">yes</entry>
        <entry name="dvdbuslocation">1,0,0</entry>
        <entry name="backupline#0">database\*.*</entry>
        <entry name="backupline#1">thumbs\*.*</entry>
        <entry name="backupline#2">xmltv\*.*</entry>
        <entry name="backupline#3">weather\*.*</entry>
        <entry name="backupline#4">*.xml</entry>
        <entry name="backupline#5">menu.bin</entry>
        <entry name="backuplines">6</entry>
      </section>

    What can I do to fix this?
     

    egonspengleruk

    Retired Team Member
  • Premium Supporter
  • June 30, 2005
    250
    0
    Robbedoes2 said:
    Great plugin!
    Only it is not working on my PC :(

    It is creating an ISO image (in the temp directory), but it does not burn the CD.

    in the logfile the following is shown:

    Code:
    15-8-2006 17:24:12 My Burner Plugin->BurnVideoDVD Class: Starting ISOFileCreation - Args: -V "MyDvd" -o "C:\Documents and Settings\Rob\Local Settings\Temp\\DVD\dvd.iso" -dvd-video "C:\Documents and Settings\Rob\Local Settings\Temp\\DVD\DVD_Image"
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: Burn DVD Step Exited: Step:  - Step4
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: StatusUpdate:  - DVD Burn Process Exited: DVD ISO Creation - mkisofs.exe
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: NextStep_DVDCreation - CurrentState: Step5
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: Entered VideoDVDBurn - BurnOption: False
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: StatusUpdate:  - Burning ISO image to DVD
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: Burn DVD Step Exited: Step:  - Step5
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: StatusUpdate:  - DVD Burn Process Exited: DVD Burning is Disabled
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: NextStep_DVDCreation - CurrentState: Finished
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: StatusUpdate:  - Performing Cleanup of Temporary Files
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: StatusUpdate:  - Temporary Files Not Deleted: In Debug Mode
    15-8-2006 17:24:14 My Burner Plugin->BurnVideoDVD Class: StatusUpdate:  - Completed Video DVD Burning

    However, I turned it on in the plugin configuration and also in the configuration XML file it is on:

    Code:
      <section>
        <entry>C:\Documents and Settings\Rob\Local Settings\Temp\</entry>
        <entry>0</entry>
        <entry>yes</entry>
        <entry>yes</entry>
        <entry>yes</entry>
        <entry>no</entry>
        <entry>no</entry>
        <entry>no</entry>
        <entry>no</entry>
        <entry>no</entry>
        <entry>
        </entry>
        <entry>yes</entry>
        <entry>yes</entry>
        <entry>1,0,0</entry>
        <entry>database\*.*</entry>
        <entry>thumbs\*.*</entry>
        <entry>xmltv\*.*</entry>
        <entry>weather\*.*</entry>
        <entry>*.xml</entry>
        <entry>menu.bin</entry>
        <entry>6</entry>
      </section>

    What can I do to fix this?

    Hey,

    First off, if you turn on debug mode then the DVD doesnt get burnt. Just checking that you know this :) Caught myself out a couple of times with it and I wrote the code!!!
    Can you burn the ISO with something like Nero? I.e. is the ISO valid?
    Ive had a lot of reports of trouble burning the DVD. The app I am using is based on a Linux app which seems to have trouble with certain media types. E.g. DVD-RW doesnt seem to write.
    Ive found a replacement app that supports from drives....but the real world has got in the way a lot and I dont seem to have much time to develop this at the minute. But as soon as I can I will get back to it.

    Egon
     

    mzemina

    Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,065
    14
    Tulsa, OK
    Home Country
    United States of America United States of America
    egonspengleruk said:
    ...Hey,

    First off, if you turn on debug mode then the DVD doesnt get burnt. Just checking that you know this :) Caught myself out a couple of times with it and I wrote the code!!!
    Can you burn the ISO with something like Nero? I.e. is the ISO valid?
    Ive had a lot of reports of trouble burning the DVD. The app I am using is based on a Linux app which seems to have trouble with certain media types. E.g. DVD-RW doesnt seem to write.
    Ive found a replacement app that supports from drives....but the real world has got in the way a lot and I dont seem to have much time to develop this at the minute. But as soon as I can I will get back to it.

    Egon

    Egon - Do you have the link to that replacement app? Isn't it being written in C#?

    edit: Nevermind. I found in this thread that we talked about it (I thought I had remembered it from somewhere) anyway, the opensource project can be found here and it looks like there has not been many updates since June of 2006.
     

    NorthernJohn

    Portal Pro
    January 31, 2006
    167
    0
    Hopefully on my bike.
    Home Country
    United Kingdom United Kingdom
    Just been giving this a go but not going entirely smoothly.

    I enabled and setup this plugin as per the instructions. However, when I reboot my machine, it starts to load MP as it should but then falls over with a .NET framework error. I can then start MP manually without problems. It seems to be only on the startup. Not going to be good for WAF! Any ideas what I should look for?

    0.2.0.4 no SVN
    BlueTwo skin

    Also, I wasn't getting a DVD burnt but it did create the .iso. Reading this thread, it looks like I've got it in debug mode. Without wanting to look dim, where do you turn debug mode off? :oops:
     

    natrlhy

    Retired Team Member
  • Premium Supporter
  • August 2, 2006
    324
    0
    Bay Area, CA
    Home Country
    United States of America United States of America
    No burner device...

    When trying to configure the My Burner plugin I do not see a line when I click on "Click Me".

    I have a HL-DT-ST DVDRAM GSA-H10N JL10 drive made by LG.


    D:\Team MediaPortal\MediaPortal\Burner>cdrecord.exe -scanbus
    Cdrecord-ProDVD-Clone 2.01.01a09 (i686-pc-cygwin) Copyright (C) 1995-2006 Jörg S
    chilling
    Using libscg version 'schily-0.8'.
    scsibus0:
    0,0,0 0) *
    0,1,0 1) *
    0,2,0 2) *
    0,3,0 3) *
    0,4,0 4) *
    0,5,0 5) *
    0,6,0 6) *
    0,7,0 7) HOST ADAPTOR
    scsibus1:
    1,0,0 100) *
    1,1,0 101) *
    1,2,0 102) *
    1,3,0 103) *
    1,4,0 104) *
    1,5,0 105) *
    1,6,0 106) *
    1,7,0 107) HOST ADAPTOR
    scsibus2:
    2,0,0 200) 'WDC WD50' '00KS-00MNB0 ' '07.0' Disk
    2,1,0 201) *
    2,2,0 202) *
    2,3,0 203) *
    2,4,0 204) *
    2,5,0 205) *
    2,6,0 206) *
    2,7,0 207) HOST ADAPTOR

    D:\Team MediaPortal\MediaPortal\Burner>ping -t localhost 1>nul
     

    Users who are viewing this thread

    Top Bottom