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. |
20th January 2018, 14:55 | #382 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,582
|
Is there a way to process multiple audio tracks from a mkv file without having to extract them?
If not, could it be added? I am getting better results with ffmpeg rather than with eac.
__________________
@turment on Telegram |
21st January 2018, 11:47 | #383 | Link | ||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
You can use my GUI UsEac3to better than HDStreamExtractor and you can encode also with ffmpeg. - Using AviSynth decoders, with 'Audio encoding' in main 'Input' tab, you can only process the first audio from a mkv with LWLibavAudioSource. Using BeHapy you can select the audio track desired adding the desired stream_index to decoder, for instance: LWLibavAudioSource("INPUT.mkv", stream_index=2) Maybe that can be implemented in MeGUI BTW I'm not sure if that method is better: Extract and recode 2 tracks from a mkv: 51 sec. Recode the 2 tracks without extract: 53 sec. Quote:
If you are talking about AC3 encoding, yes the default eac3to encoder Aften is deprecated and ffmpeg must be used.
__________________
BeHappy, AviSynth audio transcoder. |
||
22nd January 2018, 12:16 | #384 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,582
|
Thanks for your kind reply, however I intended with MeGUI tool
I can convert audio from tool but one track at a time and only if already extracted. I would like to feed a mkv and get a minimal GUI to transcode the audio tracks only into whatever I want with FFMpeg
__________________
@turment on Telegram |
28th January 2018, 20:39 | #389 | Link |
Registered User
Join Date: Mar 2005
Posts: 64
|
I'm getting a crash when encoding to x264 that I do not get with Megui x32 using the exact same config. I'm ripping DVDs and encoding to x264 for my media server. If I download, unzip, run AVS script creator, and encode with the default x264 scratchpad settings it works perfectly. But the minute I change my x264 settings for 480i source, x264 crashes when the encode starts.
Code:
LoadPlugin("C:\MeGUI-2808-64\tools\dgindex\DGDecode.dll") DGDecode_mpeg2source("C:\E4190\VIDEO_TS\VTS_03_1.d2v", info=3) LoadPlugin("C:\MeGUI-2808-64\tools\avisynth_plugin\ColorMatrix.dll") ColorMatrix(hints=true, threads=0) #deinterlace #crop #resize #denoise Code:
program --level 4.1 --bluray-compat --preset veryslow --tune film --crf 20 --keyint 30 --open-gop --slices 4 --vbv-bufsize 30000 --vbv-maxrate 40000 --tff --colorprim smpte170m --transfer smpte170m --colormatrix smpte170m --sar 10:11 --output "output" "input" Code:
--[Information] [1/28/2018 1:12:54 PM] Started handling job --[Information] [1/28/2018 1:12:55 PM] Preprocessing --[Information] [1/28/2018 1:12:55 PM] AviSynth input script ---[NoImage] LoadPlugin("C:\MeGUI-2808-64\tools\dgindex\DGDecode.dll") ---[NoImage] DGDecode_mpeg2source("C:\E4190\VIDEO_TS\VTS_03_1.d2v", info=3) ---[NoImage] LoadPlugin("C:\MeGUI-2808-64\tools\avisynth_plugin\ColorMatrix.dll") ---[NoImage] ColorMatrix(hints=true, threads=0) ---[NoImage] #deinterlace ---[NoImage] #crop ---[NoImage] #resize ---[NoImage] #denoise --[Information] [1/28/2018 1:12:55 PM] resolution: 720x480 --[Information] [1/28/2018 1:12:55 PM] frame rate: 30000/1001 --[Information] [1/28/2018 1:12:55 PM] frames: 44311 --[Information] [1/28/2018 1:12:55 PM] aspect ratio: 3:2 (1.500) --[Information] [1/28/2018 1:12:55 PM] target device selected: Blu-ray --[Information] [1/28/2018 1:12:55 PM] changing --keyint to 30 as required for the selected device --[Information] [1/28/2018 1:12:55 PM] Job command line: "C:\MeGUI-2808-64\tools\x264\x264.exe" --level 4.1 --bluray-compat \ --preset veryslow --tune film --crf 20 --keyint 30 --open-gop --slices \ 4 --vbv-bufsize 30000 --vbv-maxrate 40000 --tff --colorprim \ smpte170m --transfer smpte170m --colormatrix smpte170m --sar \ 10:11 --output "C:\E4190\VIDEO_TS\VTS_03_1.264" "C:\E4190\VIDEO_TS\VTS_03_1.avs" --[Information] [1/28/2018 1:12:55 PM] Process started --[Information] [1/28/2018 1:12:55 PM] Standard output stream --[Information] [1/28/2018 1:12:55 PM] Standard error stream --[Error] [1/28/2018 1:12:57 PM] Process exits with error: 0xC0000005 STATUS_ACCESS_VIOLATION (-1073741819) --[Information] [1/28/2018 1:12:57 PM] Job completed |
28th January 2018, 22:11 | #390 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
@Bexley
Run the script with AVSMeter64 to see if this crashes. I vaguely remember that DGDecode 64 bit is not very stable so this could be the problem.
__________________
Groucho's Avisynth Stuff |
28th January 2018, 22:27 | #391 | Link | |
Registered User
Join Date: Mar 2005
Posts: 64
|
Quote:
I can confirm that changing the AVC level from unrestricted to 4.1 causes a crash, but I don't know what else might be at play. |
|
28th January 2018, 23:08 | #392 | Link |
Registered User
Join Date: Mar 2005
Posts: 64
|
It's definitely AVC level 4.1 that's causing it. It works fine with all the other options as long as I leave that unrestricted. I'm encoding for Bluray compatibility and it calls for 4.1, so leaving it unrestricted is an option but not a very good one.
Last edited by Bexley; 28th January 2018 at 23:44. |
22nd February 2018, 22:47 | #394 | Link |
Registered User
Join Date: Jul 2012
Posts: 208
|
I have some strange issue with MeGUI 64 Bit, when I want encode 10-Bit input encode with x264 with 8-Bit output.
The created file is distorted (double resolution, everything is green) and handled like without "--input-depth 10". Thats the AviSynth script I use Code:
LoadPlugin("LSMASHSource.dll") LSMASHVideoSource("test2.mov", format="YUV420P10") Code:
program --output-depth 8 --input-depth 10 --output "output" "input" It can't be a x264.exe issue, because both version using the same 64-Bit x264.exe file. It also can't be LSMASH 32/64-Bit issue, because when I use x265 in MeGUI 64 Bit with --input-depth 10 --profile main, the result is also fine. The only difference is, that MeGUI 32-Bit is additional using avs4x26x.exe. That's the log for MeGUI 64-Bit: https://pastebin.com/NRZZUH4V and here for 32-Bit: https://pastebin.com/9WhmL5ki What's the cause? Is there a solution for it? |
22nd February 2018, 23:00 | #395 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
L-Smash doesn't know native AviSynth+ formats >8 bit, only hacked formats. Either use ffms or try:
For 8 bit output simply: Code:
LoadPlugin("LSMASHSource.dll") LSMASHVideoSource("test2.mov", format="YUV420P8") For 10 bit pipe/output: Code:
LoadPlugin("LSMASHSource.dll") LSMASHVideoSource("test2.mov") ConvertFromDoubleWidth(bits=10) ConvertBits(16) Last edited by sneaker_ger; 22nd February 2018 at 23:04. |
25th February 2018, 15:11 | #396 | Link | |
Registered User
Join Date: Apr 2008
Posts: 418
|
Quote:
|
|
26th February 2018, 14:33 | #398 | Link |
Registered User
Join Date: Apr 2008
Posts: 418
|
LWLibavVideoSource
Avisynthplus color formats I've done many 10 bit x265 encodes with this, it works fine. Only problem I have is that not many filters support the format. I just noticed he was using x264. Maybe it only supports stacked 10-bit? Perhaps he could dither it to 8 bits with a filter instead of feeding 10 bits to x264. There is something weird going on I do have to admit, using Convertbits(8), doesn't convert the bit depth which I believe is its primary function. Also trying to resize with internal filters results in a mess. Last edited by Gser; 26th February 2018 at 15:13. |
26th February 2018, 15:56 | #399 | Link | |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Quote:
If you put info() behind L-Smash you can see that AviSynth+ will always report 8 bits per component. This isn't the case for ffms2 because that actually does support the native formats >8 bit. Last edited by sneaker_ger; 26th February 2018 at 15:59. |
|
26th February 2018, 20:37 | #400 | Link | |
Registered User
Join Date: Apr 2008
Posts: 418
|
Quote:
|
|
|
|