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. |
24th July 2020, 11:16 | #2101 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
MisterXY I have no 3.1 source to test, but you can try to change the decoding method, in the settings of audio encoder: press the big button "More...", then in "General" use decoding method "Pipe" or "W64". Maybe it could work.
|
24th July 2020, 12:21 | #2102 | Link |
Registered User
Join Date: Jun 2014
Posts: 82
|
I have tested it with W64 and Pipe.
This is the Message with Pipe. Code:
qaac 2.69, CoreAudioToolbox 7.10.9.0 Asterix in Amerika_t00 ID2 German {Surround 3.1}_a2.m4a ERROR: No channel mapping to AAC defined C L R LFE and that is the Layout after w64 ore FLAC L R C Cb Last edited by Mister XY; 24th July 2020 at 12:24. |
24th July 2020, 20:10 | #2104 | Link |
Registered User
Join Date: Jun 2014
Posts: 82
|
In Both case ffmpeg convert.
Code:
ffmpeg N-98276-g1d5d8a30b4-g842bc312ad-gcc10.1.0 Patman Code:
eac3to 3.34 "C:\Program Files\StaxRip\Apps\Audio\eac3to\eac3to.exe" "E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID1 German {Surround 3.1}.dts" "E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID1 German {Surround 3.1}.flac" -simple -progressnumbers DTS, 3.1 channels, 1:24:16, 960kbps, 48kHz Decoding with libDcaDec DTS Decoder... Patching bitdepth to 24 bits... Encoding FLAC with libFlac... Creating file "E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID1 German {Surround 3.1}.flac"... eac3to processing took 5 minutes, 38 seconds. Done. Start: 21:23:10 End: 21:28:48 Duration: 00:05:37 General Complete name : E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID1 German {Surround 3.1}.flac Format : FLAC Format/Info : Free Lossless Audio Codec File size : 1.28 GiB Duration : 1 h 24 min Overall bit rate mode : Variable Overall bit rate : 2 178 kb/s Audio Format : FLAC Format/Info : Free Lossless Audio Codec Duration : 1 h 24 min Bit rate mode : Variable Bit rate : 2 178 kb/s Channel(s) : 4 channels Channel layout : L R C LFE Sampling rate : 48.0 kHz Bit depth : 24 bits Compression mode : Lossless Stream size : 1.28 GiB (100%) Writing library : libFLAC 1.3.3 (UTC 2019-08-04) ----------------------- Error Audio encoding 1 ----------------------- Audio encoding 1 returned error exit code: 2 (0x2) It's unclear what the exit code means, in case it's a Windows system error then it possibly means: Das System kann die angegebene Datei nicht finden -------------------------- Audio encoding 1 -------------------------- qaac 2.69 "C:\Program Files\StaxRip\Apps\Audio\qaac\qaac64.exe" --tvbr 75 "E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID1 German {Surround 3.1}.flac" -o "E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID1 German {Surround 3.1}_a1.m4a" qaac 2.69, CoreAudioToolbox 7.10.9.0 Asterix in Amerika_t00 ID1 German {Surround 3.1}_a1.m4a ERROR: No channel mapping to AAC defined -------------------------- Audio encoding 1 -------------------------- qaac 2.69 "C:\Program Files\StaxRip\Apps\Audio\qaac\qaac64.exe" --tvbr 75 "E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID1 German {Surround 3.1}.flac" -o "E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID1 German {Surround 3.1}_a1.m4a" qaac 2.69, CoreAudioToolbox 7.10.9.0 Asterix in Amerika_t00 ID1 German {Surround 3.1}_a1.m4a ERROR: No channel mapping to AAC defined Start: 21:28:48 End: 21:28:48 Duration: 00:00:00 Code:
---------------------- Media Info Audio Source 1 ---------------------- General Complete name : E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID1 German {Surround 3.1}.dts Format : DTS Format/Info : Digital Theater Systems File size : 579 MiB Duration : 1 h 24 min Overall bit rate mode : Constant Overall bit rate : 960 kb/s Audio Format : DTS Format/Info : Digital Theater Systems Duration : 1 h 24 min Bit rate mode : Constant Bit rate : 960 kb/s Channel(s) : 4 channels Channel layout : C L R LFE Sampling rate : 48.0 kHz Frame rate : 93.750 FPS (512 SPF) Bit depth : 16 bits Compression mode : Lossy Stream size : 579 MiB ---------------------- Media Info Audio Source 2 ---------------------- General Complete name : E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID2 German {Surround 3.1}.dts Format : DTS Format/Info : Digital Theater Systems File size : 577 MiB Duration : 1 h 23 min Overall bit rate mode : Constant Overall bit rate : 960 kb/s Audio Format : DTS Format/Info : Digital Theater Systems Duration : 1 h 23 min Bit rate mode : Constant Bit rate : 960 kb/s Channel(s) : 4 channels Channel layout : C L R LFE Sampling rate : 48.0 kHz Frame rate : 93.750 FPS (512 SPF) Bit depth : 16 bits Compression mode : Lossy Stream size : 577 MiB ----------------------- Error Audio encoding 1 ----------------------- Audio encoding 1 returned error exit code: 2 (0x2) It's unclear what the exit code means, in case it's a Windows system error then it possibly means: Das System kann die angegebene Datei nicht finden -------------------------- Audio encoding 1 -------------------------- qaac 2.69 "C:\Program Files\StaxRip\Apps\Encoders\ffmpeg\ffmpeg.exe" -i "E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID1 German {Surround 3.1}.dts" -loglevel fatal -hide_banner -f wav - | "C:\Program Files\StaxRip\Apps\Audio\qaac\qaac64.exe" --tvbr 75 - -o "E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID1 German {Surround 3.1}_a1.m4a" qaac 2.69, CoreAudioToolbox 7.10.9.0 Asterix in Amerika_t00 ID1 German {Surround 3.1}_a1.m4a ERROR: No channel mapping to AAC defined -------------------------- Audio encoding 1 -------------------------- qaac 2.69 "C:\Program Files\StaxRip\Apps\Encoders\ffmpeg\ffmpeg.exe" -i "E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID1 German {Surround 3.1}.dts" -loglevel fatal -hide_banner -f wav - | "C:\Program Files\StaxRip\Apps\Audio\qaac\qaac64.exe" --tvbr 75 - -o "E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID1 German {Surround 3.1}_a1.m4a" qaac 2.69, CoreAudioToolbox 7.10.9.0 Asterix in Amerika_t00 ID1 German {Surround 3.1}_a1.m4a ERROR: No channel mapping to AAC defined Start: 21:32:30 End: 21:32:31 Duration: 00:00:00 ----------------------- Error Audio encoding 2 ----------------------- Audio encoding 2 returned error exit code: 2 (0x2) It's unclear what the exit code means, in case it's a Windows system error then it possibly means: Das System kann die angegebene Datei nicht finden -------------------------- Audio encoding 2 -------------------------- qaac 2.69 "C:\Program Files\StaxRip\Apps\Encoders\ffmpeg\ffmpeg.exe" -i "E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID2 German {Surround 3.1}.dts" -loglevel fatal -hide_banner -f wav - | "C:\Program Files\StaxRip\Apps\Audio\qaac\qaac64.exe" --tvbr 70 - -o "E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID2 German {Surround 3.1}_a2.m4a" qaac 2.69, CoreAudioToolbox 7.10.9.0 Asterix in Amerika_t00 ID2 German {Surround 3.1}_a2.m4a ERROR: No channel mapping to AAC defined -------------------------- Audio encoding 2 -------------------------- qaac 2.69 "C:\Program Files\StaxRip\Apps\Encoders\ffmpeg\ffmpeg.exe" -i "E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID2 German {Surround 3.1}.dts" -loglevel fatal -hide_banner -f wav - | "C:\Program Files\StaxRip\Apps\Audio\qaac\qaac64.exe" --tvbr 70 - -o "E:\BluRay\Temp\Asterix in Amerika_t00_temp\Asterix in Amerika_t00 ID2 German {Surround 3.1}_a2.m4a" qaac 2.69, CoreAudioToolbox 7.10.9.0 Asterix in Amerika_t00 ID2 German {Surround 3.1}_a2.m4a ERROR: No channel mapping to AAC defined Start: 21:32:30 End: 21:32:31 Duration: 00:00:00 Last edited by Mister XY; 24th July 2020 at 20:34. |
25th July 2020, 09:54 | #2106 | Link | |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Quote:
https://staxrip.readthedocs.io/usage...tch-processing
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
|
25th July 2020, 11:34 | #2107 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
Mister XY it seems a bug with staxrip when using FFPEG to decode to FLAC or w64, because:
- use FFMPEG to re-encode directly to AAC => works - use FFMPEG tp decode to 3.1 channel FLAC => channels order is messed up, with message: "[flac @ 000001fd4897c840] Channel layout not supported by Flac, output stream will have incorrect channel layout." and instead of order C L R LFE, the output has order L R C Cb This seems a bug, we have to post it on the bug tracker at github. Can you create a small sample by selecting a range and setting audio and video to copy/mux, please. And once I get a small sample, I can probably find and give you a temporary solution. |
25th July 2020, 11:46 | #2108 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
@Stax76, I'm not sure that answers the question of Almanteka. Almanteka wants the files demuxed when the jobs are added from batch selection.
Currently when you add jobs from batch, the files are not demuxed in the adding stage. They are demuxed when the job is executed. And the link you sent does not completely answer that! So is there a way to have the files demuxed when batch jobs are ADDED, and NOT when jobs are EXECUTED. The answer is "NO, the files won't be demuxed until job processing starts the batch job" @Almanteka: what the link shows you, is that if you simply need the files demuxed, and no further operation with it, you can use Copy/Mux for Video and audio. In that case, you have got your solution. However, if your aim is different, it can be useful that you tell us why you need the files to be demuxed when added in the batch. I miss that feature too, because it allowed me to see if there are files that fail demuxing before I begin processing jobs. So I can leave the computer processing knowing that no file will abort due to a trivial demuxing problem. But then, it's not that catastrophic. Last edited by 44vince44; 25th July 2020 at 12:52. |
25th July 2020, 12:14 | #2109 | Link | |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Quote:
The CLI of staxrip would also work.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
|
25th July 2020, 15:51 | #2112 | Link | |
Registered User
Join Date: Sep 2018
Posts: 391
|
Quote:
The index, staxrip has to do its own or it won't work. Otherwise you could do a batch script to index the files as well. Sent from my SM-G986U1 using Tapatalk |
|
25th July 2020, 15:54 | #2113 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
Misterr XY you can do as JLW said, or another way, using the interface (i know steps 1,2,3 are obvious):
1. drag and drop the file in staxrip 2 click on the video encoder (usually it's x265), it will show a list, select "copy/mux" 3.click on the audio encoder, select "copy/mux" 4. if there is another audio track, also set to copy/mux 5. click on "PREVIEW", this opens the video preview, note that the current displayed frame number appears on the top bar. 6. use arrows to get to a frame, any frame, press "Home" on the keyboard this will mark the beginning of the range 7. use right arrow, to go 100 frames more (100 frames is more than enough) and press "End" on the keyboard. This marks end of range 8. close preview, create job (with Next, as usual), process job, this will create a sample. |
25th July 2020, 16:11 | #2115 | Link | |
Registered User
Join Date: Sep 2018
Posts: 391
|
Quote:
selectrangeevery(3000,50) Im not 100% how to sync the audio. Sent from my SM-G986U1 using Tapatalk |
|
25th July 2020, 16:18 | #2116 | Link | |
Registered User
Join Date: Sep 2018
Posts: 391
|
Quote:
Sent from my SM-G986U1 using Tapatalk |
|
25th July 2020, 22:20 | #2119 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
@Mister XY,
I have your answers, after checking your file: 1- this is not a problem with staxrip - DEFINITELY. the syntax Staxrip uses is CORRECT 2- the dts file is not standard (4 ch DTS 960 is not DTS, official 48khz DTS is: 5.1channel, 768Kbps or 1536Kbps. This one would probably never be decoded by hardware) official commercial dts encoder software (like Surcode) create always 5.1 streams leaving zero data in the unused channels 3- For some reason, using FFMPEG to re-encode to aac from this source works, but not to decode to flac. So at the most, it's a tool issue, relating to a non-standard file. Therefore, if we report that to the FFMPEG team, we won't get any fix, imho. Here is a workaround: Did you know that you can intermediately process audio manually in staxrip before creating the job? well you can, and you're gonna use it a) drag and drop source file to staxrip (preferably after cleaning up the temp folder, so you don't get confused later) b) before doing anything, select for the audio stream, the encoder (blue link): FLAC ~3802 c) edit the encoder: REMOVE NORMALIZE tick, and type in the CUSTOM input: -icl 3.1 -ocl 5.1 you'll see appear below : ffmpeg -icl 3.1 -ocl 5.1 - so now, click OK d) right-click on the audio stream name, and select "Execute" => this will generate the flac audio e) right-click on the audio stream name again, now you'll see just below the current stream name (#1 sample etc..), the name of the flac file generated right now. It's a 5.1 flac with the proper C L R LFE data and two added empty surround channels SELECT this flac file f) change the encoder preset to qaac, specify quality etc..., remember to preferably deactivate normalize because i don't know if it links the channels while calculating the normalizing factor. g) set the options for your video encoder, create job, and launch it The resulting video file has an AAC audio stream with 6 channels (the two surround channels are empty, so there is no additional data load), and the C L R LFE play as they should. Last edited by 44vince44; 25th July 2020 at 22:44. |
27th July 2020, 05:49 | #2120 | Link | |
Registered User
Join Date: Sep 2018
Posts: 38
|
Quote:
@Stax76 any command to use the CLI for demuxing and indexing? thanks for all your help in this issue! |
|
Tags |
aac, hdr, hevc, nvenc, staxrip, x264, x265 |
|
|