Mpeg2 decoder -> Wmv9 encoder -> file writer
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
Mpeg2 decoder -> Wmv9 encoder -> file writer

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Encoders
Author Message
Amit
Guest





Posted: Thu Sep 30, 2004 11:23 pm    Post subject: Mpeg2 decoder -> Wmv9 encoder -> file writer Reply with quote

I am trying to decode an MPEG-2 frame and then want to ecnode that to WMV
format using the WMV9 codec. However, no filter would connect to the WMV9
encoder. Does anyone know what file writer and/or multiplexer is required to
save it to a wmv file ? I tried almost everything on my system but wouldnt
work.

I do get the Windows Media Multiplexer connected to the MPEG-2 decoder and
then that goes to the sink but that is not a WMV or any Video format.

Thanks.

Back to top
Zarax [Digital Media MVP]
Guest





Posted: Fri Oct 01, 2004 11:17 am    Post subject: RE: Mpeg2 decoder -> Wmv9 encoder -> file writer Reply with quote

That's because you need a directshow compliant decoder.
Installing Elecard or Windvd will comply the requirement.
If you need more help try looking at www.microsoftusernetwork.com/mcored and
ask at www.microsoftusernetwork.com/forum

"Amit" wrote:

Quote:
I am trying to decode an MPEG-2 frame and then want to ecnode that to WMV
format using the WMV9 codec. However, no filter would connect to the WMV9
encoder. Does anyone know what file writer and/or multiplexer is required to
save it to a wmv file ? I tried almost everything on my system but wouldnt
work.

I do get the Windows Media Multiplexer connected to the MPEG-2 decoder and
then that goes to the sink but that is not a WMV or any Video format.

Thanks.
Back to top
Amit
Guest





Posted: Fri Oct 01, 2004 11:49 am    Post subject: RE: Mpeg2 decoder -> Wmv9 encoder -> file writer Reply with quote

As a matter of fact I do have WinDVD installed on my system. That is what
puzzled me the most.

As I said in the first message of this thread, I am trying to connect the
output of a MPEG-2 decoder to an WMV encoder. I am trying this under
graphedit and they wont connect and neither would any of the WM utilities for
encoding work for converting MPEG-2 to WMV9.

Is there anything else that is needed ?

However, I did install ELECards decoder on my system and it did connect to
the WMV Encoder using graphedit . However, the WMV encoder wouldnt connent to
the ASF Writer after that. Do you know what would be missing here in this
filter graph ?
Thanks.


"Zarax [Digital Media MVP]" wrote:

Quote:
That's because you need a directshow compliant decoder.
Installing Elecard or Windvd will comply the requirement.
If you need more help try looking at www.microsoftusernetwork.com/mcored and
ask at www.microsoftusernetwork.com/forum

"Amit" wrote:

I am trying to decode an MPEG-2 frame and then want to ecnode that to WMV
format using the WMV9 codec. However, no filter would connect to the WMV9
encoder. Does anyone know what file writer and/or multiplexer is required to
save it to a wmv file ? I tried almost everything on my system but wouldnt
work.

I do get the Windows Media Multiplexer connected to the MPEG-2 decoder and
then that goes to the sink but that is not a WMV or any Video format.

Thanks.


Back to top
Zarax [Digital Media MVP]
Guest





Posted: Fri Oct 01, 2004 6:11 pm    Post subject: RE: Mpeg2 decoder -> Wmv9 encoder -> file writer Reply with quote

I'm not sure of what you need...
Conversion (filter wise) works approximately this way:
Source MPEG2 - Demultiplexer/Splitter - Audio/Video Decoders - Audio/Video
Out (RAW) - WM Encoding.
In order to convert an MPEG2 file to WMV you don't need to connect the
graphs, as it won't satisfy the requisites in terms of parameters (you need
to tell the encoder things like bitrate, smoothness, framerate and so on).
Also, connecting graphs in graphedit won't do the work alone, as all apps
are based on the system preferred hierarchy rather than custom graphs, and in
order to change it you have to either unregister or lower the usage priority
of the undesidered filters
http://www.microsoftusernetwork.com/mcored/knowledgebase/kb-directshowfix.htm#Configuring_DirectShow_filters_for_MPEG2
shows a working decode filter configuration for MPEG2 that will be accepted
by most encoders, including Windows Media Encoder.
That said, i don't think you can encode a MPEG2 frame using only filters,
but you will rather need to use an external encoding application.
In the meantime i will try to find if there is another way, and i suggest
you to post the question in the DirectShow newsgroup.

"Amit" wrote:

Quote:
As a matter of fact I do have WinDVD installed on my system. That is what
puzzled me the most.

As I said in the first message of this thread, I am trying to connect the
output of a MPEG-2 decoder to an WMV encoder. I am trying this under
graphedit and they wont connect and neither would any of the WM utilities for
encoding work for converting MPEG-2 to WMV9.

Is there anything else that is needed ?

However, I did install ELECards decoder on my system and it did connect to
the WMV Encoder using graphedit . However, the WMV encoder wouldnt connent to
the ASF Writer after that. Do you know what would be missing here in this
filter graph ?
Thanks.


"Zarax [Digital Media MVP]" wrote:

That's because you need a directshow compliant decoder.
Installing Elecard or Windvd will comply the requirement.
If you need more help try looking at www.microsoftusernetwork.com/mcored and
ask at www.microsoftusernetwork.com/forum

"Amit" wrote:

I am trying to decode an MPEG-2 frame and then want to ecnode that to WMV
format using the WMV9 codec. However, no filter would connect to the WMV9
encoder. Does anyone know what file writer and/or multiplexer is required to
save it to a wmv file ? I tried almost everything on my system but wouldnt
work.

I do get the Windows Media Multiplexer connected to the MPEG-2 decoder and
then that goes to the sink but that is not a WMV or any Video format.

Thanks.
Back to top
The March Hare [MVP]
Guest





Posted: Fri Oct 01, 2004 6:35 pm    Post subject: Re: Mpeg2 decoder -> Wmv9 encoder -> file writer Reply with quote

On Fri, 1 Oct 2004 07:11:03 -0700, Zarax [Digital Media MVP] wrote:

Quote:
In the meantime i will try to find if there is another way, and i suggest
you to post the question in the DirectShow newsgroup.

Which is:

microsoft.public.win32.programmer.directx.video

:)
Back to top
Amit
Guest





Posted: Fri Oct 01, 2004 8:25 pm    Post subject: RE: Mpeg2 decoder -> Wmv9 encoder -> file writer Reply with quote

Zarax,

Thanks for the summary.
Just to let you know, I know the Dshow side of things pretty well. I have
bene programming DirectShow(and sespeically MPEG-2) for quite some time now.

However, my question is about WMV and specifically, how to convert an MPEG-2
file into WMV. I know that you need to program several things FOR wmv
encoding using the WMFormat SDK and WM Audi/Video codec interfaces.

I just wanted to take a trial of how the filtergraph would look when trying
to do this conversion using Graphedit. So, if I gather correctly what you
have said, then you said that this might not be possible using Graphedit ?

Fundamentally, I thought you can program any filter or DirectX Media Object
using the property pages the filet would expose ? Thats how the MPEG-2
multiplexer or PSI prasers or many other things are parsed when trying them
under graphedit.

So regardless, what I wanted to try it 2 things.

1>MPEG2 conversion to WMV( source mpeg2 -> demux -> Video MPEG2 decoder ->
WMV encoder -> sink.

so do you suggest that connecting the MPEG2 decoder directly to WMV encoder
isnt correct ?

2>MPEG2 conversion to DiVX.

Thanks.

"Zarax [Digital Media MVP]" wrote:

Quote:
I'm not sure of what you need...
Conversion (filter wise) works approximately this way:
Source MPEG2 - Demultiplexer/Splitter - Audio/Video Decoders - Audio/Video
Out (RAW) - WM Encoding.
In order to convert an MPEG2 file to WMV you don't need to connect the
graphs, as it won't satisfy the requisites in terms of parameters (you need
to tell the encoder things like bitrate, smoothness, framerate and so on).
Also, connecting graphs in graphedit won't do the work alone, as all apps
are based on the system preferred hierarchy rather than custom graphs, and in
order to change it you have to either unregister or lower the usage priority
of the undesidered filters.
http://www.microsoftusernetwork.com/mcored/knowledgebase/kb-directshowfix.htm#Configuring_DirectShow_filters_for_MPEG2
shows a working decode filter configuration for MPEG2 that will be accepted
by most encoders, including Windows Media Encoder.
That said, i don't think you can encode a MPEG2 frame using only filters,
but you will rather need to use an external encoding application.
In the meantime i will try to find if there is another way, and i suggest
you to post the question in the DirectShow newsgroup.

"Amit" wrote:

As a matter of fact I do have WinDVD installed on my system. That is what
puzzled me the most.

As I said in the first message of this thread, I am trying to connect the
output of a MPEG-2 decoder to an WMV encoder. I am trying this under
graphedit and they wont connect and neither would any of the WM utilities for
encoding work for converting MPEG-2 to WMV9.

Is there anything else that is needed ?

However, I did install ELECards decoder on my system and it did connect to
the WMV Encoder using graphedit . However, the WMV encoder wouldnt connent to
the ASF Writer after that. Do you know what would be missing here in this
filter graph ?
Thanks.


"Zarax [Digital Media MVP]" wrote:

That's because you need a directshow compliant decoder.
Installing Elecard or Windvd will comply the requirement.
If you need more help try looking at www.microsoftusernetwork.com/mcored and
ask at www.microsoftusernetwork.com/forum

"Amit" wrote:

I am trying to decode an MPEG-2 frame and then want to ecnode that to WMV
format using the WMV9 codec. However, no filter would connect to the WMV9
encoder. Does anyone know what file writer and/or multiplexer is required to
save it to a wmv file ? I tried almost everything on my system but wouldnt
work.

I do get the Windows Media Multiplexer connected to the MPEG-2 decoder and
then that goes to the sink but that is not a WMV or any Video format.

Thanks.
Back to top
Zarax [Digital Media MVP]
Guest





Posted: Sat Oct 02, 2004 11:53 am    Post subject: RE: Mpeg2 decoder -> Wmv9 encoder -> file writer Reply with quote

You're welcome.
Just to clarify things, i suggested you to ask in the DShow NG because my
personal knowledge on the matter is superficial, and according to my
experience it's not possible to do a direct conversion in graphedit unless
you create a (most likely more than one) custom filter which specifically
does it, as i don't know any way to insert the required settings into the
filter in graphedit.
Finally, if you need to just convert MPEG2 to WMV there are simpler ways, i
personally use Windows Media Encoder for that...
MPEG2 to divx is not a topic that should be treated here, but i'm sure you
can find plenty of communities on the topic with a simple google search.

"Amit" wrote:

Quote:
Zarax,

Thanks for the summary.
Just to let you know, I know the Dshow side of things pretty well. I have
bene programming DirectShow(and sespeically MPEG-2) for quite some time now.

However, my question is about WMV and specifically, how to convert an MPEG-2
file into WMV. I know that you need to program several things FOR wmv
encoding using the WMFormat SDK and WM Audi/Video codec interfaces.

I just wanted to take a trial of how the filtergraph would look when trying
to do this conversion using Graphedit. So, if I gather correctly what you
have said, then you said that this might not be possible using Graphedit ?

Fundamentally, I thought you can program any filter or DirectX Media Object
using the property pages the filet would expose ? Thats how the MPEG-2
multiplexer or PSI prasers or many other things are parsed when trying them
under graphedit.

So regardless, what I wanted to try it 2 things.

1>MPEG2 conversion to WMV( source mpeg2 -> demux -> Video MPEG2 decoder -
WMV encoder -> sink.

so do you suggest that connecting the MPEG2 decoder directly to WMV encoder
isnt correct ?

2>MPEG2 conversion to DiVX.

Thanks.

"Zarax [Digital Media MVP]" wrote:

I'm not sure of what you need...
Conversion (filter wise) works approximately this way:
Source MPEG2 - Demultiplexer/Splitter - Audio/Video Decoders - Audio/Video
Out (RAW) - WM Encoding.
In order to convert an MPEG2 file to WMV you don't need to connect the
graphs, as it won't satisfy the requisites in terms of parameters (you need
to tell the encoder things like bitrate, smoothness, framerate and so on).
Also, connecting graphs in graphedit won't do the work alone, as all apps
are based on the system preferred hierarchy rather than custom graphs, and in
order to change it you have to either unregister or lower the usage priority
of the undesidered filters.
http://www.microsoftusernetwork.com/mcored/knowledgebase/kb-directshowfix.htm#Configuring_DirectShow_filters_for_MPEG2
shows a working decode filter configuration for MPEG2 that will be accepted
by most encoders, including Windows Media Encoder.
That said, i don't think you can encode a MPEG2 frame using only filters,
but you will rather need to use an external encoding application.
In the meantime i will try to find if there is another way, and i suggest
you to post the question in the DirectShow newsgroup.

"Amit" wrote:

As a matter of fact I do have WinDVD installed on my system. That is what
puzzled me the most.

As I said in the first message of this thread, I am trying to connect the
output of a MPEG-2 decoder to an WMV encoder. I am trying this under
graphedit and they wont connect and neither would any of the WM utilities for
encoding work for converting MPEG-2 to WMV9.

Is there anything else that is needed ?

However, I did install ELECards decoder on my system and it did connect to
the WMV Encoder using graphedit . However, the WMV encoder wouldnt connent to
the ASF Writer after that. Do you know what would be missing here in this
filter graph ?
Thanks.


"Zarax [Digital Media MVP]" wrote:

That's because you need a directshow compliant decoder.
Installing Elecard or Windvd will comply the requirement.
If you need more help try looking at www.microsoftusernetwork.com/mcored and
ask at www.microsoftusernetwork.com/forum

"Amit" wrote:

I am trying to decode an MPEG-2 frame and then want to ecnode that to WMV
format using the WMV9 codec. However, no filter would connect to the WMV9
encoder. Does anyone know what file writer and/or multiplexer is required to
save it to a wmv file ? I tried almost everything on my system but wouldnt
work.

I do get the Windows Media Multiplexer connected to the MPEG-2 decoder and
then that goes to the sink but that is not a WMV or any Video format.

Thanks.
Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Encoders All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB