How to stream mpeg2 video

*nix specific usage questions
debasish
New Cone
New Cone
Posts: 9
Joined: 24 Jul 2007 13:29

How to stream mpeg2 video

Postby debasish » 16 Aug 2007 16:47

Can anyone help me in how to stream mpeg2 video.

What options in configuration of ffmpeg we need to give to allow.

What vlc command line option we need to give as I am not using the gui.

Thanks in Advance

kmf31
Cone that earned his stripes
Cone that earned his stripes
Posts: 308
Joined: 11 Mar 2007 21:47

Re: How to stream mpeg2 video

Postby kmf31 » 16 Aug 2007 23:48

You can use on the server the command line:

Code: Select all

vlc file.mpg --sout udp:<IP_NUMBER_OF_CLIENT>
and on the client:

Code: Select all

vlc udp:<IP_NUMBER_OF_SERVER>
I think you can also replace here "udp:" by "rtp:" if you want to use the rtp and not the udp protocol for streaming.

Be careful that on the client the firewall is open for the upd-ports. For testing on one computer (both client and server) you may use the local-host IP number: 127.0.0.1

talelelalit
New Cone
New Cone
Posts: 6
Joined: 08 Aug 2007 08:21

Re: How to stream mpeg2 video

Postby talelelalit » 22 Aug 2007 09:58

I am running the same command as giving above but I am getting the error like:

It is potentially dangerous, and might not even work properly.
[00000001] main private error: no memcpy module matched "any"
Remote control interface initialized. Type `help' for help.
status change: ( new input: /mserver/Remember The Titans.mpeg )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000169] main private error: cannot add this stream
[00000220] main packetizer error: cannot create packetizer output (mp3 )

with this I can able to see the video on the client side but not able to listen audio.

Any idea.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 21 guests