Wowza Community

Streaming from vlc

Hi,

When i try to stream from vlc player the following error occurs…

Streaming / Transcoding failed: VLC could not open the encoder.

How to solve this? help plz…

Hi divyat,

It’s hard to say without knowing more information. See here for a list of information you can provide that will help get your issue resolved as quickly as possible: http://www.wowza.com/forums/

That information is also useful both when posting to the forums and when filing a support ticket.

For example, knowing what tutorial you are following, the vlc command, and the source encoding would help.

See the VLC/MPEGTS tutorial for the info we have on transcoding with VLC.

When i try to stream from vlc player the following error occurs…

Streaming / Transcoding failed: VLC could not open the encoder.

This sounds like an issue with VLC and the stream source, codec not supported by VLC.

Richard

You will have to look at VLC documentation to see.

Richard

For webcam > VLC > Wowza, take a look at this guide:

Richard

The location of the .sdp file that VLC will generate is controlled by the following parameter: sdp=file://%WMSCONFIG_HOME%/content/vlc.sdp

It may get deleted when VLC stops. Or it may not get created if the user that is running VLC does not have permissions to write to the specified directory. Ensure that the user can write to the specified directory, or change the location to a directory the user can write to. Then, while VLC is running, copy .sdp file to the Wowza content dir.

Good job divyat! I’m glad you got the .sdp issue sorted. Thanks for reporting back.

Regarding your http/rtsp question, I kindly ask that you put yourself in the shoes of the support technician who would like to help you. How would the support technician be able to solve the problem with only the information, “X doesn’t work”? My suggestion is that when you ask for help, try to provide the information necessary to identify the problem. This means:

  1. The general idea of what you are trying to do.

  2. The exact steps you are taking, such as the stream URI you are playing, which player, etc…

  3. What tutorial you are following.

  4. What error messages you are seeing.

  5. What troubleshooting steps you have taken.

If you can do these things, it will save you time waiting for back-and-forth responses, and get your problem solved as fast as possible.

Thanks Randoll,

I am using vlc player version 2.0.1. I followed the link https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts and https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder and atlast i follow ur suggestion in the forum link in

wowza application name for VLC streaming, there u set the capture mode as desktop,instead i set the capture mode as directshow

After all when i try to publish the stream,no video is displayed in vlc in responce of publish…and error which says streaming/transcoding failed:vlc couldnot open the encoder occurs…How to solve this regarding publish the stream from vlc player.

Thanks,

Divya

Hi,

Anybody plz reply me to solve this issue…

I follow these two tutorials exacly VLC with Wowza Server (MPEG-TS) and How to publish and play a live stream (MPEG-TS based encoder)

But i cannot stream from vlc latest version…What would be the mistake? Is that tutorials doesn’t support latest version of vlc?

Camera also in off mode…

Error occurs when i try to publish the stream from vlc…

Streaming / Transcoding failed: VLC could not open the encoder.

Help plz…

Thanks

Anybody plz listen to this

Lot of Thanks Richard,

Then what kind of stream source should i give to publish the stream from vlc

Hi,

I used this same camera logitech and successfully publish stream from Flash Media Live encoder. In vlc also, i can capture video using direct show.But why can’t i publish the stream to wowza from vlc. There is no problem in camera and all…Couldn’t publish video from vlc…what to do?

Thanks Richard,

I followed the link that you specified above…I struck in generating a sdp file in local path…There they mention to copy sdp file generated by vlc and paste it to install-dir/content…

I want like this vlc->publish stream via->wowza->playing stream in->rtmp…

When i follow the link Using VLC with Wowza Pro (native RTP), direct show is successfully seen in vlc…can’t publish it to wowza…

Thanks Randoll,

Instead of file:// , file:/// creates sdp file successfully.

one more question for me: i can now play rtmp://localhost/rtplive with stream name vlc.sdp but cannot play in http and rtsp examples.why?

Thanks Randoll for your valuable suggestion,

Now i able to publish the stream from vlc via wowza andplay it in rtmp using the following link

Code for windows:vlc -vvv -I rc dshow:// :dshow-vdev=“QuickCam for Notebooks Pro” :dshow-adev=“Logitech Mic (Notebooks Pro)” :dshow-size=“320x240” --sout “#transcode{venc=x264{keyint=60},vcodec=x264,vb=500,scale=1,acodec=mp4a,ab=32,channels=2,samplerate=22050}:rtp{dst=127.0.0.1,port-video=10000,port-audio=10002,sdp=file://%WMSCONFIG_HOME%/content/vlc.sdp}”

It is nicely playing in rtmp://localhost/rtplive with stream name:vlc.sdp…

I want to play it in http and rtsp also.

When i try to play in http://localhost:1935/rtplive/vlc.sdp/manifest.f4m in install-dir/examples/simplevideostreaming/clientosmf/binrelease/simpleosmfplayer.html,

Error says: Error #2032: Stream Error. URL: http://localhost:1935/rtplive/vlc.sdp/manifest.f4m

All vlc,wowza and flash player are in my same pc…then how to solve this?

Thanks randoll,

I found solution…

To play in http and rtsp, i have to stream in streammanager…Now its working

Hi,

Follow the steps given in this article

http://techwikasta.com/2012/09/streaming-videos-using-vlc-media-player/

You’ll find it useful :slight_smile: