Vitesse d'encodage très lente en x265

support de m4ng dans sa version 6
Répondre
Tuane
Messages : 12
Enregistré le : lun. 06 janv., 2020 17:43

Vitesse d'encodage très lente en x265

Message par Tuane »

Bonjour tout le monde !

Pour commencer, bonne année déjà :d:

Et aussi merci pour ce formidable logiciel que j'utilise depuis sa version v3. N'étant qu'un débutant en encodage, je ne connais rien des lignes de commande, et ce logiciel est vraiment génial pour des gens comme moi. Même le mode Avancé est à la portée de tous.

La v5 étant périmée, je suis donc passé à la v6. Quel ne fut pas mon étonnement de voir ma vitesse d'encodage en x265 chuter aussi significativement. En effet, auparavant, j'encodais à environ 24 images par seconde en 1080p et en preset Veryslow sans optimisation pour l'encodeur x265, donc Optimisation sur Aucune, Profil sur Auto et Level sur Auto. J'ai un Ryzen 7 2700x, alors c'est plutôt sympa pour l'encodage x265 et je pensais pouvoir être tranquille pour un moment avec. Je sais que les presets ont été refondus avec la dernière version du x265, et que l'équivalent de l'ancien preset Veryslow est aujourd'hui le preset Slower, donc un cran en dessous. Je viens donc de tester en encodage avec les mêmes réglages qu'avant mais en Slower, et là c'est la claque, je tombe à une vitesse de 3 images par seconde :roll:

Avant, on n'avait pas le choix pour régler le Profil et le Level, et un encodage en x265 1080p avec environ un débit de 2000 Kbits/s avait comme profil dans MediaInfo "Format profile : Main@L4@Main", donc Profil Main et Level L4. Je retente avec ces réglages-là au lieu de Auto et toujours avec le preset Slower, mais le résultat n'est pas différent. Autre essai, je mets le preset en Medium et là je suis à 3.1 images par seconde, à 3.2 en preset Veryfast et 3.3 en Ultrafast. J'oubliais, là c'est en mode Autonome, car en mode Manuel c'est encore pire, autour de 1-2 images par seconde

Du coup, je ne comprends pas trop ce qui a pu changer autant entre les versions 5 et 6, car là c'est le jour et la nuit. Peut-être y a-t-il quelque chose que j'ai mal réglé ou mal installé. Quelqu'un d'autre a eu la même expérience ? Ou un conseil ?

Un grand merci d'avance !
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: Vitesse d'encodage très lente en x265

Message par Subbat »

Salut,

Tout ce que tu dis là est pour le moins très étrange...
1. les paramètres de vitesse n'ont pas changé entre la v5 et la v6... le preset veryslow de la v5 est toujours veryslow dans la v6... l'encodeur x265 n'a pas changer de ce côté là...
Avant il n'y avait pas de réglage du profil et du level... en les mettant sur auto dans la v6, tu te retrouves dans la configuration de la v5...
Tu es sur que sur la v5 tu n'utilisais pas l'encodage hardware par hasard (utilisation de la GPU) ?

Tu peux, paramétrer un encodage d'une source 1080p comme tu dis... avec la vitesse veryslow comme tu veux tout le reste sur auto et sans optimisation... au débit que tu souhaites... ensuite tu lances en mode autonome (tu laisses faire quelques secondes pour constater le fps), tu fais pareil en mode normal...

Ensuite, tu vas dans le dossier de travail via le bouton (?). tu cherches les fichiers ffmpeg_debug.bat et x265_debug.bat.
Tu fais un clic droit sur chacun d'entre eux puis modifier et tu copies ici le contenu de chacun... on verra s'il y a un soucis dans tes paramètres...

Et grace à ces 2 fichiers, on pourra même en les modifiant quelque peu, utiliser les encodeurs de la v5 pour voir s'il y a vraiment une différence entre la v6 et la v5 au niveau vitesse à paramétrage identique...
Tuane
Messages : 12
Enregistré le : lun. 06 janv., 2020 17:43

Re: Vitesse d'encodage très lente en x265

Message par Tuane »

Merci pour ta réponse.

Alors je n'ai jamais utilisé d'encodage hardware et pour cause je n'ai pas de carte graphique nVidia. J'ai une Radeon RX 480 et elle n'est pas compatible.

Voici pour le ffmpeg_debug.bat :

Code : Tout sélectionner

chcp 1252
"D:\_Outils\M4ng_v6\system\ffmpeg_64\ffmpeg.exe" -i "G:\_DIVXR~1\FILM.MKV" -filter_complex "scale=1920:808, setdar=2.39, crop=1920:804:0:2, scale=1920:804"  -pix_fmt yuv420p  -map 0:0   -f matroska -c:v libx265 -preset slower   -b:v 1921k  -x265-params pass=2:stats="x265log.log":colormatrix=bt2020nc:transfer=smpte2084:colorprim=bt2020: -y G:\_DIVXR~1\MALFIQ~1\_MALEF~1.MKV
pause
Et pour le x265_debug.bat :

Code : Tout sélectionner

chcp 1252
D:\_Outils\M4ng_v6\system\avs4x265.exe --x265-binary "D:\_Outils\M4ng_v6\system\x265_cli\x265_64.exe" --fps 23.976000  --bitrate 1921 --preset veryslow --output-depth 8 --colorprim bt709 --transfer bt709 --colormatrix bt709   --pass 1 --stats "G:\_DivX à réencoder 4\Maléfique - Le Pouvoir Du Mal\x265.log"  -o nul C:\Users\tuan1\AppData\Roaming\m4ng\Am4ng.avs

D:\_Outils\M4ng_v6\system\avs4x265.exe --x265-binary "D:\_Outils\M4ng_v6\system\x265_cli\x265_64.exe" --fps 23.976000  --bitrate 1921 --preset veryslow --output-depth 8 --colorprim bt709 --transfer bt709 --colormatrix bt709   --pass 2 --stats "G:\_DivX à réencoder 4\Maléfique - Le Pouvoir Du Mal\x265.log"  -o "G:\FILM.265" C:\Users\tuan1\AppData\Roaming\m4ng\Am4ng.avs
pause
Du charabia ^^
Tuane
Messages : 12
Enregistré le : lun. 06 janv., 2020 17:43

Re: Vitesse d'encodage très lente en x265

Message par Tuane »

Par curiosité, j'ai utilisé les mêmes réglages mais cette fois-ci pour le x264. Là je suis à 209 images par seconde.

Et je pense que c'est hors sujet, mais j'ai remarqué une différence de charge du processeur, mais c'est peut-être dû simplement au matériel. J'étais sur un i7 4790K avant (4c/8t), et en encodage tous les cores/threads étaient à 100%. Là sur Ryzen 7 2700x (8c/16t), je peine à dépasser les 65% de charge processeur. Je me demandais si c'était normal ou si les Ryzen n'étaient pas bien optimisés pour l'encodage. D'où la baisse de framerate ?
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: Vitesse d'encodage très lente en x265

Message par Subbat »

Salut,

La seule chose que je vois qui pourrais avoir une incidence sur la vitesse est la conversion HDR en SDR pour les vidéos sources HDR... Mais tes batchs n'indiquent rien dans ce sens...

En revanche, vu que tu fais du 2 passes difficile d'être sur du problème et de tester en modifiant à la main le batch...

Peux poster l'analyse vidéo de ta source, puis refaire ce que je t'ai demandé juste avant mais en configurant l'encodage sur une seule passe... juste pour le test...
Tuane
Messages : 12
Enregistré le : lun. 06 janv., 2020 17:43

Re: Vitesse d'encodage très lente en x265

Message par Tuane »

Alors l'analyse vidéo de la source, je n'ai jamais fait avant. Pourrais-tu me dire comment, stp ?

Je viens de tester en 1-pass, aucun changement, c'est toujours du 3 images par seconde en mode autonome et 1.65 en mode manuel

Ffmpeg_debug.bat en 1-pass :

Code : Tout sélectionner

chcp 1252
"D:\_Outils\M4ng_v6\system\ffmpeg_64\ffmpeg.exe" -i "G:\_DIVXR~1\MALFIQ~1\MALEFI~1.MKV" -filter_complex "scale=1920:808, setdar=2.39, crop=1920:804:0:2, scale=1920:804"  -pix_fmt yuv420p  -map 0:0   -f matroska  -c:v libx265 -preset veryslow   -x265-params colormatrix=bt2020nc:transfer=smpte2084:colorprim=bt2020: bitrate=1921  -y "G:\_DIVXR~1\MALFIQ~1\_MALEF~1.MKV" 
pause
x265_debug.bat en 1-pass :

Code : Tout sélectionner

chcp 1252
D:\_Outils\M4ng_v6\system\avs4x265.exe --x265-binary "D:\_Outils\M4ng_v6\system\x265_cli\x265_64.exe" --fps 23.976000  --bitrate 1921 --preset veryslow --output-depth 8 --colorprim bt709 --transfer bt709 --colormatrix bt709   --preset veryslow  -o "G:\_DIVX à RéENCODER 4\MALéFIQUE - LE POUVOIR DU MAL\MALEFICENT.MISTRESS.OF.EVIL.2019.1080P.BLURAY.X264.DTS-HD.MA.7.1-FGT_.265" C:\Users\tuan1\AppData\Roaming\m4ng\Am4ng.avs
pause
Si je trouve pas de solution, je serai dégoûté, car j'adore m4ng :oups:
Modifié en dernier par Tuane le mar. 07 janv., 2020 21:32, modifié 1 fois.
Tuane
Messages : 12
Enregistré le : lun. 06 janv., 2020 17:43

Re: Vitesse d'encodage très lente en x265

Message par Tuane »

Ça y est, en fouillant, j'ai trouvé l'analyse vidéo de mon fichier. Je t'affiche l'analyse complète

ffinfo.txt :

Code : Tout sélectionner

[STREAM]
index=0
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
profile=High
codec_type=video
codec_time_base=1001/48000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=1920
height=808
coded_width=1920
coded_height=816
has_b_frames=2
sample_aspect_ratio=1:1
display_aspect_ratio=240:101
pix_fmt=yuv420p
level=41
color_range=unknown
color_space=unknown
color_transfer=unknown
color_primaries=unknown
chroma_location=left
field_order=progressive
timecode=N/A
refs=1
is_avc=true
nal_length_size=4
id=N/A
r_frame_rate=24000/1001
avg_frame_rate=24000/1001
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=N/A
duration=N/A
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:language=eng
TAG:title=Maleficent.Mistress.Of.Evil.2019.1080p.BluRay.x264.DTS-HD.MA.7.1-FGT
TAG:BPS-eng=9021970
TAG:DURATION-eng=01:58:50.540000000
TAG:NUMBER_OF_FRAMES-eng=170962
TAG:NUMBER_OF_BYTES-eng=8041440023
TAG:_STATISTICS_WRITING_APP-eng=mkvmerge v41.0.0 ('Smarra') 64-bit
TAG:_STATISTICS_WRITING_DATE_UTC-eng=2020-01-02 17:47:42
TAG:_STATISTICS_TAGS-eng=BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[/STREAM]
[STREAM]
index=1
codec_name=dts
codec_long_name=DCA (DTS Coherent Acoustics)
profile=DTS-HD MA
codec_type=audio
codec_time_base=1/48000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
sample_fmt=s32p
sample_rate=48000
channels=8
channel_layout=7.1
bits_per_sample=0
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=N/A
duration=N/A
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=24
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:language=eng
TAG:title=Maleficent.Mistress.Of.Evil.2019.1080p.BluRay.x264.DTS-HD.MA.7.1-FGT
TAG:BPS-eng=5248892
TAG:DURATION-eng=01:58:50.550000000
TAG:NUMBER_OF_FRAMES-eng=668489
TAG:NUMBER_OF_BYTES-eng=4678436252
TAG:_STATISTICS_WRITING_APP-eng=mkvmerge v41.0.0 ('Smarra') 64-bit
TAG:_STATISTICS_WRITING_DATE_UTC-eng=2020-01-02 17:47:42
TAG:_STATISTICS_TAGS-eng=BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[/STREAM]
[STREAM]
index=2
codec_name=subrip
codec_long_name=SubRip subtitle
profile=unknown
codec_type=subtitle
codec_time_base=0/1
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=N/A
height=N/A
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=7130550
duration=7130.550000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:language=eng
TAG:title=English-SRT
TAG:BPS-eng=34
TAG:DURATION-eng=01:52:50.295000000
TAG:NUMBER_OF_FRAMES-eng=1145
TAG:NUMBER_OF_BYTES-eng=28950
TAG:_STATISTICS_WRITING_APP-eng=mkvmerge v41.0.0 ('Smarra') 64-bit
TAG:_STATISTICS_WRITING_DATE_UTC-eng=2020-01-02 17:47:42
TAG:_STATISTICS_TAGS-eng=BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[/STREAM]
[STREAM]
index=3
codec_name=hdmv_pgs_subtitle
codec_long_name=HDMV Presentation Graphic Stream subtitles
profile=unknown
codec_type=subtitle
codec_time_base=0/1
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=N/A
height=N/A
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=7130550
duration=7130.550000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:language=eng
TAG:title=English-PGS
TAG:BPS-eng=31035
TAG:DURATION-eng=01:53:05.237000000
TAG:NUMBER_OF_FRAMES-eng=3210
TAG:NUMBER_OF_BYTES-eng=26323163
TAG:_STATISTICS_WRITING_APP-eng=mkvmerge v41.0.0 ('Smarra') 64-bit
TAG:_STATISTICS_WRITING_DATE_UTC-eng=2020-01-02 17:47:42
TAG:_STATISTICS_TAGS-eng=BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[/STREAM]
[STREAM]
index=4
codec_name=mjpeg
codec_long_name=Motion JPEG
profile=Baseline
codec_type=video
codec_time_base=0/1
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=120
height=176
coded_width=120
coded_height=176
has_b_frames=0
sample_aspect_ratio=N/A
display_aspect_ratio=N/A
pix_fmt=yuvj444p
level=-99
color_range=pc
color_space=bt470bg
color_transfer=unknown
color_primaries=unknown
chroma_location=center
field_order=unknown
timecode=N/A
refs=1
id=N/A
r_frame_rate=90000/1
avg_frame_rate=0/0
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=641749500
duration=7130.550000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=1
DISPOSITION:timed_thumbnails=0
TAG:filename=small_cover.jpg
TAG:mimetype=image/jpeg
[/STREAM]
[STREAM]
index=5
codec_name=mjpeg
codec_long_name=Motion JPEG
profile=Baseline
codec_type=video
codec_time_base=0/1
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=213
height=120
coded_width=213
coded_height=120
has_b_frames=0
sample_aspect_ratio=N/A
display_aspect_ratio=N/A
pix_fmt=yuvj444p
level=-99
color_range=pc
color_space=bt470bg
color_transfer=unknown
color_primaries=unknown
chroma_location=center
field_order=unknown
timecode=N/A
refs=1
id=N/A
r_frame_rate=90000/1
avg_frame_rate=0/0
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=641749500
duration=7130.550000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=1
DISPOSITION:timed_thumbnails=0
TAG:filename=small_cover_land.jpg
TAG:mimetype=image/jpeg
[/STREAM]
[STREAM]
index=6
codec_name=mjpeg
codec_long_name=Motion JPEG
profile=Baseline
codec_type=video
codec_time_base=0/1
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=600
height=882
coded_width=600
coded_height=882
has_b_frames=0
sample_aspect_ratio=N/A
display_aspect_ratio=N/A
pix_fmt=yuvj444p
level=-99
color_range=pc
color_space=bt470bg
color_transfer=unknown
color_primaries=unknown
chroma_location=center
field_order=unknown
timecode=N/A
refs=1
id=N/A
r_frame_rate=90000/1
avg_frame_rate=0/0
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=641749500
duration=7130.550000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=1
DISPOSITION:timed_thumbnails=0
TAG:filename=cover.jpg
TAG:mimetype=image/jpeg
[/STREAM]
[STREAM]
index=7
codec_name=mjpeg
codec_long_name=Motion JPEG
profile=Baseline
codec_type=video
codec_time_base=0/1
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=1067
height=600
coded_width=1067
coded_height=600
has_b_frames=0
sample_aspect_ratio=N/A
display_aspect_ratio=N/A
pix_fmt=yuvj444p
level=-99
color_range=pc
color_space=bt470bg
color_transfer=unknown
color_primaries=unknown
chroma_location=center
field_order=unknown
timecode=N/A
refs=1
id=N/A
r_frame_rate=90000/1
avg_frame_rate=0/0
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=641749500
duration=7130.550000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=1
DISPOSITION:timed_thumbnails=0
TAG:filename=cover_land.jpg
TAG:mimetype=image/jpeg
[/STREAM]
[FORMAT]
filename=G:\_DIVXR~1\MALFIQ~1\MALEFI~1.MKV
nb_streams=8
nb_programs=0
format_name=matroska,webm
format_long_name=Matroska / WebM
start_time=0.000000
duration=7130.550000
size=12731998875
bit_rate=14284450
probe_score=100
TAG:title=Maleficent.Mistress.Of.Evil.2019.1080p.BluRay.x264.DTS-HD.MA.7.1-FGT
TAG:encoder=libebml v1.3.9 + libmatroska v1.5.2
TAG:creation_time=2020-01-02T17:47:42.000000Z
[/FORMAT]
mediainfo.txt :

Code : Tout sélectionner

General
Count                                    : 332
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Unique ID                                : 187125405971910949807161393627129171567
Unique ID                                : 187125405971910949807161393627129171567 (0x8CC70AD2514F484E50D4655C8F67CE6F)
Count of video streams                   : 1
Count of audio streams                   : 1
Count of text streams                    : 2
Count of menu streams                    : 1
Video_Format_List                        : AVC
Video_Format_WithHint_List               : AVC
Codecs Video                             : AVC
Video_Language_List                      : English
Audio_Format_List                        : DTS XLL
Audio_Format_WithHint_List               : DTS XLL
Audio codecs                             : DTS XLL
Audio_Language_List                      : English
Text_Format_List                         : UTF-8 / PGS
Text_Format_WithHint_List                : UTF-8 / PGS
Text codecs                              : UTF-8 / PGS
Text_Language_List                       : English / English
Complete name                            : G:\_DIVXR~1\MALFIQ~1\MALEFI~1.MKV
Folder name                              : G:\_DIVXR~1\MALFIQ~1
File name extension                      : MALEFI~1.MKV
File name                                : MALEFI~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                                : 12731998875
File size                                : 11.9 GiB
File size                                : 12 GiB
File size                                : 12 GiB
File size                                : 11.9 GiB
File size                                : 11.86 GiB
Duration                                 : 7130550
Duration                                 : 1 h 58 min
Duration                                 : 1 h 58 min 50 s 550 ms
Duration                                 : 1 h 58 min
Duration                                 : 01:58:50.550
Duration                                 : 01:58:52;08
Duration                                 : 01:58:50.550 (01:58:52;08)
Overall bit rate mode                    : VBR
Overall bit rate mode                    : Variable
Overall bit rate                         : 14284451
Overall bit rate                         : 14.3 Mb/s
Frame rate                               : 23.976
Frame rate                               : 23.976 FPS
Frame count                              : 170962
IsStreamable                             : Yes
Title                                    : Maleficent.Mistress.Of.Evil.2019.1080p.BluRay.x264.DTS-HD.MA.7.1-FGT
Movie name                               : Maleficent.Mistress.Of.Evil.2019.1080p.BluRay.x264.DTS-HD.MA.7.1-FGT
Encoded date                             : UTC 2020-01-02 17:47:42
File creation date                       : UTC 2020-01-06 09:32:49.400
File creation date (local)               : 2020-01-06 10:32:49.400
File last modification date              : UTC 2020-01-06 09:59:01.529
File last modification date (local)      : 2020-01-06 10:59:01.529
Writing application                      : mkvmerge v41.0.0 ('Smarra') 64-bit
Writing application                      : mkvmerge v41.0.0 ('Smarra') 64-bit
Writing library                          : libebml v1.3.9 + libmatroska v1.5.2
Writing library                          : libebml v1.3.9 + libmatroska v1.5.2
Cover                                    : Yes
Attachments                              : small_cover.jpg / small_cover_land.jpg / cover.jpg / cover_land.jpg

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                                : 1
Format                                   : AVC
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.html
Commercial name                          : AVC
Format profile                           : High@L4.1
Format settings                          : CABAC / 5 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 5
Format settings, Reference frames        : 5 frames
Internet media type                      : video/H264
Codec ID                                 : V_MPEG4/ISO/AVC
Codec ID/Url                             : http://ffdshow-tryout.sourceforge.net/
Duration                                 : 7130540.000000
Duration                                 : 1 h 58 min
Duration                                 : 1 h 58 min 50 s 540 ms
Duration                                 : 1 h 58 min
Duration                                 : 01:58:50.540
Duration                                 : 01:58:52;08
Duration                                 : 01:58:50.540 (01:58:52;08)
Bit rate                                 : 9025000
Bit rate                                 : 9 025 kb/s
Width                                    : 1920
Width                                    : 1 920 pixels
Height                                   : 808
Height                                   : 808 pixels
Stored_Height                            : 816
Sampled_Width                            : 1920
Sampled_Height                           : 808
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 2.376
Display aspect ratio                     : 2.40: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                              : 170962
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.243
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Container
Stream size                              : 8041440023
Stream size                              : 7.49 GiB (63%)
Stream size                              : 7 GiB
Stream size                              : 7.5 GiB
Stream size                              : 7.49 GiB
Stream size                              : 7.489 GiB
Stream size                              : 7.49 GiB (63%)
Proportion of this stream                : 0.63159
Title                                    : Maleficent.Mistress.Of.Evil.2019.1080p.BluRay.x264.DTS-HD.MA.7.1-FGT
Writing library                          : x264 - core 157 r2969 d4099dd
Writing library                          : x264 core 157 r2969 d4099dd
Encoded_Library_Name                     : x264
Encoded_Library_Version                  : core 157 r2969 d4099dd
Encoding settings                        : cabac=1 / ref=5 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=25 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=9025 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No

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                                : 8946134792821796837
Format                                   : DTS
Format                                   : DTS XLL
Format/Info                              : Digital Theater Systems
Format/Url                               : https://en.wikipedia.org/wiki/DTS_(sound_system)
Commercial name                          : DTS-HD Master Audio
Commercial name                          : DTS-HD Master Audio
Mode                                     : 16
Format settings, Endianness              : Big
Format_AdditionalFeatures                : XLL
Codec ID                                 : A_DTS
Duration                                 : 7130550.000000
Duration                                 : 1 h 58 min
Duration                                 : 1 h 58 min 50 s 550 ms
Duration                                 : 1 h 58 min
Duration                                 : 01:58:50.550
Duration                                 : 01:58:31:55
Duration                                 : 01:58:50.550 (01:58:31:55)
Bit rate mode                            : VBR
Bit rate mode                            : Variable
Bit rate                                 : 5248892
Bit rate                                 : 5 249 kb/s
Channel(s)                               : 8
Channel(s)                               : 8 channels
Channel positions                        : Front: L C R, Side: L R, Back: L R, LFE
Channel positions                        : 3/2/2.1
Channel layout                           : C L R LFE Lb Rb Lss Rss
Samples per frame                        : 512
Sampling rate                            : 48000
Sampling rate                            : 48.0 kHz
Samples count                            : 342266400
Frame rate                               : 93.750
Frame rate                               : 93.750 FPS (512 SPF)
Frame count                              : 668489
Bit depth                                : 24
Bit depth                                : 24 bits
Compression mode                         : Lossless
Compression mode                         : Lossless
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                              : 4678436252
Stream size                              : 4.36 GiB (37%)
Stream size                              : 4 GiB
Stream size                              : 4.4 GiB
Stream size                              : 4.36 GiB
Stream size                              : 4.357 GiB
Stream size                              : 4.36 GiB (37%)
Proportion of this stream                : 0.36745
Title                                    : Maleficent.Mistress.Of.Evil.2019.1080p.BluRay.x264.DTS-HD.MA.7.1-FGT
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No

Text #1
Count                                    : 238
Count of stream of this kind             : 2
Kind of stream                           : Text
Kind of stream                           : Text
Stream identifier                        : 0
Stream identifier                        : 1
StreamOrder                              : 2
ID                                       : 3
ID                                       : 3
Unique ID                                : 4514162059594938422
Format                                   : UTF-8
Format                                   : UTF-8
Commercial name                          : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 6770295.000000
Duration                                 : 1 h 52 min
Duration                                 : 1 h 52 min 50 s 295 ms
Duration                                 : 1 h 52 min
Duration                                 : 01:52:50.295
Duration                                 : 01:52:50.295
Bit rate                                 : 34
Bit rate                                 : 34 b/s
Frame rate                               : 0.169
Frame rate                               : 0.169 FPS
Frame count                              : 1145
Count of elements                        : 1145
Stream size                              : 28950
Stream size                              : 28.3 KiB (0%)
Stream size                              : 28 KiB
Stream size                              : 28 KiB
Stream size                              : 28.3 KiB
Stream size                              : 28.27 KiB
Stream size                              : 28.3 KiB (0%)
Proportion of this stream                : 0.00000
Title                                    : English-SRT
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No

Text #2
Count                                    : 238
Count of stream of this kind             : 2
Kind of stream                           : Text
Kind of stream                           : Text
Stream identifier                        : 1
Stream identifier                        : 2
StreamOrder                              : 3
ID                                       : 4
ID                                       : 4
Unique ID                                : 12734022246928636996
Format                                   : PGS
Format                                   : PGS
Commercial name                          : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 6785237.000000
Duration                                 : 1 h 53 min
Duration                                 : 1 h 53 min 5 s 237 ms
Duration                                 : 1 h 53 min
Duration                                 : 01:53:05.237
Duration                                 : 01:53:05.237
Bit rate                                 : 31035
Bit rate                                 : 31.0 kb/s
Frame rate                               : 0.473
Frame rate                               : 0.473 FPS
Frame count                              : 3210
Count of elements                        : 3210
Stream size                              : 26323163
Stream size                              : 25.1 MiB (0%)
Stream size                              : 25 MiB
Stream size                              : 25 MiB
Stream size                              : 25.1 MiB
Stream size                              : 25.10 MiB
Stream size                              : 25.1 MiB (0%)
Proportion of this stream                : 0.00207
Title                                    : English-PGS
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Default                                  : No
Default                                  : No
Forced                                   : No
Forced                                   : No

Menu
Count                                    : 115
Count of stream of this kind             : 1
Kind of stream                           : Menu
Kind of stream                           : Menu
Stream identifier                        : 0
Chapters_Pos_Begin                       : 94
Chapters_Pos_End                         : 115
00:00:00.000                             : en:00:00:00.000
00:06:47.907                             : en:00:06:47.907
00:09:11.676                             : en:00:09:11.676
00:14:45.551                             : en:00:14:45.551
00:19:27.833                             : en:00:19:27.833
00:23:10.556                             : en:00:23:10.556
00:33:51.905                             : en:00:33:51.905
00:39:10.265                             : en:00:39:10.265
00:42:19.579                             : en:00:42:19.579
00:48:31.992                             : en:00:48:31.992
00:52:44.745                             : en:00:52:44.745
00:57:15.140                             : en:00:57:15.140
00:59:26.146                             : en:00:59:26.146
01:05:47.569                             : en:01:05:47.569
01:09:31.751                             : en:01:09:31.751
01:19:07.242                             : en:01:19:07.242
01:22:48.547                             : en:01:22:48.547
01:29:09.219                             : en:01:29:09.219
01:35:00.653                             : en:01:35:00.653
01:44:26.510                             : en:01:44:26.510
01:51:06.994                             : en:01:51:06.994
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: Vitesse d'encodage très lente en x265

Message par Subbat »

Alors Il y a quand même un truc de bizarre sur le batch ffmpeg_debug.bat, je ne comprend pas pourquoi tu as du bt2020nc, smpte2084 et bt2020... alors que ta vidéo n'est pas du HDR, mais ce n'est pas ça qui peut causer une différence de vitesse... on verra ça plus tard...

On va faire un 1er test, en enlevant toutes les nouvelles commandes qui n'étaient pas là dans m4ng v5, mais qui pour moi ne peuvent pas être la source du changement de vitesse...

Pour le ffmpeg_debug.bat, tu remplaces son contenu par celui-ci... tu enregistres, puis tu lances le batch (comme tu lancerais un logiciel) :

Code : Tout sélectionner

chcp 1252
"D:\_Outils\M4ng_v6\system\ffmpeg_64\ffmpeg.exe" -i "G:\_DIVXR~1\MALFIQ~1\MALEFI~1.MKV" -filter_complex "scale=1920:808, setdar=2.39, crop=1920:804:0:2, scale=1920:804"  -map 0:0   -f matroska  -c:v libx265 -preset veryslow   -x265-params bitrate=1921  -y "G:\_DIVXR~1\MALFIQ~1\_MALEF~1.MKV" 
pause
Pour le x265_debug.bat, tu remplaces son contenu par celui-ci... tu enregistres, puis tu lances le batch (comme tu lancerais un logiciel) :

Code : Tout sélectionner

chcp 1252
D:\_Outils\M4ng_v6\system\avs4x265.exe --x265-binary "D:\_Outils\M4ng_v6\system\x265_cli\x265_64.exe" --fps 23.976000  --bitrate 1921 --preset veryslow -o "G:\_DIVX à RéENCODER 4\MALéFIQUE - LE POUVOIR DU MAL\MALEFICENT.MISTRESS.OF.EVIL.2019.1080P.BLURAY.X264.DTS-HD.MA.7.1-FGT_.265" C:\Users\tuan1\AppData\Roaming\m4ng\Am4ng.avs
pause

Tu me dis ce que ça donne au niveau de la vitesse d'encodage...

Et ensuite, si n'as pas pas désinstallé m4ngv5... pour tester ce que cette vidéo aurait donné en vitesse d'encodage avec m4ng v5, il te suffit dans chacun des 2 batchs de remplacer D:\_Outils\M4ng_v6\system par D:\_Outils\M4ng_v5\system, si le chemin où est installer m4ng v5 est bien dans _Outils...


[Edit] Je viens de tester chez moi, les modifs que je viens de t'indiquer... et même en utilisant la v5, je n'ai aucun changement de vitesse, c'est aussi lent qu'avec la v6...
Si comme moi tu n'as pas de différence en repassant par les encodeurs de la v5, c'est que soit c'est ta vidéo qui est beaucoup plus complexe que celle que tu avais l'habitude d'encoder jusqu'alors, soit que tu n'utilisais pas le preset veryslow avant mais un autre...
Tuane
Messages : 12
Enregistré le : lun. 06 janv., 2020 17:43

Re: Vitesse d'encodage très lente en x265

Message par Tuane »

Je viens de tester un encodage sur un ancien pc. i7 3770k cette fois et les mêmes réglages. Je suis à 1 fps :mrgreen:
J'en conclus que c'est d'ordre logiciel, car avec m4ng 5 j'étais autour de 15fps avant avec ce processeur
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: Vitesse d'encodage très lente en x265

Message par Subbat »

Tuane a écrit : mar. 07 janv., 2020 22:08 Je viens de tester un encodage sur un ancien pc. i7 3770k cette fois et les mêmes réglages. Je suis à 1 fps :mrgreen:
J'en conclus que c'est d'ordre logiciel, car avec m4ng 5 j'étais autour de 15fps avant avec ce processeur
Bah ce serait bien de faire les tests que je t'ai dit... Pour simuler un encodage avec m4ngv5

Moi perso sur mon i7 4470, en veryslow je n'ai jamais été en 15fps pour une source en 1080p avec un preset sur veryslow... J'obtiens du 16 ou 17fps avec un preset à medium... mais pas à veryslow...
Tuane
Messages : 12
Enregistré le : lun. 06 janv., 2020 17:43

Re: Vitesse d'encodage très lente en x265

Message par Tuane »

La seule chose que je vois qui pourrais avoir une incidence sur la vitesse est la conversion HDR en SDR pour les vidéos sources HDR...
Alors Il y a quand même un truc de bizarre sur le batch ffmpeg_debug.bat, je ne comprend pas pourquoi tu as du bt2020nc, smpte2084 et bt2020... alors que ta vidéo n'est pas du HDR, mais ce n'est pas ça qui peut causer une différence de vitesse...
Ton intuition était bonne au sujet de conversion HDR en SDR, mais pas complètement exacte. Je vais essayer de m'expliquer.

Effectivement le film que je t'ai donné en exemple n'était pas en HDR puisqu'il est en 8bit même s'il a une plage de couleurs (je me trompe peut-être de terme) BT2020. Dans l'interface de m4ng, j'avais donc choisi dans la liste "SDR (BT709)", c'est-à-dire "Convertir en couleur classique (BT709)". Donc il y a eu une conversion de BT2020 vers BT709, mais de SDR vers SDR. Dans le doute, j'ai testé l'autre choix, à savoir "HDR (BT2020)", c'est-à-dire "Conserver le type de couleur d'origine (BT2020)". Et là, miracle, je suis à 33 images par seconde. C'est 10 de plus que dans la version 5 de m4ng, malgré le preset Veryslow. J'ai quand même tout laissé en Auto, mais je pense que même si j'avais réglé le Profil, le Level et l'Optimisation ce serait pareil.

Ensuite j'ai testé cette fois avec un film déjà en SDR 8bit BT709, dans un premier temps avec l'option "Convertir en couleur classique (BT709)". Eh bien là, même si le fichier source et le fichier destination sont en SDR 8bit BT709, j'ai quand même une vitesse de 3 images par seconde. Par contre, quand je choisis l'option "Conserver le type de couleur d'origine (BT2020)", je retrouve les 33 images par seconde, même si le fichier destination reste quand même en SDR 8bit BT709 (vérifié avec MediaInfo). Donc j'ai l'impression que même si le fichier source est déjà en SDR 8bit BT709, quand on choisit l'option "Convertir en couleur classique (BT709)", on a quand même une conversion forcée alors que c'est pas nécessaire.

En tout cas, tu avais vu juste au sujet de l'impact de la conversion sur la vitesse d'encodage ! :rital:

Je n'ai pas testé les derniers batchs que tu m'as donnés, mais je pense que ça aurait donné la même chose car tu as dû supprimer les lignes concernant la conversion de la plage de couleurs.

Merci encore, Subbat !! T'assures :boss:
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: Vitesse d'encodage très lente en x265

Message par Subbat »

Bah écoute, je ne demande qu'à te croire... mais c'est complètement incohérent tout ça...
Tes batchs que tu avais postés n'ont pas la commande de conversion bt2020 to bt709

Si tu veux bien, j'aimerais assez voir :
1. l'analyse vidéo de la source que tu dis être en bt2020
2. le batch ffmpeg_debug.bat quand tu mets convertir en bt709
3. le batch ffmpeg_debug.bat quand tu mest conserver le bt2020

Et si tu as le courage, idem pour la vidéo qu tu dis être en sdr bt709 et pour laquel tu constates les même différence de vitesse selon que tu choisisses en sortie le bt709 ou bt2020

[Edit]Merci de faire tout ça uniquement en mode autonome pour le test...
Tuane
Messages : 12
Enregistré le : lun. 06 janv., 2020 17:43

Re: Vitesse d'encodage très lente en x265

Message par Tuane »

Alors pour la vidéo source en BT2020 (je suppose que c'est ça parce que je ne le vois écris nulle part dans les analyses, mais je vois ce mot dans le batch quand je choisis la conversion en BT709) :

ffinfos.txt

Code : Tout sélectionner

[STREAM]
index=0
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
profile=High
codec_type=video
codec_time_base=1001/48000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=1920
height=808
coded_width=1920
coded_height=816
has_b_frames=2
sample_aspect_ratio=1:1
display_aspect_ratio=240:101
pix_fmt=yuv420p
level=41
color_range=unknown
color_space=unknown
color_transfer=unknown
color_primaries=unknown
chroma_location=left
field_order=progressive
timecode=N/A
refs=1
is_avc=true
nal_length_size=4
id=N/A
r_frame_rate=24000/1001
avg_frame_rate=24000/1001
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=N/A
duration=N/A
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:language=eng
TAG:title=Maleficent.Mistress.Of.Evil.2019.1080p.BluRay.x264.DTS-HD.MA.7.1-FGT
TAG:BPS-eng=9021970
TAG:DURATION-eng=01:58:50.540000000
TAG:NUMBER_OF_FRAMES-eng=170962
TAG:NUMBER_OF_BYTES-eng=8041440023
TAG:_STATISTICS_WRITING_APP-eng=mkvmerge v41.0.0 ('Smarra') 64-bit
TAG:_STATISTICS_WRITING_DATE_UTC-eng=2020-01-02 17:47:42
TAG:_STATISTICS_TAGS-eng=BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[/STREAM]
[STREAM]
index=1
codec_name=dts
codec_long_name=DCA (DTS Coherent Acoustics)
profile=DTS-HD MA
codec_type=audio
codec_time_base=1/48000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
sample_fmt=s32p
sample_rate=48000
channels=8
channel_layout=7.1
bits_per_sample=0
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=N/A
duration=N/A
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=24
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:language=eng
TAG:title=Maleficent.Mistress.Of.Evil.2019.1080p.BluRay.x264.DTS-HD.MA.7.1-FGT
TAG:BPS-eng=5248892
TAG:DURATION-eng=01:58:50.550000000
TAG:NUMBER_OF_FRAMES-eng=668489
TAG:NUMBER_OF_BYTES-eng=4678436252
TAG:_STATISTICS_WRITING_APP-eng=mkvmerge v41.0.0 ('Smarra') 64-bit
TAG:_STATISTICS_WRITING_DATE_UTC-eng=2020-01-02 17:47:42
TAG:_STATISTICS_TAGS-eng=BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[/STREAM]
[STREAM]
index=2
codec_name=subrip
codec_long_name=SubRip subtitle
profile=unknown
codec_type=subtitle
codec_time_base=0/1
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=N/A
height=N/A
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=7130550
duration=7130.550000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:language=eng
TAG:title=English-SRT
TAG:BPS-eng=34
TAG:DURATION-eng=01:52:50.295000000
TAG:NUMBER_OF_FRAMES-eng=1145
TAG:NUMBER_OF_BYTES-eng=28950
TAG:_STATISTICS_WRITING_APP-eng=mkvmerge v41.0.0 ('Smarra') 64-bit
TAG:_STATISTICS_WRITING_DATE_UTC-eng=2020-01-02 17:47:42
TAG:_STATISTICS_TAGS-eng=BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[/STREAM]
[STREAM]
index=3
codec_name=hdmv_pgs_subtitle
codec_long_name=HDMV Presentation Graphic Stream subtitles
profile=unknown
codec_type=subtitle
codec_time_base=0/1
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=N/A
height=N/A
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=7130550
duration=7130.550000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:language=eng
TAG:title=English-PGS
TAG:BPS-eng=31035
TAG:DURATION-eng=01:53:05.237000000
TAG:NUMBER_OF_FRAMES-eng=3210
TAG:NUMBER_OF_BYTES-eng=26323163
TAG:_STATISTICS_WRITING_APP-eng=mkvmerge v41.0.0 ('Smarra') 64-bit
TAG:_STATISTICS_WRITING_DATE_UTC-eng=2020-01-02 17:47:42
TAG:_STATISTICS_TAGS-eng=BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[/STREAM]
[STREAM]
index=4
codec_name=mjpeg
codec_long_name=Motion JPEG
profile=Baseline
codec_type=video
codec_time_base=0/1
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=120
height=176
coded_width=120
coded_height=176
has_b_frames=0
sample_aspect_ratio=N/A
display_aspect_ratio=N/A
pix_fmt=yuvj444p
level=-99
color_range=pc
color_space=bt470bg
color_transfer=unknown
color_primaries=unknown
chroma_location=center
field_order=unknown
timecode=N/A
refs=1
id=N/A
r_frame_rate=90000/1
avg_frame_rate=0/0
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=641749500
duration=7130.550000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=1
DISPOSITION:timed_thumbnails=0
TAG:filename=small_cover.jpg
TAG:mimetype=image/jpeg
[/STREAM]
[STREAM]
index=5
codec_name=mjpeg
codec_long_name=Motion JPEG
profile=Baseline
codec_type=video
codec_time_base=0/1
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=213
height=120
coded_width=213
coded_height=120
has_b_frames=0
sample_aspect_ratio=N/A
display_aspect_ratio=N/A
pix_fmt=yuvj444p
level=-99
color_range=pc
color_space=bt470bg
color_transfer=unknown
color_primaries=unknown
chroma_location=center
field_order=unknown
timecode=N/A
refs=1
id=N/A
r_frame_rate=90000/1
avg_frame_rate=0/0
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=641749500
duration=7130.550000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=1
DISPOSITION:timed_thumbnails=0
TAG:filename=small_cover_land.jpg
TAG:mimetype=image/jpeg
[/STREAM]
[STREAM]
index=6
codec_name=mjpeg
codec_long_name=Motion JPEG
profile=Baseline
codec_type=video
codec_time_base=0/1
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=600
height=882
coded_width=600
coded_height=882
has_b_frames=0
sample_aspect_ratio=N/A
display_aspect_ratio=N/A
pix_fmt=yuvj444p
level=-99
color_range=pc
color_space=bt470bg
color_transfer=unknown
color_primaries=unknown
chroma_location=center
field_order=unknown
timecode=N/A
refs=1
id=N/A
r_frame_rate=90000/1
avg_frame_rate=0/0
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=641749500
duration=7130.550000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=1
DISPOSITION:timed_thumbnails=0
TAG:filename=cover.jpg
TAG:mimetype=image/jpeg
[/STREAM]
[STREAM]
index=7
codec_name=mjpeg
codec_long_name=Motion JPEG
profile=Baseline
codec_type=video
codec_time_base=0/1
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=1067
height=600
coded_width=1067
coded_height=600
has_b_frames=0
sample_aspect_ratio=N/A
display_aspect_ratio=N/A
pix_fmt=yuvj444p
level=-99
color_range=pc
color_space=bt470bg
color_transfer=unknown
color_primaries=unknown
chroma_location=center
field_order=unknown
timecode=N/A
refs=1
id=N/A
r_frame_rate=90000/1
avg_frame_rate=0/0
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=641749500
duration=7130.550000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=1
DISPOSITION:timed_thumbnails=0
TAG:filename=cover_land.jpg
TAG:mimetype=image/jpeg
[/STREAM]
[FORMAT]
filename=G:\_DIVXR~1\MALFIQ~1\MALEFI~1.MKV
nb_streams=8
nb_programs=0
format_name=matroska,webm
format_long_name=Matroska / WebM
start_time=0.000000
duration=7130.550000
size=12731998875
bit_rate=14284450
probe_score=100
TAG:title=Maleficent.Mistress.Of.Evil.2019.1080p.BluRay.x264.DTS-HD.MA.7.1-FGT
TAG:encoder=libebml v1.3.9 + libmatroska v1.5.2
TAG:creation_time=2020-01-02T17:47:42.000000Z
[/FORMAT]
mediainfo.txt

Code : Tout sélectionner

General
Count                                    : 332
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Unique ID                                : 187125405971910949807161393627129171567
Unique ID                                : 187125405971910949807161393627129171567 (0x8CC70AD2514F484E50D4655C8F67CE6F)
Count of video streams                   : 1
Count of audio streams                   : 1
Count of text streams                    : 2
Count of menu streams                    : 1
Video_Format_List                        : AVC
Video_Format_WithHint_List               : AVC
Codecs Video                             : AVC
Video_Language_List                      : English
Audio_Format_List                        : DTS XLL
Audio_Format_WithHint_List               : DTS XLL
Audio codecs                             : DTS XLL
Audio_Language_List                      : English
Text_Format_List                         : UTF-8 / PGS
Text_Format_WithHint_List                : UTF-8 / PGS
Text codecs                              : UTF-8 / PGS
Text_Language_List                       : English / English
Complete name                            : G:\_DIVXR~1\MALFIQ~1\MALEFI~1.MKV
Folder name                              : G:\_DIVXR~1\MALFIQ~1
File name extension                      : MALEFI~1.MKV
File name                                : MALEFI~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                                : 12731998875
File size                                : 11.9 GiB
File size                                : 12 GiB
File size                                : 12 GiB
File size                                : 11.9 GiB
File size                                : 11.86 GiB
Duration                                 : 7130550
Duration                                 : 1 h 58 min
Duration                                 : 1 h 58 min 50 s 550 ms
Duration                                 : 1 h 58 min
Duration                                 : 01:58:50.550
Duration                                 : 01:58:52;08
Duration                                 : 01:58:50.550 (01:58:52;08)
Overall bit rate mode                    : VBR
Overall bit rate mode                    : Variable
Overall bit rate                         : 14284451
Overall bit rate                         : 14.3 Mb/s
Frame rate                               : 23.976
Frame rate                               : 23.976 FPS
Frame count                              : 170962
IsStreamable                             : Yes
Title                                    : Maleficent.Mistress.Of.Evil.2019.1080p.BluRay.x264.DTS-HD.MA.7.1-FGT
Movie name                               : Maleficent.Mistress.Of.Evil.2019.1080p.BluRay.x264.DTS-HD.MA.7.1-FGT
Encoded date                             : UTC 2020-01-02 17:47:42
File creation date                       : UTC 2020-01-06 09:32:49.400
File creation date (local)               : 2020-01-06 10:32:49.400
File last modification date              : UTC 2020-01-06 09:59:01.529
File last modification date (local)      : 2020-01-06 10:59:01.529
Writing application                      : mkvmerge v41.0.0 ('Smarra') 64-bit
Writing application                      : mkvmerge v41.0.0 ('Smarra') 64-bit
Writing library                          : libebml v1.3.9 + libmatroska v1.5.2
Writing library                          : libebml v1.3.9 + libmatroska v1.5.2
Cover                                    : Yes
Attachments                              : small_cover.jpg / small_cover_land.jpg / cover.jpg / cover_land.jpg

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                                : 1
Format                                   : AVC
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.html
Commercial name                          : AVC
Format profile                           : High@L4.1
Format settings                          : CABAC / 5 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 5
Format settings, Reference frames        : 5 frames
Internet media type                      : video/H264
Codec ID                                 : V_MPEG4/ISO/AVC
Codec ID/Url                             : http://ffdshow-tryout.sourceforge.net/
Duration                                 : 7130540.000000
Duration                                 : 1 h 58 min
Duration                                 : 1 h 58 min 50 s 540 ms
Duration                                 : 1 h 58 min
Duration                                 : 01:58:50.540
Duration                                 : 01:58:52;08
Duration                                 : 01:58:50.540 (01:58:52;08)
Bit rate                                 : 9025000
Bit rate                                 : 9 025 kb/s
Width                                    : 1920
Width                                    : 1 920 pixels
Height                                   : 808
Height                                   : 808 pixels
Stored_Height                            : 816
Sampled_Width                            : 1920
Sampled_Height                           : 808
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 2.376
Display aspect ratio                     : 2.40: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                              : 170962
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.243
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Container
Stream size                              : 8041440023
Stream size                              : 7.49 GiB (63%)
Stream size                              : 7 GiB
Stream size                              : 7.5 GiB
Stream size                              : 7.49 GiB
Stream size                              : 7.489 GiB
Stream size                              : 7.49 GiB (63%)
Proportion of this stream                : 0.63159
Title                                    : Maleficent.Mistress.Of.Evil.2019.1080p.BluRay.x264.DTS-HD.MA.7.1-FGT
Writing library                          : x264 - core 157 r2969 d4099dd
Writing library                          : x264 core 157 r2969 d4099dd
Encoded_Library_Name                     : x264
Encoded_Library_Version                  : core 157 r2969 d4099dd
Encoding settings                        : cabac=1 / ref=5 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=25 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=9025 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No

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                                : 8946134792821796837
Format                                   : DTS
Format                                   : DTS XLL
Format/Info                              : Digital Theater Systems
Format/Url                               : https://en.wikipedia.org/wiki/DTS_(sound_system)
Commercial name                          : DTS-HD Master Audio
Commercial name                          : DTS-HD Master Audio
Mode                                     : 16
Format settings, Endianness              : Big
Format_AdditionalFeatures                : XLL
Codec ID                                 : A_DTS
Duration                                 : 7130550.000000
Duration                                 : 1 h 58 min
Duration                                 : 1 h 58 min 50 s 550 ms
Duration                                 : 1 h 58 min
Duration                                 : 01:58:50.550
Duration                                 : 01:58:31:55
Duration                                 : 01:58:50.550 (01:58:31:55)
Bit rate mode                            : VBR
Bit rate mode                            : Variable
Bit rate                                 : 5248892
Bit rate                                 : 5 249 kb/s
Channel(s)                               : 8
Channel(s)                               : 8 channels
Channel positions                        : Front: L C R, Side: L R, Back: L R, LFE
Channel positions                        : 3/2/2.1
Channel layout                           : C L R LFE Lb Rb Lss Rss
Samples per frame                        : 512
Sampling rate                            : 48000
Sampling rate                            : 48.0 kHz
Samples count                            : 342266400
Frame rate                               : 93.750
Frame rate                               : 93.750 FPS (512 SPF)
Frame count                              : 668489
Bit depth                                : 24
Bit depth                                : 24 bits
Compression mode                         : Lossless
Compression mode                         : Lossless
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                              : 4678436252
Stream size                              : 4.36 GiB (37%)
Stream size                              : 4 GiB
Stream size                              : 4.4 GiB
Stream size                              : 4.36 GiB
Stream size                              : 4.357 GiB
Stream size                              : 4.36 GiB (37%)
Proportion of this stream                : 0.36745
Title                                    : Maleficent.Mistress.Of.Evil.2019.1080p.BluRay.x264.DTS-HD.MA.7.1-FGT
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No

Text #1
Count                                    : 238
Count of stream of this kind             : 2
Kind of stream                           : Text
Kind of stream                           : Text
Stream identifier                        : 0
Stream identifier                        : 1
StreamOrder                              : 2
ID                                       : 3
ID                                       : 3
Unique ID                                : 4514162059594938422
Format                                   : UTF-8
Format                                   : UTF-8
Commercial name                          : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 6770295.000000
Duration                                 : 1 h 52 min
Duration                                 : 1 h 52 min 50 s 295 ms
Duration                                 : 1 h 52 min
Duration                                 : 01:52:50.295
Duration                                 : 01:52:50.295
Bit rate                                 : 34
Bit rate                                 : 34 b/s
Frame rate                               : 0.169
Frame rate                               : 0.169 FPS
Frame count                              : 1145
Count of elements                        : 1145
Stream size                              : 28950
Stream size                              : 28.3 KiB (0%)
Stream size                              : 28 KiB
Stream size                              : 28 KiB
Stream size                              : 28.3 KiB
Stream size                              : 28.27 KiB
Stream size                              : 28.3 KiB (0%)
Proportion of this stream                : 0.00000
Title                                    : English-SRT
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No

Text #2
Count                                    : 238
Count of stream of this kind             : 2
Kind of stream                           : Text
Kind of stream                           : Text
Stream identifier                        : 1
Stream identifier                        : 2
StreamOrder                              : 3
ID                                       : 4
ID                                       : 4
Unique ID                                : 12734022246928636996
Format                                   : PGS
Format                                   : PGS
Commercial name                          : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 6785237.000000
Duration                                 : 1 h 53 min
Duration                                 : 1 h 53 min 5 s 237 ms
Duration                                 : 1 h 53 min
Duration                                 : 01:53:05.237
Duration                                 : 01:53:05.237
Bit rate                                 : 31035
Bit rate                                 : 31.0 kb/s
Frame rate                               : 0.473
Frame rate                               : 0.473 FPS
Frame count                              : 3210
Count of elements                        : 3210
Stream size                              : 26323163
Stream size                              : 25.1 MiB (0%)
Stream size                              : 25 MiB
Stream size                              : 25 MiB
Stream size                              : 25.1 MiB
Stream size                              : 25.10 MiB
Stream size                              : 25.1 MiB (0%)
Proportion of this stream                : 0.00207
Title                                    : English-PGS
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Default                                  : No
Default                                  : No
Forced                                   : No
Forced                                   : No

Menu
Count                                    : 115
Count of stream of this kind             : 1
Kind of stream                           : Menu
Kind of stream                           : Menu
Stream identifier                        : 0
Chapters_Pos_Begin                       : 94
Chapters_Pos_End                         : 115
00:00:00.000                             : en:00:00:00.000
00:06:47.907                             : en:00:06:47.907
00:09:11.676                             : en:00:09:11.676
00:14:45.551                             : en:00:14:45.551
00:19:27.833                             : en:00:19:27.833
00:23:10.556                             : en:00:23:10.556
00:33:51.905                             : en:00:33:51.905
00:39:10.265                             : en:00:39:10.265
00:42:19.579                             : en:00:42:19.579
00:48:31.992                             : en:00:48:31.992
00:52:44.745                             : en:00:52:44.745
00:57:15.140                             : en:00:57:15.140
00:59:26.146                             : en:00:59:26.146
01:05:47.569                             : en:01:05:47.569
01:09:31.751                             : en:01:09:31.751
01:19:07.242                             : en:01:19:07.242
01:22:48.547                             : en:01:22:48.547
01:29:09.219                             : en:01:29:09.219
01:35:00.653                             : en:01:35:00.653
01:44:26.510                             : en:01:44:26.510
01:51:06.994                             : en:01:51:06.994
ffmpeg_debug.bat, conversion en BT709, 1-pass

Code : Tout sélectionner

chcp 1252
"D:\_Outils\M4ng_v6\system\ffmpeg_64\ffmpeg.exe" -i "G:\_DIVXR~1\MALFIQ~1\MALEFI~1.MKV" -filter_complex "scale=1920:808, setdar=2.39, crop=1920:804:0:2, scale=1920:804"  -pix_fmt yuv420p  -map 0:0   -f matroska  -c:v libx265 -preset veryslow   -x265-params colormatrix=bt2020nc:transfer=smpte2084:colorprim=bt2020: bitrate=2000  -y "G:\_DIVXR~1\MALFIQ~1\_MALEF~1.MKV" 
pause
ffmpeg_debug.bat, conversion en BT709, 2-pass 1ère passe

Code : Tout sélectionner

chcp 1252
"D:\_Outils\M4ng_v6\system\ffmpeg_64\ffmpeg.exe" -i "G:\_DIVXR~1\MALFIQ~1\MALEFI~1.MKV" -filter_complex "scale=1920:808, setdar=2.39, crop=1920:804:0:2, scale=1920:804"  -pix_fmt yuv420p  -map 0:0   -f matroska -c:v libx265 -preset slower   -b:v 2000k  -an -x265-params pass=1:stats="x265log.log":colormatrix=bt2020nc:transfer=smpte2084:colorprim=bt2020: -f NULL nul -y
pause
ffmpeg_debug.bat, conversion en BT709, 2-pass 2e passe

Code : Tout sélectionner

chcp 1252
"D:\_Outils\M4ng_v6\system\ffmpeg_64\ffmpeg.exe" -i "G:\_DIVXR~1\MALFIQ~1\MALEFI~1.MKV" -filter_complex "scale=1920:808, setdar=2.39, crop=1920:804:0:2, scale=1920:804"  -pix_fmt yuv420p  -map 0:0   -f matroska -c:v libx265 -preset slower   -b:v 2000k  -x265-params pass=2:stats="x265log.log":colormatrix=bt2020nc:transfer=smpte2084:colorprim=bt2020: -y G:\_DIVXR~1\MALFIQ~1\_MALEF~1.MKV
pause
ffmpeg_debug.bat, conversion en BT2020, 1-pass

Code : Tout sélectionner

chcp 1252
"D:\_Outils\M4ng_v6\system\ffmpeg_64\ffmpeg.exe" -i "G:\_DIVXR~1\MALFIQ~1\MALEFI~1.MKV" -filter_complex "scale=1920:808, setdar=2.39, crop=1920:804:0:2, scale=1920:804"  -pix_fmt yuv420p  -map 0:0   -f matroska  -c:v libx265 -preset veryslow   -x265-params colormatrix=bt2020nc:transfer=smpte2084:colorprim=bt2020: bitrate=2000  -y "G:\_DIVXR~1\MALFIQ~1\_MALEF~1.MKV" 
pause
ffmpeg_debug.bat, conversion en BT2020, 2-pass 1ère passe

Code : Tout sélectionner

chcp 1252
"D:\_Outils\M4ng_v6\system\ffmpeg_64\ffmpeg.exe" -i "G:\_DIVXR~1\MALFIQ~1\MALEFI~1.MKV" -filter_complex "scale=1920:808, setdar=2.39, crop=1920:804:0:2, scale=1920:804"  -pix_fmt yuv420p  -map 0:0   -f matroska -c:v libx265 -preset fast   -b:v 2000k  -an -x265-params pass=1:stats="x265log.log":colormatrix=bt2020nc:transfer=smpte2084:colorprim=bt2020: -f NULL nul -y
pause
ffmpeg_debug.bat, conversion en BT2020, 2-pass 2e passe

Code : Tout sélectionner

chcp 1252
"D:\_Outils\M4ng_v6\system\ffmpeg_64\ffmpeg.exe" -i "G:\_DIVXR~1\MALFIQ~1\MALEFI~1.MKV" -filter_complex "scale=1920:808, setdar=2.39, crop=1920:804:0:2, scale=1920:804"  -pix_fmt yuv420p  -map 0:0   -f matroska -c:v libx265 -preset fast   -b:v 2000k  -x265-params pass=2:stats="x265log.log":colormatrix=bt2020nc:transfer=smpte2084:colorprim=bt2020: -y G:\_DIVXR~1\MALFIQ~1\_MALEF~1.MKV
pause
C'est curieux, nulle trace du mot BT709 dans ces batchs. De plus, le preset est resté sur Veryslow, je n'y ai pas touché et pourtant on voit qu'il change en Slower et en Fast en mode 2-pass. Par contre, la vitesse est bien là quand je mets conversion en BT2020. J'ai attendu l'encodage complet en 2-pass, c'était régulièrement 35 fps. Bien entendu en mode Autonome dans tous les cas

Chose étrange, les 35 fps ne sont atteints qu'en mode 2-pass conversion en BT2020, sinon dans tous les autres cas, c'est 3 ou 4 fps y compris en mode 1-pass conversion en BT2020
Modifié en dernier par Tuane le mer. 08 janv., 2020 1:40, modifié 1 fois.
Tuane
Messages : 12
Enregistré le : lun. 06 janv., 2020 17:43

Re: Vitesse d'encodage très lente en x265

Message par Tuane »

Pour le fichier source en BT709 :

ffinfos.txt

Code : Tout sélectionner

[STREAM]
index=0
codec_name=ac3
codec_long_name=ATSC A/52A (AC-3)
profile=unknown
codec_type=audio
codec_time_base=1/48000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
sample_fmt=fltp
sample_rate=48000
channels=6
channel_layout=5.1(side)
bits_per_sample=0
dmix_mode=-1
ltrt_cmixlev=-1.000000
ltrt_surmixlev=-1.000000
loro_cmixlev=-1.000000
loro_surmixlev=-1.000000
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=N/A
duration=N/A
bit_rate=448000
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:language=fre
TAG:BPS-eng=448000
TAG:DURATION-eng=02:49:25.504000000
TAG:NUMBER_OF_FRAMES-eng=317672
TAG:NUMBER_OF_BYTES-eng=569268224
TAG:_STATISTICS_WRITING_APP-eng=mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
TAG:_STATISTICS_WRITING_DATE_UTC-eng=2019-11-30 19:46:16
TAG:_STATISTICS_TAGS-eng=BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[/STREAM]
[STREAM]
index=1
codec_name=subrip
codec_long_name=SubRip subtitle
profile=unknown
codec_type=subtitle
codec_time_base=0/1
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=N/A
height=N/A
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=10165504
duration=10165.504000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:language=fre
TAG:title=Forced
TAG:BPS-eng=0
TAG:DURATION-eng=02:48:17.544000000
TAG:NUMBER_OF_FRAMES-eng=20
TAG:NUMBER_OF_BYTES-eng=775
TAG:_STATISTICS_WRITING_APP-eng=mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
TAG:_STATISTICS_WRITING_DATE_UTC-eng=2019-11-30 19:46:16
TAG:_STATISTICS_TAGS-eng=BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[/STREAM]
[STREAM]
index=2
codec_name=subrip
codec_long_name=SubRip subtitle
profile=unknown
codec_type=subtitle
codec_time_base=0/1
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=N/A
height=N/A
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=10165504
duration=10165.504000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:language=fre
TAG:title=French
TAG:BPS-eng=39
TAG:DURATION-eng=02:48:42.111000000
TAG:NUMBER_OF_FRAMES-eng=1948
TAG:NUMBER_OF_BYTES-eng=49677
TAG:_STATISTICS_WRITING_APP-eng=mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
TAG:_STATISTICS_WRITING_DATE_UTC-eng=2019-11-30 19:46:16
TAG:_STATISTICS_TAGS-eng=BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[/STREAM]
[STREAM]
index=3
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
profile=High
codec_type=video
codec_time_base=1001/48000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=1920
height=804
coded_width=1920
coded_height=816
has_b_frames=2
sample_aspect_ratio=1:1
display_aspect_ratio=160:67
pix_fmt=yuv420p
level=41
color_range=tv
color_space=bt709
color_transfer=unknown
color_primaries=bt709
chroma_location=left
field_order=progressive
timecode=N/A
refs=1
is_avc=true
nal_length_size=4
id=N/A
r_frame_rate=24000/1001
avg_frame_rate=24000/1001
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=N/A
duration=N/A
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:language=eng
TAG:BPS-eng=13958234
TAG:DURATION-eng=02:49:25.489000000
TAG:NUMBER_OF_FRAMES-eng=243728
TAG:NUMBER_OF_BYTES-eng=17736534733
TAG:_STATISTICS_WRITING_APP-eng=mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
TAG:_STATISTICS_WRITING_DATE_UTC-eng=2019-11-30 19:46:16
TAG:_STATISTICS_TAGS-eng=BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[/STREAM]
[STREAM]
index=4
codec_name=ac3
codec_long_name=ATSC A/52A (AC-3)
profile=unknown
codec_type=audio
codec_time_base=1/48000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
sample_fmt=fltp
sample_rate=48000
channels=6
channel_layout=5.1(side)
bits_per_sample=0
dmix_mode=-1
ltrt_cmixlev=-1.000000
ltrt_surmixlev=-1.000000
loro_cmixlev=-1.000000
loro_surmixlev=-1.000000
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=N/A
duration=N/A
bit_rate=640000
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:language=eng
TAG:BPS-eng=640000
TAG:DURATION-eng=02:49:25.504000000
TAG:NUMBER_OF_FRAMES-eng=317672
TAG:NUMBER_OF_BYTES-eng=813240320
TAG:_STATISTICS_WRITING_APP-eng=mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
TAG:_STATISTICS_WRITING_DATE_UTC-eng=2019-11-30 19:46:16
TAG:_STATISTICS_TAGS-eng=BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[/STREAM]
[FORMAT]
filename=G:\_DIVXR~1\CA-CHA~1\ITCHAP~1.MKV
nb_streams=5
nb_programs=0
format_name=matroska,webm
format_long_name=Matroska / WebM
start_time=0.000000
duration=10165.504000
size=19122087823
bit_rate=15048609
probe_score=100
TAG:encoder=libebml v1.3.9 + libmatroska v1.5.2
TAG:creation_time=2019-11-30T19:46:16.000000Z
[/FORMAT]
mediainfo.txt

Code : Tout sélectionner

General
Count                                    : 331
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Unique ID                                : 182347600532597180259981997139948102849
Unique ID                                : 182347600532597180259981997139948102849 (0x892EDED3895087F3683D45C3A0BA64C1)
Count of video streams                   : 1
Count of audio streams                   : 2
Count of text streams                    : 2
Count of menu streams                    : 1
Video_Format_List                        : AVC
Video_Format_WithHint_List               : AVC
Codecs Video                             : AVC
Video_Language_List                      : English
Audio_Format_List                        : AC-3 / AC-3
Audio_Format_WithHint_List               : AC-3 / AC-3
Audio codecs                             : AC-3 / AC-3
Audio_Language_List                      : French / English
Text_Format_List                         : UTF-8 / UTF-8
Text_Format_WithHint_List                : UTF-8 / UTF-8
Text codecs                              : UTF-8 / UTF-8
Text_Language_List                       : French / French
Complete name                            : G:\_DIVXR~1\CA-CHA~1\ITCHAP~1.MKV
Folder name                              : G:\_DIVXR~1\CA-CHA~1
File name extension                      : ITCHAP~1.MKV
File name                                : ITCHAP~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                                : 19122087823
File size                                : 17.8 GiB
File size                                : 18 GiB
File size                                : 18 GiB
File size                                : 17.8 GiB
File size                                : 17.81 GiB
Duration                                 : 10165504
Duration                                 : 2 h 49 min
Duration                                 : 2 h 49 min 25 s 504 ms
Duration                                 : 2 h 49 min
Duration                                 : 02:49:25.504
Duration                                 : 02:49:28;02
Duration                                 : 02:49:25.504 (02:49:28;02)
Overall bit rate                         : 15048610
Overall bit rate                         : 15.0 Mb/s
Frame rate                               : 23.976
Frame rate                               : 23.976 FPS
Frame count                              : 243728
Stream size                              : 2994094
Stream size                              : 2.86 MiB (0%)
Stream size                              : 3 MiB
Stream size                              : 2.9 MiB
Stream size                              : 2.86 MiB
Stream size                              : 2.855 MiB
Stream size                              : 2.86 MiB (0%)
Proportion of this stream                : 0.00016
IsStreamable                             : Yes
Encoded date                             : UTC 2019-11-30 19:46:16
File creation date                       : UTC 2020-01-04 01:26:57.154
File creation date (local)               : 2020-01-04 02:26:57.154
File last modification date              : UTC 2020-01-04 01:32:35.319
File last modification date (local)      : 2020-01-04 02:32:35.319
Writing application                      : mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
Writing application                      : mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
Writing library                          : libebml v1.3.9 + libmatroska v1.5.2
Writing library                          : libebml v1.3.9 + libmatroska v1.5.2

Video
Count                                    : 377
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 3
ID                                       : 4
ID                                       : 4
Unique ID                                : 1
Format                                   : AVC
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.html
Commercial name                          : AVC
Format profile                           : High@L4.1
Format settings                          : CABAC / 5 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 5
Format settings, Reference frames        : 5 frames
Internet media type                      : video/H264
Codec ID                                 : V_MPEG4/ISO/AVC
Codec ID/Url                             : http://ffdshow-tryout.sourceforge.net/
Duration                                 : 10165489.000000
Duration                                 : 2 h 49 min
Duration                                 : 2 h 49 min 25 s 489 ms
Duration                                 : 2 h 49 min
Duration                                 : 02:49:25.489
Duration                                 : 02:49:28;02
Duration                                 : 02:49:25.489 (02:49:28;02)
Bit rate                                 : 13958234
Bit rate                                 : 14.0 Mb/s
Width                                    : 1920
Width                                    : 1 920 pixels
Height                                   : 804
Height                                   : 804 pixels
Stored_Height                            : 816
Sampled_Width                            : 1920
Sampled_Height                           : 804
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 2.388
Display aspect ratio                     : 2.40: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                              : 243728
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.377
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Container
Stream size                              : 17736534733
Stream size                              : 16.5 GiB (93%)
Stream size                              : 17 GiB
Stream size                              : 17 GiB
Stream size                              : 16.5 GiB
Stream size                              : 16.52 GiB
Stream size                              : 16.5 GiB (93%)
Proportion of this stream                : 0.92754
Writing library                          : x264 - core 157 r2938 2b00a84 TnP@MTeam Mod
Writing library                          : x264 core 157 r2938 2b00a84 TnP@MTeam Mod
Encoded_Library_Name                     : x264
Encoded_Library_Version                  : core 157 r2938 2b00a84 TnP@MTeam Mod
Encoding settings                        : cabac=1 / ref=5 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.05:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=250 / rc=crf / mbtree=0 / crf=16.1 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.30 / pb_ratio=1.20 / aq=3:0.80
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
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.709
colour_primaries_Source                  : Stream
transfer_characteristics_Source          : Stream
Matrix coefficients                      : BT.709
matrix_coefficients_Source               : Stream

Audio #1
Count                                    : 298
Count of stream of this kind             : 2
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
Stream identifier                        : 1
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Unique ID                                : 9293323762275214490
Format                                   : AC-3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Format/Url                               : https://en.wikipedia.org/wiki/AC3
Commercial name                          : Dolby Digital
Commercial name                          : Dolby Digital
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 10165504.000000
Duration                                 : 2 h 49 min
Duration                                 : 2 h 49 min 25 s 504 ms
Duration                                 : 2 h 49 min
Duration                                 : 02:49:25.504
Duration                                 : 02:50:47:15
Duration                                 : 02:49:25.504 (02:50:47:15)
Bit rate mode                            : CBR
Bit rate mode                            : Constant
Bit rate                                 : 448000
Bit rate                                 : 448 kb/s
Channel(s)                               : 6
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Channel positions                        : 3/2/0.1
Channel layout                           : L R C LFE Ls Rs
Samples per frame                        : 1536
Sampling rate                            : 48000
Sampling rate                            : 48.0 kHz
Samples count                            : 487944192
Frame rate                               : 31.250
Frame rate                               : 31.250 FPS (1536 SPF)
Frame count                              : 317672
Bit depth                                : 16
Bit depth                                : 16 bits
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                              : 569268224
Stream size                              : 543 MiB (3%)
Stream size                              : 543 MiB
Stream size                              : 543 MiB
Stream size                              : 543 MiB
Stream size                              : 542.9 MiB
Stream size                              : 543 MiB (3%)
Proportion of this stream                : 0.02977
Language                                 : fr
Language                                 : French
Language                                 : French
Language                                 : fr
Language                                 : fra
Language                                 : fr
Service kind                             : CM
Service kind                             : Complete Main
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No
bsid                                     : 6
dialnorm                                 : -27
dialnorm                                 : -27 dB
compr                                    : 0.53
compr                                    : 0.53 dB
acmod                                    : 7
lfeon                                    : 1
dialnorm_Average                         : -27
dialnorm_Average                         : -27 dB
dialnorm_Minimum                         : -27
dialnorm_Minimum                         : -27 dB
dialnorm_Maximum                         : -27
dialnorm_Maximum                         : -27 dB
dialnorm_Count                           : 931
compr_Average                            : 2.40
compr_Average                            : 2.40 dB
compr_Minimum                            : -3.66
compr_Minimum                            : -3.66 dB
compr_Maximum                            : 4.54
compr_Maximum                            : 4.54 dB
compr_Count                              : 885

Audio #2
Count                                    : 289
Count of stream of this kind             : 2
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 1
Stream identifier                        : 2
StreamOrder                              : 4
ID                                       : 5
ID                                       : 5
Unique ID                                : 14554057656515739586
Format                                   : AC-3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Format/Url                               : https://en.wikipedia.org/wiki/AC3
Commercial name                          : Dolby Digital
Commercial name                          : Dolby Digital
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 10165504.000000
Duration                                 : 2 h 49 min
Duration                                 : 2 h 49 min 25 s 504 ms
Duration                                 : 2 h 49 min
Duration                                 : 02:49:25.504
Duration                                 : 02:50:47:15
Duration                                 : 02:49:25.504 (02:50:47:15)
Bit rate mode                            : CBR
Bit rate mode                            : Constant
Bit rate                                 : 640000
Bit rate                                 : 640 kb/s
Channel(s)                               : 6
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Channel positions                        : 3/2/0.1
Channel layout                           : L R C LFE Ls Rs
Samples per frame                        : 1536
Sampling rate                            : 48000
Sampling rate                            : 48.0 kHz
Samples count                            : 487944192
Frame rate                               : 31.250
Frame rate                               : 31.250 FPS (1536 SPF)
Frame count                              : 317672
Bit depth                                : 16
Bit depth                                : 16 bits
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                              : 813240320
Stream size                              : 776 MiB (4%)
Stream size                              : 776 MiB
Stream size                              : 776 MiB
Stream size                              : 776 MiB
Stream size                              : 775.6 MiB
Stream size                              : 776 MiB (4%)
Proportion of this stream                : 0.04253
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Service kind                             : CM
Service kind                             : Complete Main
Default                                  : No
Default                                  : No
Forced                                   : No
Forced                                   : No
bsid                                     : 8
dialnorm                                 : -31
dialnorm                                 : -31 dB
acmod                                    : 7
lfeon                                    : 1
dialnorm_Average                         : -31
dialnorm_Average                         : -31 dB
dialnorm_Minimum                         : -31
dialnorm_Minimum                         : -31 dB
dialnorm_Maximum                         : -31
dialnorm_Maximum                         : -31 dB
dialnorm_Count                           : 925

Text #1
Count                                    : 238
Count of stream of this kind             : 2
Kind of stream                           : Text
Kind of stream                           : Text
Stream identifier                        : 0
Stream identifier                        : 1
StreamOrder                              : 1
ID                                       : 2
ID                                       : 2
Unique ID                                : 11649985694957091724
Format                                   : UTF-8
Format                                   : UTF-8
Commercial name                          : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 10097544.000000
Duration                                 : 2 h 48 min
Duration                                 : 2 h 48 min 17 s 544 ms
Duration                                 : 2 h 48 min
Duration                                 : 02:48:17.544
Duration                                 : 02:48:17.544
Bit rate                                 : 0
Bit rate                                 : 0 b/s
Frame rate                               : 0.002
Frame rate                               : 0.002 FPS
Frame count                              : 20
Count of elements                        : 20
Stream size                              : 775
Stream size                              : 775 Bytes (0%)
Stream size                              : 775 Bytes
Stream size                              : 775 Bytes
Stream size                              : 775 Bytes
Stream size                              : 775.0 Bytes
Stream size                              : 775 Bytes (0%)
Proportion of this stream                : 0.00000
Title                                    : Forced
Language                                 : fr
Language                                 : French
Language                                 : French
Language                                 : fr
Language                                 : fra
Language                                 : fr
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No

Text #2
Count                                    : 238
Count of stream of this kind             : 2
Kind of stream                           : Text
Kind of stream                           : Text
Stream identifier                        : 1
Stream identifier                        : 2
StreamOrder                              : 2
ID                                       : 3
ID                                       : 3
Unique ID                                : 4722320347375731632
Format                                   : UTF-8
Format                                   : UTF-8
Commercial name                          : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 10122111.000000
Duration                                 : 2 h 48 min
Duration                                 : 2 h 48 min 42 s 111 ms
Duration                                 : 2 h 48 min
Duration                                 : 02:48:42.111
Duration                                 : 02:48:42.111
Bit rate                                 : 39
Bit rate                                 : 39 b/s
Frame rate                               : 0.192
Frame rate                               : 0.192 FPS
Frame count                              : 1948
Count of elements                        : 1948
Stream size                              : 49677
Stream size                              : 48.5 KiB (0%)
Stream size                              : 49 KiB
Stream size                              : 49 KiB
Stream size                              : 48.5 KiB
Stream size                              : 48.51 KiB
Stream size                              : 48.5 KiB (0%)
Proportion of this stream                : 0.00000
Title                                    : French
Language                                 : fr
Language                                 : French
Language                                 : French
Language                                 : fr
Language                                 : fra
Language                                 : fr
Default                                  : No
Default                                  : No
Forced                                   : No
Forced                                   : No

Menu
Count                                    : 113
Count of stream of this kind             : 1
Kind of stream                           : Menu
Kind of stream                           : Menu
Stream identifier                        : 0
Chapters_Pos_Begin                       : 94
Chapters_Pos_End                         : 113
00:00:00.000                             : en:00:00:00.000
00:09:10.341                             : en:00:09:10.341
00:19:06.354                             : en:00:19:06.354
00:27:00.744                             : en:00:27:00.744
00:37:51.227                             : en:00:37:51.227
00:46:19.986                             : en:00:46:19.986
00:55:46.802                             : en:00:55:46.802
01:05:36.474                             : en:01:05:36.474
01:17:19.134                             : en:01:17:19.134
01:29:21.565                             : en:01:29:21.565
01:41:02.974                             : en:01:41:02.974
01:49:11.336                             : en:01:49:11.336
01:59:33.833                             : en:01:59:33.833
02:05:31.774                             : en:02:05:31.774
02:14:25.933                             : en:02:14:25.933
02:22:43.889                             : en:02:22:43.889
02:32:57.168                             : en:02:32:57.168
02:42:15.643                             : en:02:42:15.643
02:44:52.508                             : en:02:44:52.508
ffmpeg_debug.bat, conversion en BT709, 1-pass

Code : Tout sélectionner

chcp 1252
"D:\_Outils\M4ng_v6\system\ffmpeg_64\ffmpeg.exe" -i "G:\_DIVXR~1\CA-CHA~1\ITCHAP~1.MKV" -filter_complex "scale=1920:804, setdar=2.39, scale=1920:804"  -pix_fmt yuv420p  -map 0:3   -f matroska  -c:v libx265 -preset veryslow   -x265-params colormatrix=bt709:transfer=bt709:colorprim=bt709: bitrate=2000  -y "G:\_DIVXR~1\CA-CHA~1\_ITCHA~2.MKV" 
pause
ffmpeg_debug.bat, conversion en BT709, 2-pass 1ère passe

Code : Tout sélectionner

chcp 1252
"D:\_Outils\M4ng_v6\system\ffmpeg_64\ffmpeg.exe" -i "G:\_DIVXR~1\CA-CHA~1\ITCHAP~1.MKV" -filter_complex "scale=1920:804, setdar=2.39, scale=1920:804"  -pix_fmt yuv420p  -map 0:3   -f matroska -c:v libx265 -preset slower   -b:v 2000k  -an -x265-params pass=1:stats="x265log.log":colormatrix=bt709:transfer=bt709:colorprim=bt709: -f NULL nul -y
pause
ffmpeg_debug.bat, conversion en BT709, 2-pass 2e passe

Code : Tout sélectionner

chcp 1252
"D:\_Outils\M4ng_v6\system\ffmpeg_64\ffmpeg.exe" -i "G:\_DIVXR~1\CA-CHA~1\ITCHAP~1.MKV" -filter_complex "scale=1920:804, setdar=2.39, scale=1920:804"  -pix_fmt yuv420p  -map 0:3   -f matroska -c:v libx265 -preset slower   -b:v 2000k  -x265-params pass=2:stats="x265log.log":colormatrix=bt709:transfer=bt709:colorprim=bt709: -y G:\_DIVXR~1\CA-CHA~1\_ITCHA~2.MKV
pause
ffmpeg_debug.bat, conversion en BT2020, 1-pass

Code : Tout sélectionner

chcp 1252
"D:\_Outils\M4ng_v6\system\ffmpeg_64\ffmpeg.exe" -i "G:\_DIVXR~1\CA-CHA~1\ITCHAP~1.MKV" -filter_complex "scale=1920:804, setdar=2.39, scale=1920:804"  -pix_fmt yuv420p  -map 0:3   -f matroska  -c:v libx265 -preset veryslow   -x265-params colormatrix=bt709:transfer=unknown:colorprim=bt709: bitrate=2000  -y "G:\_DIVXR~1\CA-CHA~1\_ITCHA~2.MKV" 
pause
ffmpeg_debug.bat, conversion en BT2020, 2-pass 1ère passe

Code : Tout sélectionner

chcp 1252
"D:\_Outils\M4ng_v6\system\ffmpeg_64\ffmpeg.exe" -i "G:\_DIVXR~1\CA-CHA~1\ITCHAP~1.MKV" -filter_complex "scale=1920:804, setdar=2.39, scale=1920:804"  -pix_fmt yuv420p  -map 0:3   -f matroska -c:v libx265 -preset fast   -b:v 2000k  -an -x265-params pass=1:stats="x265log.log":colormatrix=bt709:transfer=unknown:colorprim=bt709: -f NULL nul -y
pause
ffmpeg_debug.bat, conversion en BT2020, 2-pass 2e passe

Code : Tout sélectionner

chcp 1252
"D:\_Outils\M4ng_v6\system\ffmpeg_64\ffmpeg.exe" -i "G:\_DIVXR~1\CA-CHA~1\ITCHAP~1.MKV" -filter_complex "scale=1920:804, setdar=2.39, scale=1920:804"  -pix_fmt yuv420p  -map 0:3   -f matroska -c:v libx265 -preset fast   -b:v 2000k  -x265-params pass=2:stats="x265log.log":colormatrix=bt709:transfer=unknown:colorprim=bt709: -y G:\_DIVXR~1\CA-CHA~1\_ITCHA~2.MKV
pause
41 fps sur celui-là, mais uniquement en mode 2-pass et conversion en BT2020. Sinon c'est 3 ou 4 fps pour tous les autres modes, même en 1-pass conversion en BT2020
Tuane
Messages : 12
Enregistré le : lun. 06 janv., 2020 17:43

Re: Vitesse d'encodage très lente en x265

Message par Tuane »

Je viens d'essayer ce batch que tu m'as donné. Aucune différence

Code : Tout sélectionner

chcp 1252
"D:\_Outils\M4ng_v6\system\ffmpeg_64\ffmpeg.exe" -i "G:\_DIVXR~1\MALFIQ~1\MALEFI~1.MKV" -filter_complex "scale=1920:808, setdar=2.39, crop=1920:804:0:2, scale=1920:804"  -map 0:0   -f matroska  -c:v libx265 -preset veryslow   -x265-params bitrate=1921  -y "G:\_DIVXR~1\MALFIQ~1\_MALEF~1.MKV" 
pause
Par contre, j'ai remarqué un truc dans le batch du 2-pass (autant 1ère que 2e passe) conversion en BT2020, c'est écrit "-preset fast". Du coup, j'ai testé en remplaçant "fast" par "veryslow", et là je retombe à 3-4 fps dans les 2 passes, même en conversion en BT2020. Idem pour le batch du 2-pass conversion en BT709, c'est écrit "-preset slower" au lieu de "-preset veryslow". J'ai tenté avec ton batch du dessus en changeant "veryslow" par "fast" et je retrouve bien 35 fps.

Je crois que tu as encore raison, les conversions en BT709 et en BT2020 en elles-mêmes ne sont pas en cause. C'est juste que les options de m4ng modifient en arrière-plan les réglages qu'on a mis. Par exemple, en 2-pass "veryslow", on trouve "fast" à la place de "veryslow" dans le batch.

Tu sais si c'était intentionnellement implémenté comme tel ? Si oui, comment puis-je forcer un encodage réellement en 2-pass veryslow ?
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: Vitesse d'encodage très lente en x265

Message par Subbat »

Salut,

Visiblement tu as mis la main sur quelques bugs... Car le changement de preset en fast n'est pas normal... ce que tu définis ne devrait pas changer tout seul...

Mais j'ai testé rapidement chez moi, ce bug n'est qu'en mode autonome... en mode normal le préset nest pas modifié.... donc si tu passes en mode normal tu seras bien en veryslow si cest ce que tu demandes... même en 2 passes...

A mon avis le bug en mode autonome devait déjà être présent en v5 si tu dis que tu étais à plus de 20fps avant...

Et pour info, ta source nest pas du bt2020. Dans aucun de tes batchs il n'y a les commandes de conversion bt709 to bt2020...

Je ne te promet pas que ce bug puisse être résolu rapidement. Je ne suis pas sur que Pepsi ait le temps de se pencher sur le problème...

@+
Tuane
Messages : 12
Enregistré le : lun. 06 janv., 2020 17:43

Re: Vitesse d'encodage très lente en x265

Message par Tuane »

Salut

Merci en tout cas pour ta patience.

Je dois dire que je suis un peu déçu, je pensais avoir un super pc pour encoder :mrgreen: Au lieu de ça, je réalise que, comme je mettais toujours le mode Autonome, mes encodages étaient en fait en Fast et, comme ça allait vite, je croyais avoir un bon pc. Là, je mets en mode Manuel Veryslow et le pc est à genoux avec 1.43 fps :bad: Comme je sais maintenant d'où vient la vitesse d'encodage, je pourrais éventuellement concéder de mettre en Slow, voire Medium :mrgreen:

En passant (mais peut-être hors sujet), comme certaines options d'optimisation n'étaient pas présentes dans la v5, j'ai testé l'option "Grain". Eh bien, je dois dire que c'est une option vraiment géniale, car les améliorations sont flagrantes. C'est bien plus net et contrasté, on a moins l'effet délavé et flou d'avant. Y a des détails qui réapparaissent, comme les plis, les rides, les crevasses, etc, et comme ce sont des détails "sombres", ça renforce le contraste de l'image. Vraiment, je suis pas du tout mécontent d'avoir cette nouvelle option, je vais la laisser par défaut :mrgreen:

Je vais tester le support de l'encodage par carte graphique nVidia maintenant avec une GTX 1060 d'occasion. Apparemment, la qualité d'encodage dépendra de la génération de la carte graphique, alors je peux espérer quelque chose de bien avec celle-là ? Si je définis un bitrate autour 2000 Kbits/s, toujours en 2-pass veryslow, j'aurais un résultat équivalent à celui de mon Ryzen ? Où il est préférable d'utiliser le mode CRF avec un encodage par carte graphique ?

Merci d'avance
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: Vitesse d'encodage très lente en x265

Message par Subbat »

Salut, l'encodage veryslow me semble pour ma part très superflux... le paramètre par défaut des développeurs est medium...
Moi je ne fais que du crf et non du 2 passes... le crf c'est du débit variable... il va mettre un fort débit quand c'est nécessaire et un très faible quand il n'y a pas besoin d'utiliser du débit pour rien...

Pour ce qui est de l'encodage par la CG... moi je ne suis pas client... je pense que ta CG est d'une génération encore trop ancienne... et sache que l'encodage par CG n'offre aucune option... tous les nouveaux paramétrage possible ne le sont pas en mode hardware...
Nous ne sommes pas forcément d'accord pepsi et moi sur ce point, mais pour moi, l'intérêt de l'encodage nvidia est plus pour faire de l'encodage en streaming sans perdre la capacité du cpu pour autre chose... en encodant à très très haut débit, pour ensuite le repasser à la moulinette de l'encodage software avec les options qu'on veut...
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: Vitesse d'encodage très lente en x265

Message par Subbat »

Bonjour,

Une nouvelle mise à jour de m4ng, la v6.0.0.3 vient de sortir avec correction notamment des bugs que nous avions constatés ensemble...

A télécharger ici : www.m4ng.fr
Tuane
Messages : 12
Enregistré le : lun. 06 janv., 2020 17:43

Re: Vitesse d'encodage très lente en x265

Message par Tuane »

Bonjour

Merci pour l'info. Je l'ai bien téléchargée et testé un encodage hier soir.
J'ai vérifié les batchs et effectivement le preset est correctement sélectionné.

Par contre, ça a amené un autre bug : en mettant en mode Autonome, encodeur x265 cli, preset Veryslow, optimisation Grain, 2-pass, j'obtiens un fichier encodé en x264 :gy:

Voici déjà le batch :

Code : Tout sélectionner

chcp 1252
"D:\_Outils\M4ng_v6\system\ffmpeg_64\ffmpeg.exe" -i "E:\_DIVXR~1\AVENGERS\CAPTAI~1.ATM\CAF383~1.MKV" -filter_complex "scale=1920:799, setdar=2.40, scale=1920:800"  -pix_fmt yuv420p  -map 0:0   -f matroska -vcodec libx264 -preset veryslow   -b:v 2208k  -x265-params pass=2:stats="x265log.log":colormatrix=bt2020nc:transfer=smpte2084:colorprim=bt2020: -y E:\_DIVXR~1\Avengers\CAPTAI~1.ATM\_CAPTA~1.MKV
pause
Et le descriptif MediaInfo du fichier obtenu :

Code : Tout sélectionner

General
Format                      : Matroska
Format version              : Version 4
File size                   : 79.8 MiB
Writing application         : Lavf58.29.100
Writing library             : Lavf58.29.100
IsTruncated                 : Yes
ErrorDetectionType          : Per level 1

Video
ID                          : 1
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : High@L5
Format settings             : CABAC / 16 Ref Frames
Format settings, CABAC      : Yes
Format settings, Reference  : 16 frames
Codec ID                    : V_MPEG4/ISO/AVC
Bit rate                    : 2 208 kb/s
Width                       : 1 920 pixels
Height                      : 800 pixels
Display aspect ratio        : 2.40:1
Frame rate mode             : Constant
Frame rate                  : 23.976 (24000/1001) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 0.060
Writing library             : x264 core 158 r2984 3759fcb
Encoding settings           : cabac=1 / ref=16 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=24 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=abr / mbtree=1 / bitrate=2208 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default                     : Yes
Forced                      : No
Comme tu vois, on a bien dans MediaInfo "Writing library : x264 core 158 r2984 3759fcb"

Se pourrait-il que parce que dans le batch il y a "-vcodec libx264" qui s'y est glissé ?

En passant, est-ce que l'optimisation Grain est bien pris en compte ? Parce que je ne vois pas "-- tune grain" dans le batch. Par contre, si je sélectionne "Psnr" (pris au hasard, j'ai pas testé avec toutes les autres optimisations), je lis bien dans le batch "-- tune psnr"
Avatar du membre
pepsilite
The Grinch
The Grinch
Messages : 23287
Enregistré le : sam. 03 févr., 2007 19:13
Localisation : Chez moi le plus possible ...

Re: Vitesse d'encodage très lente en x265

Message par pepsilite »

Hello
Effectivement, il y a bien un problème avec le codec en x265 / 2 passes. La correction est en cours.
Pour le tune, le problème est lié ...
06/01/2020 m4ng v6 est disponible au téléchargement en version finale : m4ng v6
Répondre