Closed Ryushin closed 3 months ago
Hi @Ryushin can you run ffprobe -v quiet -loglevel panic -print_format json -show_format -show_streams <videoname>
FastFlix will pass through what is in the "color_space": "bt2020nc"
tag, so I'm curious what appears there in this case, and where the BT.709 is coming from.
Hi @Ryushin can you run
ffprobe -v quiet -loglevel panic -print_format json -show_format -show_streams <videoname>
FastFlix will pass through what is in the
"color_space": "bt2020nc"
tag, so I'm curious what appears there in this case, and where the BT.709 is coming from.
Sure. Here is the complete output:
{
"streams": [
{
"index": 0,
"codec_name": "prores",
"codec_long_name": "Apple ProRes (iCodec Pro)",
"profile": "LT",
"codec_type": "video",
"codec_tag_string": "apcs",
"codec_tag": "0x73637061",
"width": 3840,
"height": 1632,
"coded_width": 3840,
"coded_height": 1632,
"closed_captions": 0,
"film_grain": 0,
"has_b_frames": 0,
"sample_aspect_ratio": "1:1",
"display_aspect_ratio": "40:17",
"pix_fmt": "yuv422p10le",
"level": -99,
"color_space": "bt2020nc",
"color_transfer": "bt2020-10",
"color_primaries": "bt2020",
"field_order": "progressive",
"refs": 1,
"id": "0x1",
"r_frame_rate": "24000/1001",
"avg_frame_rate": "24000/1001",
"time_base": "1/24000",
"start_pts": 0,
"start_time": "0.000000",
"duration_ts": 257329072,
"duration": "10722.044667",
"bit_rate": "285125140",
"bits_per_raw_sample": "10",
"nb_frames": "257072",
"disposition": {
"default": 1,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0,
"timed_thumbnails": 0,
"captions": 0,
"descriptions": 0,
"metadata": 0,
"dependent": 0,
"still_image": 0
},
"tags": {
"creation_time": "2024-06-04T10:51:58.000000Z",
"handler_name": "VideoHandler",
"vendor_id": "FFMP",
"encoder": "Lavc60.37.100 prores_ks"
}
}
],
"format": {
"filename": Movie_Name_4K_Upscale_amq13.mov",
"nb_streams": 1,
"nb_programs": 0,
"format_name": "mov,mp4,m4a,3gp,3g2,mj2",
"format_long_name": "QuickTime / MOV",
"start_time": "0.000000",
"duration": "10722.044667",
"size": "382143624203",
"bit_rate": "285127425",
"probe_score": 100,
"tags": {
"major_brand": "qt ",
"minor_version": "512",
"compatible_brands": "qt ",
"videoai": "Enhanced using amq-13. Changed resolution to 3840x1632",
"title": "Movie Name HD",
"creation_time": "2024-06-04T10:51:58.000000Z",
"encoder": "Lavf60.20.100"
}
}
}
I did find that it was a new version of Topaz Video AI that added the new line "matrix_coefficients_Original : BT.709", while the older version didn't and Fastflix encoded BT.2020 perfectly fine. So I've reverted backup to the older version so I can get some projects done that I was working on.
Got ya, is this output from the older version then that is working, or from the newer version?
This one looks as expected with:
"color_space": "bt2020nc",
"color_transfer": "bt2020-10",
"color_primaries": "bt2020",
So I am assuming this one is working? Could I also see the other version?
Got ya, is this output from the older version then that is working, or from the newer version?
This one looks as expected with:
"color_space": "bt2020nc", "color_transfer": "bt2020-10", "color_primaries": "bt2020",
So I am assuming this one is working? Could I also see the other version?
That wa the output from the newer version that wasn't working. The old version looks like this:
{
"streams": [
{
"index": 0,
"codec_name": "prores",
"codec_long_name": "Apple ProRes (iCodec Pro)",
"profile": "LT",
"codec_type": "video",
"codec_tag_string": "apcs",
"codec_tag": "0x73637061",
"width": 3840,
"height": 1632,
"coded_width": 3840,
"coded_height": 1632,
"closed_captions": 0,
"film_grain": 0,
"has_b_frames": 0,
"sample_aspect_ratio": "1:1",
"display_aspect_ratio": "40:17",
"pix_fmt": "yuv422p10le",
"level": -99,
"color_space": "bt2020nc",
"color_transfer": "bt2020-10",
"color_primaries": "bt2020",
"field_order": "progressive",
"refs": 1,
"id": "0x1",
"r_frame_rate": "24000/1001",
"avg_frame_rate": "24000/1001",
"time_base": "1/24000",
"start_pts": 0,
"start_time": "0.000000",
"duration_ts": 257329072,
"duration": "10722.044667",
"bit_rate": "285124679",
"bits_per_raw_sample": "10",
"nb_frames": "257072",
"disposition": {
"default": 1,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0,
"timed_thumbnails": 0,
"captions": 0,
"descriptions": 0,
"metadata": 0,
"dependent": 0,
"still_image": 0
},
"tags": {
"creation_time": "2024-06-04T10:51:58.000000Z",
"handler_name": "VideoHandler",
"vendor_id": "FFMP",
"encoder": "Lavc60.27.101 prores_ks"
}
}
],
"format": {
"filename": "/netshares/movies/.zfs/snapshot/autosnap_2024-08-04_11:00:09_hourly/Incoming/AI_Upscale/Movie Name_HD_RB_Video_amq13.mov",
"nb_streams": 1,
"nb_programs": 0,
"format_name": "mov,mp4,m4a,3gp,3g2,mj2",
"format_long_name": "QuickTime / MOV",
"start_time": "0.000000",
"duration": "10722.044667",
"size": "382143005707",
"bit_rate": "285126964",
"probe_score": 100,
"tags": {
"major_brand": "qt ",
"minor_version": "512",
"compatible_brands": "qt ",
"videoai": "Enhanced using amq-13. Changed resolution to 3840x1632",
"title": "Movie Name HD",
"creation_time": "2024-06-04T10:51:58.000000Z",
"encoder": "Lavf60.14.101"
}
}
}
It wouldn't surprise me if it's actually something in the file itself caused by Topaz. Topaz Video AI is upgraded almost every month. Both files look correct that I can tell.
Looking at my code and that source I am seeing yours has a dash, and in my valid color transfer list I have an underscore. I am adding the dash as well to see if that works in 5.8.0, beta: https://github.com/cdgriffith/FastFlix/releases/tag/5.8.0b0
If the one that had issues before still doesn't work in 5.8.0, please send me a screen shot of the advanced tab with what color options it shows as well as the x265-params inside the ffmpeg command from the raw output tab.
Added in 5.8.0! https://github.com/cdgriffith/FastFlix/releases/tag/5.8.0
FastFlix Version: 5.7.2
Operating System: Win 10
Describe the bug I'm taking content that is BT.709 and converting it to BT.2020 (no HDR) using Handbrake. Then I pull that into Topaz AI and output a Prores file with the following color matrix:
I put the Prores file into Fastflix, and the output color matrix has changed:
Not sure why Fastflix is change the Matrix coefficients back to BT.709.