VAAPI transcoding problem? am I using wrong version?
Added by Evren Yurtesen about 5 years ago
I have "HTS Tvheadend 4.2.9~pre+201910311127-0~built201910311332~gitcfa450e~ubuntu19.10.1" installed from mamarley/stable repository.
I am able to use VAAPI with ffmpeg locally. In Tvheadend stream I see 'hevc_vaapi: H265/HEVC (VAAPI)'
But if I try to use it when recording, it just fails:
Nov 9 20:26:09 ubuntu tvheadend[1489]: libav: Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead. Nov 9 20:26:09 ubuntu tvheadend[1489]: message repeated 2 times: [ libav: Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.] Nov 9 20:26:09 ubuntu tvheadend[1489]: libav: frame size not set Nov 9 20:26:09 ubuntu tvheadend[1489]: dvr: /home/hts/Tvheadend/MTV3 HD/Tulosruutu/Tulosruutu2019-11-0920-25-1.ts from adapter: "Panasonic MN88473 #0 : DVB-C #1", network: "Telia Turku", mux: "410MHz", provider: "MTV3", service: "MTV3 HD" Nov 9 20:26:09 ubuntu tvheadend[1489]: dvr: # type lang resolution aspect ratio sample rate channels Nov 9 20:26:09 ubuntu tvheadend[1489]: dvr: 1 HEVC 1920x1080 ? <disabled, no valid input> Nov 9 20:26:09 ubuntu tvheadend[1489]: dvr: 2 AAC fin 48000 2 Nov 9 20:26:09 ubuntu tvheadend[1489]: dvr: 4 DVBSUB fin Nov 9 20:26:09 ubuntu tvheadend[1489]: dvr: 5 DVBSUB dut Nov 9 20:26:25 ubuntu tvheadend[1489]: subscription: 0049: "DVR: Tulosruutu" unsubscribing from "MTV3 HD"
If I try to stream it to another device it also fails
Nov 9 20:32:10 ubuntu tvheadend[1489]: transcode: 000A: 1:H264 1920x1080 ==> HEVC 1920x1080 (hevc_vaapi) Nov 9 20:32:10 ubuntu tvheadend[1489]: transcode: 000A: 2:MPEG2AUDIO ==> AAC (aac) Nov 9 20:32:10 ubuntu tvheadend[1489]: transcode: 000A: 3:TELETEXT ==> Filtered Nov 9 20:32:10 ubuntu tvheadend[1489]: transcode: 000A: 4:DVBSUB ==> Passthrough Nov 9 20:32:10 ubuntu tvheadend[1489]: subscription: 004A: "::ffff:192.168.1.221 [ | Kodi Media Center ]" subscribing on channel "Sub HD", weight: 100, adapter: "Panasonic MN88473 #1 : DVB-C #1", network: "Telia Turku", mux: "298MHz", provider: "MTV OY", service: "Sub HD", profile="h265_lo", hostname="::ffff:192.168.1.221", username="::ffff:192.168.1.221", client="Kodi Media Center" Nov 9 20:32:10 ubuntu tvheadend[1489]: transcode: 000A: Using preset ultrafast Nov 9 20:32:10 ubuntu tvheadend[1489]: libav: Specified pixel format yuv420p is invalid or not supported Nov 9 20:32:10 ubuntu tvheadend[1489]: transcode: 000A: Unable to open hevc_vaapi encoder Nov 9 20:32:10 ubuntu tvheadend[1489]: tsfix: The timediff for TELETEXT is big (2432829531), using current dts
Do I need 4.3 version of tvheadend?
Thanks!
Replies (26)
RE: VAAPI transcoding problem? am I using wrong version? - Added by Evren Yurtesen about 5 years ago
@"M A Ben Amara" You did not record 4:3 streams. All your recordings in your drive are 1280x720, therefore 16:9 natively.
You are lucky that your channels are streaming like that. In my case the stream resolution is 720x 576 but with 16:9 aspect ratio.
You should really see the files I uploaded to that bug report and re-encode them using ffmpeg to see what happens
- « Previous
- 1
- 2
- Next »