Project

General

Profile

Bug #3261

No WebUI / Transcoding

Added by Acid Rain over 4 years ago. Updated over 4 years ago.

Status:
Fixed
Priority:
Normal
Category:
Transcoding
Target version:
-
Start date:
2015-11-03
Due date:
% Done:

100%

Estimated time:
Found in version:
4.1-853~g0cc616e
Affected Versions:

Description

Hi!

compiled current Version, with
AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static ./Autobuild.sh -t Debian

And get the following error while i'm trying to use WebPlayer, with all of my profiles:
Nov 3 20:47:22 myserver tvheadend[14898]: transcode: 0008: 1:H264 1920x1080 > VP8 1024x576 (libvpx)
Nov 3 20:47:22 myserver tvheadend[14898]: transcode: 0008: 2:AC3 > VORBIS (libvorbis)
Nov 3 20:47:23 myserver tvheadend14898: transcode: 0008: Detected framedrop in audio
Nov 3 20:47:23 myserver tvheadend14898: libav: mmco: unref short failure
Nov 3 20:47:23 myserver tvheadend14898: libav: mmco: unref short failure
Nov 3 20:47:23 myserver tvheadend14898: libav: number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
Nov 3 20:47:23 myserver tvheadend14898: libav: v1.4.0
Nov 3 20:47:23 myserver tvheadend14898: libav: No such filter: 'yadif'
Nov 3 20:47:23 myserver tvheadend14898: transcode: 0008: failed to init filter chain
Nov 3 20:47:23 myserver tvheadend14898: transcode: 0008: Video filter creation failed

Sample Profile configuration attached.

With older Version everything worked.
The same Profiles.

Same error using iPhone TvHClient. :(


Files

Profiles.JPG (281 KB) Profiles.JPG Streaming Profiles Acid Rain, 2015-11-03 20:58
tvh-fix-avfilters-staticbuild.patch (2.21 KB) tvh-fix-avfilters-staticbuild.patch Manuel Lauss, 2015-11-03 22:07
0001-include-filters-in-static-ffmpeg-build-fixes-3261.patch (2.11 KB) 0001-include-filters-in-static-ffmpeg-build-fixes-3261.patch Manuel Lauss, 2015-11-03 22:50

Associated revisions

Revision be3bb7c7 (diff)
Added by Manuel Lauss over 4 years ago

include filters in static ffmpeg build, fixes #3261

History

#1

Updated by Acid Rain over 4 years ago

"Older" Version was: tvheadend_4.1-507~g94420f4

#2

Updated by Acid Rain over 4 years ago

LibAV Log:

Nov  3 20:58:53 myserver tvheadend[17072]: transcode: 0004: 1:H264 1920x1080 ==> VP8 1024x576 (libvpx)
Nov  3 20:58:53 myserver tvheadend[17072]: transcode: 0004: 2:AC3 ==> VORBIS (libvorbis)
Nov  3 20:58:53 myserver tvheadend[17072]: subscription: 005A: "HTTP" subscribing on channel "Sky Sport HD 1", weight: 50, adapter: "CXD2843 DVB-C/C2 DVB-T/T2 : DVB-C #1", network: "KabelBW", mux: "378MHz", provider: "SKY", service: "Sky Sport HD 1", profile="1536 kb/s", hostname="xxx.xxx.xxx.xxx", username="xxxxxxxxx", client="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0" 
Nov  3 20:58:54 myserver tvheadend[17072]: libav: non-existing PPS 0 referenced
Nov  3 20:58:54 myserver tvheadend[17072]: libav: decode_slice_header error
Nov  3 20:58:54 myserver tvheadend[17072]: libav: no frame!
Nov  3 20:58:54 myserver tvheadend[17072]: libav: non-existing PPS 0 referenced
Nov  3 20:58:54 myserver tvheadend[17072]: libav: decode_slice_header error
Nov  3 20:58:54 myserver tvheadend[17072]: libav: no frame!
Nov  3 20:58:54 myserver tvheadend[17072]: libav: non-existing PPS 0 referenced
Nov  3 20:58:54 myserver tvheadend[17072]: libav: decode_slice_header error
Nov  3 20:58:54 myserver tvheadend[17072]: libav: no frame!
Nov  3 20:58:54 myserver tvheadend[17072]: libav: non-existing PPS 0 referenced
Nov  3 20:58:54 myserver tvheadend[17072]: libav: decode_slice_header error
Nov  3 20:58:54 myserver tvheadend[17072]: libav: no frame!
Nov  3 20:58:54 myserver tvheadend[17072]: libav: non-existing PPS 0 referenced
Nov  3 20:58:54 myserver tvheadend[17072]: libav: decode_slice_header error
Nov  3 20:58:54 myserver tvheadend[17072]: libav: no frame!
Nov  3 20:58:54 myserver tvheadend[17072]: libav: non-existing PPS 0 referenced
Nov  3 20:58:54 myserver tvheadend[17072]: libav: decode_slice_header error
Nov  3 20:58:54 myserver tvheadend[17072]: libav: no frame!
Nov  3 20:58:54 myserver tvheadend[17072]: libav: non-existing PPS 0 referenced
Nov  3 20:58:54 myserver tvheadend[17072]: libav: decode_slice_header error
Nov  3 20:58:54 myserver tvheadend[17072]: libav: no frame!
Nov  3 20:58:54 myserver tvheadend[17072]: libav: non-existing PPS 0 referenced
Nov  3 20:58:54 myserver tvheadend[17072]: libav: decode_slice_header error
Nov  3 20:58:54 myserver tvheadend[17072]: libav: no frame!
Nov  3 20:58:54 myserver tvheadend[17072]: libav: non-existing PPS 0 referenced
Nov  3 20:58:54 myserver tvheadend[17072]: libav: decode_slice_header error
Nov  3 20:58:54 myserver tvheadend[17072]: libav: no frame!
Nov  3 20:58:54 myserver tvheadend[17072]: libav: non-existing PPS 0 referenced
Nov  3 20:58:54 myserver tvheadend[17072]: libav: decode_slice_header error
Nov  3 20:58:54 myserver tvheadend[17072]: libav: no frame!
Nov  3 20:58:54 myserver tvheadend[17072]: libav: non-existing PPS 0 referenced
Nov  3 20:58:54 myserver tvheadend[17072]: libav: decode_slice_header error
Nov  3 20:58:54 myserver tvheadend[17072]: libav: no frame!
Nov  3 20:58:54 myserver tvheadend[17072]: libav: non-existing PPS 0 referenced
Nov  3 20:58:54 myserver tvheadend[17072]: libav: decode_slice_header error
Nov  3 20:58:54 myserver tvheadend[17072]: libav: no frame!
Nov  3 20:58:54 myserver tvheadend[17072]: libav: non-existing PPS 0 referenced
Nov  3 20:58:54 myserver tvheadend[17072]: libav: decode_slice_header error
Nov  3 20:58:54 myserver tvheadend[17072]: libav: no frame!
Nov  3 20:58:54 myserver tvheadend[17072]: libav: mmco: unref short failure
Nov  3 20:58:54 myserver tvheadend[17072]: libav: mmco: unref short failure
Nov  3 20:58:54 myserver tvheadend[17072]: libav: number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
Nov  3 20:58:54 myserver tvheadend[17072]: subscription: 0059: "HTTP" unsubscribing from "Sky Sport HD 1", hostname="xxx.xxx.xxx.xxx.xxx", username="xxxxxxx", client="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0" 
Nov  3 20:58:54 myserver tvheadend[17072]: libav: v1.4.0
Nov  3 20:58:54 myserver tvheadend[17072]: libav: No such filter: 'yadif'
Nov  3 20:58:54 myserver tvheadend[17072]: transcode: 0004: failed to init filter chain
Nov  3 20:58:54 myserver tvheadend[17072]: transcode: 0004: Video filter creation failed

VLC Player / HTSP works (no transcoding)

#3

Updated by Manuel Lauss over 4 years ago

Sorry about that, the attached patch fixes this for the static-ffmpeg build.

#4

Updated by Acid Rain over 4 years ago

Sorry, but how to use this?
Absolutely Linux newbie :(

Actually, I'm updating to Debian Jessie ;(

#5

Updated by Manuel Lauss over 4 years ago

Download the file attached to the directory where you build tvheadend,
cd into it, type "patch -p1 < 0001-include-filters-in-static-ffmpeg-build-fixes-3261.patch"
and then do your "AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static ./Autobuild.sh -t Debian"
again. Or wait until tomorrow, I've sent out a pull request already.

#6

Updated by Acid Rain over 4 years ago

Ok!

Thaaaank you very much!
I think I'll wait until tomorrow! :-)
It's late, Im tired, after updateing to Jessie I have to fix oscam errors with dvbapi first... :(

regards
Rain

#7

Updated by B C over 4 years ago

In combination with QSV this breaks reencoding. It seems lumina information is correct for the qsv path but chroma is garbage. So I get a somehow correct blach & white reencoded picture with fancy color stuff overlayed, no matter if deinterlacing / resizing is involved or not. So I suspect the qsv encoder is either getting a pix_fmt it does not understand (which I think it would simply reject) or the anounced format does not match the real format. Before this patch, setting the pix_fmt to AV_PIX_FMT_NV12 instead of PIX_FMT_YUV420P (which qsv_264 does not understand) did the trick (thanks The Troll), but now this conversion does not seem to work anymore.

BTW: With standard h264 reencoding i get a lot of these:

[WARNING] libav: forced frame type (5) at 769 was changed to frame type (3)

#8

Updated by Manuel Lauss over 4 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF