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. |
17th May 2020, 19:57 | #1821 | Link | |
Registered User
Join Date: Sep 2018
Posts: 391
|
Quote:
Added to tracker as requested with everything you said you would need. https://github.com/staxrip/staxrip/issues/198 I have found a potential work around that seems to work fine. It's updated in the comment section of the tracker. |
|
17th May 2020, 21:28 | #1822 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
I saw the workaround, well, if it's working, then this is a real solution, not just a "workaround" (and congrats for that).
You seem to have created a profile with it, so it should be very handy, isn't it ? Last edited by 44vince44; 17th May 2020 at 21:28. Reason: completion |
17th May 2020, 22:37 | #1823 | Link | |
Registered User
Join Date: Sep 2018
Posts: 391
|
Quote:
and thanks! |
|
18th May 2020, 03:14 | #1824 | Link |
Registered User
Join Date: Feb 2002
Posts: 758
|
This DTS-HDMA / DTS-HD to DTS core was something I mentioned some pages ago. I suggested if it is possible the best place is when the demux window opens.
So the term reduce is not correct, extract is better. MakeMKV or MeGUI can do this. At the very beginning, instead of demuxing DTS-HDMA, would be great to demux only the DTS core. You do it with eac3to and the option -core. Last edited by Atlantis; 18th May 2020 at 03:17. |
18th May 2020, 06:10 | #1825 | Link | |
Registered User
Join Date: Sep 2018
Posts: 391
|
Quote:
With that said I would like this feature. My work around that I posted earlier does work though. |
|
18th May 2020, 09:44 | #1826 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
@jlw_4049 this is a great find. The logic of the UI makes it difficult to to create an option to check/uncheck such option in the "Audio Settings" (the standard audio settings window related to an encoder) because as you can see, this "Audio Settings" is for decode>encode operations, where a decoding operation has to take place. So there is no way that the DTS Core extraction option could fit in that window since when extracting DTS core, there is no decoding taking place.
I guess what you found here is the only way it can work. Maybe @Stax76 can integrate that profile you created in the default profiles, since this operation is very much used ! I have a question: I was wondering why you put wav as file type, shouldn,t it be dts? or it simply doesn't matter because it doesn't affect the script in any way. |
18th May 2020, 09:47 | #1827 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
And you shouldn't say "workaround" ;-)))) because it is not a workaround, it is a REAL solution, created with the regular options in Staxrip. Staxrip is designed to be customizable, so what you did is simply add a new feature.
Please @Stax76 if you are reading this, consider updating the default audio profiles with that new one!! Thanks for both of you! Last edited by 44vince44; 18th May 2020 at 09:49. Reason: correction |
18th May 2020, 13:12 | #1828 | Link | |
Registered User
Join Date: Sep 2018
Posts: 391
|
Quote:
Decoding (extracting the core is technically the proper term for this) a dtshd file to a .wav file is correct. As far as I know that's how ffmpeg and mkvmerge does it, they just do it without a two step process, it does the same thing with 1 command. You just never actually see the .wav file being extracted. (Someone can correct me if I'm wrong) If you use some older programs to manually do it, it goes to a .wav first then back to the dts core. Maybe if stax76 implements this it'll work in one step. He can add it in the audio options correctly and he will be able to add it in the demux window when you do a manual work flow. An option like reduce to core similiar to mkvtoolnix would work great. (The audio profile could work both with ffmpeg and eac3to, the later isn't updated ever so i never use it, the demux section could use mkvmerge) it could even be done in the final muxing stage with mkvmerge Until then my custom profile works perfectly Stax76 is pretty good at keeping up with this and responding. I wish I knew how to do more then write scripts. I'm glad it worked out for you Vince! Sent from my Pixel 3a using Tapatalk Last edited by jlw_4049; 18th May 2020 at 13:25. |
|
18th May 2020, 13:49 | #1829 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
@jlw_4049, I am doing tests to confirm several things, trying to tweak, and this whole work revealed missing features in the command line edit window:
Working of course on the ffmpeg solution 1) .dts is a known and valid extension for dts streams that are unpadded, and it should be used here (wav has no meaning unless you are preparing your stream to be burned on an audio DTS CD) unpadded streams (dts, ac3 etc) are the proper streams used by ffmpeg and all encoders/decoders/muxers. Wav has nothing to do here, except if you intend to burn a cd. TEST CONFIRMATION : Successful, so you should put dts instead of wav (it didn't crash nor fail) 2) In the command line, you must not have this: -disposition:a default -metadata:s:a language=eng those have no effect at this stage. you can select the language in the drop down box "language". currently you can set language with this drop-down, but you can't select if default of forced track. And this is the missing feature (you can try it, use -metadata:s:a language=fre or ara of whatever, you'll see the resulting file will not carry this info. Also -disposition:a default will have no effect, you won't have the default status, check it with mediainfo). This is the output-file mediainfo audio section: Audio ID : 2 Format : DTS Format/Info : Digital Theater Systems Codec ID : A_DTS Duration : 49 s 56 ms Bit rate mode : Constant Bit rate : 1 509 kb/s Channel(s) : 6 channels Channel layout : C L R Ls Rs LFE Sampling rate : 48.0 kHz Frame rate : 93.750 FPS (512 SPF) Bit depth : 24 bits Compression mode : Lossy Stream size : 8.82 MiB (62%) Language : English Default : No Forced : No and this is the original before processing ID : 2 Format : DTS XLL Format/Info : Digital Theater Systems Commercial name : DTS-HD Master Audio Codec ID : A_DTS Duration : 49 s 56 ms Bit rate mode : Variable Channel(s) : 6 channels Channel(s)_Original : 8 channels ChannelLayout_Original : C L R LFE Lsr Rsr Lss Rss Sampling rate : 96.0 kHz Frame rate : 187.500 FPS (512 SPF) Bit depth : 24 bits Compression mode : Lossless Language : English Default : Yes Forced : No Duration_Source : General_Duration 3) The way you've done it and I've re-done it is already a one step, I don't undertsand what we need more, except that it is should be a default profile, and that the missing features are added for the command line window: missing features are : default and forced statuses. Last edited by 44vince44; 18th May 2020 at 13:56. |
18th May 2020, 14:12 | #1830 | Link | |
Registered User
Join Date: Sep 2018
Posts: 391
|
Quote:
However in the meantime try disposition:a:0 default And -metadata:s:a:0 language=eng And tell me if that works. Sent from my Pixel 3a using Tapatalk Last edited by jlw_4049; 18th May 2020 at 14:16. |
|
18th May 2020, 14:26 | #1831 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
I just tried it, it is in my previous post, see by yourself
Audio ID : 2 Format : DTS Format/Info : Digital Theater Systems Codec ID : A_DTS Duration : 49 s 56 ms Bit rate mode : Constant Bit rate : 1 509 kb/s Channel(s) : 6 channels Channel layout : C L R Ls Rs LFE Sampling rate : 48.0 kHz Frame rate : 93.750 FPS (512 SPF) Bit depth : 24 bits Compression mode : Lossy Stream size : 8.82 MiB (62%) Language : English Default : No Forced : No So "disposition:a:0 default " doesn't work as you can see above, and there is no way it can work at this stage because this is metadata for the container. Here we are at a stream level. and neither -metadata:s:a:0 language=eng will work for the same reason! Language is passed through to muxer from the value you've selected in the Language box. I made a new bug report so that we can have default and Forced flags selection checkboxes, as it is in all other audio edit settings. Last edited by 44vince44; 18th May 2020 at 14:35. |
18th May 2020, 16:15 | #1832 | Link | |
Registered User
Join Date: Sep 2018
Posts: 391
|
Quote:
Grab latest BETA here https://staxrip.readthedocs.io/introduction.html#beta Sent from my Pixel 3a using Tapatalk Last edited by jlw_4049; 18th May 2020 at 17:09. |
|
18th May 2020, 17:11 | #1833 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
There is a new beta that addresses some issues (announced in the other staxrip thread).
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
18th May 2020, 17:12 | #1834 | Link | |
Registered User
Join Date: Sep 2018
Posts: 391
|
Quote:
|
|
18th May 2020, 17:20 | #1835 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Problem with this thread is, first post don't point to https://github.com/staxrip/staxrip
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
18th May 2020, 17:25 | #1837 | Link | |
Registered User
Join Date: Sep 2018
Posts: 391
|
Quote:
Sent from my Pixel 3a using Tapatalk |
|
18th May 2020, 17:47 | #1838 | Link | |
Registered User
Join Date: Dec 2002
Posts: 1,022
|
Quote:
|
|
Tags |
aac, hdr, hevc, nvenc, staxrip, x264, x265 |
Thread Tools | Search this Thread |
Display Modes | |
|
|