View Full Version : ffdcaenc 2.1.3
Kurtnoise
9th December 2014, 14:31
FIXED - or at least I think so :o
The following lines should be better...
637 #if defined(_WIN32) || defined(_WIN64)
638
639 #include <Windows.h>
640 #include <io.h>
641 #include <fcntl.h>
642 #endif
643 int32_t main( int32_t argc, char **argv )
644 {
645 #if defined(_WIN32) || defined(_WIN64)
645 _setmode(_fileno(stdin), _O_BINARY);
646 _setmode(_fileno(stdout), _O_BINARY);
647 #endif
648 return dcaenc_main(argc, argv);
649 }
650
filler56789
9th December 2014, 15:53
The following lines should be better...
637 #if defined(_WIN32) || defined(_WIN64)
638
639 #include <Windows.h>
640 #include <io.h>
641 #include <fcntl.h>
642 #endif
643 int32_t main( int32_t argc, char **argv )
644 {
645 #if defined(_WIN32) || defined(_WIN64)
645 _setmode(_fileno(stdin), _O_BINARY);
646 _setmode(_fileno(stdout), _O_BINARY);
647 #endif
648 return dcaenc_main(argc, argv);
649 }
650
:goodpost: Merci beaucoup :thanks:
siella
10th December 2014, 04:04
Many thanks, it is working without any problem now
filler56789
15th February 2016, 15:57
Sooner or later, I will have to update ffdcaenc's "README2.TXT" @ GitHub.
Even better, I wrote a new file — DECODING_ISSUES.TXT.
https://raw.githubusercontent.com/filler56789/ffdcaenc-2/master/DECODING_ISSUES.TXT
filler56789
6th June 2016, 05:58
Better late than jamais... I added a configure file to the source-code, so that the users don't need to mess around with autoreconf anymore...
https://github.com/filler56789/ffdcaenc-2/releases
Selur
30th June 2018, 12:05
Any hope for 7.1 dts encoding support ?
SeeMoreDigital
30th June 2018, 12:44
Any hope for 7.1 dts encoding support ?Much as I'd like to see 6.1 or 7.1 DTS encoding, as far as I know we still don't have 5.1 DTS encodes working correctly in hardware playback devices...
Midzuki
30th June 2018, 19:12
Any hope for 7.1 dts encoding support ?
Not with the code written by Patrakov && improved by Alexei Andropov, at least.
The following speaker layout is for the "extended surround" thing (6.0 and 6.1):
13: FC, BC, FL, FR, BL, BR
whereas this is the only 7.0 /7.1 speaker layout available:
14: CL, FC, CR, FL, FR, BL, BR
which is from Sony's SDDS and "nobody uses" :-/
tebasuna51
1st July 2018, 09:49
Much as I'd like to see 6.1 or 7.1 DTS encoding, as far as I know we still don't have 5.1 DTS encodes working correctly in hardware playback devices...
Without problems in my Yamaha receiver using standard Transmission Bit Rate, encoding DTS with:
ffdcaenc.exe -i input_5.1.wav -o 768.dts -l -b 754.5
ffdcaenc.exe -i input_5.1.wav -o 1536.dts -l -b 1509.75
BTW 7.1 is only allowed in DTS HD (MA or HR)
ffdcaenc only encode to standard DTS, also DTS-ES (6.1) is not supported:
Error: Unsupported number of channels (only 1, 2, 3, 4, 5 and 6)!
SeeMoreDigital
1st July 2018, 11:47
Without problems in my Yamaha receiver using standard Transmission Bit Rate, encoding DTS with:
ffdcaenc.exe -i input_5.1.wav -o 768.dts -l -b 754.5
ffdcaenc.exe -i input_5.1.wav -o 1536.dts -l -b 1509.75
I've been using UsEac3To to generate my DTS files. Followed by MKVToolNix GUI to mux them (along with video), into the .mkv container and TSmuxer GUI to mux them into the .m2ts container.
But when I play the DTS.mkv and DTS.m2ts muxes in my OPPO, all I hear is a garbled mess and it crashes the player.
EDIT: Perhaps I could try your samples?
tebasuna51
1st July 2018, 13:51
Perhaps I could try your samples?
Of course: https://www.sendspace.com/file/1aalin
SeeMoreDigital
1st July 2018, 15:19
Of course: https://www.sendspace.com/file/1aalinMany thanks...
EDIT: It would appear that the '768.dts -l -b 754.5' stream works fine. But for some reason the '1536.dts -l -b 1509.75' stream is garbled and crashes my OPPO :(
tebasuna51
2nd July 2018, 00:18
Try this one: https://www.sendspace.com/file/uuj56b
Now encoded just at -b 1509 like the second, also 1509 but by DTS-HD Master Audio Suite.
Both work in my Yamaha
SeeMoreDigital
2nd July 2018, 09:08
Morning,
The 'ffdcaenc stream' still sounds garbled and crashed/locked-up my Oppo.
By contrast, the 'DTS-HD Master Audio Suite' stream played perfectly!
Midzuki
2nd July 2018, 13:33
Morning,
The 'ffdcaenc stream' still sounds garbled and crashed/locked-up my Oppo.
By contrast, the 'DTS-HD Master Audio Suite' stream played perfectly!
The problem is in your Oppo.
As tebasuna51 may confirm, all the DCA elementary streams generated by ffdcaenc receive the OK from the Verify Button of the application DTS-HD StreamTools. The decoder in your Oppo expects some, let's say, "details" that are present in the streams created by the licensed encoders but are absent from the streams created by ffdcaenc :(
SeeMoreDigital
2nd July 2018, 15:37
The problem is in your Oppo.
As tebasuna51 may confirm, all the DCA elementary streams generated by ffdcaenc receive the OK from the Verify Button of the application DTS-HD StreamTools. The decoder in your Oppo expects some, let's say, "details" that are present in the streams created by the licensed encoders but are absent from the streams created by ffdcaenc :(But that does not explain why DTS streams created by other DTS encoding softwares work perfectly fine...
Midzuki
2nd July 2018, 18:11
But that does not explain why DTS streams created by other DTS encoding softwares work perfectly fine...
other DTS encoding softwares — please name them.
The Master Audio Suite is from DTS, Inc. themselves.
Minnetonka Surcode is licensed and certified by DTS, Inc. themselves.
The DTS plug-in(s) for Pro Tools: idem.
żAm I missing something? :confused:
SeeMoreDigital
2nd July 2018, 18:33
other DTS encoding softwares — please name them.Commercial/payware ones!
Midzuki
2nd July 2018, 19:55
Commercial/payware ones!
Therefore......
But that does not explain why DTS streams created by other DTS encoding softwares work perfectly fine...
Yes, it does.
1) quoting the author of the original source-code of dcaenc:
«this encoder uses only the most basic compression techniques defined in the DTS specification,
and thus cannot win any comparison with commercial DTS encoders.»
https://github.com/filler56789/ffdcaenc-2/blob/master/DECODING_ISSUES.TXT
SeeMoreDigital
2nd July 2018, 20:21
Indeed... We already know all this.
It's a shame that development has gone quiet since the last release.
WSC4
15th March 2023, 01:21
I am experimenting with this but only using 2 channels (stereo) for the moment. This is for a video DVD.
From post #46, there exist two more "DVD-compliant" bitrates.
(for 2.0 and 2.1 only)
503.25kbps and 377.25kbps
I'm also using Muxman to multiplexer/author to a VIDIO_TS folder.
Using: ffdcaenc -i Test_1.wav -o Test_1.dts -b 377.25 or ffdcaenc -i Test_1.wav -o Test_2.dts -b 503.25
I get this error when adding the DTS audio file in Muxman:
https://members.optusnet.com.au/wsc2/Doom9/muxman.gif
Is this a bug with Muxman or are my ffdcaenc parameters wrong?
Emulgator
15th March 2023, 02:39
As I researched some years ago I had these bitrates listed, but greyed out.
Don't remember the reason anymore, but most of that information came from mpucoder,
and I believe he left these out for a good reason.
filler56789
15th March 2023, 11:04
https://members.optusnet.com.au/wsc2/Doom9/muxman.gif
Is this a bug with Muxman or are my ffdcaenc parameters wrong?
Probably a "feature" of Muxman, not a bug (or a design flaw).
Have you ever tried other DVD-authoring tools such as dvd-author and DVD-lab PRO? :confused:
and I believe he left these out for a good reason.
I suppose no real-world DVD-player supported those bitrates :confused:
tebasuna51
15th March 2023, 11:28
Recode the audio to AC3 (192/256 Kb/s is enough for 2.0) with ffmpeg.
WSC4
16th March 2023, 00:57
ffdcaenc -h
-- NOTICE: the values 377.25, 503.25, 754.5 and 1509.75 AT _48kHz_ are exceptions.
Test_1.wav is 2 channel stereo.
ffdcaenc -i Test_1.wav -o Test_1.dts -b 754.5
ffdcaenc -i Test_1.wav -o Test_2.dts -b 1509.75
These did work and MuxMan accepted them. It does not bother me that 377.25, 503.25 are rejected. I would always use the higher bitrates.
Have you ever tried other DVD-authoring tools such as dvd-author and DVD-lab PRO?
As a coincidence, I just installed DVD-lab (their free version) and no problems with 377.25, 503.25 bitrates. I shall burn these to a DVD to see if they play - and sound correct - in DVD players.
Recode the audio to AC3 (192/256 Kb/s is enough for 2.0) with ffmpeg.
Thanks for the suggestion, but the audio is important and the original is LPCM 1536 kbps.
junh1024
16th March 2023, 06:40
Thanks for the suggestion, but the audio is important and the original is LPCM 1536 kbps.
Numbers aren't absolute. Free AC3 encoders are about 1.4x as efficient as pro DTS and pro AC3 encoders are about 1.8x as efficient as pro DTS at the same bitrate. I would go with 256kps AC3 as they said.
filler56789
16th March 2023, 08:11
As I have already said so many times before :) ,
DCA at 1536 kbps is overkill even for 5.1 audio,
1344 kbps should be sufficient in this case.
For 2.0 or 2.1 streams (at 48 kHz),
the maximum bitrate should be 510 kbps.
But if one feels happy with "FM radio quality" :) ,
they don't have to go above 340 kbps.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.