Bug #5308
libav x264 transcoding broken on ubuntu 14.04 builds
100%
Description
It seems that currently x264 transcoding is broken on ubuntu Trusty due to older avconv in libav-tools.
Log when trying to transcode:
2018-11-01 08:51:55.067 transcode: 0039: 1:MPEG2VIDEO 1920x1080 > H264 1280x720 (libx264)
2018-11-01 08:51:55.067 transcode: 0039: 2:AC3 > AAC (libfdk_aac)
2018-11-01 08:51:55.314 transcode: 0039: Using preset medium
2018-11-01 08:51:55.314 libav: Undefined constant or missing '(' in 'high'
2018-11-01 08:51:55.314 libav: Unable to parse option value "high"
2018-11-01 08:51:55.314 libav: Error setting option profile to value high.
2018-11-01 08:51:55.314 transcode: 0039: Unable to open libx264 encoder
2018-11-01 08:52:00.114 libav: Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
2018-11-01 08:52:00.114 libav: track 0: codec frame size is not set
If you are still providing Trusty builds maybe this can be fixed? I know it used to work on trusty, but it's actually been broken for several months now. I'm not sure exactly what version update broke it though.
History
Updated by asnail boy1 about 6 years ago
Nicholas Oldroyd wrote:
It seems that currently x264 transcoding is broken on ubuntu Trusty due to older avconv in libav-tools.
Log when trying to transcode:
2018-11-01 08:51:55.067 transcode: 0039: 1:MPEG2VIDEO 1920x1080 > H264 1280x720 (libx264)
2018-11-01 08:51:55.067 transcode: 0039: 2:AC3 > AAC (libfdk_aac)
2018-11-01 08:51:55.314 transcode: 0039: Using preset medium
2018-11-01 08:51:55.314 libav: Undefined constant or missing '(' in 'high'
2018-11-01 08:51:55.314 libav: Unable to parse option value "high"
2018-11-01 08:51:55.314 libav: Error setting option profile to value high.
2018-11-01 08:51:55.314 transcode: 0039: Unable to open libx264 encoder
2018-11-01 08:52:00.114 libav: Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
2018-11-01 08:52:00.114 libav: track 0: codec frame size is not setIf you are still providing Trusty builds maybe this can be fixed? I know it used to work on trusty, but it's actually been broken for several months now. I'm not sure exactly what version update broke it though.
any quick fix for this? i'm on bionic
Updated by Nicholas Oldroyd about 6 years ago
Oh, is it broken on bionic too? I thought it was due to older ffmpeg in trusty, but maybe there is more to this issue.
x264 transcoding is kind of important for streaming remotely as the alternative codecs like x265 and vp8 are not very usable in my testing.
Updated by asnail boy1 about 6 years ago
Nicholas Oldroyd wrote:
Oh, is it broken on bionic too? I thought it was due to older ffmpeg in trusty, but maybe there is more to this issue.
x264 transcoding is kind of important for streaming remotely as the alternative codecs like x265 and vp8 are not very usable in my testing.
I'm on Bionic and i just built with the guide and apt-get install tvheadend
so in it's default install (which most people will do) I get this error:
2018-11-16 12:57:13.503 subscription: 02A2: "192.168.x.xxx [ xxxx | Kodi Media Center ]" subscribing on channel "BBC NEWS HD", weight: 100, adapter: "0", network: "SKY", mux: "11024H", provider: "BSkyB", service: "BBC NEWS HD", profile="webtv-h264-aac-matroska", hostname="192.168.xxxx", username="xxxx", client="Kodi Media Center" 2018-11-16 12:57:14.693 transcode: 0006: 1:H264 1920x1080 ==> H264 682x384 (libx264) 2018-11-16 12:57:14.693 transcode: 0006: 2:DVBSUB ==> Filtered 2018-11-16 12:57:14.693 transcode: 0006: 3:TELETEXT ==> Filtered 2018-11-16 12:57:14.693 transcode: 0006: 4:AC3 ==> Passthrough 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.627 libav: SPS unavailable in decode_picture_timing 2018-11-16 12:57:15.627 libav: non-existing PPS 0 referenced 2018-11-16 12:57:15.627 libav: decode_slice_header error 2018-11-16 12:57:15.627 libav: no frame! 2018-11-16 12:57:15.656 libav: mmco: unref short failure 2018-11-16 12:57:15.656 transcode: 0006: Using preset faster 2018-11-16 12:57:15.656 libav: Undefined constant or missing '(' in 'high' 2018-11-16 12:57:15.656 libav: Unable to parse option value "high" 2018-11-16 12:57:15.656 libav: Error setting option profile to value high. 2018-11-16 12:57:15.656 transcode: 0006: Unable to open libx264 encoder
Updated by Jaroslav Kysela almost 6 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|55acbe1cf95c565d8bf3f76560cb8d4633f90c5a.