PDA

View Full Version : MeGUI - ts to avi no sound problem


zicko
30th March 2009, 18:52
Hi all,


When I encode using MeGUI ts format to avi for some reason I don't have sound on encoded avi file. When I try to encode some other format to avi I have sound.

How can I fix this? Which audio encoder should I use in MeGUI? I have tried few and it didn't work.


Thanks,
Drazen

Sharktooth
30th March 2009, 20:08
:script: :logfile:

zicko
31st March 2009, 10:28
Hi,


Thanks for you attention.

Actually I'm not having another issue with audio. When I try to encode just audio from ts file I receive error immediately when encode start:

[Error] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1022
--[NoImage] OS : Windows Vista Ultimate Edition x86 SP1 (6.0.65536.6001)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.3074)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
-[Error] Log for job1 (audio, test.ts -> test.ac3)
--[Information] [31.3.2009 10:15:57] Started handling job
--[Information] [31.3.2009 10:15:57] Preprocessing
--[NoImage] Avisynth script
---[NoImage] DirectShowSource("C:\Users\drazen\Desktop\test.ts", video=false)
---[NoImage] EnsureVBRMP3Sync()
---[NoImage] Normalize()
---[NoImage] return last
--[NoImage] Commandline used: -readtoeof 1 -b 384 - "{0}"
--[Information] [31.3.2009 10:15:57] Encoding started
--[Information] [31.3.2009 10:15:57] Encode thread started
--[Information] [31.3.2009 10:15:57] Avisynth script environment opened
--[Error] An error occurred
---[NoImage] Exception message
----[NoImage] DirectShowSource: unable to determine the duration of the audio.
----[NoImage] Manually specify FPS and Framecount. Duration = Framecount / FPS
---[NoImage] Stacktrace
----[NoImage] at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
----[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
---[NoImage] Inner exception: null
--[Information] [31.3.2009 10:16:00] Job completed

Should I send something else? I didn't add video at all so I don't know if any script is needed.

Also I can upload my ts file to rapidshare for example if someone want to try it out. Size is 40MB. Maybe I can put that rapidshare link here?


Thanks,
Drazen

zicko
31st March 2009, 12:03
Here is GraphEdit details:

<GRAPH version="1.0">
<FILTER ID="Default_DirectSound_Device" clsid="{79376820-07D0-11CF-A24D-0020AFD79767}">
<PARAM name="data" value="30003000300030003000300030003000300030003000200000000000000000000000000000000000"/>
</FILTER>
<FILTER ID="Video_Renderer" clsid="{B87BEB7B-8D29-423F-AE4D-6582C10175AC}">
<PARAM name="data" value="3000300030003000300030003000300030003000300020008801000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
</FILTER>
<FILTER ID="Aud_X_Audio_Decoder" clsid="{A6C86990-0B0F-43DD-B638-A78993798493}">
</FILTER>
<FILTER ID="NVIDIA_Video_Decoder" clsid="{71E4616A-DB5E-452B-8CA5-71D9CC7805E9}">
</FILTER>
<FILTER ID="NVIDIA_Audio_Decoder" clsid="{6C0BDF86-C36A-4D83-8BDB-312D2EAF409E}">
</FILTER>
<FILTER ID="NVIDIA_Transport_Demux" clsid="{735823C1-ACC4-11D3-85AC-006008376FB8}">
</FILTER>
<FILTER ID="TS_Source_0" clsid="{E436EBB5-524F-11CE-9F53-0020AF0BA770}">
<PARAM name="src" value="C:\Users\drazen\Desktop\test.ts"/>
</FILTER>
<connect direct="yes" src="TS_Source_0" srcpin="Output" dest="NVIDIA_Transport_Demux" destpin="Transport"/>
<connect direct="yes" src="NVIDIA_Transport_Demux" srcpin="Video" dest="NVIDIA_Video_Decoder" destpin="Video Input"/>
<connect direct="yes" src="NVIDIA_Transport_Demux" srcpin="Audio" dest="NVIDIA_Audio_Decoder" destpin="Audio Input"/>
<connect direct="yes" src="NVIDIA_Audio_Decoder" srcpin="Audio Output" dest="Aud_X_Audio_Decoder" destpin="In"/>
<connect direct="yes" src="Aud_X_Audio_Decoder" srcpin="Out" dest="Default_DirectSound_Device" destpin="Audio Input pin (rendered)"/>
<connect direct="yes" src="NVIDIA_Video_Decoder" srcpin="Video Output" dest="Video_Renderer" destpin="VMR Input0"/>
</GRAPH>

Kurtnoise
31st March 2009, 13:33
Extract Audio Stream with DGindex and transcode it instead...

zicko
31st March 2009, 14:49
Thanks that definitely workaround the problem but only workaround it :(

So it looks to more as bug in MeGUI.

If someone have will to play with it you can download my ts file here (only 40MB):
hxxx://rapidshare.com/files/215721278/test.ts

Let me know if anyone is able to convert audio inside MeGUI using ts as source.

Kurtnoise
31st March 2009, 14:55
reading the log, it's not a megui bug...but that can be avoided, sure.


Plus, when you extract audio stream with DGindex, you may have the delay as info whereas using directly your ts file, you cannot detect this by loading it.