FastFlix icon indicating copy to clipboard operation
FastFlix copied to clipboard

Copying Metadata Question

Open Krawk opened this issue 5 months ago • 4 comments

Inquiry about the "Remove Metadata" checkbox. I have that box disabled so that Metadata gets copied. I figured that was a requirement if the source material has a Description and other such fields filled out.

The problem I am seeing afterwards though is that the Metadata for video bitrate is being copied. So a 27 mb/s h264 source being recoded in av1 4000K format is still reporting a 27 mb/s rate within MPC or other players.

I can fix the resulting file issue by having to remux the file again with MKVToolnix, but that adds an extra step to every encode.

Is copying metadata an all or nothing shot?

Krawk avatar Jul 15 '25 16:07 Krawk

I'm having the same problem. Needing to put all my files through MKVToolnix to fix the metadata is really annoying.

feahnor avatar Nov 05 '25 10:11 feahnor

Hello, can you provide the names of the bad fields? I can look into selectivity removing some fields if possible.

cdgriffith avatar Nov 25 '25 20:11 cdgriffith

Hello, can you provide the names of the bad fields? I can look into selectivity removing some fields if possible.

Everything vídeo.

If i encode a 25 mbps vídeo to av1 6 mbps the resulting file will have 25 mbps as video bitrate in the metadata. It just copies the old metadata to the new file.

feahnor avatar Nov 25 '25 20:11 feahnor

So, i'll give you more details.

Here is the mediainfo of the original file.

General
Unique ID                                : 50154660520564005707585045764312911447 (0x25BB6FAE638D49C21A52A3597583CE57)
Complete name                            : S01E01 Pilot.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 4.46 GiB
Duration                                 : 41 min 28 s
Overall bit rate                         : 15.4 Mb/s
Frame rate                               : 23.976 FPS
Encoded date                             : 2021-02-21 10:34:02 UTC
Writing application                      : mkvmerge 53.0.0 ('Fool's Gold') 64-bit
Writing library                          : libebml v1.4.1 + libmatroska v1.6.2
Cover                                    : Yes
Cover description                        : cover.png
Cover type                               : Cover
Attachments                              : cover.png

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings                          : CABAC / 3 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 3 frames
Format settings, GOP                     : M=1, N=24
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 41 min 28 s
**Bit rate                                 : 15.1 Mb/s**
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
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.304
**Stream size                              : 4.37 GiB (98%)**
Writing library                          : x264 core 161 r3039M 544c61f

If i put it though fastflix and encode it to h265 using qsvenc i get this. Look at the bitrate and the stream size info under the video section.

General
Unique ID                                : 551295420874061609130587959208690493 (0x6A2CF679E0491551741D3FE397C33D)
Complete name                            : S01E01 Pilot.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 592 MiB
Duration                                 : 41 min 28 s
Overall bit rate                         : 1 996 kb/s
Frame rate                               : 23.976 FPS
Writing application                      : QSVEncC (x64) 8.02
Writing library                          : Lavf62.3.100
ErrorDetectionType                       : Per level 1

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L4@High
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 41 min 28 s
**Bit rate                                 : 15.1 Mb/s**
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.304
**Stream size                              : 4.37 GiB**
Default                                  : Yes
Forced                                   : No
Color range                              : Limited

Of course this is wrong because fastflix just copied the original metadata to the ouptput file.

If i run the resulting file through mkvtoolnix just outputting it without modifying it i get this mediainfo:

General
Unique ID                                : 34045621203243922774422247094725312876 (0x199CF2B8FAAFA7B886EFD549C823016C)
Complete name                            : S01E01 Pilot.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 591 MiB
Duration                                 : 41 min 28 s
Overall bit rate                         : 1 993 kb/s
Frame rate                               : 23.976 FPS
Encoded date                             : 2025-12-05 12:07:29 UTC
Writing application                      : mkvmerge v92.0 ('Everglow') 64-bit
Writing library                          : libebml v1.4.5 + libmatroska v1.7.1 / Lavf62.3.100

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L4@High
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 41 min 28 s
**Bit rate                                 : 1 703 kb/s**
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.034
**Stream size                              : 505 MiB (85%)**
Default                                  : Yes
Forced                                   : No
Color range                              : Limited

Which is of course correct and corresponds to the output file.

Can you fix this please? It's affecting plex because it's going to read the metadata to decide if a file needs transcoding or not.

feahnor avatar Dec 05 '25 12:12 feahnor

But, on the other hand... if the source media file has a Description of the content, MPC has it on the "Clip" tab, that metadata seems to NOT be copied. So even though I am using MKVtoolnix to correct the bitrate info, I also have to add the original source file to the mix so that that portion of the data gets copied. I don't know enough about the format to say for sure, perhaps it is a global tag (?) and of course any cover art still does not get copied over either.

Krawk avatar Dec 08 '25 20:12 Krawk