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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#81 | Link |
|
.
![]() Join Date: Oct 2001
Location: Germany
Posts: 7,991
|
btw. the MSVC project gives me:
Code:
1>c1 : fatal error C1083: Cannot open source file: '..\math_tables.c': No such file or directory 1>..\main.c(23): fatal error C1083: Cannot open include file: 'config.h': No such file or directory |
|
|
|
|
|
#82 | Link |
|
Unavailable
Join Date: Mar 2009
Location: offline
Posts: 1,480
|
Not-So-Humble Suggestion: while neither Patrakov not amtm manage to improve the encoder itself, the file main.c should include the following "mandatory"...
Code:
WARNING: Currently not all possible combinations of frequencies and bitrates are supported. |
|
|
|
|
|
#83 | Link | |
|
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,223
|
Quote:
If you put the project file into the "root" folder (i.e. where all the .c and .h files are located), you'll have to remove the "..\" from all paths (in the .vcprojx file)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 23rd December 2011 at 13:39. |
|
|
|
|
|
|
#84 | Link |
|
.
![]() Join Date: Oct 2001
Location: Germany
Posts: 7,991
|
here's what I did
1. I checked out git://gitorious.org/~mulder/dtsenc/mulders-dtsenc.git to G:\workspace\dtsenc 2. went to the vc_solution subfolder and double clicked the vcproj file for MSVC to start up and import the content 3. changed 'Debug' to 'Release' and started the build process 4. ended up with the error message moving the lsn and vcxproj file and editing it (removing the ../) just changed the error a bit: Code:
1> dcaenc.c 1> main.c 1> math_tables.c 1> unicode_support.c 1>c1 : fatal error C1083: Cannot open source file: 'math_tables.c': No such file or directory 1> wavfile.c 1>main.c(23): fatal error C1083: Cannot open include file: 'config.h': No such file or directory |
|
|
|
|
|
#85 | Link |
|
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,223
|
It seems "math_tables.c" and "config.h" are indeed missing from the repository.
The strange thing is, they don't even exist in the original repository. Well, the config file was probably created by the configure script. Anyway, I will commit the missing files as soon as I return home...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
|
|
|
|
#86 | Link | |
|
Registered User
Join Date: Mar 2011
Posts: 16
|
Quote:
math_tables.c is automatically generated while making. (At first, a program named gentables is compiled from gentables.c, and math_tables.c is generated by running it). This means that you must to be able to run the target binary (gentables) while making. This can be a problem when you do cross compilation. |
|
|
|
|
|
|
#87 | Link | |
|
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,223
|
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
|
|
|
|
|
#89 | Link |
|
Registered User
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
|
@LoRd_MuldeR the MSVC builds are slow...can you also add a build with the previous method (MSYS+MinGW?)...
_
__________________
if you ask a question and somebody give you the correct answer don't forget to leave a "thank you" note... Visit The Land Of Dracula (Romania - EU)! |
|
|
|
|
|
#90 | Link | |
|
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,223
|
As I said...
![]() Quote:
Also tried to make x64 builds, but output is broken! I have no idea why that is yet...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 3rd January 2012 at 18:41. |
|
|
|
|
|
|
#91 | Link |
|
Registered User
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
|
thanks a lot...
_
__________________
if you ask a question and somebody give you the correct answer don't forget to leave a "thank you" note... Visit The Land Of Dracula (Romania - EU)! |
|
|
|
|
|
#92 | Link |
|
Unavailable
Join Date: Mar 2009
Location: offline
Posts: 1,480
|
At last...
![]() Code:
[F:\XPERIMENTS\mulder\.libs]
=>dcaenc
dcaenc-1 [Dec 24 2011]
Usage: dcaenc <input.wav> <output.dts> <bitrate_kbps>
NOTICE:
Input or output file name can be "-" for stdin/stdout.
* Valid sample rates (in kHz):
8 11.025 12 16 22.05 24 32 44.1 48
* Valid bitrates (in kbps):
32 56 64 96 112 128 192 224
256 320 384 448 512 576 640 754.5
960 1024 1152 1280 1344 1408 1411.2 1472
1509 1920 2048 3072 3840 open VBR LOSSLESS
WARNING:
Currently not all possible combinations of frequencies and bitrates are supported.
Code:
[F:\XPERIMENTS\mulder\.libs] =>dcaenc --version dcaenc-1 [Dec 24 2011] dcaenc-1 http://aepatrakov.narod.ru/dcaenc/ , BUT,quite probably, not on my Skydrive folder ![]() [ E D I T ] P.S.: That's not good-enough yet One must clearly state,"this is an experimental DCA compressor" or something -.- P.P.S.: Last but not least, "original code by Patrakov", "major improvements by Lord_Mulder", whatever. Last edited by Midzuki; 24th December 2011 at 11:42. Reason: add P.S. |
|
|
|
|
|
#93 | Link | |
|
.
![]() Join Date: Oct 2001
Location: Germany
Posts: 7,991
|
What's the meaning/effect of 'open' and 'VBR' for bitrates?
Quote:
![]() 48kHz 2 Channel works with: 320 384 448 512 576 640 (I would recommend 576 since at least my receiver doesn't like 640 )48kHz 5.1 Channel works with: 755 1280 1509 3072 (I would recommend 1510 since 3072 seems like overkill )Cu Selur |
|
|
|
|
|
|
#94 | Link | ||
|
Unavailable
Join Date: Mar 2009
Location: offline
Posts: 1,480
|
^
Quote:
Quote:
, please be patient
|
||
|
|
|
|
|
#95 | Link | |
|
Unavailable
Join Date: Mar 2009
Location: offline
Posts: 1,480
|
Quote:
thoughts:Many people think/say 5.1 DTS @ 44.1kHz @ 1234.8kbps is [ place your favorite superlative here ]. However, that's mathemagically-equivalent to 1344kbps @ 48kHz. In other words, 1509kbps has been overkill since the very-beginning ![]() And considering movie soundtracks ARE N0T Audio-CDs ,probably in most cases 1280, 1152, 1024, or even 960, kbps would have been more-than-adequate for them.
|
|
|
|
|
|
|
#97 | Link |
|
Unavailable
Join Date: Mar 2009
Location: offline
Posts: 1,480
|
Hummm, maybe you should SUE
the manufacturer of your audio receiver --- they surely didN'T warn you that you were buying crippled firmware.As for DTS, Inc. ... you just give them some tons of money, and they give you the right to use their logo
Last edited by Midzuki; 24th December 2011 at 13:23. |
|
|
|
|
|
#98 | Link |
|
Unavailable
Join Date: Mar 2009
Location: offline
Posts: 1,480
|
@ Selur: you've been using only the modded build, right?
Or not? ![]() Because I have just tested the "unpatched" dcaenc on two short 5.1 .WAVs (at both 44.1kHz and 48kHz), and there were NO errors for all the valid bitrates between 754.5kbps and 1509kbps. And all the resulting samples played correctly with foobar2000.
|
|
|
|
|
|
#99 | Link |
|
.
![]() Join Date: Oct 2001
Location: Germany
Posts: 7,991
|
I tried both, but I never said that there's a problem with 5.1wav -> dts withc 41./48kHz and bitrates between 754.5kbps and 1509kbps,..
I stated: 1. 48kHz 5.1 Channel works with: 755 1280 1509 3072 2. 48kHz 2 Channel works with: 320 384 448 512 576 640 3. 48kHz 2 Channel with 3072 does not work (freezes) 4. I would recommend 576 since at least my receiver doesn't like 640 dts for 2.0 5. I would recommend to use 1509 for 5.1 dts ![]() Than you insinuated that 1509 might be overkill and I replied that I stick with 1509 due to the fact that my receiver is picky. (and it's probably not the only hardware receiver that only accepts specific bit rates; mine also does accept all the bit rates (755+) for 5.1 audio, but since it's picky with 2.0 material I will stay with the common 1509kBit/s for 5.1 audio) Cu Selur |
|
|
|
![]() |
|
|