Après avoir essayé tous les réglages possible, le résultat est toujours le même. Comme des photos valent mieux qu'une explication :
Voici ma source :
Et voici la vidéo encodé :
Comme vous pouvez le voir il y a un sérieux changement de couleur entre les 2 films, que je n'ai pas demandé. j'ai essayé en mettant le contraste et couleur à zéro ou en laissant à 10% sans que ça ne change vraiment.
Et le crop ne fonctionne pas, impossible d'enlever les bandes noires.
Et pourquoi la vidéo encodée fait 1920*1056, alors que j'ai demandé un 1920*1080 puis croppé pour passer en 2.35, soit 1920*816.
Ma source est un bluray rip h265 en 4k dont je veux réduire le poids, je la passe en 1920 toujours en h265 en mode crf.
J'ai essayé en x264 et c'est exactement pareil.
J'ai essayé en cochant et décochant la case yuv12 sans voir de changement non plus.
Et je ne modifie rien dans le script avs :
Code : Tout sélectionner
# **** m4ng & AVIsynth 2.5x script **** pass 2+
LoadPlugin("C:\PROGRA~2\m4ng_v6\system\undot.dll")
Import("C:\PROGRA~2\m4ng_v6\system\HybridFuPP.avsi")
LoadPlugin("C:\PROGRA~2\m4ng_v6\system\deen.dll")
LoadPlugin("C:\PROGRA~2\m4ng_v6\system\motion.dll")
LoadPlugin("C:\PROGRA~2\m4ng_v6\system\MSharpen.dll")
LoadPlugin("C:\PROGRA~2\m4ng_v6\system\MaskTools.dll")
LoadPlugin("C:\PROGRA~2\m4ng_v6\system\MvTools.dll")
LoadPlugin("C:\PROGRA~2\m4ng_v6\system\unfilter.dll")
LoadPlugin("C:\PROGRA~2\m4ng_v6\system\FluxSmooth.dll")
LoadPlugin("C:\PROGRA~2\m4ng_v6\system\Convolution3D.dll")
LoadPlugin("C:\PROGRA~2\m4ng_v6\system\MaskTools.dll")
LoadPlugin("C:\PROGRA~2\m4ng_v6\system\MVTools.dll")
LoadPlugin("C:\PROGRA~2\m4ng_v6\system\Asharp.dll")
LoadPlugin("C:\PROGRA~2\m4ng_v6\system\MSharpen.dll")
LoadPlugin("C:\PROGRA~2\m4ng_v6\system\TDeint.dll")
LoadPlugin("C:\PROGRA~2\m4ng_v6\system\VSFilter.dll") #1
Source="\\SERVERPC\G\MULTIM~1\JDOWNL~1\IRON\IRON.MKV"
Largeur=1920
Hauteur=1080
ratio =1.777778
vratio =1.777778
real_l=1920
real_l4=1920
Crop_g=0
Crop_d=0
Crop_h=128
Crop_b=-136
Borders_g=0
Borders_d=0
Borders_h=0
Borders_b=0
Bit_Rate=23.976000
Indice=0.000559
Video=DirectShowSource( Source, fps=23.976000).DelayAudio(0.000000)
Video=ConvertToYV12(Video)
Video=HybridFupp ( Video, Largeur/8*8, Hauteur/8*8, preset="HybridQ")
# CROP
Video=Crop(Video, crop_g, crop_h, crop_d, crop_b)
Video=ConvertToRGB(Video)
Return(AssumeFrameBased(Video))
Original :
Code : Tout sélectionner
Général
Identifiant unique : 247825897887686546827559231773943862164 (0xBA7188225178A528993595F9F8551394)
Format : Matroska
Version du format : Version 4
Taille du fichier : 56,4 Gio
Durée : 2 h 6 min
Type de débit global : Variable
Débit global moyen : 63,9 Mb/s
Date d'encodage : UTC 2017-10-17 01:17:59
Application utilisée : mkvmerge v16.0.0 ('Protest') 64-bit
Bibliothèque utilisée : libebml v1.3.5 + libmatroska v1.4.8
Vidéo
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Profil du format : Main 10@L5.1@High
HDR_Format/String : SMPTE ST 2086, HDR10 compatible
Identifiant du codec : V_MPEGH/ISO/HEVC
Durée : 2 h 6 min
Débit : 56,0 Mb/s
Largeur : 3 840 pixels
Hauteur : 2 160 pixels
Format à l'écran : 16/9
Type d'images/s : Constant
Images par seconde : 23,976 (23976/1000) Im/s
Norme : Component
Espace de couleurs : YUV
Sous-échantillonnage de la chrominance : 4:2:0 (Type 2)
Profondeur des couleurs : 10 bits
Bits/(Pixel*Image) : 0.282
Taille du flux : 49,4 Gio (88%)
Titre : Iron Man
Default : Oui
Forced : Non
Gamme de couleurs : Limited
Coordonnées de chromaticité : BT.2020
Caractéristiques du transfert : PQ
Coefficients de la matrice : BT.2020 non-constant
MasteringDisplay_ColorPrimaries : Display P3
MasteringDisplay_Luminance : min: 0.0050 cd/m2, max: 1000 cd/m2
Audio #1
ID : 2
Format : DTS XLL
Format/Info : Digital Theater Systems
Nom commercial : DTS-HD Master Audio
Identifiant du codec : A_DTS
Durée : 2 h 6 min
Type de débit : Variable
Débit : 3 885 kb/s
Canaux : 6 canaux
ChannelLayout : C L R Ls Rs LFE
Echantillonnage : 48,0 kHz
Images par seconde : 93,750 Im/s (512 SPF)
Profondeur des couleurs : 24 bits
Mode de compression : Sans perte
Taille du flux : 3,43 Gio (6%)
Titre : French (International) : DTS-HD Master Audio 5.1
Default : Oui
Forced : Non
Audio #2
ID : 3
Format : DTS XLL
Format/Info : Digital Theater Systems
Nom commercial : DTS-HD Master Audio
Identifiant du codec : A_DTS
Durée : 2 h 6 min
Type de débit : Variable
Débit : 4 046 kb/s
Canaux : 6 canaux
ChannelLayout : C L R Ls Rs LFE
Echantillonnage : 48,0 kHz
Images par seconde : 93,750 Im/s (512 SPF)
Profondeur des couleurs : 24 bits
Mode de compression : Sans perte
Taille du flux : 3,57 Gio (6%)
Titre : English : DTS-HD Master Audio 5.1
Default : Non
Forced : Non
Texte #1
ID : 4
Format : UTF-8
Identifiant du codec : S_TEXT/UTF8
Identifiant du codec/Info : UTF-8 Plain Text
Durée : 1 h 3 min
Débit : 1 b/s
ElementCount : 40
Taille du flux : 827 Octets (0%)
Titre : French : Subtitles Forced
Default : Oui
Forced : Non
Texte #2
ID : 5
Format : UTF-8
Identifiant du codec : S_TEXT/UTF8
Identifiant du codec/Info : UTF-8 Plain Text
Durée : 2 h 4 min
Débit : 43 b/s
ElementCount : 1349
Taille du flux : 39,7 Kio (0%)
Titre : French : Subtitles
Default : Non
Forced : Non
Texte #3
ID : 6
Format : UTF-8
Identifiant du codec : S_TEXT/UTF8
Identifiant du codec/Info : UTF-8 Plain Text
Durée : 2 h 4 min
Débit : 57 b/s
ElementCount : 1336
Taille du flux : 52,1 Kio (0%)
Titre : English : Subtitles
Default : Non
Forced : Non
Menu
00:00:00.000 : en:Chapter 1
00:04:40.655 : en:Chapter 2
00:10:52.944 : en:Chapter 3
00:17:07.609 : en:Chapter 4
00:26:23.248 : en:Chapter 5
00:33:08.944 : en:Chapter 6
00:42:20.537 : en:Chapter 7
00:49:00.729 : en:Chapter 8
00:52:58.758 : en:Chapter 9
01:05:15.328 : en:Chapter 10
01:15:24.144 : en:Chapter 11
01:25:00.762 : en:Chapter 12
01:30:49.777 : en:Chapter 13
01:36:06.093 : en:Chapter 14
01:42:39.736 : en:Chapter 15
01:53:51.741 : en:Chapter 16
01:57:38.050 : en:Chapter 17
Code : Tout sélectionner
Général
Identifiant unique : 200697547820468723689713702034340637727 (0x96FCF113FD19E21A2F8FF7537E5CEC1F)
Format : Matroska
Version du format : Version 4
Taille du fichier : 6,58 Gio
Durée : 2 h 6 min
Type de débit global : Variable
Débit global moyen : 7 446 kb/s
Date d'encodage : UTC 2020-04-18 16:00:43
Application utilisée : mkvmerge v45.0.0 ('Heaven in Pennies') 64-bit
Bibliothèque utilisée : libebml v1.3.10 + libmatroska v1.5.2
Vidéo
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Profil du format : Main 10@L4@Main
Identifiant du codec : V_MPEGH/ISO/HEVC
Durée : 2 h 6 min
Débit : 3 560 kb/s
Largeur : 1 920 pixels
Hauteur : 1 056 pixels
Format à l'écran : 16/9
Type d'images/s : Constant
Images par seconde : 23,976 (23976/1000) Im/s
Espace de couleurs : YUV
Sous-échantillonnage de la chrominance : 4:2:0
Profondeur des couleurs : 10 bits
Bits/(Pixel*Image) : 0.073
Taille du flux : 3,14 Gio (48%)
Bibliothèque utilisée : x265 3.2+6-7fa570ead8d3:[Windows][GCC 9.2.0][64 bit] 10bit
Paramètres d'encodage : cpuid=1111039 / frame-threads=1 / numa-pools=2 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x1056 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=5 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=40 / lookahead-slices=0 / scenecut=40 / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / amp / max-tu-size=32 / tu-inter-depth=3 / tu-intra-depth=3 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=5 / limit-refs=0 / no-limit-modes / me=3 / subme=4 / merange=57 / temporal-mvp / no-hme / weightp / weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=6 / selective-sao=4 / no-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=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=21.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=0 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / 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-hdr / no-hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / 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
Default : Oui
Forced : Non
Gamme de couleurs : Limited
Coordonnées de chromaticité : BT.709
Caractéristiques du transfert : BT.709
Coefficients de la matrice : BT.709
Audio
ID : 2
Format : DTS XLL
Format/Info : Digital Theater Systems
Nom commercial : DTS-HD Master Audio
Identifiant du codec : A_DTS
Durée : 2 h 6 min
Type de débit : Variable
Débit : 3 885 kb/s
Canaux : 6 canaux
ChannelLayout : C L R Ls Rs LFE
Echantillonnage : 48,0 kHz
Images par seconde : 93,750 Im/s (512 SPF)
Profondeur des couleurs : 24 bits
Mode de compression : Sans perte
Taille du flux : 3,43 Gio (52%)
Titre : French (International) : DTS-HD Master Audio 5.1
Default : Oui
Forced : Non
Texte #1
ID : 3
Format : UTF-8
Identifiant du codec : S_TEXT/UTF8
Identifiant du codec/Info : UTF-8 Plain Text
Durée : 1 h 3 min
Débit : 1 b/s
ElementCount : 40
Taille du flux : 827 Octets (0%)
Titre : French : Subtitles Forced
Default : Oui
Forced : Non
Texte #2
ID : 4
Format : UTF-8
Identifiant du codec : S_TEXT/UTF8
Identifiant du codec/Info : UTF-8 Plain Text
Durée : 2 h 4 min
Débit : 43 b/s
ElementCount : 1349
Taille du flux : 39,7 Kio (0%)
Titre : French : Subtitles
Default : Non
Forced : Non
Texte #3
ID : 5
Format : UTF-8
Identifiant du codec : S_TEXT/UTF8
Identifiant du codec/Info : UTF-8 Plain Text
Durée : 2 h 4 min
Débit : 57 b/s
ElementCount : 1336
Taille du flux : 52,1 Kio (0%)
Titre : English : Subtitles
Default : Non
Forced : Non
Menu
00:00:00.000 : en:Chapter 1
00:04:40.655 : en:Chapter 2
00:10:52.944 : en:Chapter 3
00:17:07.609 : en:Chapter 4
00:26:23.248 : en:Chapter 5
00:33:08.944 : en:Chapter 6
00:42:20.537 : en:Chapter 7
00:49:00.729 : en:Chapter 8
00:52:58.758 : en:Chapter 9
01:05:15.328 : en:Chapter 10
01:15:24.144 : en:Chapter 11
01:25:00.762 : en:Chapter 12
01:30:49.777 : en:Chapter 13
01:36:06.093 : en:Chapter 14
01:42:39.736 : en:Chapter 15
01:53:51.741 : en:Chapter 16
01:57:38.050 : en:Chapter 17
Donc pouvez-vous me dire pourquoi les couleurs changent et pourquoi il y a ce problème de redimensionnement et crop ? Là je sèche.