2006-11-08, 11:53 PM
Hi,
I'm trying to modify my SS2Recorder plugin to add radio functionality (i.e. the ability to produce an mpg file with just an audio ES) and am having some trouble connecting up the multiplexer filter (CyberLink MPEG Mux).
At the moment, for a normal TV graph the pins would be connected as follows:
1) Render the video output pin on the MPEG-2 Demux to the FileWriter, via the MPEG Multiplexer
2) Render the audio output pin on the MPEG-2 Demux to the MPEG Multiplexer.
This works fine. However, I can't seem to follow a similar approach to connect up a radio graph. The MPEG Multiplexer won't allow an "audio only connection", i.e. the graph builder won't allow me to connect the MPEG-2 Demux audio output pin to the MPEG-Mux audio input pin, unless there is also a video connection.
Looking through the log files for a BDA "radio" graph, I see:
So, I'm wondering if this refers to some sort of configuration stage for the muxer which allows it to produce an "audio only" MPEG? If so, this might solve my connection problems. Any suggestions?
Thanks,
Tim
I'm trying to modify my SS2Recorder plugin to add radio functionality (i.e. the ability to produce an mpg file with just an audio ES) and am having some trouble connecting up the multiplexer filter (CyberLink MPEG Mux).
At the moment, for a normal TV graph the pins would be connected as follows:
1) Render the video output pin on the MPEG-2 Demux to the FileWriter, via the MPEG Multiplexer
2) Render the audio output pin on the MPEG-2 Demux to the MPEG Multiplexer.
This works fine. However, I can't seem to follow a similar approach to connect up a radio graph. The MPEG Multiplexer won't allow an "audio only connection", i.e. the graph builder won't allow me to connect the MPEG-2 Demux audio output pin to the MPEG-Mux audio input pin, unless there is also a video connection.
Looking through the log files for a BDA "radio" graph, I see:
Code:
18:38:45.890 VERBOSE Setting IID_IMpgMuxer
18:38:45.890 VERBOSE Initialzing Cyberlink mux for MPEG2 program stream
18:38:45.890 VERBOSE Setting IID_IMpgMuxer3
18:38:45.890 VERBOSE Setting IID_IMpgMuxerInfo
So, I'm wondering if this refers to some sort of configuration stage for the muxer which allows it to produce an "audio only" MPEG? If so, this might solve my connection problems. Any suggestions?
Thanks,
Tim