Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
#1 | Link |
|
BeSweet Author
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
|
BSN=BeSweet+Nero
ok, i had written something.
this is a very basic ac3->mp4 transcoder. it is based on "nencode", but uses BeSweet.dll instead of nero's input plugins. source-code is public and anyone with some basic c knowledge, can extend it to take advantage of all BeSweet's features (mpa input, two-pass, etc'..). more info here. i really hope that someone will actually take the code and push it forward, this time. must admit that until today, lots of people had asked for my tools' source-codes but none had done anything with stuff i did publish. enjoy, Dg. edit : BSN.exe is obsolete, and now integrated in BeSweet as bsn.dll.
__________________
FAQs : BeSweet, Audio :readfaq: Homepage : DSPguru's Webpage http://dspguru.notrace.dk/cs.gif Guides : Multilingual Guides of my tools http://dspguru.notrace.dk/1zhelp.gif Last edited by DSPguru; 6th October 2003 at 18:53. |
|
|
|
|
|
#2 | Link |
|
LuLz
Join Date: Oct 2002
Location: Portugal
Posts: 113
|
Hi, I downloaded the app you've wrote, but i can't find out how to define bitrate to be used, it says something about presets or something, but i can't figure it out.
Sorry for this lame question. Thanks in advance. |
|
|
|
|
|
#3 | Link |
|
Registered User
Join Date: Aug 2002
Posts: 75
|
Has anyone tried this great tool. I can't get it to work. I have copied 'aac.dll', 'aacenc32.dll' and 'NeroIPP.dll' to BSN dir and I'm using one of DSPguru's commandline examples from readme.txt file (I have tried both actually). It starts fine, I can choose settings for Nero's encoder and BeSweet starts finding maximum gain but once the maximum gain has been found it just crashes. Microsoft's error report says that the crash
occured because of aacenc32.dll but I don't know what's causing it. Can anyone else please test this and report the results? DSPguru, thank you for all your work, it is greatly appreciated. mfluder |
|
|
|
|
|
#4 | Link |
|
BeSweet Author
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
|
currently, two-pass isn't implemented..
![]() you can set a static gain value like 10db or the value it found in the first pass before crashing..
__________________
FAQs : BeSweet, Audio :readfaq: Homepage : DSPguru's Webpage http://dspguru.notrace.dk/cs.gif Guides : Multilingual Guides of my tools http://dspguru.notrace.dk/1zhelp.gif |
|
|
|
|
|
#5 | Link |
|
I'm back! :D
Join Date: Aug 2003
Location: The Matrix
Posts: 1,029
|
Thanks DSP guru,
This is the S/W i was looking for.I tried it over small ac3s-Working perfectly....no crashes...no problem.I have got a doubt:which AAC.dll is to be put in this,From Nero 60011 or later?(I have already put 60015 plugin:some confusion on reading the other thread on neroac3 plugin. )Thanks again. Tuning
|
|
|
|
|
|
#6 | Link |
|
Registered User
Join Date: Aug 2002
Posts: 75
|
This is really weird. I'm using a very simple commandline, as simple as this:
bsn.exe -core( -input test.ac3 -output test.mp4 -2ch ) But it always tries to find max gain and of course after that it just crashes. Here is how it looks before the crash: Code:
BSN v0.1 by DPeshev & Dg ------------------------- BeSweet v1.5b21 by DSPguru. for the latest builds @ http://DSPguru.doom9.org Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu). [00:00:00:000] +------- BeSweet ----- [00:00:00:000] | Input : ac3input [00:00:00:000] | Output: test.mp4 [00:00:00:000] | Floating-Point Process: No [00:00:00:000] +-------- AZID ------- [00:00:00:000] | Output Stereo mode: Dolby surround compatible [00:00:00:000] | Total Gain: 0.000dB, Compression: None [00:00:00:000] | LFE levels: To LR -INF, To LFE 0.0dB [00:00:00:000] | Center mix level: BSI [00:00:00:000] | Surround mix level: BSI [00:00:00:000] | Dialog normalization: No [00:00:00:000] | Rear channels filtering: No [00:00:00:000] | Source Sample-Rate: 48.0KHz [00:00:00:000] +--------------------- [00:01:59:328] Conversion Completed ! [00:00:05:000] <-- Transcoding Duration I don't know what it is but it's obviously something on my side as Tuning's post proves that it's definitely working. DSPguru, any thoughts on this? mfluder |
|
|
|
|
|
#7 | Link | |
|
Registered User
Join Date: Aug 2002
Posts: 75
|
Quote:
mfluder |
|
|
|
|
|
|
#8 | Link |
|
I'm back! :D
Join Date: Aug 2003
Location: The Matrix
Posts: 1,029
|
@mfluder,
The above post was based on the 5.1AAC creation and i also tried stereo AAC.The lenght of ac3 was only 1 min 32seconds(both case).Created a fine file. Using this line bsn.exe -core( -input d:\aurora.ac3 -output d:\test.mp4 -2ch ) -ssrc( --rate 44100 ) No crash and completed encoding the entire length. I'm currently using AAC.dll from nero 60019. Thanks mfluder. Edit: i'm going to try a huge ac3 of 3hr42min now.Results will be posted later.bye Tuning
Last edited by Tuning; 5th October 2003 at 06:05. |
|
|
|
|
|
#9 | Link |
|
I'm back! :D
Join Date: Aug 2003
Location: The Matrix
Posts: 1,029
|
Completed Trancoding!
5.1
I could trancode the ac3 of length 3:42:52 in to AAC.The bitrate chosen was constant HE-AAC profile at 128kbps.The resulted file had a size of 224MB instead of 204MB as indicated by GK(don't know if Mutichannel makes larger file). Final:log 5.1 tests C:\BSnv.0.1>bsn.exe -core( -input d:\lag.ac3 -output d:\lagaan.mp4 -6chliff ) BSN v0.1 by DPeshev & Dg ------------------------- BeSweet v1.5b21 by DSPguru. for the latest builds @ http://DSPguru.doom9.org Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu). [00:00:00:000] +------- BeSweet ----- [00:00:00:000] | Input : ac3input [00:00:00:000] | Output: d:\lagaan.mp4 [00:00:00:000] | Floating-Point Process: No [00:00:00:000] +-------- AZID ------- [00:00:00:000] | Total Gain: 0.000dB, Compression: None [00:00:00:000] | LFE levels: To LR -INF, To LFE 0.0dB [00:00:00:000] | Center mix level: BSI [00:00:00:000] | Surround mix level: BSI [00:00:00:000] | Dialog normalization: No [00:00:00:000] | Rear channels filtering: No [00:00:00:000] | Source Sample-Rate: 48.0KHz [00:00:00:000] +--------------------- [03:42:52:192] Conversion Completed ! [03:05:31:000] <-- Transcoding Duration The another thing i could find problem is the playing in winamp.This mp4 file playes very slowly than regularly encoded files[Correct channel order in winamp..Ok]. After installing the 3ivx codec and CoreAAC,every media player crashed and auromatically quit when trying to play.Then I tried the Older AAC.dll(60011) and encoded a part of the same ac3 at same settings.The resulted file could be played in winamp,media players and i can assure ,without a single problem.But the channel order of second file is wrong. 2.0 The same 'short' ac3 file was again encoded by using the two AAC.dlls(60011&60019@128kbps HE-AAC: Intermediate:log2.0 tests C:\BSnv.0.1>bsn.exe -core( -input d:\lag.ac3 -output d:\test.mp4 -2ch ) -ssrc( - -rate 44100 ) BSN v0.1 by DPeshev & Dg ------------------------- BeSweet v1.5b21 by DSPguru. for the latest builds @ http://DSPguru.doom9.org Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu). Using Shibatch.dll v0.24 by Naoki Shibata & DSPguru (shibatch.sourceforge.net). [00:00:00:000] +------- BeSweet ----- [00:00:00:000] | Input : ac3input [00:00:00:000] | Output: d:\test.mp4 [00:00:00:000] | Floating-Point Process: No [00:00:00:000] +-------- AZID ------- [00:00:00:000] | Output Stereo mode: Dolby surround compatible [00:00:00:000] | Total Gain: 0.000dB, Compression: None [00:00:00:000] | LFE levels: To LR -INF, To LFE 0.0dB [00:00:00:000] | Center mix level: BSI [00:00:00:000] | Surround mix level: BSI [00:00:00:000] | Dialog normalization: No [00:00:00:000] | Rear channels filtering: No [00:00:00:000] +------ Shibatch ----- [00:00:00:000] | Source Sample-Rate: 48.0KHz [00:00:00:000] | Dest. Sample-Rate: 44.1KHz [00:00:00:000] | Attenuation : 0.0db [00:00:00:000] +--------------------- [00:01:29:088] transcoding! Max gain : 14.5dB 60011:The stereo file plays in winamp2.92,WMP6.4 &,MPC6.4.6.5. 60019:Plays only in Winamp2.92 with out problem. So is there anyway in which correct channel ordering can be made and everybody could use the old (60011)AAC.dll ?DSPGuru?? Tuning
Last edited by Tuning; 5th October 2003 at 10:41. |
|
|
|
|
|
#10 | Link |
|
BeSweet Author
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
|
channel mapping problem and this playback issue had already been discussed in here.
to change channel ordering, use the switch "-azid( -oc,l,r,sl,sr,lfe )" anyway, i had released BeSweet v1.5b22 with bsn.dll . commandlines are : BeSweet -core( ) -shibatch( ) -boost( ) -azid( ).... -bsn( -2ch/-6chold/-6chnew )
__________________
FAQs : BeSweet, Audio :readfaq: Homepage : DSPguru's Webpage http://dspguru.notrace.dk/cs.gif Guides : Multilingual Guides of my tools http://dspguru.notrace.dk/1zhelp.gif Last edited by DSPguru; 5th October 2003 at 12:10. |
|
|
|
|
|
#11 | Link |
|
Moderator
![]() Join Date: Nov 2001
Posts: 9,780
|
any plans to support quicktime too? there is also a quicktime commandline wrapper available here
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
|
|
|
|
|
#12 | Link | |
|
BeSweet Author
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
|
Quote:
?
__________________
FAQs : BeSweet, Audio :readfaq: Homepage : DSPguru's Webpage http://dspguru.notrace.dk/cs.gif Guides : Multilingual Guides of my tools http://dspguru.notrace.dk/1zhelp.gif |
|
|
|
|
|
|
#13 | Link |
|
Moderator
![]() Join Date: Nov 2001
Posts: 9,780
|
no
btw are there any plans to incorporate the bsn options into the besweet gui
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
|
|
|
|
|
#14 | Link | |
|
BeSweet Author
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
|
Quote:
__________________
FAQs : BeSweet, Audio :readfaq: Homepage : DSPguru's Webpage http://dspguru.notrace.dk/cs.gif Guides : Multilingual Guides of my tools http://dspguru.notrace.dk/1zhelp.gif |
|
|
|
|
|
|
#16 | Link | |
|
I'm back! :D
Join Date: Aug 2003
Location: The Matrix
Posts: 1,029
|
Thanks DSPGuru,final approach made difference!
The new BeSweet pack with BSN proved to be the easiest way of 5.1AAC encoding.
The incompatibility of newer AAC.dll on playback forced to me to use the older version in Nero 60011.Using this & the altered commandline generated using GUI helped me to create(Finally..)5.1 HE/LC streams working on every media player which had installation of 3ivX Codec & CoreAAC filter. Quote:
Following information was obtained during this test: The center channel found to be louder,by above mentioned 5.1AAC method.Is there anything wrong? HE-AAC is only enabled : in CBR mode:Below or equal to 80kbps. in VBR mode:below or equal to streaming:medium Quality. In all other conditions,even if u try to set HE-AAC, LC-AAC is used. The 5.1mp4 file created by this process plays in winamp2.92 with incorrect channel mapping even when used with latest AAC plugin from Rarewares. This file plays without problem in most of media players,including WMP6.4,MPC6.4.6.5... Encoding in BeSweet is slower for 5.1 than 2.0. The MKV file created using mkvmerge0.7.0 woked well in media players. Please correct me if anything stated here was found wrong. Last edited by Tuning; 5th October 2003 at 18:33. |
|
|
|
|
|
|
#17 | Link |
|
Registered User
Join Date: Feb 2002
Posts: 267
|
You're using very old version of Winamp2 aac plugin.
Latest is always here http://www.hydrogenaudio.org/index.p...428&st=100&hl= Last edited by Gaia; 5th October 2003 at 18:36. |
|
|
|
|
|
#18 | Link |
|
I'm back! :D
Join Date: Aug 2003
Location: The Matrix
Posts: 1,029
|
@Gaia
I followed ur link and downloaded two filters,in_mp4 & CoreAACDS.The filters responded differently.The 5.1mp4 played with correct channel order in CoreAACDS[I can confirm this as i'm using the ac3test file],while it played in winamp with center as right and right as SR and some more changes.Therefore this confirms the channel mapping is not corrected in this release.
Tuning
Last edited by Tuning; 5th October 2003 at 19:48. |
|
|
|
|
|
#19 | Link | ||||||
|
BeSweet Author
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
|
Re: Thanks DSPGuru,final approach made difference!
Quote:
btw, for 6ch, i would suggest the following commandline : Quote:
afaik, all multichannel soundcards can playback 48khz streams, so the only motivation to downsample to 44.1khz is if the nero encoder is better tuned for 44.1khz streams than for 48khz. (better ask Ivan) --- same idea for 2ch: Quote:
Quote:
![]() Quote:
__________________
FAQs : BeSweet, Audio :readfaq: Homepage : DSPguru's Webpage http://dspguru.notrace.dk/cs.gif Guides : Multilingual Guides of my tools http://dspguru.notrace.dk/1zhelp.gif Last edited by DSPguru; 5th October 2003 at 19:47. |
||||||
|
|
|
|
|
#20 | Link |
|
I'm back! :D
Join Date: Aug 2003
Location: The Matrix
Posts: 1,029
|
Thanks again,
I will change the line as suggested by u from the very next rip. BTW,The greater loudness of center channel is a guess or assumption as I have only 4.1 Card.The sound "Center" is heared to be louder than "Left" or "Right" through front speakers. Tuning
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|