This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

ffmpeg nvidia cuda turbomodus
#19
Der Encodingaufruf sieht eigentlich aokay aus.
/home/ede/hybrid/ffmpeg" -y -noautorotate -nostdin -hwaccel cuda -hwaccel_output_format cuda -threads 1 -r 50/1 -analyzeduration 200M -probesize 200M -i "/home/ede/Videos/Katalog.ts" -map 0:0 -an -sn -vf  scale=in_range=tv:out_range=tv -pix_fmt yuv420p -vsync 0 -vcodec hevc_nvenc -preset 3 -profile:v 1 -level 0 -tier main -rc vbr -2pass 1 -qmin 0 -qmax 51 -b:v 3500k -surfaces 32 -nonref_p 1 -strict_gop 1 -bsf:v hevc_mp4toannexb -metadata encoding_tool="Hybrid 2022.09.10.1" "/tmp/Katalog_2022-09-24@10_46_43_8610_02.265"
scheint das der Decoder einige Probleme mit der Quelle hat:
[hevc @ 0x55dd35b00c00] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x55dd35b00c00] Error parsing NAL unit #2.
[hevc @ 0x55dd35b00c00] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x55dd35b00c00] Error parsing NAL unit #2.
[hevc @ 0x55dd35b00c00] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x55dd35b00c00] Error parsing NAL unit #2.
[hevc @ 0x55dd35b00c00] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x55dd35b00c00] Error parsing NAL unit #2.
[hevc @ 0x55dd35b00c00] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x55dd35b00c00] Error parsing NAL unit #2.
[hevc @ 0x55dd35b00c00] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x55dd35b00c00] Error parsing NAL unit #2.
[hevc @ 0x55dd35b00c00] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x55dd35b00c00] Error parsing NAL unit #2.
[hevc @ 0x55dd35b00c00] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x55dd35b00c00] Error parsing NAL unit #2.
[hevc @ 0x55dd35b00c00] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x55dd35b00c00] Error parsing NAL unit #2.
[hevc @ 0x55dd35b00c00] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x55dd35b00c00] Error parsing NAL unit #2.
[hevc @ 0x55dd35b00c00] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x55dd35b00c00] Error parsing NAL unit #2.
[hevc @ 0x55dd35b00c00] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x55dd35b00c00] Error parsing NAL unit #2.
[hevc @ 0x55dd35b00c00] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x55dd35b00c00] Error parsing NAL unit #2.
[hevc @ 0x55dd35b00c00] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x55dd35b00c00] Error parsing NAL unit #2.
[mp3float @ 0x55dd35b1d440] Header missing
[hevc @ 0x55dd35b00c00] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x55dd35b00c00] Error parsing NAL unit #2.

[mpegts @ 0x55dd35afa040] stream 1 : no PTS found at end of file, duration not set

Input #0, mpegts, from '/home/ede/Videos/Katalog.ts':
  Duration: 00:10:05.09, start: 915.729311, bitrate: 24772 kb/s
  Program 2000
  Program 2001
  Program 2005
  Program 2010
  Stream #0:0[0xaff]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p10le(tv), 3840x2160 [SAR 1:1 DAR 16:9],
50 fps, 50 tbr, 90k tbn
  Stream #0:1[0xb00](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s

Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> hevc (hevc_nvenc))

[hevc @ 0x55dd36a84680] Could not find ref with POC 40

[hevc @ 0x55dd36a84680] Could not find ref with POC 32

[hevc @ 0x55dd36a84680] Could not find ref with POC 48

Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_0'

Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented

Error while processing the decoded data for stream #0:0

Conversion failed!
Aber das Problem ist, denke ich:
Quote:'graph 0 input from stream 0:0' and the filter 'auto_scaler_0'

Funktioniert der Aufruf bei Dir, wenn Du anstatt 'scale=' 'scale_cuda=' verwendest?
-> Kannst Du vergessen das wird nicht gehen, da scale_cuda 'in_range=tv:out_range=tv ' nicht unterstützt.

ffmpeg -y -noautorotate -nostdin -hwaccel cuda -hwaccel_output_format cuda -threads 1 -i 10bit Test.mkv -map 0:0 -an -sn -vf  scale=in_range=tv:out_range=tv -pix_fmt yuv422p -vsync 0 -vcodec hevc_nvenc -preset 2 -profile:v 1 -level 0 -tier main -rc vbr -2pass 1 -qmin 0 -qmax 51 -b:v 1500k -surfaces 32 -nonref_p 1 -strict_gop 1 -bsf:v hevc_mp4toannexb -metadata encoding_tool="Hybrid 2022.09.15.1" 10bit Test_2022-09-24@11_12_54_2810_01.265
bei mir probiert, das läuft ohne Probleme.
-> liegt vielleicht doch an der Quelle bei Dir. (ja, hab gerade auch mal mit dem bei Dir verwendeten Aufruf, aber einer Quelle von mir verwendet -> keine Probleme, liegt vermutlich an der Quelle.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
RE: ffmpeg nvidia cuda turbomodus - by Selur - 10.09.2022, 11:28
RE: ffmpeg nvidia cuda turbomodus - by Selur - 10.09.2022, 12:48
RE: ffmpeg nvidia cuda turbomodus - by Selur - 10.09.2022, 12:50
RE: ffmpeg nvidia cuda turbomodus - by Selur - 10.09.2022, 15:03
RE: ffmpeg nvidia cuda turbomodus - by Selur - 10.09.2022, 15:42
RE: ffmpeg nvidia cuda turbomodus - by Selur - 10.09.2022, 15:55
RE: ffmpeg nvidia cuda turbomodus - by Selur - 10.09.2022, 16:27
RE: ffmpeg nvidia cuda turbomodus - by Selur - 10.09.2022, 16:59
RE: ffmpeg nvidia cuda turbomodus - by Selur - 14.09.2022, 04:59
RE: ffmpeg nvidia cuda turbomodus - by Selur - 14.09.2022, 17:08
RE: ffmpeg nvidia cuda turbomodus - by Selur - 24.09.2022, 11:08

Forum Jump:


Users browsing this thread: 1 Guest(s)