Page 1 of 1

RTSPmpeg2vide-stream > HTTP-FLV-stream=[vbv buffer overflow]

Posted: 18 Dec 2009 00:58
by iroller
Hello
I'm trying to reencode rtsp-stream from one server ( Audio: mp2, 48000 Hz, 2 channels, s16, 192 kb/s; Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 2550 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc) to flv-stream and serve out (http).
This is my command line:
vlc-1.0.4$ ./vlc -I dummy -vvv http://host:8080 --sout-transcode-maxheight=240 --sout-transcode-maxwidth=320 --sout-transcode-vb=512 --sout '#transcode{vcodec=FLV1,acodec=mp3,samplerate=44100}:std{access=http,dst=0.0.0.0:8081/stream.flv}' --sout-mux-caching=5120
I can see video but it is not stable, and a have tonns of "vbv buffer overflow" on the server.

Someone told me: "it's because pal resolution flv doesn't really fit in that bitrate"
I've tried a lot of combinations between height/width/bitrate/caching, but it was no result, always it displays:
"vbv buffer overflow".

Thanks for any help

Re: RTSPmpeg2vide-stream > HTTP-FLV-stream=[vbv buffer overflow]

Posted: 28 Dec 2009 10:29
by ILEoo
If you have new enough ffmpeg and vlc, you can use h264 codec in flv also, and with that you should fit easily on that bitrate and resolution