Project

General

Profile

tvheadend & transcoding with pipe (ffmpeg) causes pixelation in image

Added by Gerog De almost 5 years ago

pipe:///usr/local/bin/ffmpeg -hwaccel cuvid -c:v h264_cuvid -i "LINE" -c:a copy -c:v h264_nvenc -preset llhq -rc cbr_hq -b:v 5M -maxrate 6M -bufsize 3M -zerolatency 1 -flags +global_header -f mpegts -async 1 -vsync 1 pipe:1

Anything else need adjusting?
Are there tvheadend-filters for pixelation or an extra program?


Replies (15)

RE: tvheadend & transcoding with pipe (ffmpeg) causes pixelation in image - Added by saen acro almost 5 years ago

With version of tvh?
Is nvenc enabled in tvh?

pipe://ffmpeg \ 
-re \ 
-vsync passthrough \ 
-copytb 1 \ 
-hwaccel cuvid \ 
-hwaccel_device 0 \ 
-probesize 10000000 \ 
-analyzeduration 10000000 \ 
-fflags discardcorrupt+genpts+nobuffer \ 
-c:v h264_cuvid \ 
-gpu 0 \ 
-deint adaptive \ 
-drop_second_field 1 \ 
-recv_buffer_size 67108864 \ 
-i pipe:0 \ 
-filter_complex [0:i:0x203]split=outputs=1[map:v:0] \ 
-map [map:v:0] \ 
-c:v:0 h264_nvenc \ 
-g 150 \ 
-flags:v +global_header+cgop \ 
-preset:v llhp \ 
-profile:v:0 high \ 
-gpu 0 \ 
-b:v:0 2000k \ 
-maxrate:v:0 3500k \ 
-bufsize:v:0 7000k \ 
-map 0:i:0x206 \ 
-c:a:0 aac \ 
-ac 2 \ 
-ar 44100 \ 
-b:a:0 128k \ 
-max_muxing_queue_size 512 \ 
-f=mpegts \ 
-nostdin \ 
-hide_banner \ 
-loglevel info \
pipe:1

RE: tvheadend & transcoding with pipe (ffmpeg) causes pixelation in image - Added by Gerog De almost 5 years ago

HTS Tvheadend 4.2.8-33~g8ef4c0c28

where can I check in the Tvheandend if it is switched on? (nvenc)

RE: tvheadend & transcoding with pipe (ffmpeg) causes pixelation in image - Added by Gerog De almost 5 years ago

I need a recon please...

If I want to create a new nvenc streaming profile, I have to select transcode/av-lib?
In the transcode/av-lib profile I can not insert a pipe,
Does it perhaps need to be installed something in addition?

nvenc.png (68.1 KB) nvenc.png

RE: tvheadend & transcoding with pipe (ffmpeg) causes pixelation in image - Added by saen acro almost 5 years ago

Create codec profile

create stream profile with codec profile

RE: tvheadend & transcoding with pipe (ffmpeg) causes pixelation in image - Added by Gerog De almost 5 years ago

I don't have Code Profiles available
my version is 4.2.8-33~g8ef4c0c28

RE: tvheadend & transcoding with pipe (ffmpeg) causes pixelation in image - Added by Gerog De almost 5 years ago

tvheadend is updated to 4.3-1857
but the nvenc is on no
how can I reactivate it?

thank you very much for support

no.png (53.4 KB) no.png

RE: tvheadend & transcoding with pipe (ffmpeg) causes pixelation in image - Added by saen acro almost 5 years ago

Gerog De wrote:

tvheadend is updated to 4.3-1857
but the nvenc is on no
how can I reactivate it?

thank you very much for support

https://tvheadend.org/boards/4/topics/24116

RE: tvheadend & transcoding with pipe (ffmpeg) causes pixelation in image - Added by Gerog De almost 5 years ago

saen acro wrote:

Gerog De wrote:

tvheadend is updated to 4.3-1857
but the nvenc is on no
how can I reactivate it?

thank you very much for support

https://tvheadend.org/boards/4/topics/24116

what else needs to be done??

nvenc.png (68.1 KB) nvenc.png

RE: tvheadend & transcoding with pipe (ffmpeg) causes pixelation in image - Added by Gerog De almost 5 years ago

saen acro wrote:


Result of nvidia-smi

has someone an idea???

    (1-15/15)