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 |
|
|
#201 | Link |
|
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,223
|
Do I get this right? You try to pipe a 'w64' file into dcaenc? I don't think its Wave parser will be able to deal with that. It was written with plain RIFF/Wave files in mind and nothing else.
(The only thing that the "-l" option does is ignoring the length field of the "data" chunk, as that field may not contain a valid value, e.g. in case of reading from STDIN)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 11th January 2012 at 01:40. |
|
|
|
|
|
#202 | Link | |
|
Registered User
Join Date: Mar 2011
Posts: 34
|
Quote:
Well the command line I posted was attempting to have sox convert the w64 to wav and then pipe that into dcaenc and thereby hopefully get around the 4GB limit of doing two separate steps by first converting to wav. So dcaenc is reading from the STDIN. It seemed like it worked except for the fact that sox has issues in general with w64. The resulting DTS was the same length as what sox thinks the w64 is. [code] > soxi "large file test.w64" Input File : 'large file test.w64' Channels : 6 Sample Rate : 48000 Precision : 16-bit Duration : 01:09:32.54 = 200281709 samples ~ 312940 CDDA sectors File Size : 6.70G Bit Rate : 12.8M Sample Encoding: 16-bit Signed Integer PCM [code] Actual length 3:13. This is a known problem with sox and w64 that is currently being worked on. Thoughts? Recommendations for getting this huge w64 file to dts? I know this is getting slightly off topic, but it is very relevant to dcaenc because many audio tracks will exceed the wav size limit. Last edited by geminigod; 11th January 2012 at 02:56. |
|
|
|
|
|
|
#203 | Link | ||
|
Unavailable
Join Date: Mar 2009
Location: offline
Posts: 1,480
|
^
Quote:
Quote:
![]() P.S.: LAV Splitter supports the W64 container, thus maybe you don't need eac3to in this case ^.^ ; Last edited by Midzuki; 11th January 2012 at 04:47. |
||
|
|
|
|
|
#204 | Link |
|
Registered User
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
|
or you can pipe using eac3to....
_
__________________
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)! |
|
|
|
|
|
#206 | Link | |
|
Unavailable
Join Date: Mar 2009
Location: offline
Posts: 1,480
|
Back on the topic =^.^=
Oh well, that's what I get for not paying attention to the damn code and/or documentation -.- Quote:
for dcaenc,even a "3/1" input.wav will result in a "2/2" output.dts
Last edited by Midzuki; 11th January 2012 at 06:48. |
|
|
|
|
|
|
#207 | Link |
|
Unavailable
Join Date: Mar 2009
Location: offline
Posts: 1,480
|
One less misunderstanding
This is semi-OT and somewhat "late"
, but also probably useful( or interesting at least )Lord Mulder apparently thought I had used a "git clone" of Patrakov's original code. Actually, I had used the tarball available on Patrakov's web site; that tarball was!/¿still is? "ready for configure" ![]() Besides, Lord Mulder did appear to ignore that his own gitorious folder is able to generate a tarball for the people who don't want to use the git application --- however in this case, the content of the tarball is not different from the git clone
Last edited by Midzuki; 11th January 2012 at 15:11. |
|
|
|
|
|
#208 | Link |
|
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,223
|
I see. As long as SoX sends a valid Wave header (with valid "fmt" and "data" chunk) over the pipe this should work. You'll have to use the '-l' switch for dcaenc, of course.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 12th January 2012 at 02:58. |
|
|
|
|
|
#209 | Link | |
|
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,223
|
Quote:
Code:
#define DCAENC_CHANNELS_MONO 0 #define DCAENC_CHANNELS_DUAL_MONO 1 #define DCAENC_CHANNELS_STEREO 2 #define DCAENC_CHANNELS_STEREO_SUMDIFF 3 #define DCAENC_CHANNELS_STEREO_TOTAL 4 #define DCAENC_CHANNELS_3FRONT 5 #define DCAENC_CHANNELS_2FRONT_1REAR 6 #define DCAENC_CHANNELS_3FRONT_1REAR 7 #define DCAENC_CHANNELS_2FRONT_2REAR 8 #define DCAENC_CHANNELS_3FRONT_2REAR 9 #define DCAENC_CHANNELS_4FRONT_2REAR 10 #define DCAENC_CHANNELS_3FRONT_2REAR_1OV 11 #define DCAENC_CHANNELS_3FRONT_3REAR 12 #define DCAENC_CHANNELS_5FRONT_2REAR 13 #define DCAENC_CHANNELS_4FRONT_4REAR 14 #define DCAENC_CHANNELS_5FRONT_3REAR 15
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
|
|
|
|
|
#210 | Link |
|
Registered User
Join Date: Mar 2011
Posts: 16
|
Here you are...
http://www.mediafire.com/file/keige47mr6mo8dh/SoX.zip Built with Visual Studio 2010, commit 6257b1b873d24ff2192d86f6efa4817eb433480c (Jan 11, 2012) Sorry for not being static linked. Tons of Dlls. |
|
|
|
|
|
#211 | Link |
|
Registered User
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
|
@nu774 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)! |
|
|
|
|
|
#212 | Link | |
|
Unavailable
Join Date: Mar 2009
Location: offline
Posts: 1,480
|
Quote:
Code:
only the following channel-layouts are accepted: mono, stereo, quadro, 5.0, 5.1. ):Code:
The *actual* bitrate can be any value between 32 and 6144, BUT the minimum and maximum values vary according to the frequency and the channel-layout; 5400kbps cannot be "insufficient" for a mono input @ 44.1kHz
Last edited by Midzuki; 12th January 2012 at 11:59. |
|
|
|
|
|
|
#213 | Link |
|
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,223
|
Here is a new build that allows the user to overwrite the pre-selected channel configuration (see help for details). Updated DLL is included.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 14th January 2012 at 14:56. |
|
|
|
|
|
#215 | Link |
|
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,223
|
Build in previous post updated: Channel configuration will now be checked for compatibility with input Wave file. Also added switch to indicate presence of LFE channel.
If, for example, you want to create a typical "5.1" encode from a six channel Wave file, then use 3FRONT_2REAR ("-c 10") in conjunction with "-f" switch - this is the default for 6ch input. You could even create a "Center-only with LFE" encode now from a two channel Wave file by using MONO ("-c 1") in conjunction with the "-f" switch, confirmed by MediaInfo.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 12th January 2012 at 16:23. |
|
|
|
|
|
#216 | Link | ||
|
Registered User
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
|
for this wav:
Quote:
Code:
dcaenc -i audio.wav -o audio.dts -b 1509 or dcaenc -i audio.wav -o audio.dts -b 1509 -c 10 -f i get: Quote:
with dcaenc.2012-01-02 is OK... _
__________________
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)! |
||
|
|
|
|
|
#217 | Link | |
|
.
![]() Join Date: Oct 2001
Location: Germany
Posts: 7,991
|
I agree something seems to be broken:
Code:
ffmpeg -threads 8 -v -10 -y -i "D:\Encoding Output\test_20_39_06_59101.ac3" -ac 6 -acodec pcm_s16le -f wav - | dcaenc -i - -o "D:\Encoding Output\test_20_39_06_59102.dts" -b 754 -l Code:
ffmpeg -threads 8 -v -10 -y -i "D:\Encoding Output\test_20_39_06_59101.ac3" -ac 6 -acodec pcm_s16le -f wav - | dcaenc -i - -o "D:\Encoding Output\test_20_39_06_59102.dts" -b 754 -c 10 -f -l Quote:
Ps.: works for stereo sources Last edited by Selur; 12th January 2012 at 20:54. |
|
|
|
|
|
|
#218 | Link |
|
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,223
|
There was a little syntax error in my channel configuration checking code. Thus valid configurations could be rejected. Should be fixed now
![]() [UPDATE] New build is available now [/UPDATE]
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 12th January 2012 at 22:16. |
|
|
|
![]() |
|
|