INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Search all forums or this forum: Advanced search
Yet Another Script - 2.0 to 5.1 Upmixer

Forum Index -> Video -> Audio Printer-friendly version
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Reply to topic
Author Message
Soopafresh
Dismember


Joined: 01 Jan 2004
Location: United States

Post Posted: Sep 06, 2007 20:32 Posts Comp View users profile Send private message Reply with quote

Insomniak4700 - That's weird. I wouldn't change the bassaudio filters if I were you. They're tricky and very version specific.

Last edited by Soopafresh on Sep 06, 2007 23:46, edited 2 times in total


Aaron187
Member


Joined: 03 Sep 2007
Location: Canada

Post Posted: Sep 06, 2007 20:42 Posts Comp View users profile Send private message Reply with quote

yeah

Insomniak4700
Member


Joined: 02 Sep 2005
Location: Montreal, Canada

Post Posted: Sep 06, 2007 21:02 Posts Comp View users profile Send private message Reply with quote

I removed Avast and installed AVG... less hassle and I really, really want to try this smile.gif

I'll check in later for a .WAV version. thanks!


Soopafresh
Dismember


Joined: 01 Jan 2004
Location: United States

Post Posted: Sep 06, 2007 21:37 Posts Comp View users profile Send private message Reply with quote

Thanks for sticking in there, guys. I'll have a solution for the WAV conversion and Mpeg2 issues by tomorrow.

Soopafresh
Dismember


Joined: 01 Jan 2004
Location: United States

Post Posted: Sep 06, 2007 21:46 Posts Comp View users profile Send private message Reply with quote

Aaron187
Member


Joined: 03 Sep 2007
Location: Canada

Post Posted: Sep 06, 2007 22:33 Posts Comp View users profile Send private message Reply with quote

Thanks smile.gif

Edit:
Is it possible that you could make me a program that lets me just click on one file and it converts my .mpg file to DVD format video with 5.1 sound?
i hope you can because that would save me a lot of time because I need to do it like 200-300 times if not.


Soopafresh
Dismember


Joined: 01 Jan 2004
Location: United States

Post Posted: Sep 06, 2007 23:41 Posts Comp View users profile Send private message Reply with quote

Insomniak4700 - Here you go. Turns out it was easier than I thought. Doesn't need the BassAudio dlls either (as long as your WAV files are under 4GB in size).


Unzip, place your WAVs in the same folder and double click the .BAT file to run.

wav_to_5_1_upmixer.rar



Aaron187 - I'll work on the MPEG to 5.1 sound script. This one is really complicated. If it was easy, I would have released it by now laugh.gif There are some technical hurdles that make it especially difficult, in particular ensuring the output has good A/V sync. It's a lot easier to do for DivX or Xvid AVIs.


dirkenlek
Member


Joined: 18 Aug 2007
Location: Belgium

Post Posted: Sep 07, 2007 01:44 Posts Comp View users profile Send private message Reply with quote

Hello Soopafresh..

Is it also possible to upmix WMV files to 5,1 ...


Soopafresh
Dismember


Joined: 01 Jan 2004
Location: United States

Post Posted: Sep 07, 2007 01:55 Posts Comp View users profile Send private message Reply with quote

dirkenlek - No, the lack of opensource tools for WMV demultiplexing and remultiplexing, and my dislike of the WMV file format make it something I'd rather not take on. It might be technically possible - someone else might have a solution.

Delta2
Member


Joined: 20 Jun 2005
Location: Portugal

Post Posted: Sep 07, 2007 05:51 Posts Comp View users profile Send private message Reply with quote

What upmix function should I use ?

UpMixHeadphones
UpMixJagger
UpMixFarina
UpMixGerzen
UpMixSOS
UpMixMultisonic
UpMixGeneral

Which one is better for a home-theater ?

I used UpMixFarina, it works well but I got this warning :

"can't rewind stream by 63 bits"

strange


Soopafresh
Dismember


Joined: 01 Jan 2004
Location: United States

Post Posted: Sep 07, 2007 07:56 Posts Comp View users profile Send private message Reply with quote

"can't rewind stream by 63 bits"

I've never seen that message before, but it looks like it is coming from FFmpeg. Replace the one in the package with this: http://ffdshow.faireal.net/mirror/ffmpeg/ffmpeg.rev10141.7z

Your source file might be imperfect. Try another file to test.

What upmix function should I use ?

I like UpmixFarina, but that's just my personal taste. Your ears can judge which one sounds best for you. Jagger posted some additional configs in the thread.


Delta2
Member


Joined: 20 Jun 2005
Location: Portugal

Post Posted: Sep 07, 2007 08:32 Posts Comp View users profile Send private message Reply with quote

====
I've never seen that message before, but it looks like it is coming from FFmpeg. Replace the one in the package with this: http://ffdshow.faireal.net/mirror/ffmpeg/ffmpeg.rev10141.7z

Your source file might be imperfect. Try another file to test.
====

It comes from wavi, but I tested with another avi sample and works fine

Tested with avi samples and converting NTSC to PAL and vice-versa, didn't encounter sync problems, seems that everything works fine.

=====
I like UpmixFarina, but that's just my personal taste. Your ears can judge which one sounds best for you. Jagger posted some additional configs in the thread.[/quote]
=======

Ok, I used that also

Can I use this scripts for free ? i.e., can I include them in public projects ?

thanks


Soopafresh
Dismember


Joined: 01 Jan 2004
Location: United States

Post Posted: Sep 07, 2007 09:06 Posts Comp View users profile Send private message Reply with quote

Here's a newer version of WAVI: http://sourceforge.net/project/showfiles.php?group_id=196137

Of course you can use the script and associated apps in any other not for sale project, but you have to include the source files and should include urls to the programs as well. Read the readme.


Aaron187
Member


Joined: 03 Sep 2007
Location: Canada

Post Posted: Sep 07, 2007 13:49 Posts Comp View users profile Send private message Reply with quote

Soopafresh wrote:
Insomniak4700 - Here you go. Turns out it was easier than I thought. Doesn't need the BassAudio dlls either (as long as your WAV files are under 4GB in size).


Unzip, place your WAVs in the same folder and double click the .BAT file to run.

wav_to_5_1_upmixer.rar



Aaron187 - I'll work on the MPEG to 5.1 sound script. This one is really complicated. If it was easy, I would have released it by now laugh.gif There are some technical hurdles that make it especially difficult, in particular ensuring the output has good A/V sync. It's a lot easier to do for DivX or Xvid AVIs.


Oh okay thanks smile.gif. sorry im putting u throuhg lots of trouble but i really appreciate it


Soopafresh
Dismember


Joined: 01 Jan 2004
Location: United States

Post Posted: Sep 07, 2007 15:21 Posts Comp View users profile Send private message Reply with quote

No problem, just have patience my friend. I'll try to get it working this weekend.

Q - Do all of your files have MP2 audio ?


Aaron187
Member


Joined: 03 Sep 2007
Location: Canada

Post Posted: Sep 07, 2007 17:35 Posts Comp View users profile Send private message Reply with quote

Yeah I am sure about the MPEG-1 Layer 2 audio but I am not sure they will all be mpeg2 video but they will all have .mpg extensions

Delta2
Member


Joined: 20 Jun 2005
Location: Portugal

Post Posted: Sep 07, 2007 18:34 Posts Comp View users profile Send private message Reply with quote

====
Of course you can use the script and associated apps in any other not for sale project, but you have to include the source files and should include urls to the programs as well. Read the readme.[/quote]
=====

Nothing to sell, but everything to give for free, I do this only for fun and sport

You can see it working with CCE SP2...HC Enc...whatever....in just one click

well...if you have a good sample, as I said...it is a little unstable with bad sample sources.

www.avi2iso.com

should be easy to you to understand how it works, all-in-one it's all the same...or not !!!

I made some little changes, let me know if I am missing something with your credits

thanks again


j4gg3rr
Member


Joined: 10 Nov 2005
Location: Australia

Post Posted: Sep 07, 2007 19:30 Posts Comp View users profile Send private message Reply with quote

This batch already does multiple formats including *.wav to *.ac3 5.1.
http://forum.videohelp.com/topic326127-30.html#1746651


j4gg3rr
Member


Joined: 10 Nov 2005
Location: Australia

Post Posted: Sep 09, 2007 06:58 Posts Comp View users profile Send private message Reply with quote

Delta2 wrote:
====
Of course you can use the script and associated apps in any other not for sale project, but you have to include the source files and should include urls to the programs as well. Read the readme.
=====

Nothing to sell, but everything to give for free, I do this only for fun and sport

You can see it working with CCE SP2...HC Enc...whatever....in just one click

well...if you have a good sample, as I said...it is a little unstable with bad sample sources.

www.avi2iso.com

should be easy to you to understand how it works, all-in-one it's all the same...or not !!!

I made some little changes, let me know if I am missing something with your credits

thanks again


Yeah nice program you have there in AVI2ISO !!
And finally a 1 click converter with Low Pass Filter turned off in CCE SP2 smile.gif

But with the scripta.avs and stereo.bat being generated by the main program, I can't
change the upmix script from Farina and the bitrate is stuck on 384.


Delta2
Member


Joined: 20 Jun 2005
Location: Portugal

Post Posted: Sep 09, 2007 10:10 Posts Comp View users profile Send private message Reply with quote

======
Yeah nice program you have there in AVI2ISO !!
And finally a 1 click converter with Low Pass Filter turned off in CCE SP2 smile.gif
=======

Thanks for your nice words, I tried to make a all-in-one as simple as I could, that's why I made 3 profiles as you notice.

=====
But with the scripta.avs and stereo.bat being generated by the main program, I can't
change the upmix script from Farina and the bitrate is stuck on 384
======

I used your defaults with UpMixFarina method, less than 256kbps for 5.1 it is very low

It is foolish to think that a all-in-one developer understands everything so....I will be very grateful if you helped me to make this more perfect...it is beta as I said in my homepage

Thank you very much


Last edited by Delta2 on Sep 11, 2007 06:02, edited 4 times in total


Insomniak4700
Member


Joined: 02 Sep 2005
Location: Montreal, Canada

Post Posted: Sep 09, 2007 10:24 Posts Comp View users profile Send private message Reply with quote

soupafresh, I was just wondering if the wav script you send me did some kind of levels adjustment? It seems so much simpler than the mp3 script....

I was just wondering because I wanted to try it with a TV movie capture..


Soopafresh
Dismember


Joined: 01 Jan 2004
Location: United States

Post Posted: Sep 09, 2007 10:54 Posts Comp View users profile Send private message Reply with quote

Get rid of this section if you don't want the volume changed (so much). There are going to be some volume changes, especially with the original script on the first page using UpMixFarina. But that's by design for movies vs music. With WAV audio as your source, I'm assuming you are upmixing music, so the output isn't as dynamically compressed.

for %%a in ("*.wav") do @echo ConvertAudioToFloat().SSRC(48000).normalize() >>"%%~na.avs"



Or, try j4gg3rr's version, posted above.


Soopafresh
Dismember


Joined: 01 Jan 2004
Location: United States

Post Posted: Sep 09, 2007 19:13 Posts Comp View users profile Send private message Reply with quote

Aaron - Try this one http://www.savefile.com/files/1043358


Place your MPG files in same folder and click .BAT to run



When Complete, the 5.1 Upmixed files will have .VOB extensions




* Note - It's not very smart. It won't know if your source file is Mpeg1 or Mpeg2, or if your Audio is MP2 or AC3. It'll work if your file is MPEG2 video with MP2/MPA audio. Make sure you have plenty of free disk space.


dirkenlek
Member


Joined: 18 Aug 2007
Location: Belgium

Post Posted: Sep 10, 2007 05:35 Posts Comp View users profile Send private message Reply with quote

The last mpg upmix option does nothing on my computer ???

Aaron187
Member


Joined: 03 Sep 2007
Location: Canada

Post Posted: Sep 10, 2007 19:12 Posts Comp View users profile Send private message Reply with quote

Wow thanks! I wil try this right away!

Soopafresh
Dismember


Joined: 01 Jan 2004
Location: United States

Post Posted: Sep 10, 2007 19:15 Posts Comp View users profile Send private message Reply with quote

No promises. Like I said, there isn't any intelligence built in, so your files that are Mpeg1 or Mpeg2 with 2.0 AC3 audio are going to be rejected. You can open you folder of Mpeg2 in mediainfo and determine their file type before you run them through the Upmixer

http://mediainfo.sourceforge.net/en/ScreenShots/GUI_Main


Aaron187
Member


Joined: 03 Sep 2007
Location: Canada

Post Posted: Sep 10, 2007 19:41 Posts Comp View users profile Send private message Reply with quote

They WILL be rejected? or do they have a chance of getting through, because I just edited my MPG2 video file and now it is exporting to MPG1, I can just redo the editing and make it MPG2 but just wondering if it has a chance.