ffmpeg.exe return code1 (VBV buffer too small for bitrate)

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
nomi2013
Posts: 30
Joined: Thu Sep 12, 2013 12:45 am

ffmpeg.exe return code1 (VBV buffer too small for bitrate)

Post by nomi2013 »

Hi guys
Using Universal Media Server2.6.5 with jumpy latst version.windows 8..
If I run the seup with my TV (Sony Bravia) on my network it works fine but when I tried using same on my sister home except they have Samsung 2013 32 inch smart tv...it detected "Samsung All Share" as renderer and when runs see following error in logs
ffmpeg.exe has a return code of 1! Maybe an error occurred
Also attached log..plese help
thanks
Attachments
ums_dbg.zip
(27.86 KiB) Downloaded 645 times
Last edited by nomi2013 on Fri Oct 18, 2013 1:50 am, edited 1 time in total.
nomi2013
Posts: 30
Joined: Thu Sep 12, 2013 12:45 am

Re: error ffmpeg.exe return code1

Post by nomi2013 »

Anyone? I think it has to do with Media Renderder as the same setup works fine with my Bravia EX620 TV..
Did anyone have Samsung "S" series media renderer file? My samsung TV is 32 inch "S" series 2013 canadian version.
Model: UN32EH5000
Thanks
Nomi
nomi2013
Posts: 30
Joined: Thu Sep 12, 2013 12:45 am

Re: error ffmpeg.exe return code1

Post by nomi2013 »

I found the issue in debug log and issue might be becasue of this line

DEBUG 2013-10-14 16:59:55.810 [Thread-55] [mpeg2video @ 03b54e40] VBV buffer too small for bitrate

but needs expert advise..Does issue is becuase of above line? If its how I can increase my buffer size?
Thanks
Nomi


DEBUG 2013-10-14 16:59:50.478 [ffmpeg.exe-1] Starting "C:\Program Files\Universal Media Server\win32\ffmpeg.exe" -y -loglevel warning -threads 4 -i "rtmp://cdn.ebound.tv:1935/hamariweb?wmsAuthSign=c2VydmVyX3RpbWU9MTAvMTQvMjAxMyAxMTo1OToyNCBQTSZoYXNoX3ZhbHVlPXRLc244YzVRZFJIRmQzQ1RWYUZvNEE9PSZ2YWxpZG1pbnV0ZXM9Mg== playpath=hamariweb-geonews?wmsAuthSign=c2VydmVyX3RpbWU9MTAvMTQvMjAxMyAxMTo1OToyNCBQTSZoYXNoX3ZhbHVlPXRLc244YzVRZFJIRmQzQ1RWYUZvNEE9PSZ2YWxpZG1pbnV0ZXM9Mg== swfUrl=http://ebound.tv/EboundServicesPlayer/s ... Player.swf live=true timeout=15 pageUrl=http://www.hamariweb.com" -threads 4 -c:a ac3 -c:v mpeg2video -f vob -maxrate 25000000 -q:a 3 \\.\pipe\ffmpegwebvideo_98_1381795189931
DEBUG 2013-10-14 16:59:50.493 [ffmpeg.exe-1] Reading pipe: \\.\pipe\ffmpegwebvideo_98_1381795189931
DEBUG 2013-10-14 16:59:51.087 [ffmpeg.exe-1] Attaching thread: ffmpeg.exe-1
DEBUG 2013-10-14 16:59:55.748 [Thread-53] Result of \\.\pipe\ffmpegwebvideo_98_1381795189931 : true
DEBUG 2013-10-14 16:59:55.810 [Thread-55] [mpeg2video @ 03b54e40] VBV buffer too small for bitrate
DEBUG 2013-10-14 16:59:55.810 [Thread-55] Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
INFO 2013-10-14 16:59:55.998 [ffmpeg.exe-1] Process C:\Program Files\Universal Media Server\win32\ffmpeg.exe has a return code of 1! Maybe an error occurred... check the log file
pen
Posts: 60
Joined: Mon Sep 02, 2013 11:47 pm

Re: ffmpeg.exe return code1 (VBV buffer too small for bitrat

Post by pen »

Hi nomi.

I also had problems with the vbv buffer parameters but with slightly different error. You can follow the problem and resolution from here:

viewtopic.php?f=6&t=78&start=170#p6853

In short, the solution I finally chose was to change from Mpeg2 encoding to H264 (Mpeg4) encoding. This might have some impact on the computing demand of your server - so check the load to see that this is a viable solution for you. In my case there was no problem. So if you don't want to read the full story above, just patch the Samsung renderer profile (SamsungAllshare.conf):

#TranscodeVideo=MPEGPSAC3
TranscodeVideo = H264TSAC3

Not sure it will help you, but at least there is no vbv in H264 :-)
Credits to infidel.

Pen
Server Ubuntu 12.04, Renderer Samsung 46D6300
Post Reply