LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Howto transcode & relay a MPEG stream to a WMV stream?? (http://www.linuxquestions.org/questions/linux-software-2/howto-transcode-and-relay-a-mpeg-stream-to-a-wmv-stream-561978/)

crazyivan 06-15-2007 03:18 AM

Howto transcode & relay a MPEG stream to a WMV stream??
 
Hello all!

Setup: I have a satellite dish on the roof of my house and I'm able to capture the raw MPEG stream coming from the dish/receiver. The MPEG stream plays (with VLC) just fine on my Ubuntu (Feisty Fawn, AMD 64) Desktop. (Dell 390 Intel Core 2 6600 @ 2.4 Ghz - 2 GB RAM). The original stream (MPEG) has sound, and the Dell box plays the sound when I play the original stream in VLC. No problem.

I'm able to transcode and relay the MPEG stream to a 'client' box (Windows XP or MacOSX) using:
Code:

:sout=#transcode{vcodec=WMV2,vb=384,scale=0.5,acodec=mp3,ab=96,channels=2}
:duplicate{dst=std{access=mmsh,mux=asfh,dst=:8080}}

(all on one line)

This produces a stream that I can play with VLC on the client box. But the stream does not contain any sound! It is not embedded in the stream.

Two questions:
How can I produce a stream WITH sound.
What should I change in my configuration in order to play this stream with Windows Media Player (Windows XP)? Or with QuickTime (on a Mac)?

Requirement: Fully Windows Media Player compatible, without the need of installing extra codec...


Any help is very much appreciated.


(Don't worry about / bother with discussions on potential licensing infringements, this is for educational purposes only.)


All times are GMT -5. The time now is 11:32 AM.