-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Description
Checklist
- I'm reporting a broken site support issue
- I've verified that I'm running youtube-dl version 2021.12.17
- I've checked that all provided URLs are alive and playable in a browser
- I've checked that all URLs and arguments with special characters are properly quoted or escaped
- I've searched the bugtracker for similar bug reports including closed ones
- I've read bugs section in FAQ
background
hi, i came across an issue where the video metadata does not appear correctly for MKV files, & additionally is inconsistent with the metadata attached to MP4 files. Here are steps to minimally reproduce the issue, using Me at the zoo (https://youtu.be/jNQXAC9IVRw) as an example. All relevant console output is attached, with screenshots.
reproduction
downloading the video in MP4 format
youtube-dl command
python -m youtube_dl -v --add-metadata --merge-output-format mp4 --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" https://www.youtube.com/watch?v=jNQXAC9IVRw
youtube-dl output
~\git\youtube-dl> python -m youtube_dl -v --add-metadata --merge-output-format mp4 --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" https://www.youtube.com/watch?v=jNQXAC9IVRw
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--add-metadata', '--merge-output-format', 'mp4', '--user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36', 'https://www.youtube.com/watch?v=jNQXAC9IVRw']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2025.04.07
[debug] Git HEAD: a084c80
[debug] Python 3.10.9 (CPython AMD64 64bit) - Windows-10-10.0.26100-SP0 - OpenSSL 1.1.1q 5 Jul 2022
[debug] exe versions: ffmpeg 6.0-full_build-www.gyan.dev, ffprobe 6.0-full_build-www.gyan.dev
[debug] Proxy map: {}
[youtube] jNQXAC9IVRw: Downloading webpage
[youtube] jNQXAC9IVRw: Downloading TVHTML5 API JSON
[debug] Loading youtube-nsig.f6a4f3bc-main from cache
[debug] [youtube] Decrypted nsig i2xuN0fDqtdJeOuCXUpg => uarAMUNgwLr2yA
[debug] [youtube] Decrypted nsig gseJlZYPLtE6mYf1kBOT => awETO3dea2rKig
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://rr1---sn-nx57ynze.googlevideo.com/videoplayback?expire=1757625981&ei=HerCaPOuBLb3sfIPkMq7yAg&ip=136.27.53.88&id=o-AE0oomb8IqGtcgoXWOZ9cNj7A3srsKhoshOBnAdxxOpv&itag=133&aitags=133%2C160%2C242%2C278%2C394%2C395&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&cps=206&met=1757604381%2C&mh=VD&mm=31%2C26&mn=sn-nx57ynze%2Csn-o097znzk&ms=au%2Conr&mv=m&mvi=1&pl=19&rms=au%2Cau&initcwndbps=4226250&bui=AY1jyLPg0aDQwN8glRULEMj4byvkEpJ0qFA94EDN47_Z7rdNQLYw2E_dgJ_VD_F0s2fWsDS4y8QOpKEV&vprv=1&svpuc=1&mime=video%2Fmp4&ns=WlPN-6j8RO-zaMoQURm-eo8Q&rqh=1&gir=yes&clen=432799&dur=18.933&lmt=1680501288781393&mt=1757604098&fvip=3&keepalive=yes&lmw=1&fexp=51557447%2C51565116%2C51565681%2C51580970&c=TVHTML5&sefc=1&txp=4530434&n=awETO3dea2rKig&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRgIhAPtlKwVrYVT6x3HK8QyYrKnp0YRgEwzLQBMQaPblw1ysAiEAqUROYW8N3IQQsOVZNggHe7Uc2ykK0Ve2NEytKVNnDSc%3D&lsparams=cps%2Cmet%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRgIhANLgsJb3t-NugBcqN6LE2evA-eFYpW0ZIFvUNtt0EfRsAiEApaaQr1LkFrAqlxDQsI8_pixXIJmL7dcEqNaiubzgFeU%3D'
[dashsegments] Total fragments: 1
[download] Destination: Me at the zoo-jNQXAC9IVRw.f133.mp4
[download] 100% of 422.66KiB in 00:00
[debug] Invoking downloader on 'https://rr1---sn-nx57ynze.googlevideo.com/videoplayback?expire=1757625981&ei=HerCaPOuBLb3sfIPkMq7yAg&ip=136.27.53.88&id=o-AE0oomb8IqGtcgoXWOZ9cNj7A3srsKhoshOBnAdxxOpv&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&cps=206&met=1757604381%2C&mh=VD&mm=31%2C26&mn=sn-nx57ynze%2Csn-o097znzk&ms=au%2Conr&mv=m&mvi=1&pl=19&rms=au%2Cau&initcwndbps=4226250&bui=AY1jyLPg0aDQwN8glRULEMj4byvkEpJ0qFA94EDN47_Z7rdNQLYw2E_dgJ_VD_F0s2fWsDS4y8QOpKEV&vprv=1&svpuc=1&xtags=drc%3D1&mime=audio%2Fmp4&ns=WlPN-6j8RO-zaMoQURm-eo8Q&rqh=1&gir=yes&clen=309197&dur=19.063&lmt=1680501255309737&mt=1757604098&fvip=3&keepalive=yes&lmw=1&fexp=51557447%2C51565116%2C51565681%2C51580970&c=TVHTML5&sefc=1&txp=4530434&n=awETO3dea2rKig&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cxtags%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRAIgfbVZSrZBK5yrjd0D3eAWNG1HSQAW3vzh0ML6h7yXdxoCIGHnont-Z0cmwCuGdt8lduMk7i5OFMWhTHYJBV6GEv3U&lsparams=cps%2Cmet%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRgIhANLgsJb3t-NugBcqN6LE2evA-eFYpW0ZIFvUNtt0EfRsAiEApaaQr1LkFrAqlxDQsI8_pixXIJmL7dcEqNaiubzgFeU%3D'
[dashsegments] Total fragments: 1
[download] Destination: Me at the zoo-jNQXAC9IVRw.m4a.f140-drc.m4a
[download] 100% of 301.95KiB in 00:00
[ffmpeg] Merging formats into "Me at the zoo-jNQXAC9IVRw.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Me at the zoo-jNQXAC9IVRw.f133.mp4" -i "file:Me at the zoo-jNQXAC9IVRw.m4a.f140-drc.m4a" -c copy -map "0:v:0" -map "1:a:0" "file:Me at the zoo-jNQXAC9IVRw.temp.mp4"
Deleting original file Me at the zoo-jNQXAC9IVRw.f133.mp4 (pass -k to keep)
Deleting original file Me at the zoo-jNQXAC9IVRw.m4a.f140-drc.m4a (pass -k to keep)
[ffmpeg] Adding metadata to 'Me at the zoo-jNQXAC9IVRw.mp4'
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Me at the zoo-jNQXAC9IVRw.mp4" -i "file:Me at the zoo-jNQXAC9IVRw.meta" -c copy -metadata "title=Me at the zoo" -metadata "date=20050423" -metadata "description=Microplastics are accumulating in human brains at an alarming rate
https://www.youtube.com/watch?v=0PT5c1z3LL8
“Nanoplastics and Human Health” with Matthew J Campen, PhD, MSPH
https://www.youtube.com/watch?v=RRBN_4L09Mg
00:00 Intro
00:05 The cool thing
00:17 End" -metadata "comment=Microplastics are accumulating in human brains at an alarming rate
https://www.youtube.com/watch?v=0PT5c1z3LL8
“Nanoplastics and Human Health” with Matthew J Campen, PhD, MSPH
https://www.youtube.com/watch?v=RRBN_4L09Mg
00:00 Intro
00:05 The cool thing
result
a new file Me at the zoo-jNQXAC9IVRw.mp4 is created with the following metadata (dumped with ffmpeg)
~\git\youtube-dl> ffmpeg -i `Me at the zoo-jNQXAC9IVRw.mp4`
ffmpeg version 6.0-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Me at the zoo-jNQXAC9IVRw.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
title : Me at the zoo
artist : jawed
date : 20050423
encoder : Lavf60.3.100
comment : Microplastics are accumulating in human brains at an alarming rate
: https://www.youtube.com/watch?v=0PT5c1z3LL8
:
: “Nanoplastics and Human Health” with Matthew J Campen, PhD, MSPH
: https://www.youtube.com/watch?v=RRBN_4L09Mg
:
: 00:00 Intro
: 00:05 The cool thing
: 00:17 End
description : Microplastics are accumulating in human brains at an alarming rate
: https://www.youtube.com/watch?v=0PT5c1z3LL8
:
: “Nanoplastics and Human Health” with Matthew J Campen, PhD, MSPH
: https://www.youtube.com/watch?v=RRBN_4L09Mg
:
: 00:00 Intro
: 00:05 The cool thing
: 00:17 End
Duration: 00:00:19.06, start: 0.000000, bitrate: 312 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 5.000000
Metadata:
title : Intro
Chapter #0:1: start 5.000000, end 17.000000
Metadata:
title : The cool thing
Chapter #0:2: start 17.000000, end 19.000000
Metadata:
title : End
Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt470bg/bt709, progressive), 320x240 [SAR 1:1 DAR 4:3], 180 kb/s, 15 fps, 15 tbr, 15360 tbn (default)
Metadata:
handler_name : ISO Media file produced by Google Inc.
vendor_id : [0][0][0][0]
Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
Metadata:
handler_name : ISO Media file produced by Google Inc.
vendor_id : [0][0][0][0]
Stream #0:2[0x3](eng): Data: bin_data (text / 0x74786574), 0 kb/s
Metadata:
handler_name : SubtitleHandler
At least one output file must be specified
downloading the same video in MKV format
youtube-dl command
python -m youtube_dl -v --add-metadata --merge-output-format mkv --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" https://www.youtube.com/watch?v=jNQXAC9IVRw
this is exactly the same as the above MP4 command, but with --merge-output-format mkv instead of --merge-output-format mp4
youtube-dl output
~\git\youtube-dl> python -m youtube_dl -v --add-metadata --merge-output-format mkv --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" https://www.youtube.com/watch?v=jNQXAC9IVRw
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--add-metadata', '--merge-output-format', 'mkv', '--user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36', 'https://www.youtube.com/watch?v=jNQXAC9IVRw']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2025.04.07
[debug] Git HEAD: a084c80
[debug] Python 3.10.9 (CPython AMD64 64bit) - Windows-10-10.0.26100-SP0 - OpenSSL 1.1.1q 5 Jul 2022
[debug] exe versions: ffmpeg 6.0-full_build-www.gyan.dev, ffprobe 6.0-full_build-www.gyan.dev
[debug] Proxy map: {}
[youtube] jNQXAC9IVRw: Downloading webpage
[youtube] jNQXAC9IVRw: Downloading TVHTML5 API JSON
[debug] Loading youtube-nsig.f6a4f3bc-main from cache
[debug] [youtube] Decrypted nsig 1TtJmqOmZJUzjdAuaXOd => QBxnEHhrvDdATg
[debug] [youtube] Decrypted nsig nkGLhJ_LNYrJc2l17-Qv => L2K1gPh7yA-ccQ
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://rr1---sn-nx57ynze.googlevideo.com/videoplayback?expire=1757626151&ei=x-rCaNfnGNWZsfIPtKinkA4&ip=136.27.53.88&id=o-ABn_2c39OALCJL_6IB0kMc7diIs7-3bbwL9xqxC-PL7L&itag=133&aitags=133%2C160%2C242%2C278%2C394%2C395&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1757604551%2C&mh=VD&mm=31%2C26&mn=sn-nx57ynze%2Csn-o097znzk&ms=au%2Conr&mv=m&mvi=1&pl=19&rms=au%2Cau&initcwndbps=4885000&bui=AY1jyLP_cuMllkwgwMbJ0B9uECkg5mGeJZLnpN1VMgEYfv3dXLiQ5kBE_rINKtFtlO5TCi8Yt7SqXUeo&vprv=1&svpuc=1&mime=video%2Fmp4&ns=VYICCY99sgj0U53TzmVIUAMQ&rqh=1&gir=yes&clen=432799&dur=18.933&lmt=1680501288781393&mt=1757604098&fvip=3&keepalive=yes&lmw=1&fexp=51557447%2C51565115%2C51565682%2C51580970&c=TVHTML5&sefc=1&txp=4530434&n=L2K1gPh7yA-ccQ&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAM7jCE10Lr0QJxBB3-EfP3BlWTQ09WB0_sK88rPewX89AiBEbLUzTe1ec8khvW8JSRRcD6t4k6Q-6jh6cH7ZrqEoxw%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRAIgQ5zJh61bU_ad6TQox5S-Y96Mk-bnjcqyX2uRPSVEdP4CIH8D6VX5A09EBJt6jVqV9mvQjbyoaqEWcyqv4cb3KdbX'
[dashsegments] Total fragments: 1
[download] Destination: Me at the zoo-jNQXAC9IVRw.mp4.f133.mp4
[download] 100% of 422.66KiB in 00:00
[debug] Invoking downloader on 'https://rr1---sn-nx57ynze.googlevideo.com/videoplayback?expire=1757626151&ei=x-rCaNfnGNWZsfIPtKinkA4&ip=136.27.53.88&id=o-ABn_2c39OALCJL_6IB0kMc7diIs7-3bbwL9xqxC-PL7L&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1757604551%2C&mh=VD&mm=31%2C26&mn=sn-nx57ynze%2Csn-o097znzk&ms=au%2Conr&mv=m&mvi=1&pl=19&rms=au%2Cau&initcwndbps=4885000&bui=AY1jyLP_cuMllkwgwMbJ0B9uECkg5mGeJZLnpN1VMgEYfv3dXLiQ5kBE_rINKtFtlO5TCi8Yt7SqXUeo&vprv=1&svpuc=1&xtags=drc%3D1&mime=audio%2Fmp4&ns=VYICCY99sgj0U53TzmVIUAMQ&rqh=1&gir=yes&clen=309197&dur=19.063&lmt=1680501255309737&mt=1757604098&fvip=3&keepalive=yes&lmw=1&fexp=51557447%2C51565115%2C51565682%2C51580970&c=TVHTML5&sefc=1&txp=4530434&n=L2K1gPh7yA-ccQ&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cxtags%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhANRTdYxQNDDefKiUcxSF7NnkF8nmv1nCME3ghi28D4WlAiBmncTee65ceIJo9TqWPrzUSXXwmX4zTBrCfVe-aVlUFw%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRAIgQ5zJh61bU_ad6TQox5S-Y96Mk-bnjcqyX2uRPSVEdP4CIH8D6VX5A09EBJt6jVqV9mvQjbyoaqEWcyqv4cb3KdbX'
[dashsegments] Total fragments: 1
[download] Destination: Me at the zoo-jNQXAC9IVRw.m4a.f140-drc.m4a
[download] 100% of 301.95KiB in 00:00
[ffmpeg] Merging formats into "Me at the zoo-jNQXAC9IVRw.mkv"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Me at the zoo-jNQXAC9IVRw.mp4.f133.mp4" -i "file:Me at the zoo-jNQXAC9IVRw.m4a.f140-drc.m4a" -c copy -map "0:v:0" -map "1:a:0" "file:Me at the zoo-jNQXAC9IVRw.temp.mkv"
Deleting original file Me at the zoo-jNQXAC9IVRw.mp4.f133.mp4 (pass -k to keep)
Deleting original file Me at the zoo-jNQXAC9IVRw.m4a.f140-drc.m4a (pass -k to keep)
[ffmpeg] Adding metadata to 'Me at the zoo-jNQXAC9IVRw.mkv'
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Me at the zoo-jNQXAC9IVRw.mkv" -i "file:Me at the zoo-jNQXAC9IVRw.meta" -c copy -metadata "title=Me at the zoo" -metadata "date=20050423" -metadata "description=Microplastics are accumulating in human brains at an alarming rate
https://www.youtube.com/watch?v=0PT5c1z3LL8
“Nanoplastics and Human Health” with Matthew J Campen, PhD, MSPH
https://www.youtube.com/watch?v=RRBN_4L09Mg
00:00 Intro
00:05 The cool thing
00:17 End" -metadata "comment=Microplastics are accumulating in human brains at an alarming rate
https://www.youtube.com/watch?v=0PT5c1z3LL8
“Nanoplastics and Human Health” with Matthew J Campen, PhD, MSPH
https://www.youtube.com/watch?v=RRBN_4L09Mg
00:00 Intro
00:05 The cool thing
00:17 End" -metadata "purl=https://www.youtube.com/watch?v=jNQXAC9IVRw" -metadata "artist=jawed" -map_metadata 1 "file:Me at the zoo-jNQXAC9IVRw.temp.mkv"
result
a new file Me at the zoo-jNQXAC9IVRw.mkv is created with the following metadata (dumped with ffmpeg)
~\git\youtube-dl> ffmpeg -i `Me at the zoo-jNQXAC9IVRw.mkv`
ffmpeg version 6.0-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
Input #0, matroska,webm, from 'Me at the zoo-jNQXAC9IVRw.mkv':
Metadata:
title : Me at the zoo
ARTIST : jawed
DATE : 20050423
DESCRIPTION : Microplastics are accumulating in human brains at an alarming rate
: https://www.youtube.com/watch?v=0PT5c1z3LL8
:
: “Nanoplastics and Human Health” with Matthew J Campen, PhD, MSPH
: https://www.youtube.com/watch?v=RRBN_4L09Mg
:
: 00:00 Intro
: 00:05 The cool thing
: 00:17 End
COMMENT : Microplastics are accumulating in human brains at an alarming rate
: https://www.youtube.com/watch?v=0PT5c1z3LL8
:
: “Nanoplastics and Human Health” with Matthew J Campen, PhD, MSPH
: https://www.youtube.com/watch?v=RRBN_4L09Mg
:
: 00:00 Intro
: 00:05 The cool thing
: 00:17 End
PURL : https://www.youtube.com/watch?v=jNQXAC9IVRw
ENCODER : Lavf60.3.100
Duration: 00:00:19.06, start: 0.000000, bitrate: 311 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 5.000000
Metadata:
title : Intro
Chapter #0:1: start 5.000000, end 17.000000
Metadata:
title : The cool thing
Chapter #0:2: start 17.000000, end 19.000000
Metadata:
title : End
Stream #0:0: Video: h264 (Main), yuv420p(tv, smpte170m/bt470bg/bt709, progressive), 320x240 [SAR 1:1 DAR 4:3], 15 fps, 15 tbr, 1k tbn (default)
Metadata:
HANDLER_NAME : ISO Media file produced by Google Inc.
VENDOR_ID : [0][0][0][0]
DURATION : 00:00:18.933000000
Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp (default)
Metadata:
HANDLER_NAME : ISO Media file produced by Google Inc.
VENDOR_ID : [0][0][0][0]
DURATION : 00:00:19.063000000
At least one output file must be specified
the issue
the videos play in VLC just fine. on my Windows 11 machine, viewing the properties of the MP4 file correctly shows the "Title", "Comments", "Contributing artists" fields.
however viewing the windows file properties of the mkv file, only the "Title" & "Comments" fields appear. the "Contributing artists" field does not appear despite the artist appearing in the ffmpeg metadata dump. the same behavior occurs in VLC, the "current media information" only shows an artist for the mp4 file.
notice the differences in metadata between the mp4 file & the mkv file ("artist" vs "ARTIST", etc.) - i think this metadata inconsistency is the root cause of this bug. i'm not sure why most of the mkv metadata keys are in all caps.
mp4 file properties with correct "Contributing artists"

mkv file properties missing the "Contributing artists" and showing a weird bit rate
