Results 1 to 2 of 2

Thread: ffmpeg transcoding

  1. #1
    Join Date
    Sep 2009

    Default ffmpeg transcoding instead of VLC

    I have configed vlc to restream webcam stream to x264 codec. Everything works but after 1-2 day vlc crashes...
    I'm using this command line:

    vlc -vvv rtsp:// --sout "#transcode{venc=x264{keyint=10,profile=baseline,l evel=3.0,nocabac},vcodec=x264,vb=256, scale=1, fps=10}:rtp{dst=,port=10010,mux=ts}" --sout-mux-caching=50000
    But i have a lot of messages like this:

    [0x730ee8] main mux warning: late buffer for mux input (4381012)
    [0x730ee8] main mux warning: late buffer for mux input (4301012)
    [0x730ee8] main mux warning: late buffer for mux input (4229012)
    And i'ts not a cpu issue, because there are no load of it.

    I'm trying to use ffmpeg instead of vlc with this command:

    ffmpeg -re -i rtsp:// -vcodec libx264  -vb 500000 -an -f rtsp -muxdelay 0.1  rtsp://
    but it give me this:
    Input #0, rtsp, from 'rtsp://':
      Duration: N/A, start: 0.010000, bitrate: N/A
        Stream #0.0: Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 30k tbr, 90k tbn, 30k tbc
        Stream #0.1: Audio: pcm_mulaw, 8000 Hz, stereo, s16, 128 kb/s
    Unable to find a suitable output format for 'rtsp://'
    I look trouh the ffmpeg doc's and can't find what to change in command. I've tryed -profile baseline but it didn't help
    Last edited by ManGood; 03-27-2012 at 02:33 AM.

  2. #2


    It looks like you're not transcoding the audio part. Maybe that codec is not supported under the RSTP. Try using the command I gave you earlier. Does it work with the sample.mp4 file? Then, does it work with your input?

    Thanks for moving to a new thread. So, I'll just remove your ffmpeg stuff from the VLC thread to keep it clean.

Similar Threads

  1. Replies: 1
    Last Post: 08-03-2012, 05:08 PM
  2. Replies: 1
    Last Post: 07-23-2012, 05:32 AM
  3. Transcode with FFMPEG
    By jhjwind in forum Server-side Modules and Code Samples Discussion
    Replies: 1
    Last Post: 04-02-2012, 03:33 PM

Posting Permissions

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