Bug #2946
Transcode libvorbis setting audio bitrate
0%
Description
Hi!
I've got an error with some transcoding Profiles.
I have severals profiles with predefined Bitrates for Video and Audio.
For Handy 3G or low bandwith Internet... 3000 DSL...
e.g.
1500 kb/s Videobitrate
36 kb/s Audiobitrate
=> Total Bandwith of 1536 kb/s
And some Profile with no Limitation of bandwith (using them on LAN).
(see attachment)
on previous Versions <4.1 everything worked fine.
Bandwith was calculated correct on status page and stream worked perfect.
With current Version, only profiles with no limitations of Audio bandwith are working.
Debug output of a working profile:2015-06-16 16:21:59.890 subscription: 004B: "HTTP" subscribing on channel "ProSieben HD", weight: 50, adapter: "CXD2843 DVB-C/C2 DVB-T/T2 : DVB-C #1", network: "KabelBW", mux: "682MHz", provider: "Unitymedia", service: "Pro7 HD", profile="384p", hostname="xxxxxxx", client="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0"
2015-06-16 16:22:00.047 transcode: 0004: 1:H264 1920x1080 > VP8 682x384 (libvpx)
2015-06-16 16:22:00.047 transcode: 0004: 2:AC3 > VORBIS (libvorbis)
2015-06-16 16:22:00.607 libav: mmco: unref short failure
2015-06-16 16:22:00.607 libav: mmco: unref short failure
2015-06-16 16:22:00.607 libav: number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
2015-06-16 16:22:00.614 libav: v1.4.0
And the profiles with Limitation of Audio, has no Audio. only Video ist transcoded. and Output bandwith is around 1500 kb/s, on Status page.
Debug Output of a non working Profile:2015-06-16 16:22:48.190 subscription: 0053: "HTTP" subscribing on channel "ProSieben HD", weight: 50, adapter: "CXD2843 DVB-C/C2 DVB-T/T2 : DVB-C #1", network: "KabelBW", mux: "682MHz", provider: "Unitymedia", service: "Pro7 HD", profile="1536 kb/s", hostname="xxxxxxxxx", client="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0"
2015-06-16 16:22:48.381 transcode: 0005: 1:H264 1920x1080 > VP8 1024x576 (libvpx)
2015-06-16 16:22:48.381 transcode: 0005: 2:AC3 > VORBIS (libvorbis)
2015-06-16 16:22:49.078 libav: encoder setup failed
2015-06-16 16:22:49.079 transcode: 0005: Unable to open libvorbis encoder
2015-06-16 16:22:49.107 libav: mmco: unref short failure
2015-06-16 16:22:49.107 libav: mmco: unref short failure
2015-06-16 16:22:49.107 libav: number of reference frames (0+4) exceeds
2015-06-16 16:22:49.125 libav: v1.4.0
I think there's a bug in Setting libav Encoder Settings.
==> 2015-06-16 16:22:49.078 libav: encoder setup failed
Regards
Rain
Files
History
Updated by Acid Rain over 9 years ago
Forgot:
Build tvheadend from git master.
Using always:
AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static ./Autobuild.sh -t Debian
System: Debian wheezy
Updated by Acid Rain over 9 years ago
Wrong TV HeadEnd Version...
Using HTS Tvheadend 4.1-210~g4d5a4eb
Updated by Jaroslav Kysela over 9 years ago
Minumum bitrate for vorbis is 45 for 44100Hz input.. Try higher value. Previous versions of tvh didn't used the values correctly.
Updated by Acid Rain over 9 years ago
Hi!
Thanks a lot!
Set Audio on every profile to 48 kb/s, and everything works fine!
Regards
Rain