Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
15th November 2019, 14:04 | #1 | Link |
Registered User
Join Date: May 2002
Location: Germany
Posts: 59
|
hevc decoding issues questions
hi, as i have some applications i may ask here if someone has an idea what could cause this and if there is a solution.
its about DVB hevc broadcasts and often fails to decode in hw with ffmpeg. i experience this in several apps like tvheadend, plex, emby, ... sample failures are tvheadend vaapi: decode: unsupported pixel format: yuv420p10le encoding to h265 as note working fine plex [Transcoder] [hevc @ 0x6f2080] PPS id out of range: 0 [Transcoder] [hevc @ 0x14af040] Could not find ref with POC -48 [Transcoder] [eac3_eae @ 0x14e0d40] Sample rate 0 invalid [Transcoder] Error while processing the decoded data for stream #0:1 ... my source are either DVB-C or DVB-S streams coming from tvheadend, i also tested with filtering subs, teletext on/off, made no difference ... when i look for these failures there are alot of entries, but nothing i could understand to work with. may someone here had experience with these beaviors. hardware is as note intel i7-8700 UHD630 and, mkv movie files are working ... for an tipp thanks ahead |
19th November 2019, 08:14 | #2 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
Driver problem? Anything from HD520 up should be able to decode Main10 in hardware. Maybe you need to decode to yuv420p16le instead?
Missing refs and corrupted start is common at the start of a capture, so that error isn't useful. There must be something further in. Can you share a 10-30 second snip of your capture? Preferably raw, not remuxed (DGSplit is good for this). |
21st November 2019, 18:55 | #3 | Link |
Registered User
Join Date: May 2002
Location: Germany
Posts: 59
|
sorry for the late reply, as i tested some manual ffmpeg transcodes now too ...
and yes, it should be capable of decoding and encoding (which is working in hardware - tested from h264 to hevc) here are some small samples i made, onedrive https://1drv.ms/u/s!ApY1s9BRY-iSpxNT...PyOTl?e=NgHm3X all my tests ended in software decoding with dvb streams ... |
23rd November 2019, 09:10 | #5 | Link |
Registered User
Join Date: May 2002
Location: Germany
Posts: 59
|
interlaced ? the 4k broadcasted streams are all 2160/50p and not like the regular HD channels here in 1080/50i
so no, here on hevc there is no interlaced content afaik. attached i made 2 samples benchmark results from ffmpeg console, 1 downloaded content file showing hw decoding working, 1 from my recorded sample file wich fails. |
23rd November 2019, 09:45 | #6 | Link | |
Registered User
Join Date: May 2002
Location: Germany
Posts: 59
|
ok, i guess im 1 step further now, as im no expert in these things i try in my words
as i guessed it has something todo with the "start" frame i made now a test, i imported the .ts file in avisynth and jumped to the 1st found keyframe, cutted away the start, went to the last found keyframe, cutted the end. (i use avisynth to cut commercials fast and easy so thats how i came to the "found" keyframe) now, when i do use ffmpeg with the cutted and remuxed files hw acc works and no more errors appear ... so my question is now, is there a cmd string to tell ffmpeg to start on the 1st found keyframe ? i added 4 files to the shared onedrive VU_SAT.ts -> VU_SAT_edit.ts VU_CBL.ts -> VU_CBL_edit.ts the edited one are cutted and remuxed (not encoded) with avisynth and working, sample result from a benchmark and no errors Quote:
Last edited by alturismo; 24th November 2019 at 08:04. Reason: updated ffmpeg command |
|
|
|