format of :sout command

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
UnDetect
New Cone
New Cone
Posts: 6
Joined: 15 Mar 2005 11:49
Location: Russia, Moscow region
Contact:

format of :sout command

Postby UnDetect » 15 Mar 2005 12:02

Hi, all!

Where can i get format and examples of :sout command?
Also where can i get examples of configuration vlc streams for translation to windows media player or real player?

PS: I use FreeBSD.

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Postby xtophe » 15 Mar 2005 12:07

Xtophe

Guest

Postby Guest » 15 Mar 2005 14:07

Hmmm. I use "vlc /usr/local/VideoLAN/memory.avi :sout='#duplicate{dst=std{access=mmsh,mux=,url=:8080}}' vlc:quit" command on server and "mms://server_ip_address:8080" on client but my Windows media player say me: "The MP4S codec is required to play this file." I cann't find this codec on http://www.microsoft.com and other sites. Where can i get this codec or my command is not right?

UnDetect
New Cone
New Cone
Posts: 6
Joined: 15 Mar 2005 11:49
Location: Russia, Moscow region
Contact:

Postby UnDetect » 15 Mar 2005 14:37

What Audio codec use for transfer stream to Windows Media Player? "mpga" donnt work on WMP, "mp3" donnt work on VLC

markfm
Big Cone-huna
Big Cone-huna
Posts: 1536
Joined: 22 Feb 2004 17:42

Postby markfm » 15 Mar 2005 22:07

This is a Windows command line, but it's similar on Linux:
:sout=#transcode{vcodec=DIV3,vb=1024,scale=1,acodec=mp3,ab=192,channels=2}:duplicate{dst=std{access=mmsh,mux=ASFH,url=:1234}}

It says to take whatever the source is, turn it into 1024K DIV3/192K mp3, and output it as mmsh, available on port 1234.

The above is fine for WMP, at least newer versions of WMP.

To connect, in WMP you would select File -- Open URL, then type in:
mms://server_IP_address:1234

UnDetect
New Cone
New Cone
Posts: 6
Joined: 15 Mar 2005 11:49
Location: Russia, Moscow region
Contact:

Postby UnDetect » 16 Mar 2005 09:05

netserv# vlc /usr/local/VideoLAN/small.mpg :sout='#transcode{vcodec=WMV2,acodec=mp3}:duplicate{dst=std{access=mmsh,mux=asfh,url=:8080}}' vlc:quit
VLC media player 0.8.1 Janus
Remote control interface initialized, `h' for help
[00000240] main private: creating httpd
[00000283] mpeg_audio packetizer: MPGA channels:2 samplerate:48000 bitrate:224
[00000308] ffmpeg encoder error: cannot find encoder MPEG Audio layer 1/2/3
[00000233] stream_out_transcode private error: cannot find encoder
[00000233] stream_out_transcode private error: cannot create audio chain
[00000283] main packetizer error: cannot create packetizer output
[wmv2 @ 0x2852d4d4]removing common factors from framerate

acodec=mp3 donnt work on freebsd 4.11 with installed VLC from ports.
What package need to install?

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 17 Mar 2005 22:48

your ffmpeg is not compiled with lame support required for mp3 encoding. you will also need to recompile VLC and then add the --with-ffmpeg-lame paramater to the vlc ./configure line
Don't use PMs for support questions.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests