VideoHelp Forum
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Hi,

    (Sorry for my spelling, I don't speak English)
    First of all, I want to say that I have been looking for a solution, for a long time and I have read several threads in this forum and other articles on the Internet.

    In a videos with mkv format, I want to delete the metadata "Muxing App", "Writting App" and "Date/Time Original".
    The rest of the metadata I have already been able to delete using commands like:
    "ffmpeg.exe" -y -i "input.mkv" -map 0 -map_metadata:g -1:g -metadata:v title="" -c copy "output.mkv"
    mkvmerge.exe" -o "output.mkv" --no-attachments --no-track-tags --no-global-tags --disable-track-statistics-tags "input.mkv"
    mkvpropedit.exe" "input.mkv" -d title
    nircmdc.exe" setfilefoldertime "input.mkv" "01/01/2000 00:00:00:00" "01/01/2000 00:00:00:00" "01/01/2000 00:00:00:00" "01/01/2000 00:00:00:00"

    But these 3 metadata, I am unable to delete them.
    my last tests have gone by doing something like:
    mkvpropedit "input.mkv" -e info -s "creation_time=2000-01-01T00:00:00:00+00:00"
    Changing creation_time, by date, creation_date, etc.
    But I always get an error like:
    Error: The name 'creation_date' is not a valid property name for the current edit specification in '--set creation_date=2000-01-01T00:00:00:00+00:00'.

    Please, does anyone know how to empty those fields without the need of a hexadecimal editor?

    I attach screenshots of the fields with Exiftools and Media Info, I also include a small example video.

    Thanks for everything and best regards.
    Image Attached Thumbnails Click image for larger version

Name:	2021-02-10 02_01_38-Window.png
Views:	109
Size:	20.3 KB
ID:	57295  

    Click image for larger version

Name:	2021-02-10 02_03_14-Window.png
Views:	57
Size:	30.8 KB
ID:	57296  

    Image Attached Files
    Quote Quote  
  2. Member Krispy Kritter's Avatar
    Join Date
    Jul 2003
    Location
    St Louis, MO USA
    Search Comp PM
    Have you tried MKVToolNix?
    Google is your Friend
    Quote Quote  
  3. cmd

    "C:\ffmpeg.exe" -i "C:\Users\ENiGMA59\Videos\How.To.Fix.a.Drug.Scanda l\4.mkv" -c copy -bsf:v 'filter_units=remove_types=6' "C:\Users\ENiGMA59\Videos\How.To.Fix.a.Drug.Scanda l\4.1.mkv"
    Quote Quote  
  4. Thank you very much ENiGMA59
    Your example
    -bsf:v 'filter_units=remove_types=6'
    serves to remove "Date/Time Original",
    but there were still "Muxing App", "Writting App" that I replaced them with Lavf58.13.102 of ffmpeg.
    But it helped me to know what to look for
    Adding -bitexact -map_metadata -1
    Reduces Lavf58.13.102 to a simple Lavf
    The final set of commands used in a bat, to clean up all the mkv metadata is:
    Code:
    "mkvmerge.exe" -o "output1.mkv" --no-attachments --no-track-tags --no-global-tags --disable-track-statistics-tags "input.mkv"
    "ffmpeg.exe" -i "output1.mkv" -c copy -bitexact -map_metadata -1 -bsf:v 'filter_units=remove_types=6' "output2.mkv"
    "mkvpropedit.exe" "output2.mkv" -d title
    "nircmdc.exe" setfilefoldertime "output2.mkv" "01/01/2000 00:00:00" "01/01/2000 00:00:00" "01/01/2000 00:00:00"
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!