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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th July 2018, 17:27   #6241  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
If you read the last pages of the FFMS2 and L-SMASH Source threads, you will see it's not just you.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 4th July 2018, 18:04   #6242  |  Link
leon
Registered User
 
Join Date: Nov 2013
Posts: 136
Yeah, thanks.
FFMS2 is getting the job done right now for me, but it occasionally can't decode the very last frame.
leon is offline   Reply With Quote
Old 4th July 2018, 18:59   #6243  |  Link
imsrk48
Registered User
 
imsrk48's Avatar
 
Join Date: Nov 2017
Posts: 154
How can i select multi tracks in avs script creator method for Encoding multi audio mkv

Sent from my P4 using Tapatalk
imsrk48 is offline   Reply With Quote
Old 4th July 2018, 19:08   #6244  |  Link
imsrk48
Registered User
 
imsrk48's Avatar
 
Join Date: Nov 2017
Posts: 154
how to hardcode a .ass subtitle into mkv container using avs script creator any solution or this?
imsrk48 is offline   Reply With Quote
Old 4th July 2018, 19:43   #6245  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 476
Quote:
Originally Posted by tebasuna51 View Post
@kuchikirukia
Please add the log file.
Seems a MediaInfo-AviSynth conflict.
Code:
[Warning] Log for job392 (audio, 00003-002.mkv -> 00003-002.m4a)
-[Information] [7/4/2018 2:37:18 PM] Started handling job
-[Information] [7/4/2018 2:37:18 PM] Preprocessing
-[Warning] [7/4/2018 2:37:18 PM] MediaInfo
--[Information] [7/4/2018 2:37:18 PM] File: F:\Video\BDMV\STREAM\00003-002.mkv
--[Information] General
---[Information] Format: Matroska
---[Information] FormatString: Matroska
---[Information] FileSize: 6267504073
---[Information] PlayTime: 00:21:57.324
---[Information] Attachments: Benguiat_Bk_BT_Bold.ttf / Benguiat_Bk_BT_Bold_Italic.ttf / AGCrownStyle.ttf / Benguiat.ttf / Europe.ttf
--[Information] Video
---[Information] ID: 1
---[Information] StreamOrder: 0
---[Information] Width: 1920
---[Information] Height: 1080
---[Information] FrameCount: 31584
---[Information] FrameRate: 23.976
---[Information] FrameRateOriginal: 
---[Information] FrameRateMode: CFR
---[Information] ScanType: Progressive
---[Information] Codec: V_MPEG4/ISO/AVC
---[Information] CodecString: AVC
---[Information] Bits Depth: 8
---[Information] Format: AVC
---[Information] AspectRatio: 1.778
---[Information] AspectRatioString: 16:9
---[Information] Delay: 0
---[Information] Title: 
---[Information] Language: 
---[Information] LanguageString: 
---[Information] Default: Yes
---[Information] DefaultString: Yes
---[Information] Forced: No
---[Information] ForcedString: No
--[Information] Audio
---[Information] ID: 2
---[Information] StreamOrder: 1
---[Information] Format: DTS
---[Information] FormatProfile: MA / Core
---[Information] FormatSettingsSBR: 
---[Information] FormatSettingsPS: 
---[Information] Muxing Mode: 
---[Information] SamplingRate: 48000
---[Information] SamplingRateString: 48.0 kHz
---[Information] Channels: 6
---[Information] ChannelsString: 6 channels
---[Information] ChannelPositionsString2: 3/2/0.1
---[Information] BitRateMode: VBR / CBR
---[Information] Delay: 1
---[Information] Title: 
---[Information] Language: ja
---[Information] LanguageString: Japanese
---[Information] Default: Yes
---[Information] DefaultString: Yes
---[Information] Forced: No
---[Information] ForcedString: No
--[Information] Audio
---[Information] ID: 3
---[Information] StreamOrder: 2
---[Information] Format: AAC
---[Information] FormatProfile: LC
---[Information] FormatSettingsSBR: No (Explicit)
---[Information] FormatSettingsPS: 
---[Information] Muxing Mode: 
---[Information] SamplingRate: 48000
---[Information] SamplingRateString: 48.0 kHz
---[Information] Channels: 2
---[Information] ChannelsString: 2 channels
---[Information] ChannelPositionsString2: 2/0/0
---[Information] BitRateMode: 
---[Information] Delay: 0
---[Information] Title: Track 1 English 2.0
---[Information] Language: en
---[Information] LanguageString: English
---[Information] Default: No
---[Information] DefaultString: No
---[Information] Forced: No
---[Information] ForcedString: No
--[Information] Text
---[Information] ID: 4
---[Information] StreamOrder: 3
---[Information] Codec: S_TEXT/ASS
---[Information] CodecString: ASS
---[Information] Delay: 
---[Information] Title: Subtitle Track 2 English
---[Information] Language: en
---[Information] LanguageString: English
---[Information] Default: Yes
---[Information] DefaultString: Yes
---[Information] Forced: No
---[Information] ForcedString: No
--[Warning] Text
---[Information] ID: 5
---[Information] StreamOrder: 4
---[Information] Codec: S_TEXT/ASS
---[Information] CodecString: ASS
---[Information] Delay: 
---[Information] Title: Subtitle Track 1 Signs And Songs
---[Information] Language: zxx
---[Information] LanguageString: zxx
---[Information] Default: No
---[Information] DefaultString: No
---[Information] Forced: No
---[Information] ForcedString: No
---[Warning] [7/4/2018 2:37:19 PM] The language information "zxx/zxx" is unknown. The default MeGUI language has been selected instead.
--[Information] Chapters
---[Information] 00:00:00.000: :Chapter 02 Part 1
---[Information] 00:09:16.556: :Chapter 03 Part 2
---[Information] 00:20:11.210: :Chapter 04 End Theme
---[Information] 00:21:26.285: :Chapter 05 Next Episode Preview
-[Information] [7/4/2018 2:37:19 PM] Trying to open the file with LWLibavAudioSource()
-[Information] [7/4/2018 2:38:01 PM] Successfully opened the file with LWLibavAudioSource()
-[Warning] [7/4/2018 2:38:02 PM] Channel count mismatch! The input file is reporting 6 channels and the AviSynth script is reporting 2 channels
-[Information] [7/4/2018 2:38:03 PM] AviSynth script
--[NoImage] ClearAutoloadDirs()
--[NoImage] AddAutoloadDir("C:\Program Files (x86)\MeGUI\tools\avs\plugins")
--[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\lsmash\LSMASHSource.dll")
--[NoImage] LWLibavAudioSource("F:\Video\BDMV\STREAM\00003-002.mkv")
--[NoImage] # detected channels: 6
--[NoImage] # detected channel positions: 3/2/0.1
--[NoImage] return last
-[Information] [7/4/2018 2:38:03 PM] Command line used: --ignorelength --threading -v 1280 --no-delay - -o "{0}"
-[Information] [7/4/2018 2:38:03 PM] AviSynth script environment opened
-[Information] [7/4/2018 2:38:04 PM] Script loaded
-[Information] [7/4/2018 2:38:04 PM] Output Decoder
--[Information] [7/4/2018 2:38:04 PM] Channels: 2
--[Information] [7/4/2018 2:38:04 PM] Bits per sample: 32
--[Information] [7/4/2018 2:38:04 PM] Sample rate: 48000
-[Information] [7/4/2018 2:38:04 PM] Job command line: C:\Program Files (x86)\MeGUI\tools\qaac\qaac.exe --ignorelength --threading -v 1280 --no-delay - -o "F:\Video\BDMV\STREAM\00003-002.m4a"
-[Information] [7/4/2018 2:38:04 PM] Process started
-[Information] [7/4/2018 2:38:04 PM] Standard output stream
-[Information] [7/4/2018 2:38:04 PM] Standard error stream
--[Information] [7/4/2018 2:38:04 PM] qaac 2.67, CoreAudioToolbox 7.10.9.0
--[Information] [7/4/2018 2:38:04 PM] 00003-002.m4a
--[Information] [7/4/2018 2:38:04 PM] AAC-LC Encoder, CVBR 320kbps, Quality 96
--[Information] [7/4/2018 2:38:28 PM] 63210496/-1 samples processed in 0:23.515
--[Information] [7/4/2018 2:38:28 PM] Overall bitrate: 329.164kbps
--[Information] [7/4/2018 2:38:28 PM] Optimizing...29%
--[Information] [7/4/2018 2:38:28 PM] Optimizing...56%
--[Information] [7/4/2018 2:38:28 PM] Optimizing...98%
--[Information] [7/4/2018 2:38:28 PM] Optimizing...done
-[Information] [7/4/2018 2:38:28 PM] MediaInfo
--[Information] [7/4/2018 2:38:28 PM] File: F:\Video\BDMV\STREAM\00003-002.m4a
--[Information] General
---[Information] Format: MPEG-4
---[Information] FormatString: MPEG-4
---[Information] FileSize: 54443454
---[Information] PlayTime: 00:21:56.885
--[Information] Audio
---[Information] ID: 1
---[Information] StreamOrder: 0
---[Information] Format: AAC
---[Information] FormatProfile: LC
---[Information] FormatSettingsSBR: 
---[Information] FormatSettingsPS: 
---[Information] Muxing Mode: 
---[Information] SamplingRate: 48000
---[Information] SamplingRateString: 48.0 kHz
---[Information] Channels: 2
---[Information] ChannelsString: 2 channels
---[Information] ChannelPositionsString2: 2/0/0
---[Information] BitRateMode: VBR
---[Information] Delay: 
---[Information] Title: 
---[Information] Language: 
---[Information] LanguageString: 
---[Information] Default: 
---[Information] DefaultString: 
---[Information] Forced: 
---[Information] ForcedString: 
---[Information] [7/4/2018 2:38:28 PM] The language information is not available for this track. The default MeGUI language has been selected.
-[Information] [7/4/2018 2:38:28 PM] Postprocessing
--[Information] [7/4/2018 2:38:28 PM] Deleting intermediate files
---[Information] [7/4/2018 2:38:28 PM] Successfully deleted F:\Video\BDMV\STREAM\00003-002.mkv.lwi
-[Information] [7/4/2018 2:38:28 PM] Job completed

Encoding from an avisynth script with just the LWLibavAudioSource line comes back with no errors but it's still 2 channels, and shows detected 2 channels in the log's avisynth script instead of 6 like before.
Adding stream_index=1 encodes the DTS-MA track.

So it indicates a problem with LSMASH's default -1 for stream_index (pick the first audio track), no?

Last edited by kuchikirukia; 4th July 2018 at 20:49.
kuchikirukia is offline   Reply With Quote
Old 4th July 2018, 20:22   #6246  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
Quote:
Originally Posted by imsrk48 View Post
how to hardcode a .ass subtitle into mkv container using avs script creator any solution or this?
Again, and again, and again:

You "hardcode" subtitles into the contained video stream, using the AVS Script Creator. Not into a container. If you see the subtitles in the preview window of MeGUI, they will also be contained in your newly encoded video. Even if you first create a raw video stream without any container; it doesn't matter.

ASS is a text script just like SRT. And the AVS Script Creator provides several different text subtitle filters, some of them supporting ASS better than others. Test it using the preview window of MeGUI before encoding.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 4th July 2018, 21:06   #6247  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
@kuchikirukia
To avoid a mistake between tracks the 00003-002.m4a is english or japanese?

If it is japanese seems there are a confl¡ct between MediaInfo-AviSynth.

The BDMV\STREAM\00003-002.mkv is a mix of m2ts?
In BD's is possible have a m2ts intro 5.1 and after m2ts only 2.0.


maybe the DTS-MA is
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 5th July 2018, 01:56   #6248  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
Quote:
Originally Posted by imsrk48 View Post
How can i select multi tracks in avs script creator method for Encoding multi audio mkv
Use the File Indexer under the Tools menu to extract the audio (or create scripts if it can't be extracted) and they'll be loaded into the audio section.
hello_hello is offline   Reply With Quote
Old 5th July 2018, 09:59   #6249  |  Link
Gser
Registered User
 
Join Date: Apr 2008
Posts: 418
Quote:
Originally Posted by LigH View Post
Again, and again, and again:

You "hardcode" subtitles into the contained video stream, using the AVS Script Creator. Not into a container. If you see the subtitles in the preview window of MeGUI, they will also be contained in your newly encoded video. Even if you first create a raw video stream without any container; it doesn't matter.

ASS is a text script just like SRT. And the AVS Script Creator provides several different text subtitle filters, some of them supporting ASS better than others. Test it using the preview window of MeGUI before encoding.
I swear all of his posts have been like this. It's like he doesn't even bother finding out anything about video encoding himself, comes here to be given out everything on a silver platter and then throws the platter out the window.
Gser is offline   Reply With Quote
Old 5th July 2018, 12:19   #6250  |  Link
Zetti
Registered User
 
Join Date: Dec 2015
Posts: 306
Quote:
Originally Posted by tebasuna51 View Post
Is it possible but I don't know if it is useful.

I'm not sure if a DTS 1536 Kb/s make by ffdcaenc is better than an AC3 640 Kb/s make by ffmpeg, more compatible and 42% of size.

BTW you can use BeHappy to use ffdcaenc with AviSynth support.

EDIT: seems there are also some incompatibility with hardware players
https://forum.doom9.org/showthread.p...23#post1845723
I will try it.
Zetti is offline   Reply With Quote
Old 5th July 2018, 12:21   #6251  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 476
Quote:
Originally Posted by tebasuna51 View Post
@kuchikirukia
To avoid a mistake between tracks the 00003-002.m4a is english or japanese?
English. It's choosing the English 2.0 track instead of the first Japanese 5.1 DTS-MA track.

Quote:
Originally Posted by tebasuna51 View Post
The BDMV\STREAM\00003-002.mkv is a mix of m2ts?
In BD's is possible have a m2ts intro 5.1 and after m2ts only 2.0.


maybe the DTS-MA is
The mkv is a mux of the 5.1 DTS-MA from the JP BD with the English of the US BD. The DTS-MA is the 2nd track of the JP BD, since that m2ts also includes a 2.0 Japanese LPCM track. I cut that out since it's redundant.
The DTS-MA is entirely 5.1.
kuchikirukia is offline   Reply With Quote
Old 5th July 2018, 22:04   #6252  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by kuchikirukia View Post
English. It's choosing the English 2.0 track instead of the first Japanese 5.1 DTS-MA track.
Then
LWLibavAudioSource("F:\Video\BDMV\STREAM\00003-002.mkv")
don't work as expected selecting the first audio track showed by MediaInfo.

You can try this avs, changing the stream_index parameter until select the japanese track:

Quote:
ClearAutoloadDirs()
AddAutoloadDir("C:\Program Files (x86)\MeGUI\tools\avs\plugins")
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\lsmash\LSMASHSource.dll")
LWLibavAudioSource("F:\Video\BDMV\STREAM\00003-002.mkv", stream_index=1)
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 5th July 2018, 23:11   #6253  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 476
Quote:
Originally Posted by tebasuna51 View Post
Then
LWLibavAudioSource("F:\Video\BDMV\STREAM\00003-002.mkv")
don't work as expected selecting the first audio track showed by MediaInfo.

You can try this avs, changing the stream_index parameter until select the japanese track:
Yes, I said that above:


Quote:
Originally Posted by kuchikirukia View Post

Encoding from an avisynth script with just the LWLibavAudioSource line comes back with no errors but it's still 2 channels, and shows detected 2 channels in the log's avisynth script instead of 6 like before.
Adding stream_index=1 encodes the DTS-MA track.

So it indicates a problem with LSMASH's default -1 for stream_index (pick the first audio track), no?
kuchikirukia is offline   Reply With Quote
Old 6th July 2018, 04:35   #6254  |  Link
imsrk48
Registered User
 
imsrk48's Avatar
 
Join Date: Nov 2017
Posts: 154
Quote:
Originally Posted by LigH View Post
Again, and again, and again:

You "hardcode" subtitles into the contained video stream, using the AVS Script Creator. Not into a container. If you see the subtitles in the preview window of MeGUI, they will also be contained in your newly encoded video. Even if you first create a raw video stream without any container; it doesn't matter.

ASS is a text script just like SRT. And the AVS Script Creator provides several different text subtitle filters, some of them supporting ASS better than others. Test it using the preview window of MeGUI before encoding.
okay I'll try and if not work then???

Sent from my P4 using Tapatalk
imsrk48 is offline   Reply With Quote
Old 6th July 2018, 04:36   #6255  |  Link
imsrk48
Registered User
 
imsrk48's Avatar
 
Join Date: Nov 2017
Posts: 154
Quote:
Originally Posted by Gser View Post
I swear all of his posts have been like this. It's like he doesn't even bother finding out anything about video encoding himself, comes here to be given out everything on a silver platter and then throws the platter out the window.
Sorry for this Sir it's not happen again

Sent from my P4 using Tapatalk
imsrk48 is offline   Reply With Quote
Old 6th July 2018, 04:37   #6256  |  Link
imsrk48
Registered User
 
imsrk48's Avatar
 
Join Date: Nov 2017
Posts: 154
Quote:
Originally Posted by Gser View Post
I swear all of his posts have been like this. It's like he doesn't even bother finding out anything about video encoding himself, comes here to be given out everything on a silver platter and then throws the platter out the window.
I'll tried then I'm come here not before testing

Sent from my P4 using Tapatalk
imsrk48 is offline   Reply With Quote
Old 6th July 2018, 07:44   #6257  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
@imsrk48: It's all guessing and hear-say without MeGUI log files. With a log, we could possibly point you at a specific line and tell you: "Here, look, you did not include subtitles in your AviSynth script, that's why they don't appear" or such ... often it's just a simple mistake, but hard to discover if all we have is your promise that you did it all as you said.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 6th July 2018, 08:54   #6258  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by kuchikirukia View Post
Yes, I said that above:
Sorry, I don't see your last post edition:

Quote:
Originally Posted by kuchikirukia View Post
Adding stream_index=1 encodes the DTS-MA track.

So it indicates a problem with LSMASH's default -1 for stream_index (pick the first audio track), no?
Yes, seems a problem with that.

To be sure please load 00003-002.mkv in MkvToolNix to know if the track order is the same than MediaInfo say:
- Video
- DTS-MA
- AAC
- ASS
- ASS
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 6th July 2018, 13:31   #6259  |  Link
imsrk48
Registered User
 
imsrk48's Avatar
 
Join Date: Nov 2017
Posts: 154
Quote:
Originally Posted by LigH View Post
@imsrk48: It's all guessing and hear-say without MeGUI log files. With a log, we could possibly point you at a specific line and tell you: "Here, look, you did not include subtitles in your AviSynth script, that's why they don't appear" or such ... often it's just a simple mistake, but hard to discover if all we have is your promise that you did it all as you said.
okay great I'll send log file after some time

Sent from my P4 using Tapatalk
imsrk48 is offline   Reply With Quote
Old 7th July 2018, 11:15   #6260  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
Quote:
Originally Posted by DS2902 View Post
After upgrading to 2867, it stopped running
Please check the test build and report back:
https://sourceforge.net/p/megui/bugs/924/
Zathor is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:41.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.