MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Watch / Listen Media » watch/edit Videos


watch/edit Videos General talk, support, improvement suggestions and tips & tricks

Reply
 
Thread Tools Display Modes
Old 2006-07-21, 12:06   #91 (permalink)
Retired Team Member
 
Join Date: Jun 2005
Posts: 250
Thanks: 0
Thanked 0 Times in 0 Posts


Send a message via Yahoo to egonspengleruk
Default

Quote:
Originally Posted by knutinh
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
egonspengleruk is offline   Reply With Quote
Old 2006-07-21, 12:49   #92 (permalink)
Portal Member
 
Join Date: Sep 2005
Posts: 555
Thanks: 0
Thanked 1 Time in 1 Post


Default

Quote:
Originally Posted by egonspengleruk
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
knutinh is offline   Reply With Quote
Old 2006-08-13, 03:16   #93 (permalink)
Portal User
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts


Default 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.
connect is offline   Reply With Quote
Old 2006-08-14, 19:41   #94 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Behind you... scared?
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I have the exact same problem connect. I think its something with the cyberlink filters i've been reading about but i cant seem to find a working download to test it.
[XStream] is offline   Reply With Quote
Old 2006-08-15, 17:39   #95 (permalink)
Portal User
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts


Default

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?
Robbedoes2 is offline   Reply With Quote
Old 2006-08-16, 18:54   #96 (permalink)
Retired Team Member
 
Join Date: Jun 2005
Posts: 250
Thanks: 0
Thanked 0 Times in 0 Posts


Send a message via Yahoo to egonspengleruk
Default

Quote:
Originally Posted by Robbedoes2
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
egonspengleruk is offline   Reply With Quote
Old 2006-08-16, 19:01   #97 (permalink)
Retired Team Member
 
mzemina's Avatar
 
Join Date: Feb 2005
Location: Ft Smith, AR
Posts: 2,045
Thanks: 36
Thanked 12 Times in 12 Posts

Country:


Default

Quote:
Originally Posted by egonspengleruk
...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.
__________________
mzemina is offline   Reply With Quote
Old 2006-09-06, 14:36   #98 (permalink)
Portal Member
 
NorthernJohn's Avatar
 
Join Date: Jan 2006
Location: Hopefully on my bike.
Posts: 147
Thanks: 2
Thanked 0 Times in 0 Posts

Country:

My System

Default

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?
__________________
NorthernJohn is offline   Reply With Quote
Old 2006-09-07, 18:38   #99 (permalink)
Portal Member
 
eagle's Avatar
 
Join Date: Sep 2004
Location: Lower Frankonia
Age: 49
Posts: 321
Thanks: 2
Thanked 0 Times in 0 Posts

Country:

My System

Default

anybody working on burning playlists as audio-cds?

eagle
eagle is offline   Reply With Quote
Old 2006-09-15, 02:56   #100 (permalink)
Retired Team Member
 
natrlhy's Avatar
 
Join Date: Aug 2006
Location: Bay Area, CA
Posts: 324
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Question 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
natrlhy is offline   Reply With Quote
Reply

Bookmarks

Tags
burner, burning, dvd, video

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASUS WDM TV/FM 7134 is supported River Mead General Support 6 2007-08-27 16:12
Poor video quality with live TV toddbailey MediaPortal 1 Talk 12 2006-08-13 11:18
Why can't I see scrambled chanels?? tt dvb-c 1500, viaaccess kingkjelds General Support 14 2006-08-02 13:20
Channelswitching before recording doesn't work Bullseye General Support 0 2006-07-19 08:04
MP crashing after viewing 21 videos endeneu The old Bugreport Forum 27 2006-06-07 22:58


All times are GMT +1. The time now is 03:42.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden