Temps d'encodage HEVC -> AVC de plus de 24H

support de m4ng dans sa version 6
Répondre
Lobo
Messages : 36
Enregistré le : dim. 20 févr., 2011 13:08

Temps d'encodage HEVC -> AVC de plus de 24H

Message par Lobo »

Bonjour,
L’encodage d'un film HEVC vers AVC est tellement lent qu'il prend plus de 24H. :gy:
Mon PC n'est certes pas tout jeune, mais je me dis qu'il y a sans doute un paramètre qui ne va pas ?

par exemple :

General
Count : 331
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Unique ID : 230833964752660613009776257311744820693
Unique ID : 230833964752660613009776257311744820693 (0xADA901263FA5CE288CA46A98147D85D5)
Count of video streams : 1
Count of audio streams : 1
Video_Format_List : HEVC
Video_Format_WithHint_List : HEVC
Codecs Video : HEVC
Audio_Format_List : MPEG Audio
Audio_Format_WithHint_List : MPEG Audio (MP3)
Audio codecs : MPEG Audio
Complete name : D:\MESVID~1\BLOOD.FOR.DRACULA.1974.MULTI.VFI.2160P.10BIT.4KLIGHT.HDR.BLURAY.DTS-HD.MA.1.0.X265-QTZ-WAWACITY.ONL (1).MKV
Folder name : D:\MESVID~1
File name extension : BLOOD.FOR.DRACULA.1974.MULTI.VFI.2160P.10BIT.4KLIGHT.HDR.BLURAY.DTS-HD.MA.1.0.X265-QTZ-WAWACITY.ONL (1).MKV
File name : BLOOD.FOR.DRACULA.1974.MULTI.VFI.2160P.10BIT.4KLIGHT.HDR.BLURAY.DTS-HD.MA.1.0.X265-QTZ-WAWACITY.ONL (1)
File extension : MKV
Format : Matroska
Format : Matroska
Format/Url : https://matroska.org/downloads/windows.html
Format/Extensions usually used : mkv mk3d mka mks
Commercial name : Matroska
Format version : Version 4
File size : 4795806036
File size : 4.47 GiB
File size : 4 GiB
File size : 4.5 GiB
File size : 4.47 GiB
File size : 4.466 GiB
Duration : 6186096
Duration : 1 h 43 min
Duration : 1 h 43 min 6 s 96 ms
Duration : 1 h 43 min
Duration : 01:43:06.096
Duration : 01:43:07;14
Duration : 01:43:06.096 (01:43:07;14)
Overall bit rate : 6202046
Overall bit rate : 6 202 kb/s
Frame rate : 23.976
Frame rate : 23.976 FPS
Frame count : 148316
Stream size : 1439769
Stream size : 1.37 MiB (0%)
Stream size : 1 MiB
Stream size : 1.4 MiB
Stream size : 1.37 MiB
Stream size : 1.373 MiB
Stream size : 1.37 MiB (0%)
Proportion of this stream : 0.00030
IsStreamable : Yes
Title : Blood for Dracula (1974) MULTi VFI 2160p 10bit 4KLight HDR BluRay DTS-HD MA 1.0 x265-QTZ
Movie name : Blood for Dracula (1974) MULTi VFI 2160p 10bit 4KLight HDR BluRay DTS-HD MA 1.0 x265-QTZ
Encoded date : UTC 2023-03-26 19:34:42
File creation date : UTC 2023-05-20 07:22:01.535
File creation date (local) : 2023-05-20 09:22:01.535
File last modification date : UTC 2023-04-03 21:18:52.000
File last modification date (local) : 2023-04-03 23:18:52.000
Writing application : mkvmerge v9.9.0 ('Pick Up') 64bit
Writing application : mkvmerge v9.9.0 ('Pick Up') 64bit
Writing library : libebml v1.3.4 + libmatroska v1.4.5
Writing library : libebml v1.3.4 + libmatroska v1.4.5

Video
Count : 377
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
StreamOrder : 0
ID : 1
ID : 1
Unique ID : 14348307105993770089
Format : HEVC
Format : HEVC
Format/Info : High Efficiency Video Coding
Format/Url : http://www.itu.int
Commercial name : HEVC
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2086
HDR format : SMPTE ST 2086, HDR10 compatible
HDR_Format_Commercial : HDR10
HDR_Format_Compatibility : HDR10
Internet media type : video/H265
Codec ID : V_MPEGH/ISO/HEVC
Duration : 6186013.000000
Duration : 1 h 43 min
Duration : 1 h 43 min 6 s 13 ms
Duration : 1 h 43 min
Duration : 01:43:06.013
Duration : 01:43:07;14
Duration : 01:43:06.013 (01:43:07;14)
Bit rate : 6072265
Bit rate : 6 072 kb/s
Width : 3840
Width : 3 840 pixels
Height : 2076
Height : 2 076 pixels
Stored_Height : 2080
Sampled_Width : 3840
Sampled_Height : 2076
Pixel aspect ratio : 1.000
Display aspect ratio : 1.850
Display aspect ratio : 1.85:1
Frame rate mode : CFR
Frame rate mode : Constant
Frame rate : 23.976
Frame rate : 23.976 (24000/1001) FPS
FrameRate_Num : 24000
FrameRate_Den : 1001
Frame count : 148316
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0 (Type 2)
ChromaSubsampling_Position : Type 2
Bit depth : 10
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.032
Delay : 0
Delay : 00:00:00.000
Delay, origin : Container
Delay, origin : Container
Stream size : 4695389115
Stream size : 4.37 GiB (98%)
Stream size : 4 GiB
Stream size : 4.4 GiB
Stream size : 4.37 GiB
Stream size : 4.373 GiB
Stream size : 4.37 GiB (98%)
Proportion of this stream : 0.97906
Default : Yes
Default : Yes
Forced : No
Forced : No
colour_description_present : Yes
colour_description_present_Source : Stream
Color range : Limited
colour_range_Source : Stream
Color primaries : BT.2020
colour_primaries_Source : Stream
Transfer characteristics : PQ
transfer_characteristics_Source : Stream
Matrix coefficients : BT.2020 non-constant
matrix_coefficients_Source : Stream
Mastering display color primaries : R: x=0.680000 y=0.320000, G: x=0.264000 y=0.690000, B: x=0.150000 y=0.060000, White point: x=0.312700 y=0.330000
MasteringDisplay_ColorPrimaries_Source : Stream
Mastering display luminance : min: 0.0002 cd/m2, max: 2000 cd/m2
MasteringDisplay_Luminance_Source : Stream
Maximum Content Light Level : 10000 cd/m2
MaxCLL_Source : Stream
Maximum Frame-Average Light Level : 400 cd/m2
MaxFALL_Source : Stream

Audio
Count : 277
Count of stream of this kind : 1
Kind of stream : Audio
Kind of stream : Audio
Stream identifier : 0
StreamOrder : 1
ID : 2
ID : 2
Unique ID : 4014297471084019842
Format : MPEG Audio
Format : MPEG Audio
Commercial name : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Internet media type : audio/mpeg
Codec ID : A_MPEG/L3
Codec ID/Hint : MP3
Codec ID/Url : http://www.iis.fraunhofer.de/amm/index.html
Duration : 6186096.000000
Duration : 1 h 43 min
Duration : 1 h 43 min 6 s 96 ms
Duration : 1 h 43 min
Duration : 01:43:06.096
Duration : 01:42:16:41
Duration : 01:43:06.096 (01:42:16:41)
Bit rate mode : CBR
Bit rate mode : Constant
Bit rate : 128000
Bit rate : 128 kb/s
Channel(s) : 2
Channel(s) : 2 channels
Samples per frame : 1152
Sampling rate : 48000
Sampling rate : 48.0 kHz
Samples count : 296931456
Frame rate : 41.667
Frame rate : 41.667 FPS (1152 SPF)
Frame count : 257753
Compression mode : Lossy
Compression mode : Lossy
Delay : 0
Delay : 00:00:00.000
Delay, origin : Container
Delay, origin : Container
Delay relative to video : 0
Delay relative to video : 00:00:00.000
Stream size : 98977152
Stream size : 94.4 MiB (2%)
Stream size : 94 MiB
Stream size : 94 MiB
Stream size : 94.4 MiB
Stream size : 94.39 MiB
Stream size : 94.4 MiB (2%)
Proportion of this stream : 0.02064
Writing library : LAME3.98r
Writing library : LAME3.98r
Encoding settings : -m s -V 4 -q 2 -lowpass 17 -b 128
Default : Yes
Default : Yes
Forced : No
Forced : No
Avatar du membre
Subbat
Administrateur
Administrateur
Messages : 8836
Enregistré le : jeu. 11 déc., 2008 20:12
Localisation : Quelque part... dans le centre de la France...

Re: Temps d'encodage HEVC -> AVC de plus de 24H

Message par Subbat »

Salut,

Sans certitude aucune, je pense que ça vient du fait que ta source soit en HDR (encodage 10 bits + couleur en BT 2020). Par défaut, sur une source de ce type, m4ng applique une conversion en 8 bits + couleur en bt 709.

C'est surtout le traitement couleur qui prend de la ressource...

Donc si tu gardes la résolution 4k de ta source + ce traitement hdr vers "standard" je pense que la durée d'encodage excessive se trouve ici.

Tu as la possibilité de conserver le HDR même en encodage en AVC normalement... cette option est assez visible et se trouve juste au dessus des autres paramétrages de l'encodage. Sur le tuto encoder/reencoder une vidéo accessible depuis ma signature cette option est expliquée au point 3.

Subbat
Répondre