Results 1 to 9 of 9

Thread: Encode with VLC isn't working

  1. #1

    Default Encode with VLC isn't working

    Good evening,

    I am attempting to use VLC to encode a stream to the Wowza server and am following the tutorial here.
    http://www.wowza.com/forums/content....G-TS)#comments

    I get the following error. http://prntscr.com/2je8f7
    Streaming/Transcoding failed:
    VLC could not open the encoder.

    We are currently encoding successfully to the Wowza server using Flash Media Encoder but need other options as the Flash encoder is way out of date and some of our users cannot use it anymore.

    If anyone has other suggestions for free encoders to use with Wowza that would be great.

    Thanks!

  2. #2
    Join Date
    Jun 2011
    Posts
    1,037

    Default

    Hi,
    Which of the commands are you using from this page?

    A quick Google search turns up several forum posts on the VLC pages regarding the same error appearing in earlier version of VLC 2.0.1
    Not sure what version of VLC you are using currently, but it might be worth updating if you are not on their latest release.

    Daren

  3. #3

    Default

    vlc -vvv "%WMSAPP_HOME%/content/sample.mp4" --sout "#transcode{venc=x264{keyint=60,profile=main},vcodec=x264,vb=500,scale=1,acodec=mp4a,ab=128,channels =2,samplerate=48000}:rtp{dst=127.0.0.1,port=10000,mux=ts}"

    VLC Media PLayer 2.1.2 http://prntscr.com/2jj2j0

  4. #4
    Join Date
    May 2013
    Posts
    680

    Default

    Can you paste in more detailed logs or add the command line option(s) for logging similar to the following:

    --extraintf=http:logger --verbose=2 --file-logging --logfile=vlc-log.txt
    Also, try it without acodec=mp4a

  5. #5

    Default

    Thanks for the reply.

    Command used
    C:\Program Files (x86)\VideoLAN\VLC>vlc -vvv "%WMSAPP_HOME%/content/sample.mp4"
    --sout "#transcode{venc=x264{keyint=60,profile=main},vcodec=x264,vb=500,scale=1,
    acodec=mp4a,ab=128,channels=2,samplerate=48000}:rtp{dst=127.0.0.1,port=10000,mux
    =ts}" --extraintf=http:logger --verbose=2 --file-logging --logfile=vlc-log.txt
    Log file: https://www.dropbox.com/s/8mxvqd7u1p6ofeo/vlc-log.txt

    Command without acodec=mp4a
    C:\Program Files (x86)\VideoLAN\VLC>vlc -vvv "%WMSAPP_HOME%/content/sample.mp4"
    --sout "#transcode{venc=x264{keyint=60,profile=main},vcodec=x264,vb=500,scale=1,
    ab=128,channels=2,samplerate=48000}:rtp{dst=127.0.0.1,port=10000,mux=ts}" --extr
    aintf=http:logger --verbose=2 --file-logging --logfile=vlc-log2.txt
    Log File: https://www.dropbox.com/s/is2tqzle661nyuz/vlc-log2.txt

    The first command generated the normal error with vlc. The second command didn't generate an error but I didn't see anything in VLC so how do I know if it worked? I don't see anywhere in the command given by VLC to set the stream name so not sure how to tap into a stream with this command.

  6. #6
    Join Date
    May 2013
    Posts
    680

    Default

    Last edited by matt_y; 01-17-2014 at 11:24 AM.

  7. #7

    Default

    Not sure what you mean by ingesting the stream. In all previous cases when streaming to our Wowza server we would specify an alias of some sort which would allow us to setup a folder on the wowza server for the settings on the page you sent me to.

  8. #8

    Default

    Make sure you are running the latest version of VLC.

    These guides should provide the instructions you need to set this up:
    How to use VLC as a live stream encoder with Wowza Media Server (MPEG-TS)
    How to publish and play a live stream (MPEG-TS based encoder)

    Salvadore

  9. #9

    Default

    Guess it would be too much trouble for someone to put together a video tutorial going through this step by step since I am still having issues.

Similar Threads

  1. Live Streaming with VLC not working
    By aalferez in forum Live Streaming and Encoders
    Replies: 3
    Last Post: 02-13-2014, 08:47 AM
  2. RTSP not working on android devices (ok on VLC)
    By shoeboxdnb in forum Live Streaming and Encoder Discussion
    Replies: 10
    Last Post: 12-05-2012, 11:28 AM
  3. AAC audio not coming through WOWZA, but working in vlc
    By peterb in forum Live Streaming and Encoder Discussion
    Replies: 4
    Last Post: 09-11-2012, 04:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •