LiveStreamDVR icon indicating copy to clipboard operation
LiveStreamDVR copied to clipboard

[Feature] Add Intel QSV H265

Open Serph91P opened this issue 2 years ago • 10 comments

You already have the Reencode integrated and tried to use nvidia. Would there be a possiblity to add Intel QSV H265? https://trac.ffmpeg.org/wiki/Encode/H.265

Serph91P avatar Sep 23 '22 18:09 Serph91P

ffmpeg needs to be built with the --enable-gpl --enable-libx265 configuration flags

this is always the larger problem, i'm guessing it needs a lot of libraries to build, i guess this one was just for h265 though

i tried to combine the nvidia container and mine but it didn't work

MrBrax avatar Sep 23 '22 18:09 MrBrax

ffmpeg needs to be built with the --enable-gpl --enable-libx265 configuration flags

this is always the larger problem, i'm guessing it needs a lot of libraries to build, i guess this one was just for h265 though

i tried to combine the nvidia container and mine but it didn't work

Dunno if I am wrong but this seems pretty straight forward for me. https://ffmpeg.org/ffmpeg-all.html#Intel-QuickSync-Video

Serph91P avatar Sep 24 '22 14:09 Serph91P

so you need to build your own ffmpeg binary and then attach your cpu or whatever via docker commands, that's a bit above my understanding, and i don't even use linux/intel

MrBrax avatar Sep 24 '22 14:09 MrBrax

so you need to build your own ffmpeg binary and then attach your cpu or whatever via docker commands, that's a bit above my understanding, and i don't even use linux/intel

yeah how to get the gpu to the docker is quite easy. The only thing is ffmpeg to be build with those commands as far as I understand. Got there from the other page I linked in frist post. Where it said: You can also download a static build, all of which bundle libx265. So its already in there with those static builds.

Serph91P avatar Sep 24 '22 14:09 Serph91P

so it should be in the installed one in the docker container already? i have no way of testing this, so not really any practical way of doing it

MrBrax avatar Sep 24 '22 17:09 MrBrax

so it should be in the installed one in the docker container already? i have no way of testing this, so not really any practical way of doing it

will look into it and report back.

Serph91P avatar Sep 24 '22 17:09 Serph91P

also seems like the command line arguments for it are double that of regular encodes, bloating the selection up even more

MrBrax avatar Sep 24 '22 17:09 MrBrax

also seems like the command line arguments for it are double that of regular encodes, bloating the selection up even more

Would it be bad if I encoded the files with another application?

Serph91P avatar Sep 24 '22 17:09 Serph91P

bad? uh not really, but replacing the segments would still keep the old mediainfo and such

MrBrax avatar Sep 24 '22 18:09 MrBrax

bad? uh not really, but replacing the segments would still keep the old mediainfo and such

ok will try and see what is happening.

Serph91P avatar Sep 24 '22 18:09 Serph91P