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. |
15th March 2008, 02:45 | #1 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,914
|
NicAudio 2.0.6 in CodePlex project
IMPORTANT EDIT
At this moment (2016) I recommend use LWLibavAudioSource like AviSynth audio decoder instead NicAudio (or BassAudio). Then I never will make new versions of NicAudio. ---------------------------------------------------------------------------------------------------- EDIT END Like was announced in this thread, I open a new project in CodePlex to unify the NicAudio sources and continue the development (if any). In last years there are mod's from Dimzon, Nic (of course), IanB and now for me. All of them, and also the BeHappy people, are invited to the NicAudio developer team. In http://www.codeplex.com/NicAudio there are now the source code and a first release (2.0 to begin a new age). Any comment are welcome. EDIT: Actual version 2.0.6 (2012-08-27) Code:
CHANGE LOG ------ 27/08/2012 Tebasuna 2.0.6 ac3,dts Solved some initialization issues with no-linear decode. http://forum.doom9.org/showthread.php?p=1587337 lpcm,raw Some minor improvements. 25/10/2011 Tebasuna 2.0.5 dts Accepted special stereo dts modes Lt+Rt, A+B (dual mono)... 12/08/2009 Tebasuna 2.0.4 lpcm Solved bug writing last block in some cases 25/06/2009 Tebasuna 2.0.3 mpa Skip ID3v2,3,4 initial tag to avoid false sync frames. Last edited by tebasuna51; 30th January 2016 at 13:21. Reason: No new versions |
15th March 2008, 09:14 | #2 | Link |
HDConvertToX author
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
|
thanks for your effort tebasuna51!
what's about adding support for flac, multichannel pcm (as in bluray dvd), AC3+, DTSHD... ? yea, know.. tha latter are a little bit difficult... but BHH
__________________
HDConvertToX: your tool for BD backup MultiX264: The quick gui for x264 AutoMen: The Mencoder GUI AutoWebM: supporting WebM/VP8 |
15th March 2008, 11:52 | #3 | Link | ||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,914
|
BassAudio can decode flac.
Quote:
NicLPCMSource("FileName.pcm", 96000, -24, 8) Quote:
DTSHD, I don't know a free decoder, actually we can use DelayCut to extract the core dts. AC3+, is still in beta stage in ffmpeg project. MLP/ThrueHD, the ffmpeg decoder seems correct, we need a volunteer to include this decoder. Anyone? |
||
15th March 2008, 13:22 | #4 | Link | |
HDConvertToX author
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
|
Quote:
i know bassaudio (and thanks again btw).. but having a single dll for most common audio formats will be easier BHH
__________________
HDConvertToX: your tool for BD backup MultiX264: The quick gui for x264 AutoMen: The Mencoder GUI AutoWebM: supporting WebM/VP8 |
|
7th April 2008, 18:56 | #6 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,810
|
Mp2 and Mp3 decoding is not perfect
Source (mp2) and transcoded files (AC3 AAC OGG) using BePipe http://www.sendspace.com/file/nizv9b
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
8th April 2008, 00:07 | #7 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,914
|
Quote:
Of course your output files are corrupted but I can't reproduce these results. Using your source.mp2 and decoding with NicMPG123Source() function I obtain perfect outputs ac3, aac and ogg. With your source.mp2 I obtain bitidentical wav files using old or new NicAudio, old or new MPASource (WarpEnterprises). The differences with Bass decoder are less than -135 dB (32 bits float), and the differences with Lame 3.97 are less than -96 dB (16 bit int). In your Command_Line_Example.cmd (simplified): bepipe --script "import(^job1.avs^)" | ... In job1.avs there are more AviSynth functions or only the NicMPG123Source()? Any user can reproduce the corrupted outputs? |
|
8th April 2008, 17:27 | #8 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,810
|
#VideoSource LoadPlugin("C:\Users\Dawidos\Documents\Delphi_Projects\RipBot264\Tools\dgindex\DGDecode.dll") video=MPEG2Source("C:\Temp\RipBot264temp\job1\job1.d2v") #AudioSource LoadPlugin("C:\Users\Dawidos\Documents\Delphi_Projects\RipBot264\tools\AviSynth plugins\NicAudio\NicAudio.dll") audio=NicMPG123Source("C:\Temp\RipBot264temp\job1\job1 L2 2ch 48 384 DELAY -221ms.mp2") audio=ResampleAudio(audio,48000) #Delay audio=DelayAudio(audio,-0.221) #Normalize audio=Normalize(audio,1) #AudioDub audio=ConvertAudioTo16bit(audio) AudioDub(video,audio)
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
9th April 2008, 03:07 | #9 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,914
|
Bug detected and fixed. Thanks for your help.
The problem was a continuous message: MPEG 1.0 layer II, 384 kbit/s, 48000 Hz stereo mixed with the audio data only with Bepipe, works fine with BeHappy. A file (common.c in mpg123-lib) send the message to stdout instead stderr. Please use the new NicAudio.dll v2.0.1 |
9th April 2008, 11:39 | #10 | Link |
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
OMG! Very funny side-effect
__________________
BeHappy - AviSynth-based audio transcoding tool Audio encoding via AviSynth On2 VP7 is great in quality but it is unusable for long-term video backup puposes! Sincerely Yours, MCPD/MCTS |
13th April 2008, 20:01 | #11 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
tebasuna51,
Seems, you rename NicMpaSource to NicMPG123Source? Please add some note to documentation.
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
13th April 2008, 20:31 | #12 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,914
|
Quote:
Dimzon add NicMPG123Source (2006-03-06) using the MPASource from WarpEnterprises and mpg123-lib, with support for mp3 and VBR. Like NicMPG123Source make the same than NicMpaSource + mp3 + VBR, I supress NicMpaSource. There are only a reference in the changelog: "libmad deprecated" maybe I need explain this better. |
|
24th April 2008, 20:12 | #13 | Link |
Registered User
Join Date: Apr 2005
Location: Spain
Posts: 181
|
Thank you very much for continuing this proyect tebasuna51. I had an ac3 3/0.1 and with nicaudio 1.x couldn't use avisynth; now it works fine with v2.x. Using avisynth scripts speeds up sincronization tasks
Last edited by Susana; 24th April 2008 at 20:14. |
3rd May 2008, 21:03 | #14 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,810
|
NicAudio can not decode this AC3
http://www.mediafire.com/?tz0blxwtp9e Decoding via DirectShowSource (FFDshow Audio) and BassAudio work.
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
4th May 2008, 01:24 | #15 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,914
|
Quote:
The problem is first frame (5.1), all parameters are taken from first frame and when second frame arrive is a 2.0 then is filled with silence and so on. This mix of 5.1 frames and 2.0 are common in TV captures (movie-commercials) and fill with silence this frames is a good idea to maintain the sync but the first frame must be the appropriate. DelayCut is necesary to examine and repair, see the log: Code:
[Input info] Bitrate=384 Actual rate=384.000000 Sampling Frec=48000 TotalFrames=20446 Bytesperframe=1536.0000 Filesize=31405056 FrameDuration= 32.0000 Framespersecond= 31.2500 Duration=00:10:54.272 Channels mode=3/2: L+C+R+SL+SR LFE=LFE: Present [Target info] StartFrame=0 EndFrame=20445 NotFixedDelay= 0.0000 Duration=00:10:54.272 ====== PROCESSING LOG ====================== Time 00:00:00.000; Frame#= 1. Crc1 error SILENCED: read = 53A4; calculated=DBA7 Time 00:00:00.032; Frame#= 2. Some basic parameters changed between Frame #1 and this frame Time 00:04:24.192; Frame#= 8257. Some basic parameters changed between Frame #2 and this frame Time 00:04:24.192; Frame#= 8257. Crc1 error SILENCED: read = A88B; calculated=2088 Time 00:04:24.224; Frame#= 8258. Some basic parameters changed between Frame #8257 and this frame Number of written frames = 20446 Number of Errors= 5 "Frame#= 2. Some basic parameters changed" is a big warning, you need use Delay Start -32 ms to delete the first frame and the fixed ac3 is decoded fine by NicAudio. There are also another 5.1 frame (8257) but now isn't a problem, is filled with silence. |
|
6th June 2008, 18:48 | #16 | Link | |
Registered User
Join Date: Oct 2004
Location: France
Posts: 567
|
Quote:
I have a similar problem when I encode using x264 cli an avs script with NicMPG123Source and SoundOut, I have this kind of output : I use the last version of NicAudio and SoundOut. If I remove SoundOut the problem disappeares so I don't really know if NicAudio is really guilty ... Thanks in advance, Underground78 |
|
6th June 2008, 23:30 | #19 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,810
|
Will we see eac3 support in near future. FFmpeg should have it by now.
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
Thread Tools | Search this Thread |
Display Modes | |
|
|