I need mpgv codec

About encoding, codec settings, muxers and filter usage
CyberGhost

I need mpgv codec

Postby CyberGhost » 30 Jun 2005 02:34

Hi.
I want to play streaming from VLC using Windows Media Player 10.
I can do it only using asf encapsulation and transcoding it with wmv and mp3 codecs, but then I have 100% CPU usage and it slows down my PC.
When I don't use transcoding, Windows Media Player needs mpgv codec and I can't find it, can you?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 30 Jun 2005 09:39

Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Cyber Ghost

Postby Cyber Ghost » 30 Jun 2005 17:25

Hi.
Thank u, it was useful for me.
But I still have 100% CPU usage.
I don't want to transcode the stream and if I don't transcode it, Windows Media Player needs a codec, I think it's "mpgv". And when I use VLC to read the stream, it works ! :?

lintyro
New Cone
New Cone
Posts: 7
Joined: 10 Jan 2006 03:20

Postby lintyro » 06 Feb 2006 14:53

i streaming with vlc like this:
#vlc /beyond.mpg --sout '#standard{access=http,mux=asf,url=:3456}'
but media player 10 can't read the streaming ,when vlc read to it,it's ok.
why? thanks.

azmo
Blank Cone
Blank Cone
Posts: 15
Joined: 01 Feb 2006 11:21
Location: South Africa

Postby azmo » 14 Feb 2006 16:15

Code: Select all

#vlc /beyond.mpg --sout #standard{access=mmsh,mux=asf,url=localserver:3456/beyond.asf}'

and access to this stream like this

Code: Select all

http://localserver:3456/beyond.asf
or

Code: Select all

mms://localserver:3456/beyond.asf

lintyro
New Cone
New Cone
Posts: 7
Joined: 10 Jan 2006 03:20

Postby lintyro » 16 Feb 2006 04:20

Code: Select all

#vlc /beyond.mpg --sout #standard{access=mmsh,mux=asf,url=localserver:3456/beyond.asf}'

and access to this stream like this

Code: Select all

http://localserver:3456/beyond.asf
or

Code: Select all

mms://localserver:3456/beyond.asf
thank you very much ,i got it
but how can i do when streaming the acquisition card instead of local file,i try it like this ,but it doesn't work
#vlc -vvv --color v4l:/dev/video:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/dsp:audio=0
--sout "#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}:std{access=udp,mux=ts,url=192.168.151.33:1234}' --ttl 12

i relay the streaming:
#vlc -v udp:@1234 --sout '#transcode{vcodec=WMV1,acodec=mp3,vb=1024,ab=128}:std{access=mmsh,mux=asf,url=localhost:3456/udp:@1234}'
VLC media player 0.8.4a Janus
Remote control interface initialized, `h' for help
[00000235] stream_out_standard private warning: fixing to mmsh/asfh
[00000237] main private: creating httpd
[00000243] main demuxer warning: no access_demux module matched "udp"
status change: ( New input: udp:@1234 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )

access the stream
# vlc -v http://192.168.151.33:3456/udp:@1234
VLC media player 0.8.4a Janus
Remote control interface initialized, `h' for help
[00000231] main demuxer warning: no access_demux module matched "http"
[00000232] main access warning: connection to 192.168.151.33 port 3456 : Connection refused
[00000232] access_http access error: cannot connect to 192.168.151.33:3456
[00000232] main access warning: connection to 192.168.151.33 port 3456 : Connection refused
[00000232] access_http access error: cannot connect to 192.168.151.33:3456
[00000232] main access warning: connection to 192.168.151.33 port 3456 : Connection refused
[00000232] access_mms access error: cannot connect to 192.168.151.33:3456
[00000232] access_file access warning: 192.168.151.33:3456/udp:: No such file or directory
status change: ( New input: http://192.168.151.33:3456/udp:@1234 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000232] access_gnomevfs access error: cannot get file info for uri http://192.168.151.33:3456/udp%3A (Service not available)
[00000232] cdda access warning: could not open 192.168.151.33:3456/udp:
[00000232] main access warning: no access2 module matching "http" could be loaded
[00000230] main input error: no suitable access module for `http://192.168.151.33:3456/udp:@1234'
status change: ( stop state: 0 )
[00000222] main playlist: nothing to play

or
# vlc -v mms://192.168.151.33:3456/udp:@1234
VLC media player 0.8.4a Janus
Remote control interface initialized, `h' for help
[00000231] main demuxer warning: no access_demux module matched "mms"
[00000232] main access warning: connection to 192.168.151.33 port 3456 : Connection refused
[00000232] access_mms access error: failed to open a connection (tcp)
[00000232] main access warning: connection to 192.168.151.33 port 3456 : Connection refused
[00000232] access_mms access error: failed to open a connection (tcp)
status change: ( New input: mms://192.168.151.33:3456/udp:@1234 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000232] access_mms access error: cannot connect to server
[00000232] main access warning: connection to 192.168.151.33 port 3456 : Connection refused
[00000232] access_mms access error: cannot connect to 192.168.151.33:3456
[00000232] access_file access warning: 192.168.151.33:3456/udp:: No such file or directory
[00000232] access_gnomevfs access warning: cannot parse MRL mms://192.168.151.33:3456/udp: or unsupported protocol
[00000232] cdda access warning: could not open 192.168.151.33:3456/udp:
[00000232] main access warning: no access2 module matching "mms" could be loaded
[00000230] main input error: no suitable access module for `mms://192.168.151.33:3456/udp:@1234'
status change: ( stop state: 0 )
[00000222] main playlist: nothing to play

azmo
Blank Cone
Blank Cone
Posts: 15
Joined: 01 Feb 2006 11:21
Location: South Africa

Postby azmo » 16 Feb 2006 10:27

this is the capturing and encoding for the card:

use secam when you are in france otherwise use pal or ntsc when you are in USA

Code: Select all

#vlc -vvv --color v4l:/dev/video:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/dsp:audio=0 --sout "#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}:std{access=udp,mux=ts,url=192.168.151.33:1234}' --ttl 12
you should relay the stream like this, important udp://@ not udp:@
if you want to stream the Channel to mmsh and udp you have to split the command.
Here is the example for only mmsh streaming.

Code: Select all

#vlc -v udp:[b]//[/b]@1234 --sout '#transcode{vcodec=WMV1,acodec=mp3,vb=1024,ab=128}:std{access=mmsh,mux=asfh,url=localhost:3456/tv.asf}'
You should access the stream like this

Code: Select all

#vlc -v mmsh://localhost:3456/tv.asf
but why dont you capture and encode and stream to the udp or mmsh in one command?

like this

Code: Select all

#vlc -vvv --color v4l:/dev/video:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/dsp:audio=0 --sout "#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}:std{access=mmsh,mux=asfh,url=localserver:8079/tv.asf}' --ttl 12
and open the stream like this

Code: Select all

#vlc -v mmsh://localserver:8079/tv.asf

lintyro
New Cone
New Cone
Posts: 7
Joined: 10 Jan 2006 03:20

Postby lintyro » 17 Feb 2006 08:30

i am so sorry i lookup a lot of resource but i don't find out what does "//" mean :( , could you tell me ?thank you very much.

Code:
#vlc -v udp://@1234 --sout '#transcode {vcodec=WMV1,acodec=mp3,vb=1024,ab=128}:std{access=mmsh,mux=asfh,url=localhost:3456/tv.asf}'

tonsofpcs
Cone that earned his stripes
Cone that earned his stripes
Posts: 363
Joined: 04 Jan 2006 10:03
Location: Binghamton, NY, USA
Contact:

Postby tonsofpcs » 17 Feb 2006 23:03

It's standard form of uri. http:// ; ftp:// ; gopher:// ; udp:// ; etc.

Note that you will want to remove the

Code: Select all

[b]
and

Code: Select all

[/b]
when you put this in a command line as they are forum codes.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 5 guests