PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Herausfinden, ob ein Video mit CPU oder GPU encodiert wurde


Platos
2023-04-20, 19:00:51
Kann man irgendwie herausfinden, ob ein Video mit GPU oder CPU encodiert wurde? Und kann man auch herausfinden, welche Qualitätsstufe (CRF) verwendet wurde ?

Gebrechlichkeit
2023-04-20, 19:23:35
MediaInfo kann sowas und zur CRF Frage: es gibt ne winzige open source software, die in der lage ist die parameter auszulesen, auszudrucken, die beim encode genutzt wurde. die ganze ffmpeg zeile, parameter [glaube nur fuer h264] kann somit kopiert werden. I sadly do not remember its name.

https://i.postimg.cc/Z5Vhy0Nh/Screenshot-5.png (https://postimg.cc/XrGPRjx2)

Marscel
2023-04-20, 19:49:17
Was willst du denn wissen? Also ob irgendein Video so oder so encoded wurde, oder ob deine Encoding-Software entsprechendes Offloading beherrscht?

Rooter
2023-04-20, 19:53:12
zur CRF Frage: es gibt ne winzige open source software, die in der lage ist die parameter auszulesen, auszudrucken, die beim encode genutzt wurde. die ganze ffmpeg zeile, parameter [glaube nur fuer h264] kann somit kopiert werden. I sadly do not remember its name.Das kann MediaInfo doch auch.

MfG
Rooter

Gebrechlichkeit
2023-04-20, 20:14:29
Evtl. unter Linux. Die Windows Version spuckt nur die basics raus wie bitrate usw., aber nicht die parameter wie ref frames, crf value und mehr.

Sowas konnte die mini app auslesen, das kann mediainfo [lite edition wohlgem.] mMn nicht unter Windows:

-c:v libaom-av1 -cpu-used 6 -row-mt true -threads 0 -crf 35 -tile-columns 1 -tile-rows 0

edit: stimmt, mediainfo kann das auch. war mir net bewusst. aber nur die, die per cpu encodiert worden sind.

General
Complete name : E:\YT\Busty Asian Connie Perignon-1080p-71391433.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/mp41)
File size : 156 MiB
Duration : 13 min 45 s
Overall bit rate mode : Variable
Overall bit rate : 1 581 kb/s
Writing application : Lavf59.37.100

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L4@Main
Codec ID : hev1
Codec ID/Info : High Efficiency Video Coding
Duration : 13 min 45 s
Bit rate : 1 454 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 0)
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.023
Stream size : 143 MiB (92%)
Writing library : x265 3.5+87-c6bb2a342:[Windows][GCC 12.2.0][64 bit] 8bit+10bit+12bit
Encoding settings : cpuid=1111039 / frame-threads=3 / numa-pools=12 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x1080 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-eob / no-eos / no-hrd / info / hash=0 / temporal-layers=0 / open-gop / min-keyint=25 / keyint=250 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=6 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=3 / limit-refs=1 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / selective-sao=4 / early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=28.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=1 / chromaloc-top=0 / chromaloc-bottom=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=255 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass / no-mcstf / no-sbrc
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Codec configuration box : hvcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 13 min 45 s
Source duration : 13 min 45 s
Bit rate mode : Variable
Bit rate : 118 kb/s
Maximum bit rate : 128 kb/s / 128 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 11.6 MiB (7%)
Source stream size : 11.6 MiB (7%)
Default : Yes
Alternate group : 1

Platos
2023-04-21, 08:08:07
Ok, ich habe media Info, aber wo sehe ich es ? Kann mir das jemand sagen?

Also wo sehe ich da, obs h.265/264 ist und wo sehe ich die qualitätseinstellung crf?

Der Grund dafür ist, weil ich nicht mehr weiss, welche Enstellung ich benutzt habe und ich müsste das wissen. Also es geht um ne Interpolationssoftware, in der man die Encodereinstellungen einstellt.

Rooter
2023-04-23, 19:11:11
Musst bei MediaInfo im View-Menü Text oder HTML auswählen. Dort schau dann nach den Punkten "Writing library" und "Encoding settings". Letzteres gibt es aber nicht immer, z.B. bei YouTube-Videos fehlt es.

MfG
Rooter

Platos
2023-04-24, 16:04:25
Ok, danke, werde ich mir anschauen.

Was bedeutet denn eig. bei x264/265 das Profil mit den L-Nummern ? Also z.B L 4.1 oder sowas ?

Ich habe jetzt z.B bei Format-Profil: Main 10 @ L6.2 @ High stehen. Ist NVenc .265 10 Bit

Habe mich schon paar mal gefragt, was diese Nummern bedeutet.

Rooter
2023-04-24, 18:04:24
L wie Level:
https://de.wikipedia.org/wiki/H.264#Level
https://de.wikipedia.org/wiki/High_Efficiency_Video_Coding#Ebenen_(Tiers)_und_Levels

MfG
Rooter