# ffmpeg transcoding

**URL:** <https://community.wowza.com/t/ffmpeg-transcoding/33771>\
**Category:** Wowza Streaming Engine\
**Created:** [March 27, 2012, 12:23pm UTC](https://community.wowza.com/t/ffmpeg-transcoding/33771 "2012-03-27T12:23:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ilya\_Ositchev](https://avatars.discourse-cdn.com/v4/letter/i/2acd7d/32.png) [@Ilya\_Ositchev](https://community.wowza.com/u/Ilya_Ositchev)\
**Post date:** [March 27, 2012, 12:23pm UTC](https://community.wowza.com/t/ffmpeg-transcoding/33771/1 "2012-03-27T12:23:26Z")

</div>

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://192.168.1.2/stream.sdp --sout “#transcode{venc=x264{keyint=10,profile=baseline,l evel=3.0,nocabac},vcodec=x264,vb=256, scale=1, fps=10}:rtp{dst=127.0.0.1,port=10010,mux=ts}” --sout-mux-caching=50000

But i have a lot of messages like this:

```auto
[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:

```auto
ffmpeg -re -i rtsp://192.168.1.2/play2.sdp -vcodec libx264 -vb 500000 -an -f rtsp -muxdelay 0.1 rtsp://127.0.0.1:1935/live/camera2

```

but it give me this:

```auto
Input #0, rtsp, from 'rtsp://192.168.1.2/play2.sdp':
  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
[B]Unable to find a suitable output format for[/B] 'rtsp://127.0.0.1:1935/live/camera2'

```

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

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [March 27, 2012, 12:22am UTC](https://community.wowza.com/t/ffmpeg-transcoding/33771/2 "2012-03-27T00:22:22Z")

</div>

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.
