2005-01-14, 12:17 AM
hi sub
here a wish
I would like to listen to say an audio ( be it audio cd or mp3 collection) and surf the channels at the same time..
before you say it's impossible usinging hardware cards such as sigma... I say not at all very easy...
here is an example graph
<GRAPH version="1.0">
<FILTER ID="Video_Renderer" clsid="{70E102B0-5556-11CE-97C0-00AA0055595A}">
</FILTER>
<FILTER ID="Sigma_Designs_MPEG_2_hardware_decoder" clsid="{4E3ABD41-458E-11D1-917E-00001B4F006F}">
</FILTER>
<FILTER ID="Sigma_Designs_MPEG_Stream_Splitter" clsid="{BD6FD780-B1DC-11D1-8BE4-00A0768008A8}">
</FILTER>
<FILTER ID="Sigma_Designs_PCM_Swapper" clsid="{1236F6AF-1A72-4A62-9B2B-C5F7B62C6B1C}">
</FILTER>
<FILTER ID="Source_0" clsid="{9B166502-47B8-423D-9EE5-3354487D96E0}">
<PARAM name="src" value="D:\VIDEO\no program_005D01-05-2005T18_22.mpg"/>
</FILTER>
<FILTER ID="MPEG_Layer_3_Decoder" clsid="{38BE3000-DBF4-11D0-860E-00A024CFEF6D}">
</FILTER>
<FILTER ID="MPEG_I_Stream_Splitter" clsid="{336475D0-942A-11CE-A870-00AA002FEAB5}">
</FILTER>
<FILTER ID="MP3_Source_1" clsid="{E436EBB5-524F-11CE-9F53-0020AF0BA770}">
<PARAM name="src" value="F:\MUSIC\Nek - Si S que Te Tengo a T.mp3"/>
</FILTER>
<connect direct="yes" src="Source_0" srcpin="Output" dest="Sigma_Designs_MPEG_Stream_Splitter" destpin="Input"/>
<connect direct="yes" src="Sigma_Designs_MPEG_Stream_Splitter" srcpin="Video" dest="Sigma_Designs_MPEG_2_hardware_decoder" destpin="Video In"/>
<connect direct="yes" src="MP3_Source_1" srcpin="Output" dest="MPEG_I_Stream_Splitter" destpin="Input"/>
<connect direct="yes" src="MPEG_I_Stream_Splitter" srcpin="Audio" dest="MPEG_Layer_3_Decoder" destpin="In"/>
<connect direct="yes" src="MPEG_Layer_3_Decoder" srcpin="Out" dest="Sigma_Designs_PCM_Swapper" destpin="Input"/>
<connect direct="yes" src="Sigma_Designs_PCM_Swapper" srcpin="Output" dest="Sigma_Designs_MPEG_2_hardware_decoder" destpin="Audio In"/>
<connect direct="yes" src="Sigma_Designs_MPEG_2_hardware_decoder" srcpin="Overlay Out" dest="Video_Renderer" destpin="In"/>
</GRAPH>
it plays the video of a movie and the audio is inserted from the mp3
now to get a relatively uninterrupted signal. it fairly easy i broadcast the audio local machine local port.
basically broadcast both streams the audio and video
one graph broadcast the audio at a local port address
the second broadcast the video at port address
the third graph renders both media through the sigma filters..
as the video drops out the audio keeps playing uninterrupted. then as the video comes back it continues to play..
well just a thought if you wanted to add a nice feature to your program...
since you do not need audio sync you can use the upd dshow from moonlight found on the same page as lame encoder..
here a wish
I would like to listen to say an audio ( be it audio cd or mp3 collection) and surf the channels at the same time..
before you say it's impossible usinging hardware cards such as sigma... I say not at all very easy...
here is an example graph
<GRAPH version="1.0">
<FILTER ID="Video_Renderer" clsid="{70E102B0-5556-11CE-97C0-00AA0055595A}">
</FILTER>
<FILTER ID="Sigma_Designs_MPEG_2_hardware_decoder" clsid="{4E3ABD41-458E-11D1-917E-00001B4F006F}">
</FILTER>
<FILTER ID="Sigma_Designs_MPEG_Stream_Splitter" clsid="{BD6FD780-B1DC-11D1-8BE4-00A0768008A8}">
</FILTER>
<FILTER ID="Sigma_Designs_PCM_Swapper" clsid="{1236F6AF-1A72-4A62-9B2B-C5F7B62C6B1C}">
</FILTER>
<FILTER ID="Source_0" clsid="{9B166502-47B8-423D-9EE5-3354487D96E0}">
<PARAM name="src" value="D:\VIDEO\no program_005D01-05-2005T18_22.mpg"/>
</FILTER>
<FILTER ID="MPEG_Layer_3_Decoder" clsid="{38BE3000-DBF4-11D0-860E-00A024CFEF6D}">
</FILTER>
<FILTER ID="MPEG_I_Stream_Splitter" clsid="{336475D0-942A-11CE-A870-00AA002FEAB5}">
</FILTER>
<FILTER ID="MP3_Source_1" clsid="{E436EBB5-524F-11CE-9F53-0020AF0BA770}">
<PARAM name="src" value="F:\MUSIC\Nek - Si S que Te Tengo a T.mp3"/>
</FILTER>
<connect direct="yes" src="Source_0" srcpin="Output" dest="Sigma_Designs_MPEG_Stream_Splitter" destpin="Input"/>
<connect direct="yes" src="Sigma_Designs_MPEG_Stream_Splitter" srcpin="Video" dest="Sigma_Designs_MPEG_2_hardware_decoder" destpin="Video In"/>
<connect direct="yes" src="MP3_Source_1" srcpin="Output" dest="MPEG_I_Stream_Splitter" destpin="Input"/>
<connect direct="yes" src="MPEG_I_Stream_Splitter" srcpin="Audio" dest="MPEG_Layer_3_Decoder" destpin="In"/>
<connect direct="yes" src="MPEG_Layer_3_Decoder" srcpin="Out" dest="Sigma_Designs_PCM_Swapper" destpin="Input"/>
<connect direct="yes" src="Sigma_Designs_PCM_Swapper" srcpin="Output" dest="Sigma_Designs_MPEG_2_hardware_decoder" destpin="Audio In"/>
<connect direct="yes" src="Sigma_Designs_MPEG_2_hardware_decoder" srcpin="Overlay Out" dest="Video_Renderer" destpin="In"/>
</GRAPH>
it plays the video of a movie and the audio is inserted from the mp3
now to get a relatively uninterrupted signal. it fairly easy i broadcast the audio local machine local port.
basically broadcast both streams the audio and video
one graph broadcast the audio at a local port address
the second broadcast the video at port address
the third graph renders both media through the sigma filters..
as the video drops out the audio keeps playing uninterrupted. then as the video comes back it continues to play..
well just a thought if you wanted to add a nice feature to your program...
since you do not need audio sync you can use the upd dshow from moonlight found on the same page as lame encoder..