Project

General

Profile

Bug #5375

Transcoding: AVFilter: Invalid parameters provided.

Added by An Lu about 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Category:
Transcoding
Target version:
-
Start date:
2018-11-30
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-1500~g7185713f4
Affected Versions:

Description

Hello I found a problem with the transcoding or maybe a ffmpeg problem. I tried to transcode a IPTV channel and it gave me an error "[h264 => libx264]: filters: failed to create 'in' filter". On the older test version it works with the exact same settings for the transcoder without any problem.

The working tvheadend version "HTS Tvheadend 4.2.7-34~g036b9cbab"
The broken tvheadend version "HTS Tvheadend 4.3-1500~g7185713f4"


Working traanscoder version log:

2018-11-30 18:41:32.225 transcode: 0005: 1:H264 1920x1080 ==> H264 1280x720 (libx264)
2018-11-30 18:41:32.225 transcode: 0005: 2:AAC-LATM ==> VORBIS (libvorbis)
2018-11-30 18:41:32.246 transcode: 0005: Using preset faster
2018-11-30 18:41:32.246 libav: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2
2018-11-30 18:41:32.247 libav: profile High, level 3.1
2018-11-30 18:41:32.248 libav: 264 - core 152 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=4 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=4 sliced_threads=1 slices=4 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=1 keyint=30 keyint_min=3 scenecut=40 intra_refresh=0 rc=crf mbtree=0 crf=15.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
2018-11-30 18:41:32.248 libav: deprecated pixel format used, make sure you did set range correctly
2018-11-30 18:41:32.410 transcode: 0005: Detected framedrop in audio
2018-11-30 18:41:33.093 transcode: 0005: Detected framedrop in audio
2018-11-30 18:41:33.164 libav: forced frame type (3) at 30 was changed to frame type (2)
2018-11-30 18:41:34.587 libav: forced frame type (3) at 80 was changed to frame type (2)
2018-11-30 18:41:35.985 libav: forced frame type (3) at 130 was changed to frame type (2)
2018-11-30 18:41:37.381 libav: forced frame type (3) at 180 was changed to frame type (2)
2018-11-30 18:41:38.870 libav: forced frame type (3) at 230 was changed to frame type (2)

Broken traanscoder version log:

2018-11-30 18:45:14.535 transcode: 0003: 01:H264: ==> Using profile h264_720
2018-11-30 18:45:14.535 transcode: 0003: 02:AAC-LATM: ==> Using profile libvorpis
2018-11-30 18:45:14.591 libav: AVCodecContext: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2
2018-11-30 18:45:14.592 libav: AVCodecContext: profile High, level 3.1
2018-11-30 18:45:14.593 libav: AVFilter: Invalid parameters provided.
2018-11-30 18:45:14.593 transcode: 0003: 01:H264: [h264 => libx264]: filters: failed to create 'in' filter

I hope we can fix this, becuause the new tvh version has so many features I would be missing in the old one.

History

#2

Updated by Jaroslav Kysela about 2 years ago

  • Subject changed from Transcoding partially broken in newest version, older version is working! to Transcoding: AVFilter: Invalid parameters provided.
#3

Updated by An Lu about 2 years ago

Here is the --trace transcode output:

2018-11-30 22:32:25.990 [   INFO]:http: 192.168.178.201: using auth PMaWRRelaVKnkGjQi7SNYtq7pB-Y for /tvheadend/stream/channelid/149$
2018-11-30 22:32:25.990 [   INFO]:mpegts: get.php - UK: Sky Sports F1 FHD in Darkside - tuning on IPTV #1
2018-11-30 22:32:25.994 [   INFO]:subscription: 003F: "HTTP" subscribing on channel "UK: Sky Sports F1 FHD", weight: 100, adapter: "$
2018-11-30 22:32:26.215 [   INFO]:transcode: 0006: 01:H264: ==> Using profile h264_720
2018-11-30 22:32:26.215 [   INFO]:transcode: 0006: 02:AAC-LATM: ==> Using profile libvorpis
2018-11-30 22:32:26.277 [  DEBUG]:transcode: 0006: 01:H264: [h264 => libx264]: opts: crf=23,preset=veryfast,tune=zerolatency,tvh_fil$
2018-11-30 22:32:26.277 [   INFO]:libav: AVCodecContext: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2
2018-11-30 22:32:26.278 [   INFO]:libav: AVCodecContext: profile High, level 3.1
2018-11-30 22:32:26.278 [  DEBUG]:transcode: 0006: 01:H264: [h264 => libx264]: filters: source args: 'video_size=1920x1080:pix_fmt=y$
2018-11-30 22:32:26.278 [  DEBUG]:transcode: 0006: 01:H264: [h264 => libx264]: filters: filters: 'scale=w=-2:h=720'
2018-11-30 22:32:26.279 [  ERROR]:libav: AVFilter: Invalid parameters provided.
2018-11-30 22:32:26.279 [  ERROR]:transcode: 0006: 01:H264: [h264 => libx264]: filters: failed to create 'in' filter
2018-11-30 22:32:37.992 [   INFO]:subscription: 003F: "HTTP" unsubscribing from "UK: Sky Sports F1 FHD", hostname="192.168.178.201",$

#4

Updated by Pablo R. about 2 years ago

An Lu wrote:

$

Look! incomplete log. $$$

#5

Updated by An Lu about 2 years ago

Pablo R. wrote:

An Lu wrote:

$

Look! incomplete log. $$$

Sorry, my bad!

2018-11-30 22:32:25.990 [   INFO]:http: 192.168.178.201: using auth PMaWRRelaVKnkGjQi7SNYtq7pB-Y for /tvheadend/stream/channelid/1499447294
2018-11-30 22:32:25.990 [   INFO]:mpegts: get.php - UK: Sky Sports F1 FHD in Darkside - tuning on IPTV #1
2018-11-30 22:32:25.994 [   INFO]:subscription: 003F: "HTTP" subscribing on channel "UK: Sky Sports F1 FHD", weight: 100, adapter: "IPTV #1", network: "Darkside", mux: "get.php - UK: Sky Sports F1 FHD", provider: "FFmpeg", service: "Service01", profile="h264_720", hostname="192.168.178.201", username="andre", client="VLC/3.0.3 LibVLC/3.0.3" 
2018-11-30 22:32:26.215 [   INFO]:transcode: 0006: 01:H264: ==> Using profile h264_720
2018-11-30 22:32:26.215 [   INFO]:transcode: 0006: 02:AAC-LATM: ==> Using profile libvorpis
2018-11-30 22:32:26.277 [  DEBUG]:transcode: 0006: 01:H264: [h264 => libx264]: opts: crf=23,preset=veryfast,tune=zerolatency,tvh_filter_deint=0,width=1280,height=720,pix_fmt=0,bf=3,tvh_require_meta=1
2018-11-30 22:32:26.277 [   INFO]:libav: AVCodecContext: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2
2018-11-30 22:32:26.278 [   INFO]:libav: AVCodecContext: profile High, level 3.1
2018-11-30 22:32:26.278 [  DEBUG]:transcode: 0006: 01:H264: [h264 => libx264]: filters: source args: 'video_size=1920x1080:pix_fmt=yuvj420p:time_base=0/2:pixel_aspect=0/1'
2018-11-30 22:32:26.278 [  DEBUG]:transcode: 0006: 01:H264: [h264 => libx264]: filters: filters: 'scale=w=-2:h=720'
2018-11-30 22:32:26.279 [  ERROR]:libav: AVFilter: Invalid parameters provided.
2018-11-30 22:32:26.279 [  ERROR]:transcode: 0006: 01:H264: [h264 => libx264]: filters: failed to create 'in' filter
2018-11-30 22:32:37.992 [   INFO]:subscription: 003F: "HTTP" unsubscribing from "UK: Sky Sports F1 FHD", hostname="192.168.178.201", username="andre", client="VLC/3.0.3 LibVLC/3.0.3" 
#6

Updated by Jaroslav Kysela almost 2 years ago

time_base=0/2:pixel_aspect=0/1 those values looks like a wrong ones

#7

Updated by An Lu almost 2 years ago

Is this anaything I can fix on my end or is it a problem of the stream?

Also available in: Atom PDF